v1

latestOpenAPI 3.0.0Open Government Licence v3.02026-07-14172729.9 KB
Public

Update a filter

Update the filter by providing new properties, submit a filter for processing by setting query parameter submitted to true. This endpoint is for CMD datasets only.

put/filters/{id}

Query parameters

submittedboolean

A flag to indicate the submission of a filter

Headers

If-Matchstring required

Filter resource version, as returned by a previous ETag, to be validated; or '*' to skip the version check

Request body

filter_idstring

A unique id for this resource

Example request

{
  "links": {
    "version": {
      "href": "http://localhost:8080/datasets/DE3BC0B6-D6C4-4E20-917E-95D7EA8C91DC/editions/2017/version/1",
      "id": "de3bc0b6-d6c4-4e20-917e-95d7ea8c91dc"
    },
    "dimensions": {
      "href": "http://localhost:8080/filters/51f5f643-0633-45be-ae82-63ff4149f665/dimensions"
    },
    "self": {
      "href": "http://localhost:8080/filters/51f5f643-0633-45be-ae82-63ff4149f665"
    }
  }
}

Response

The filter job has been updated