Get allocators

edit

Retrieves the information for all of the allocators in the platform.

Request

edit

GET /api/v1/platform/infrastructure/allocators

Query parameters

edit
Name Type Required Description

from

integer; default: 0

N

(Optional) The offset from the first result you want to fetch. Defaults to 0.

q

string

N

(Optional) The query that filters the allocators. Maps to an Elasticsearch query_string query.

size

integer; default: 100

N

(Optional) The maximum number of search results to return. Defaults to 100.

sort

string

N

(Optional) A comma-separated array of fields to sort the search results by. Defaults to allocator_id.

Responses

edit
200

(AllocatorOverview)

An overview of all allocators

Request example

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