Contents

Create or Replace Contexts

Store information about the assignable content that your educational app provides.

URL

POST 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.

Response Codes

StatusReasonTypeDescription
201Created

The request succeeded.

202Accepted

The API accepted but hasn’t completed the request. To ask for a status update later, see Get Status.

400Bad Request

The request contained an error.

403Forbidden

The request wasn’t authorized.

Discussion

Define parent contexts of any of the contexts defined in this call, either in a previous call to the same endpoint, or as part of the same call.

You can specify up to 200 contexts for any one call to this endpoint. The call overwrites any contexts that already exist with the same identifier path and locale.

Example

HTTP Body

The context or contexts to add.

See Also

Declaring Contexts