Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/ddex/mead/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "productId": "<string>",
  "providerId": "<string>",
  "options": {}
}'{
  "jobId": "<string>",
  "status": "queued",
  "estimatedCompletion": "2023-11-07T05:31:56Z"
}Queue MEAD generation for a Product
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/ddex/mead/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "productId": "<string>",
  "providerId": "<string>",
  "options": {}
}'{
  "jobId": "<string>",
  "status": "queued",
  "estimatedCompletion": "2023-11-07T05:31:56Z"
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/ddex/mead/generate', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "productId": "sample-productId",
    "providerId": "sample-providerId",
    "options": {}
  })
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"