/api/testing

POST /api/testing/mark-stale

Changed on

Backdate an entity's activity so the staleness checks treat it as stale. Cards and dashboards carry the timestamp directly, a document is stale once it has not been viewed since the cutoff, and a transform is stale once it was created before the cutoff with no later run. Intended only for E2E tests.

post/api/testing/mark-stale

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

date-strstring nullable
idinteger required

value must be an integer greater than zero.

modelstring required

Response

Successful response

Changes

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      api operation id post-api-testing-mark-stale was added