This reference describes the Instruqt Assets API and helps you get started.
The Instruqt Assets API lets you store track specific files on the platform - assets. Assets API is HTTP based and in order to consume it you must have a valid authentication token(will be referred as token on this page).
The API supports uploading, fetching and getting information about your asset.
HTTP Method: POST URL:
- track_id - id of a track asset belongs to
Asset MD5 hash value encoded to string will be returned in response body.
HTTP Method: GET URL:
Asset will be returned in response body as a binary stream.
HTTP Method: HEAD URL:
You can refer to an uploaded asset inside a markdown using the same URL which is used to fetch an uploaded asset
This example embeds an image in the
assignment.mdsidebar text. This is useful for showing a screenshot or other image to your learner as part of the challenge instructions:
title: My Challenge
- title: Google tab
Hello there, assets!