Get allocator

edit

Retrieves the allocator by the ID.

Request

edit

GET /api/v1/platform/infrastructure/allocators/{allocator_id}

Path parameters

edit
Name Type Required Description

allocator_id

string

Y

The allocator identifier.

Responses

edit
200

(AllocatorInfo) The information for the allocator specified by {allocator_id}

404

(BasicFailedReply) The allocator specified by {allocator_id} cannot be found. (code: allocators.allocator_not_found)

Headers

x-cloud-error-codes (string; allowed values: [allocators.allocator_not_found])
The error codes associated with the response

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request example

edit
curl -XGET {{hostname}}/api/v1/platform/infrastructure/allocators/{allocator_id} \
-H "Authorization: ApiKey $ECE_API_KEY"