Contents

Get a Context

Fetch information that you previously stored about your app’s assignable activities.

URL

GET https://classkit-catalog.apple.com/v1/contexts

Query Parameters

NameTypeDescription
environment Requiredstring

The development or production environment to use for this access. For details, see Testing Your ClassKit Catalog Implementation.

identifierPath Requiredstring

The identifier path for the context to retrieve. Format this value as a URL-encoded JSON array of strings.

locale Requiredstring

The locale of the context to retrieve. Use one of the identifiers supported by the Locale structure. It must match a locale that your app supports.

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
ContextsResponse

400Bad Request

The request contained an error.

403Forbidden

The request wasn’t authorized.

Discussion

Example

See Also

Declaring Contexts