Get Services program extracts information about running services within the block.

/catalog/blocks/{instanceId}/services:
    get:
      tags:
      - "block"
      description: "Get services: Get information about running services within the block"
      operationId: "getServices"
      produces:
      - "application/json"
      parameters:
      - name: "instanceId"
        in: "path"
        description: "The instance id of the running block for which we want the services"
        required: true
        type: "string"
      responses:
        200:
          description: "All services returned"
        400:
          description: "Invalid Request"
        500:
          description: "Exception: In getting service details of block"
Example:

Request : curl -k --user admin:changeme --request GET --url https://127.0.0.1:8443/dcc/v1/catalog/blocks/smarts-metrics70d9afac-516a-47f5-b38f-799fa530d55c/services

Response : {"id": "apg-collector-manager-smarts-metricseaea8c69-b12a-4fa6-8389-6ea87dd997c5", "module": "collector-manager", "instance": "smarts-metricseaea8c69-b12a-4fa6-8389-6ea87dd997c5", "status": "STOPPED", "last-modified": "-1", "startup-mode": "auto", "start-order": "96", "stop-order": "4"}