Login

Screens
Available on request only

Screens are individual learning objects within Coassemble. Using the API, you can fetch, create and delete screens.

Get screen types
Available on request only

GET /api/v1/headless/screen/types

Use this endpoint to get all screen types.

Responses

CodeDescription
default

Get a signed URL for a screen
Available on request only

GET /api/v1/headless/screen/{action}

Use this endpoint to get a signed URL for a screen. This URL can be used to embed the Coassemble interface into your application within an iframe.

Path parameters

FieldDescriptionOptions
actionAction to perform N/A

Query parameters

FieldTypeDescriptionRequiredDefaultPattern
idintegerCourse ID. If not provided for edit action, will return a URL for a new screen.Yes N/A N/A
identifierstringIdentifier for your user. In view mode will be used to track progress. In edit mode will be used to track screen creation.Yes N/A N/A
clientIdentifierstringIdentify a client or group your user may belong to. Useful for multi-tenant situations where you would later like to differentiate between client's screens.Yes N/A N/A

Responses

CodeDescription
200Presigned URL to embed

Create screen
Available on request only

POST /api/v1/headless/screen/{id}

Use this endpoint to create a new screen.

Delete screen
Available on request only

DELETE /api/v1/headless/screen/{id}

Use this endpoint to delete an existing screen.

Path parameters

FieldDescriptionOptions
id N/A

Responses

CodeDescription
default