curl --request POST \
--url https://api.royalti.io/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://api.royalti.io/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://api.royalti.io/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}"