{
"name": "string",
"extension": {
"originType": "string",
"url": "string"
}
}
curl --location --request POST 'https://open.teambition.com/api/code/pipeline/platforms' \
--header 'X-Tenant-Id;' \
--header 'X-Tenant-Id;' \
--header 'X-Tenant-Type;' \
--header 'X-Tenant-Type;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"extension": {
"originType": "string",
"url": "string"
}
}'
{
"requestId": "bfca582a-1da2-4748-bea5-a0b366d3255c",
"code": 200,
"errorMessage": "ok",
"result": {
"appId": "63c0ea5731405e70748f487d",
"createdAt": "2023-02-24T06:53:02.146Z",
"id": "63f85ece5317bf002bd16d56",
"integrationType": "pipeline",
"isDeleted": false,
"name": "测试流水线源1",
"organizationId": "6167f4ac4b820f143f852dad",
"platformType": "pipelineOpen",
"status": "normal",
"updatedAt": "2023-02-24T06:53:02.146Z",
"version": 0
}
}