Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
A successful response.
curl --request POST \
--url https://your-sift-api-url.com/api/v2/views \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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
}
}'{
"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
}
}Creates a view.
curl --request POST \
--url https://your-sift-api-url.com/api/v2/views \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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
}
}'{
"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.
Show child attributes
A successful response.
Show child attributes
Was this page helpful?