Headers
Body
application/json
Response
OK
The response is of type object
.
curl --request POST \
--url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/drafts \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"changeSummary": {
"createdAt": "2023-11-07T05:31:56Z",
"summary": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"commit": 123,
"diagramIds": [
"<string>"
],
"labels": {},
"name": "<string>",
"status": "in-progress",
"landscapeId": "<string>",
"versionId": "<string>"
}'
{
"draft": {
"changeSummary": {
"createdAt": "2023-11-07T05:31:56Z",
"summary": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"commit": 123,
"diagramIds": [
"<string>"
],
"labels": {},
"name": "<string>",
"status": "in-progress",
"landscapeId": "<string>",
"versionId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "user",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": "user",
"deletedById": "<string>",
"id": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "user",
"updatedById": "<string>",
"version": 123,
"viewedAt": "2023-11-07T05:31:56Z",
"viewedBy": "user",
"viewedById": "<string>"
}
}
curl --request POST \
--url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/drafts \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"changeSummary": {
"createdAt": "2023-11-07T05:31:56Z",
"summary": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"commit": 123,
"diagramIds": [
"<string>"
],
"labels": {},
"name": "<string>",
"status": "in-progress",
"landscapeId": "<string>",
"versionId": "<string>"
}'
{
"draft": {
"changeSummary": {
"createdAt": "2023-11-07T05:31:56Z",
"summary": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"commit": 123,
"diagramIds": [
"<string>"
],
"labels": {},
"name": "<string>",
"status": "in-progress",
"landscapeId": "<string>",
"versionId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "user",
"createdById": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": "user",
"deletedById": "<string>",
"id": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "user",
"updatedById": "<string>",
"version": 123,
"viewedAt": "2023-11-07T05:31:56Z",
"viewedBy": "user",
"viewedById": "<string>"
}
}
OK
The response is of type object
.