Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Create index snapshot if not in progress

Starts taking an index snapshot if no other snapshot creation process is in progress

POST/api/2/index-snapshot
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Responses
202

Returns the absolute path which index snapshot will be placed in, after it's created

futureAbsolutePathstring
400

Returned if the Search Platform does not support index snapshots

401

Returned if the caller doesn't have sufficient privileges

409

Returned if snapshot creation is already in progress

Try it
Server
Authorization
Request
curl -X POST 'http://jira.example.com/rest/api/2/index-snapshot' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "futureAbsolutePath": "/home/atlassian/shared-home/export/indexsnapshots/IndexSnapshot_2021-Jul-21--2142-34-601.tar.sz"
}

Was this page helpful?