POST /v1/saved-views
POST/v1/saved-views
CodeMeta OS API endpoint.
Request Body
| Name | Typ | Beschreibung |
|---|
nameerforderlich | string | |
resourceerforderlich | string | |
configerforderlich | object | |
isDefault | boolean | |
isShared | boolean | |
icon | stringnull | |
color | stringnull | |
Beispiel
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
});
Antwortcodes
| HTTP |
Bedeutung |
200 |
Default Response |