curl --request GET \
--url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/export/json \
--header 'Authorization: <authorization>'
{
"domains": {},
"flows": {},
"modelConnections": {},
"modelObjects": {},
"tagGroups": {},
"tags": {},
"teams": {},
"technologies": {}
}
Use the /landscapes//versions//export endpoint instead
curl --request GET \
--url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/export/json \
--header 'Authorization: <authorization>'
{
"domains": {},
"flows": {},
"modelConnections": {},
"modelObjects": {},
"tagGroups": {},
"tags": {},
"teams": {},
"technologies": {}
}
OK
The response is of type object
.