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/v1/views \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "viewId": "<string>",
  "name": "<string>",
  "axisGroups": {
    "left": [
      "<string>"
    ],
    "right": [
      "<string>"
    ]
  },
  "channels": [
    {
      "name": "<string>",
      "component": "<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>",
  "organizationId": "<string>",
  "modifiedByUserId": "<string>",
  "isPinned": true
}'{
  "view": {
    "viewId": "<string>",
    "name": "<string>",
    "axisGroups": {
      "left": [
        "<string>"
      ],
      "right": [
        "<string>"
      ]
    },
    "channels": [
      {
        "name": "<string>",
        "component": "<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>",
    "organizationId": "<string>",
    "modifiedByUserId": "<string>",
    "isPinned": true
  }
}Creates a view.
curl --request POST \
  --url https://your-sift-api-url.com/api/v1/views \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "viewId": "<string>",
  "name": "<string>",
  "axisGroups": {
    "left": [
      "<string>"
    ],
    "right": [
      "<string>"
    ]
  },
  "channels": [
    {
      "name": "<string>",
      "component": "<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>",
  "organizationId": "<string>",
  "modifiedByUserId": "<string>",
  "isPinned": true
}'{
  "view": {
    "viewId": "<string>",
    "name": "<string>",
    "axisGroups": {
      "left": [
        "<string>"
      ],
      "right": [
        "<string>"
      ]
    },
    "channels": [
      {
        "name": "<string>",
        "component": "<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>",
    "organizationId": "<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?