API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

POST /v1/saved-views

POST/v1/saved-views

CodeMeta OS API endpoint.

Request body

NaamTypeBeschrijving
namevereiststring
resourcevereiststring
configvereistobject
isDefaultboolean
isSharedboolean
iconstringnull
colorstringnull

Voorbeeld

curl -X POST https://api.codemeta-os.de/v1/saved-views \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "name": "string",
  "resource": "string",
  "config": null,
  "isDefault": false,
  "isShared": false,
  "icon": null,
  "color": null
}'
const result = await cm.saved-views.post({
  "name": "string",
  "resource": "string",
  "config": null,
  "isDefault": false,
  "isShared": false,
  "icon": null,
  "color": null
});

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken