Authorization: Bearer ********************
{
"id": "6d557b08-410a-4c99-8ad2-8f9f3a751d3e",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"type": "custom",
"label": "Backup 2",
"description": "gotipath",
"url": "https://gotipath2.com",
"protocol": "https"
}
curl --location --request POST 'https://apistream.gotipath.com/v1/distributions/bb52605c-5bbc-41f4-af77-1c1bf12ec7d9/origins' \
--header 'X-Auth-ClientId;' \
--header 'X-Auth-LibraryId;' \
--header 'X-Auth-ApiKey;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "6d557b08-410a-4c99-8ad2-8f9f3a751d3e",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"type": "custom",
"label": "Backup 2",
"description": "gotipath",
"url": "https://gotipath2.com",
"protocol": "https"
}'
{
"status": 0,
"result": {
"id": "string",
"distribution_id": "string",
"type": "string",
"label": "string",
"description": "string",
"url": "string",
"protocol": "string",
"load_balancer_type": "string",
"is_primary": true
},
"success": true
}