{ "info": { "_postman_id": "af0c0f38-1714-4b6a-a785-ce27a8f7ddd0", "name": "Migration REST API", "description": "REST API related to migrations from Server or Data Center to Cloud.", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ { "name": "Link fixing", "description": "APIs for updating links after Data Center to Cloud or Cloud to Cloud migrations", "item": [ { "name": "Update links", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}jobs/cma", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Updates links that go to a a destination product (Jira, Confluence) that was migrated from Data Center or a different Cloud site.", "auth": { "type": "basic", "basic": { "username": "{{username}}", "password": "{{apiToken}}" } }, "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Get status by ID", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}jobs/status/:jobId", "query": [], "variable": [ { "key": "jobId", "value": "{{jobId}}", "disabled": false } ] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns the status of a link update by ID.", "auth": { "type": "basic", "basic": { "username": "{{username}}", "password": "{{apiToken}}" } } }, "response": [] }, { "name": "Get status by product", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}jobs/status", "query": [ { "key": "product", "value": "{{product}}", "disabled": false }, { "key": "productURL", "value": "{{productURL}}", "disabled": false } ], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns the statuses of all link updates performed for a given product.", "auth": { "type": "basic", "basic": { "username": "{{username}}", "password": "{{apiToken}}" } } }, "response": [] }, { "name": "Get products by an organization", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}jobs/products/:orgId", "query": [], "variable": [ { "key": "orgId", "value": "{{orgId}}", "disabled": false } ] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns the list of all products in an organization. You can use it to help you find products that might have links to update.", "auth": { "type": "basic", "basic": { "username": "{{username}}", "password": "{{apiToken}}" } } }, "response": [] }, { "name": "Export audit log", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}report/links", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" } ], "description": "Exports the audit log that shows every successful link modification for a given product from the last 29 days.", "auth": { "type": "basic", "basic": { "username": "{{username}}", "password": "{{apiToken}}" } }, "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Export history report", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}report/jobs", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" } ], "description": "Exports the history report that shows the summary of all link updates for a given product and their summarized results.", "auth": { "type": "basic", "basic": { "username": "{{username}}", "password": "{{apiToken}}" } }, "body": { "mode": "raw", "raw": "" } }, "response": [] } ] } ], "variable": [ { "key": "protocol", "name": "Protocol", "description": "The HTTP Protocol that should be used for this REST API.", "type": "string", "value": "https" }, { "key": "host", "name": "Host", "description": "The HTTP host that should be used for this REST API.", "type": "string", "value": "api.atlassian.com" }, { "key": "basePath", "name": "Base Path", "description": "The path, after the host, of the base of the REST API.", "type": "string", "value": "links/v1/%7BsiteId%7D/" } ] }