Fetching Locations and Instances

Refer to Instance Discovery overview to learn more about locations and instances.

The locations_response object

Attributes

The locations_response object

Fetch list of locations

get
Authorizations
AuthorizationstringRequired

Uses the JWT Subscription Receipt Token

Query parameters
Header parameters
x-client-app-versionstringRequired

The app version of the client making the request.

Example: 8.10.123
x-client-device-modelstringRequired

The type of the device making the request

Example: ["desktop","mobile","tablet","firetv","appletv"]
x-client-osstringRequired

The operating system of the client making the request.

Example: ["windows","macos","linux","android","ios","web"]
x-client-os-versionstringRequired

The operating system version of the client making the request.

Example: 10.0.1234
x-sdk-versionstringRequired

The SDK version making the request

Example: 5.0.123
If-None-MatchstringOptional

ETag of the resource to be checked for modifications

Responses
200

Successful response containing list of locations

application/json
get
/ids2/locations

Fetch list of endpoints for specified cluster

get
Authorizations
AuthorizationstringRequired

Uses the JWT Subscription Receipt Token

Path parameters
location_idinteger · int32Required

ID of the cluster to fetch endpoints for

Query parameters
Header parameters
x-client-app-versionstringRequired

The app version of the client making the request.

Example: 8.10.123
x-client-device-modelstringRequired

The type of the device making the request

Example: ["desktop","mobile","tablet","firetv","appletv"]
x-client-osstringRequired

The operating system of the client making the request.

Example: ["windows","macos","linux","android","ios","web"]
x-client-os-versionstringRequired

The operating system version of the client making the request.

Example: 10.0.1234
x-sdk-versionstringRequired

The SDK version making the request

Example: 5.0.123
If-None-MatchstringOptional

ETag of the resource to be checked for modifications

Responses
200

Successful response containing list of locations

application/json
get
/ids2/locations/{location_id}/instances

Last updated