Authorization: Bearer ********************[
{
"id": "f2eea05d-c614-479a-a789-f7d0d70f9524",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"type": "custom",
"label": "Backup 2 fsupfsasfsofso",
"description": "gotipath",
"url": "https://gotipath2.com",
"protocol": "https"
}
]curl --location --request POST 'https://apistream.gotipath.com/v1/distributions/bb52605c-5bbc-41f4-af77-1c1bf12ec7d9/origins/batch' \
--header 'X-Auth-ClientId: ebe8bac0-eaef-4548-8b59-96c9ec38a22b' \
--header 'X-Auth-LibraryId: 89898172-d32b-49f8-a94a-bdf0c6ca1bd9' \
--header 'X-Auth-ApiKey: pEBPYVUNMbP7uDsb0W2h3oTjpEqr32fFh/3TNUhvFcJt7/J/hyV+5LctVWONgzaw+w+PpQ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"id": "f2eea05d-c614-479a-a789-f7d0d70f9524",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"type": "custom",
"label": "Backup 2 fsupfsasfsofso",
"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
}