Headers
Body
application/json
Response
OK
curl --request POST \
--url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/diagrams/{diagramId}/export/png \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"filename": "<string>",
"flowId": "<string>",
"flowParentIds": [
"<string>"
],
"flowPathIds": [
"<string>"
],
"name": "<string>",
"organizationId": "<string>",
"overlayGroupId": "<string>",
"overlayIdsFocused": [
"<string>"
],
"overlayIdsHidden": [
"<string>"
],
"overlayIdsPinned": [
"<string>"
],
"overlayTab": "tags",
"theme": "light"
}'{
"url": "<string>"
}Use the /export/image endpoint instead
curl --request POST \
--url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/diagrams/{diagramId}/export/png \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"filename": "<string>",
"flowId": "<string>",
"flowParentIds": [
"<string>"
],
"flowPathIds": [
"<string>"
],
"name": "<string>",
"organizationId": "<string>",
"overlayGroupId": "<string>",
"overlayIdsFocused": [
"<string>"
],
"overlayIdsHidden": [
"<string>"
],
"overlayIdsPinned": [
"<string>"
],
"overlayTab": "tags",
"theme": "light"
}'{
"url": "<string>"
}tags, technology, status, teams light, dark OK