Skip to main content

AddApiCollectionRequest

AddApiCollection1

Properties

NameTypeRequiredDescription
dataAddApiCollection1Data
operationTypeAddApiCollection1OperationTypeThe COPY_COLLECTION method.

AddApiCollection1Data

Properties

NameTypeRequiredDescription
collectionIdstringThe collection ID to copy to the API.

AddApiCollection1OperationType

The COPY_COLLECTION method.

Properties

NameTypeRequiredDescription
COPYCOLLECTIONstring"COPY_COLLECTION"

AddApiCollection2

Properties

NameTypeRequiredDescription
namestringThe collection's name.
operationTypeAddApiCollection2OperationTypeThe GENERATE_FROM_SCHEMA method.
optionsanyThe advanced creation options for collections and their values. For a complete list of properties and their values, see Postman's OpenAPI 3.0 to Postman Collection v2.1.0 Converter OPTIONS documentation. These properties are case-sensitive.

AddApiCollection2OperationType

The GENERATE_FROM_SCHEMA method.

Properties

NameTypeRequiredDescription
GENERATEFROMSCHEMAstring"GENERATE_FROM_SCHEMA"

AddApiCollection3

Properties

NameTypeRequiredDescription
dataAddApiCollection3DataInformation about the collection's contents, such as requests and responses. For a complete list of values, refer to the collection.json schema file.
operationTypeAddApiCollection3OperationTypeThe CREATE_NEW method.

AddApiCollection3Data

Information about the collection's contents, such as requests and responses. For a complete list of values, refer to the collection.json schema file.

Properties

NameTypeRequiredDescription
infoDataInfoInformation about the collection.
itemany[]Information about the requests and responses in the collection. For a complete list of values, refer to the collection.json schema file.

DataInfo

Information about the collection.

Properties

NameTypeRequiredDescription
namestringThe collection's name.
schemaInfoSchemaThe collection's schema format.

InfoSchema

The collection's schema format.

Properties

NameTypeRequiredDescription
HTTPSSCHEMAGETPOSTMANCOMJSONCOLLECTIONV2_1_0COLLECTIONJSONstring"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"

AddApiCollection3OperationType

The CREATE_NEW method.

Properties

NameTypeRequiredDescription
CREATENEWstring"CREATE_NEW"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →