v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBCase Management
Create a case view
Creates a new saved case view with a name, filter query, and associated project. Optionally, a notification rule can be linked to the view.
post/api/v2/cases/views
Request body
Example request
{
"data": {
"attributes": {
"name": "Open bugs",
"project_id": "e555e290-ed65-49bd-ae18-8acbfcf18db7",
"query": "status:open type:bug"
},
"type": "view"
}
}Response
Created
Example response
{
"data": {
"attributes": {
"created_at": "2024-01-01T00:00:00.000Z",
"name": "Open bugs",
"query": "status:open type:bug"
},
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"relationships": {
"created_by": {
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"type": "user"
}
},
"modified_by": {
"data": {
"id": "00000000-0000-0000-0000-000000000000",
"type": "user"
}
},
"project": {
"data": {
"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7",
"type": "project"
}
}
},
"type": "view"
}
}