Get Instantiated Blocks program extracts information about instantiated blocks.
/catalog/blocks/instances: get: tags: - "block" summary: "" description: "Get instantiated blocks: Get information about instantiated blocks" operationId: "getInstantiatedBlocks" produces: - "application/json" responses: 200: description: "Instantiated blocks returned" 500: description: "Exception: Error in getting running blocks"
Example:
Request : curl -k -u admin:changeme --request GET --url https://127.0.0.1:8443/dcc/v1/catalog/blocks/instances.
Response : {"smarts-metrics4cc747e0-da89-433e-9233-a6895b89755b": {"block_object_id": "smarts-metrics", "deployment_status": "Running", "dc_service_status": "STOPPED", "poll_count": 16}, "smarts-metrics035f8121-aaed-4d66-83eb-ae3a7841f720": {"block_object_id": "smarts-metrics", "deployment_status": "Running", "dc_service_status": "STOPPED", "poll_count": 16}}