Number of APIs: 5
GET https://api.getpostman.com/apis/{{apiId}}/versions
This call fetches details about the all the API Versions in the specified API. The response will contain an array Requires API Key as versions
object which would be a list of all the API Version along with their details.
X-Api-Key
request header or apikey
URL query parameter.
POST https://api.getpostman.com/apis/{{apiId}}/versions
This call creates a new API version in the specified API. Request body should contain a Response contains a Requires API Key as version
object which should have fields:
name
Required. Name of the API Version
source
If specified, it will copy the contents of the specified api version to create a new api verison.
id
Required. Id of the apiversion from where the details are to be copied
schema
Boolean. If true then copies the schema from the specified api version
relations
Object. {"<relationType>": true/false}.
Allowed relation types are `mock`, `monitor`, `documentation`, `contracttest`, `integrationtest`, `testsuite`, `environment`
Relation types which should be copied over to the new api verison
version
object with all the details related to the created API Version, namely, id
, name
, api
.
X-Api-Key
request header or apikey
URL query parameter.
PUT https://api.getpostman.com/apis/{{apiId}}/versions/{{apiVersionId}}
This call updates an existing API Version. Request body should contain a Response contains a Requires API Key as version
object with the fields which need to be updated. Only field which can be updated is name
.version
object with all the details related to the created API Version, namely, id
, name
, api
etc.
X-Api-Key
request header or apikey
URL query parameter.
DELETE https://api.getpostman.com/apis/{{apiId}}/versions/{{apiVersionId}}
This call deletes an existing API Version having the specified id. Response contains an Requires API Key as version
object with id
of the API Version which was deleted.
X-Api-Key
request header or apikey
URL query parameter.
GET https://api.getpostman.com/apis/{{apiId}}/versions/{{apiVersionId}}
This call fetches details about the specified API Version. The response will contain a Requires API Key as version
object which would contain all the details of the API Version.
X-Api-Key
request header or apikey
URL query parameter.
ENDPOINTS