Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
A successful response.
curl --request PATCH \
--url https://your-sift-api-url.com/api/v2/views/{view.viewId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"view": {
"name": "<string>",
"axisGroups": {
"left": [
"<string>"
],
"right": [
"<string>"
]
},
"channels": [
{
"name": "<string>",
"dataType": "<string>",
"axisGroup": "<string>",
"bitFieldNames": [
"<string>"
],
"calculatedChannelConfig": {
"channelKey": "<string>",
"channelReferences": {},
"expression": "<string>",
"unit": "<string>"
}
}
],
"createdDate": "2023-11-07T05:31:56Z",
"modifiedDate": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>",
"modifiedByUserId": "<string>",
"isPinned": true
},
"updateMask": "<string>"
}'{
"view": {
"viewId": "<string>",
"name": "<string>",
"axisGroups": {
"left": [
"<string>"
],
"right": [
"<string>"
]
},
"channels": [
{
"name": "<string>",
"dataType": "<string>",
"axisGroup": "<string>",
"bitFieldNames": [
"<string>"
],
"calculatedChannelConfig": {
"channelKey": "<string>",
"channelReferences": {},
"expression": "<string>",
"unit": "<string>"
}
}
],
"createdDate": "2023-11-07T05:31:56Z",
"modifiedDate": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>",
"modifiedByUserId": "<string>",
"isPinned": true
}
}Updates an existing view using using the list of fields specified in update_mask.
curl --request PATCH \
--url https://your-sift-api-url.com/api/v2/views/{view.viewId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"view": {
"name": "<string>",
"axisGroups": {
"left": [
"<string>"
],
"right": [
"<string>"
]
},
"channels": [
{
"name": "<string>",
"dataType": "<string>",
"axisGroup": "<string>",
"bitFieldNames": [
"<string>"
],
"calculatedChannelConfig": {
"channelKey": "<string>",
"channelReferences": {},
"expression": "<string>",
"unit": "<string>"
}
}
],
"createdDate": "2023-11-07T05:31:56Z",
"modifiedDate": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>",
"modifiedByUserId": "<string>",
"isPinned": true
},
"updateMask": "<string>"
}'{
"view": {
"viewId": "<string>",
"name": "<string>",
"axisGroups": {
"left": [
"<string>"
],
"right": [
"<string>"
]
},
"channels": [
{
"name": "<string>",
"dataType": "<string>",
"axisGroup": "<string>",
"bitFieldNames": [
"<string>"
],
"calculatedChannelConfig": {
"channelKey": "<string>",
"channelReferences": {},
"expression": "<string>",
"unit": "<string>"
}
}
],
"createdDate": "2023-11-07T05:31:56Z",
"modifiedDate": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>",
"modifiedByUserId": "<string>",
"isPinned": true
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A successful response.
Show child attributes
Was this page helpful?