Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Sync collection with schema

PUT {{baseUrl}}/apis/{{apiId}}/collections/{{collectionId}}/sync-with-schema-tasks

Syncs a collection attached to an API with the API schema. This is an asynchronous endpoint that returns an HTTP 202 Accepted response.

The response contains a polling link to the /apis/{apiId}/tasks/{taskId} endpoint in the Location header.

Note:

This endpoint only supports the OpenAPI 3 schema type.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status





Curl
curl -X PUT 'https://api.getpostman.com/apis/apiId/collections/collectionId/sync-with-schema-tasks' -H 'Accept: application/vnd.api.v10+json'

ENDPOINTS