Release scroll view resources
Use this request to release resources after you view the snapshot of search results for the Find issues request.
Request format
To release scrolling results, use an HTTP POST
request:
POST /v2/system/search/scroll/_clear
Host: https://api.tracker.yandex.net
Authorization: OAuth <OAuth token>
X-Org-Id: <organization ID>
{
"srollId": "scrollToken"
}
- srollId
- ID of the scroll results page. The value of the ID is specified from the
X-Scroll-Id
header in the response to the Find issues request. - scrollToken
- A token that identifies the request as belonging to the current user. The value of the ID is specified from the
X-Scroll-Token
header in the response to the Find issues request.
Parameters passed in the request body
The request must pass all "srollId": "scrollToken"
pairs for your request. The number of pairs is equal to the number of pages with search results.
Releasing scrolling results:
Uses the HTTP POST method.
POST /v2/system/search/scroll/_clear HTTP/1.1
Host: https://api.tracker.yandex.net
Authorization: OAuth <OAuth token>
X-Org-Id: <organization ID>
Cache-Control: no-cache
{
"cXVlcnlUaGVuRmV0Y2g7NjsyNDU5MzpmQ0gwd0JOM1RvQ2NPM3ZJRkpfTnFBOzI0NTkyOmZDSDB3Qk4zVG9DY08zdklGSl9OcUE7MjQ1OTU6ZkNIMHdCTjNUb0NjTzN2SUZKX05xQTsyNDU5NDpmQ0gwd0JOM1RvQ2NPM3ZJRkpfTnFBOzIwMzg2OkNfVnFZdHZCU3Y2VUowT0N6dGVGdFE7MjAzODE6U3RqelpvSWZTYmVFX2VZYWRBcXlzZzswOw==": "c44356850f446b88e5b5cd65a34a1409aaaa0ec1b93f8925d6b1c91da0fe3804:1450339762515",
"cXVlcnlUaGVuRmV0Y2g7NjsyMDQ0MzpTdGp6Wm9JZlNiZUVfZVlhZEFxeXNnOzIwNDQ1OkNfVnFZdHZCU3Y2VUowT0N6dGVGdFE7MjA0NDI6U3RqelpvSWZTYmVFX2VZYWRBcXlzZzsyMDQ0NDpDX1ZxWXR2QlN2NlVKME9DenRlRnRROzI0NjcxOmZDSDB3Qk4zVG9DY08zdklGSl9OcUE7MjQ2NzI6ZkNIMHdCTjNUb0NjTzN2SUZKX05xQTswOw==": "b8e1c56966f037d9c4e241af40d31dc80af186fa079d75022822b2be88f785dc:1450344216969"
}
Response format
If the request is successful, an empty message with code 200 is returned.
Possible response codes
- 200
- The request was successful.
- 401
- The user is not authorized. Check whether all the steps described in API access were completed.
- 403
- You do not have sufficient rights to perform this action. Double-check permissions in the Tracker interface. You need the same permissions to perform the action via the API as in the interface.