DataExplorerV2

Create UsageSavedQuery

Changed on

Create a new UsageSavedQuery.

post/organizations/{orgId}/usage/savedqueries

Request

Path parameters

orgIdstring required

UUID of the organization

Request body

versioninteger

The version number of the entity:

  • Create entity: Not valid for initial insertion of new entity - do not use for Create. On initial Create, version is set at 1 and listed in the response.
  • Update Entity: On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.

Response

Return the created UsageSavedQuery

idstring required

The UUID of the entity.

versioninteger

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.

Changes

    • breaking

      the //////////// request property type changed from no type to object

    • breaking

      the //////////// request property type changed from no type to object

    • breaking

      the //////////// response's property type changed from no type to object for status

    • breaking

      the //////////// response's property type changed from no type to object for status

    • warning

      removed subschema #2 from the request property allOf list

    • warning

      removed subschema #2 from the ///// request property allOf list

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the ///// response property allOf list for the response status

    • info

      endpoint added