Skip to main content
POST
/
ddex
/
delivery
/
test-connection
Test connection to a DDEX provider
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/ddex/delivery/test-connection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "providerId": "<string>"
}'
{
  "status": "<string>",
  "data": {
    "success": true,
    "responseTime": 123
  }
}

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/ddex/delivery/test-connection', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "providerId": "sample-providerId"
  })
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
providerId
string
required

Response

Success

status
string
data
object