Media API

You can add media to an item during the authoring process. This allows you to create more rich, dynamic, and engaging content. Media is not just for decorative purposes. You can use media to provide candidates with essential contextual information and create unique assessment scenarios, like video case studies and language comprehension tests.

The Media API resource is used to retrieve and upload media.

This article explains what calls can be made to the Surpass API using the Media resource.

Import this API into your Postman Workspace

In This Article

Retrieving media information

get /api/v2/Media/{id}

Send a request to the endpoint to retrieve information for a specific piece of media using its ID. No request body is required.

Retrieving raw media data

get /api/v2/Media/{id}/Data

Send a request to the endpoint to retrieve a specific piece of media in Base64 encoded format using its ID. No request body is required.

Uploading media to media library

post /api/v2/Media

Send a request to the endpoint to upload a piece of media to a specified subject’s media library.

Error Codes

Refer to the following table for information on error codes that may be encountered when using this resource.

Further reading

Read the following articles to learn more about similar APIs, how to get started with the Surpass API v2, and how to get the best out of this reference documentation:

NOTE: This form is to provide feedback to help improve the Surpass Help documentation only. If you need live support, contact support@surpass.com.