Manage Views

Update or insert a specific view by its origin or id

put/api/views/{originOrId}

Request

  • Base URL: https://api.eu-west-1.aws.dash0.com
  • URL: https://api.eu-west-1.aws.dash0.com/api/views/{originOrId}
  • Auth: none declared

Path parameters

originOrIdstring required

View origin or id.

Query parameters

datasetstring

Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.

Request body

kind'Dash0View' required

Example request

{
  "spec": {
    "filter": [
      {
        "key": "service.name",
        "operator": "is",
        "value": "foo"
      }
    ],
    "implicitFilter": [
      {
        "key": "service.name",
        "operator": "is",
        "value": "foo"
      }
    ]
  }
}

Response

Update a specific view.

kind'Dash0View' required

Example response

{
  "spec": {
    "filter": [
      {
        "key": "service.name",
        "operator": "is",
        "value": "foo"
      }
    ],
    "implicitFilter": [
      {
        "key": "service.name",
        "operator": "is",
        "value": "foo"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.