Zum Hauptinhalt springen
POST
/
media
/
{id}
/
download-token
{
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9",
  "url": "https://coreapi.io/media/1/download/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9"
}

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Pfadparameter

id
string
erforderlich

Media identifier

Antwort

Media resource created

token
string

The token to download the media file. This token is valid for 1 minute.

Beispiel:

"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9"

url
string

The url to download the media file.

Beispiel:

"https://coreapi.io/media/1/download/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9"