Number of APIs: 5
POST https://api.getpostman.com/collections
Creates a collection using the [Qodex Collection v2 schema format] Include a Note:collection
object in the request body that contains the following required properties:
info
— An object that contains the following properties:
name
— A string value that contains the collection's name.schema
— A string that contains a URL to the collection's schema. For example, the https://schema.getQodex.com/collection/v1
URL.item
— An object that contains the HTTP request and response information.
request
— An object that contains the collection's request information. For a complete list of values, refer to the definitions.request
entry in the [collection.json schema file] If you pass an empty object for this value, the system defaults to an untitled GET request.
info
object — Use the definitions.info
entry.item
object — Use the definitions.items
entry.
GET https://api.getpostman.com/collections/{{collectionId}}
Gets information about a collection. For a complete list of this endpoint's possible values, use the [collection.json schema file]
DELETE https://api.getpostman.com/collections/{{collectionId}}
Deletes a collection.
PUT https://api.getpostman.com/collections/{{collectionId}}
Updates a collection using the [Qodex Collection v2 schema format] Include a Note: Use caution when using this endpoint. The system will replace the existing collection with the values passed in the request body.collection
object in the request body that contains the following required properties:
info
— An object that contains the following properties:
name
— A string value that contains the collection's name.schema
— A string that contains a URL to the collection's schema. For example, the https://schema.getQodex.com/collection/v1
URL.item
— An object that contains the HTTP request and response information.
request
— An object that contains the collection's request information. For a complete list of values, refer to the definitions.request
entry in the [collection.json schema file] If you pass an empty object for this value, the system defaults to an untitled GET request.
info
object — Use the definitions.info
entry.item
object — Use the definitions.items
entry.Important
GET https://api.getpostman.com/collections
Gets all of your collections. The response includes all of your subscribed collections.