YouTrack Standalone 2019.2 Help

Operations with Specific SavedQuery

Resource

/api/savedQueries/{queryID}

Returned entity

SavedQuery. For the description of the entity attributes, see Supported Fields section.

Supported methods

SavedQuery attributes

Represents saved query.

Extends WatchFolder

This table describes attributes of the SavedQuery entity.

  • To receive an attribute in the response from server, specify it explicitly in the request parameter fields.

  • To update an attribute, provide it in the body of a POST request.

Field

Type

Description

query

String

Query that is saved in this search. Can be null.

issues

Array of Issues

Issues that match this search. Read-only.

Read a Specific SavedQuery

Request syntax

GET /api/savedQueries/{queryID}?{fields}

Request parameters

Parameter

Type

Description

fields

String

A list of SavedQuery attributes that should be returned in the response. If no field is specified, only the entityID is returned.

Update a Specific SavedQuery

Request syntax

POST /api/savedQueries/{queryID}?{fields}

Request parameters

Parameter

Type

Description

fields

String

A list of SavedQuery attributes that should be returned in the response. If no field is specified, only the entityID is returned.

Delete a Specific SavedQuery

Request syntax

DELETE /api/savedQueries/{queryID}
Last modified: 17 July 2019