Skip to main content

The Postman API

Project description

Postman Python SDK 1.0.0

Welcome to the Postman SDK documentation. This guide will help you get started with integrating and using the Postman SDK in your project.

Versions

  • API version: 1.0
  • SDK version: 1.0.0

About the API

The Postman API enables you to programmatically access data stored in your Postman account.

Table of Contents

Setup & Configuration

Supported Language Versions

This SDK is compatible with the following versions: Python >= 3.7

Installation

To get started with the SDK, we recommend installing using pip:

pip install postman-sdk

Authentication

Access Token Authentication

The Postman API uses an Access Token for authentication.

This token must be provided to authenticate your requests to the API.

Setting the Access Token

When you initialize the SDK, you can set the access token as follows:

Postman(
    access_token="YOUR_ACCESS_TOKEN",
    api_key="YOUR_API_KEY",
    api_key_header="YOUR_API_KEY_HEADER"
)

If you need to set or update the access token after initializing the SDK, you can use:

sdk.set_access_token("YOUR_ACCESS_TOKEN")

API Key Authentication

The Postman API uses API keys as a form of authentication. An API key is a unique identifier used to authenticate a user, developer, or a program that is calling the API.

Setting the API key

When you initialize the SDK, you can set the API key as follows:

Postman(
    access_token="YOUR_ACCESS_TOKEN",
    api_key="YOUR_API_KEY",
    api_key_header="YOUR_API_KEY_HEADER"
)

If you need to set or update the API key after initializing the SDK, you can use:

sdk.set_api_key("YOUR_API_KEY", "YOUR_API_KEY_HEADER")

Environments

The SDK supports different environments for various stages of development and deployment.

Here are the available environments:

US = "https://api.getpostman.com"
EU = "https://api.eu.postman.com"

Setting an Environment

To configure the SDK to use a specific environment, you can set the base URL as follows:

from postman import Environment

sdk.set_base_url(Environment.US.value)

Using Union Types

Union types allow you to specify that a variable can have more than one type. This is particularly useful when a function can accept multiple types of inputs. The Union type hint is used for this purpose.

Example Function with Union Types

You can call service method with an instance of TypeA, TypeB, or a dictionary that can be converted to an instance of either type.

# Model Definition
ParamType = Union[TypeA, TypeB]

# Service Method
def service_method(param: ParamType):
...

# Usage
type_a = TypeA(key="value")
type_b = TypeB(key="value")

sdk.service.service_method(type_a)
sdk.service.service_method(type_b)
sdk.service.service_method({"key": "value"})

You cannot create an instance of a Union type itself. Instead, pass an instance of one of the types in the Union, or a dictionary that can be converted to one of those types.

Services

The SDK provides various services to interact with the API.

Below is a list of all available services with links to their detailed documentation:
Name
BillingService
ApiService
TagsService
AuditLogsService
CollectionsService
CollectionItemsService
CollectionFoldersService
CollectionRequestsService
CollectionResponsesService
SecretScannerService
EnvironmentsService
ImportService
UserService
MocksService
MonitorsService
PrivateApiNetworkService
PullRequestsService
ApiSecurityService
ScimService
WebhooksService
WorkspacesService

Models

The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.

Below is a list of all available models with links to their detailed documentation:
Name Description
InvoicesAccountInfo Information about the account.
GetAccountInvoicesOkResponse
GetAccountInvoicesStatus
GetApisOkResponse Information about the API schema.
Accept
CreateApiRequest Information about the API.
CreateApiOkResponse The API's base data schema.
GetApiOkResponse
GetApiInclude
UpdateApiRequest Information about the API.
UpdateApiOkResponse Information about the API.
AddApiCollectionRequest
AddApiCollectionOkResponse
SyncCollectionWithSchemaAcceptedResponse
CommentResponse
CommentCreateUpdate Information about the comment.
CommentCreatedUpdated
CreateApiSchemaRequest Information about the API schema.
CreateApiSchemaOkResponse Information about the created API schema.
GetApiSchemaOkResponse
GetApiSchemaFilesOkResponse Information about the schema files and its meta information.
GetApiSchemaFileContentsOkResponse Information about the schema file.
CreateUpdateApiSchemaFileRequest Information about schema file.
CreateUpdateApiSchemaFileOkResponse Information about the schema file.
GetStatusOfAnAsyncTaskOkResponse
GetApiVersionsOkResponse Information about the API's versions.
CreateApiVersionRequest
CreateApiVersionAcceptedResponse
GetApiVersionOkResponse
UpdateApiVersionRequest Information about the API version.
UpdateApiVersionOkResponse
GetApiTagsOkResponse
UpdateApiTagsRequest
GetTaggedEntitiesOkResponse
AscDescDefaultDesc
GetTaggedEntitiesEntityType
GetAuditLogsOkResponse
GetCollectionsOkResponse
CreateCollectionRequest
CreateCollectionOkResponse
CreateCollectionForkRequest
CreateCollectionForkOkResponse
MergeCollectionForkRequest
MergeCollectionForkOkResponse
GetCollectionOkResponse
GetCollectionModel
PutCollectionRequest
PutCollectionOkResponse
PatchCollectionRequest
PatchCollectionOkResponse
DeleteCollectionOkResponse
GetCollectionsForkedByUserOkResponse
AscDesc
GetCollectionForksOkResponse
PullCollectionChangesOkResponse
GetCollectionPullRequestsOkResponse
CreateCollectionPullRequestRequest Information about the pull request.
CreateCollectionPullRequestOkResponse
GetCollectionRolesOkResponse Information about the collection's roles.
UpdateCollectionRolesRequest
GetSourceCollectionStatusOkResponse
TransformCollectionToOpenApiOkResponse
Format
TransferCollectionItems
TransferCollectionFoldersOkResponse
CreateCollectionFolderOkResponse
CreateCollectionRequestOkResponse
CreateCollectionResponseOkResponse
GetCollectionFolderOkResponse
UpdateCollectionFolderOkResponse
DeleteCollectionFolderOkResponse
GetCollectionRequestOkResponse
UpdateCollectionRequestOkResponse
DeleteCollectionRequestOkResponse
GetCollectionResponseOkResponse
UpdateCollectionResponseOkResponse
DeleteCollectionResponseOkResponse
DetectedSecretsQueriesRequest
DetectedSecretsQueriesOkResponse
UpdateDetectedSecretResolutionsRequest
UpdateDetectedSecretResolutionsOkResponse
GetDetectedSecretsLocationsOkResponse
GetSecretTypesOkResponse
GetEnvironmentsOkResponse
CreateEnvironmentRequest
CreateEnvironmentOkResponse
GetEnvironmentOkResponse
UpdateEnvironmentRequest
UpdateEnvironmentOkResponse
DeleteEnvironmentOkResponse
GetEnvironmentForksOkResponse
GetEnvironmentForksSort
ForkEnvironmentRequest
ForkEnvironmentOkResponse
MergeEnvironmentForkRequest
MergeEnvironmentForkOkResponse
PullEnvironmentRequest
PullEnvironmentOkResponse
ImportExportFile
ImportOpenApiDefinitionOkResponse
GetAuthenticatedUserOkResponse
GetMocksOkResponse
CreateMockRequest
CreateMockOkResponse
GetMockOkResponse
UpdateMockRequest
DeleteMockOkResponse
GetMockCallLogsOkResponse
GetMockCallLogsSort
PublishMockOkResponse
UnpublishMockOkResponse
GetMockServerResponsesOkResponse Information about the server response.
CreateMockServerResponseRequest
UpdateMockServerResponseRequest
DeleteMockServerResponseOkResponse Information about the deleted server response.
GetMonitorsOkResponse
CreateMonitorRequest
CreateMonitorOkResponse
GetMonitorOkResponse
UpdateMonitorRequest
UpdateMonitorOkResponse
DeleteMonitorOkResponse
RunMonitorOkResponse
GetAllElementsAndFoldersOkResponse
GetAllElementsAndFoldersSort
GetAllElementsAndFoldersType
PostPanElementOrFolderRequest
UpdatePanElementOrFolderRequest
UpdatePanElementOrFolderElementType
DeletePanElementOrFolderOkResponse
GetAllPanAddElementRequestsOkResponse
GetAllPanAddElementRequestsStatus
RespondPanElementAddRequestRequest
RespondPanElementAddRequestOkResponse
PullRequestGet
UpdatePullRequestRequest
PullRequestUpdated
SchemaSecurityValidationRequest
SchemaSecurityValidationOkResponse
GetScimGroupResourcesOkResponse
CreateScimGroupRequest
CreateScimGroupCreatedResponse
GetScimGroupResourceOkResponse
ScimUpdateGroupRequest
ScimUpdateGroupOkResponse
GetScimResourceTypesOkResponse
GetScimServiceProviderConfigOkResponse Information about Postman's SCIM API configurations and supported operations.
GetScimUserResourcesOkResponse
CreateScimUserRequest
CreateScimUserCreatedResponse
GetScimUserResourceOkResponse
UpdateScimUserRequest
UpdateScimUserStateRequest
CreateWebhookRequest
CreateWebhookOkResponse
GetWorkspacesOkResponse
GetWorkspacesType
GetWorkspacesInclude
CreateWorkspaceRequest
CreateWorkspaceOkResponse
GetWorkspaceRolesOkResponse
GetWorkspaceOkResponse
UpdateWorkspaceRequest
UpdateWorkspaceOkResponse
DeleteWorkspaceOkResponse
GetWorkspaceGlobalVariablesOkResponse Information about the workspace's global variables.
UpdateWorkspaceGlobalVariablesRequest
UpdateWorkspaceGlobalVariablesOkResponse Information about the workspace's updated global variables.
UpdateWorkspaceRolesRequest
UpdateWorkspaceRolesOkResponse
SalesChannel The sales channel from which the account was created:
- SELF_SERVE — The user purchased the account plan.
- SALES_SERVE — The account was purchased through the Postman sales team process.
Slots Information about the team's slots.
InvoiceData Information about the invoice.
TotalAmount Information about the invoice's total billed amount.
Links A JSON API spec object containing hypermedia links.
Web An object containing web-based account references.
GetApisOkResponseApis The API's base data schema.
GetApisOkResponseMeta The response's meta information for paginated results.
GetApiOkResponse_1 The API's base data schema.
GetApiOkResponse_2
GitInfo Information about the API's Git repository integration.
GetApiOkResponse_2Schemas Information about the schema.
GetApiOkResponse_2Versions Information about the version.
GetApiOkResponse_2Collections Information about the collection.
AddApiCollectionRequest_1
AddApiCollectionRequest_2
AddApiCollectionRequest_3
AddApiCollectionRequest_1Data
AddApiCollectionRequest_1OperationType The COPY_COLLECTION method.
AddApiCollectionRequest_2OperationType The GENERATE_FROM_SCHEMA method.
AddApiCollectionRequest_3Data Information about the collection's contents, such as requests and responses. For a complete list of values, refer to the collection.json schema file.
AddApiCollectionRequest_3OperationType The CREATE_NEW method.
DataInfo Information about the collection.
InfoSchema The collection's schema format.
CommentResponseData Information about the comment.
CommentCreateUpdateTags Information about users tagged in the body comment.
UserName An object that contains information about the tagged user. The object's name is the user's Postman username. For example, @user-postman.
UserNameType The user value.
CommentCreatedUpdatedData
CreateApiSchemaRequestType The schema's type.
CreateApiSchemaRequestFiles
FilesRoot Information about the schema's root file.
Enabled If true, tag the file as the root file. The root tag is only allowed for protobuf specifications.
CreateApiSchemaOkResponseType The schema's type.
CreateApiSchemaOkResponseFiles Information about the schema file.
GetApiSchemaOkResponse_1 Information about the schema.
GetApiSchemaOkResponse_2 Information about the schema.
GetApiSchemaOkResponse_1Files Information about the schema's files. The response is paginated and limited to one page.
FilesData Information about the schema file.
FilesMeta
GetApiSchemaFilesOkResponseMeta The schema's non-standard meta information.
GetApiSchemaFilesOkResponseFiles Information about the schema file.
CreateUpdateApiSchemaFileRequestRoot Information about the schema's root file. This tag only applies to protobuf specifications.
GetStatusOfAnAsyncTaskOkResponseMeta The response's non-standard meta information.
GetStatusOfAnAsyncTaskOkResponseStatus The task's current status.
Details
MetaModel The model for which the task is performing the operation.
Action The task's action.
Details_1 Information about the task's resources.
Details_2 Information about the error that occurred during the task's processing.
Resources
Error
GetApiVersionsOkResponseMeta The response's meta information for paginated results.
GetApiVersionsOkResponseVersions Information about the API version.
CreateApiVersionRequest_1 Information about the API version.
CreateApiVersionRequest_2 Information about the API version.
CreateApiVersionRequest_3 Information about the API version.
CreateApiVersionRequest_1Schemas Information about the schema.
CreateApiVersionRequest_1Collections Information about the collection.
CreateApiVersionRequest_2Schemas Information about the schema.
CreateApiVersionRequest_2Collections Information about the collection.
CreateApiVersionRequest_3Schemas Information about the schema.
CreateApiVersionRequest_3Collections Information about the collection.
Version Information about the API version.
VersionSchemas
VersionCollections
GetApiTagsOkResponseTags Information about the tag.
UpdateApiTagsRequestTags Information about the tag.
GetTaggedEntitiesOkResponseData An object containing the paginated elements.
GetTaggedEntitiesOkResponseMeta The response's pagination information.
Entities
EntitiesEntityType The type of Postman element.
Trails
TrailsData
Actor Information about the user who preformed the audit event.
DataUser Information about the user.
DataTeam The user's team information.
GetCollectionsOkResponseCollections Information about the collection.
CollectionsFork If the collection is forked, the fork's information.
CreateCollectionRequestCollection For a complete list of values, refer to the collection.json schema file.
CollectionInfo_1 An object that contains basic information about the collection. For a complete list of values, refer to the definitions.info entry in the collection.json schema file.
CollectionItem
CreateCollectionOkResponseCollection
CreateCollectionForkOkResponseCollection Information about the forked collection.
CollectionFork Information about the collection's fork.
Strategy The fork's merge strategy:
- deleteSource — Merge the changes into the parent collection. After the merge process is complete, Postman deletes the fork. You must have Editor access to both the parent and forked collections.
- updateSourceWithDestination — Merge the changes into the parent collection. Any differences in the parent collection are also made to the fork.
MergeCollectionForkOkResponseCollection
PutCollectionRequestCollection For a complete list of values, refer to the collection.json schema file.
PutCollectionOkResponseCollection
PatchCollectionRequestCollection
CollectionInfo_2 An object that contains the collection's updated name and description.
PatchCollectionOkResponseCollection
DeleteCollectionOkResponseCollection Information about the deleted collection.
GetCollectionsForkedByUserOkResponseData Information about the forked collection.
GetCollectionsForkedByUserOkResponseMeta The response's meta information for paginated results.
GetCollectionForksOkResponseData Information about the forked collection.
GetCollectionForksOkResponseMeta The response's meta information for paginated results.
PullCollectionChangesOkResponseCollection Information about the updated collection fork.
GetCollectionPullRequestsOkResponseData Information about the pull request.
DataStatus The pull request's current status.
Group Information about the group role.
GetCollectionRolesOkResponseTeam Information about the team role.
GetCollectionRolesOkResponseUser Information about the user role.
GroupRole The role type:
- VIEWER — Can view, fork, and export collections.
- EDITOR — Can edit collections directly.
TeamRole The role type:
- VIEWER — Can view, fork, and export collections.
- EDITOR — Can edit collections directly.
UserRole The role type:
- VIEWER — Can view, fork, and export collections.
- EDITOR — Can edit collections directly.
UpdateCollectionRolesRequestRoles
RolesOp The operation to perform on the path.
RolesPath_1 The resource to perform the action on.
RolesValue_1 Information about the updated role.
ValueRole_1 The role type:
- VIEWER — Can view, fork, and export collections.
- EDITOR — Can edit collections directly.
GetSourceCollectionStatusOkResponseCollection
CollectionUid Information about the forked collection. The object's name is the forked collection's UID (userId-collectionId).
Mode The transfer operation to perform.
Target Information about the item transfer's destination location.
Location The transferred items' placement in the target destination:
- For start or end — Do not include the model and id values.
- For before or after — Include the model and id properties.
TargetModel The collection, folder, or request the items will be transferred to. For response transfers, use the request value.
Position The transferred item's position within the destination object.
DeleteCollectionFolderOkResponseData The folder's information.
DeleteCollectionRequestOkResponseData The request's information.
DeleteCollectionResponseOkResponseData The response's information.
Statuses The secret resolution status type:
- FALSE_POSITIVE — The discovered secret is not an actual secret.
- REVOKED — The secret is valid, but the user rotated their key to resolve the issue.
- ACCEPTED_RISK — The Secret Scanner found the secret, but user accepts the risk of publishing it.
WorkspaceVisiblities The type of visibility setting.
DetectedSecretsQueriesOkResponseData Information about the secret finding.
DetectedSecretsQueriesOkResponseMeta The response's meta information for paginated results.
DataResolution The secret's current status:
- ACTIVE — The secret is active.
- FALSE_POSITIVE — The discovered secret is not an actual secret.
- REVOKED — The secret is valid, but the user rotated their key to resolve the issue.
- ACCEPTED_RISK — The Secret Scanner found the secret, but user accepts the risk of publishing it.
DataWorkspaceVisibility The workspace's visibility setting.
UpdateDetectedSecretResolutionsRequestResolution The secret's updated resolution status:
- FALSE_POSITIVE — The discovered secret is not an actual secret.
- REVOKED — The secret is valid, but the user rotated their key to resolve the issue.
- ACCEPTED_RISK — The Secret Scanner found the secret, but user accepts the risk of publishing it.
History
UpdateDetectedSecretResolutionsOkResponseResolution The secret's current resolution status:
- ACTIVE — The secret is active.
- FALSE_POSITIVE — The discovered secret is not an actual secret.
- REVOKED — The secret is valid, but the user rotated their key to resolve the issue.
- ACCEPTED_RISK — The Secret Scanner found the secret, but user accepts the risk of publishing it.
HistoryResolution The secret's updated resolution status:
- ACTIVE — The secret is active.
- FALSE_POSITIVE — The discovered secret is not an actual secret.
- REVOKED — The secret is valid, but the user rotated their key to resolve the issue.
- ACCEPTED_RISK — The Secret Scanner found the secret, but user accepts the risk of publishing it.
GetDetectedSecretsLocationsOkResponseData Information about the secret finding locations.
GetDetectedSecretsLocationsOkResponseMeta
DataResourceType The type of resource in which the secret was detected.
ActivityFeed
ActivityFeedStatus The secret's current resolution status:
- ACTIVE — The secret is active.
- FALSE_POSITIVE — The discovered secret is not an actual secret.
- REVOKED — The secret is valid, but the user rotated their key to resolve the issue.
- ACCEPTED_RISK — The Secret Scanner found the secret, but user accepts the risk of publishing it.
GetSecretTypesOkResponseData Information about the secret type.
GetSecretTypesOkResponseMeta
DataType The origin of the secret type:
- DEFAULT — Supported by default in Postman.
- TEAM_REGEX — A custom regex added by an Admin or Super Admin user in the Configure Alerts section of the Team Settings interface.
GetEnvironmentsOkResponseEnvironments
CreateEnvironmentRequestEnvironment
EnvironmentValues_1
ValuesType_1 The variable type.
CreateEnvironmentOkResponseEnvironment
GetEnvironmentOkResponseEnvironment
EnvironmentValues_2
ValuesType_2 The variable type.
UpdateEnvironmentRequestEnvironment
EnvironmentValues_3
ValuesType_3 The variable type.
UpdateEnvironmentOkResponseEnvironment
DeleteEnvironmentOkResponseEnvironment
GetEnvironmentForksOkResponseData Information about the forked environment.
GetEnvironmentForksOkResponseMeta The response's meta information for paginated results.
ForkEnvironmentOkResponseEnvironment Information about the forked environment.
MergeEnvironmentForkOkResponseEnvironment Information about the merged environment.
PullEnvironmentOkResponseEnvironment Information about the merged environment.
JsonSchema
JsonStringified
JsonSchemaType The OpenAPI definition type.
JsonStringifiedType The OpenAPI definition type.
ImportExportFileType The file type value.
ImportOpenApiDefinitionOkResponseCollections
GetAuthenticatedUserOkResponseUser Information about the authenticated user.
GetAuthenticatedUserOkResponseOperations
GetMocksOkResponseMocks Information about the mock servers.
MocksConfig Information about the mock server's configuration.
Delay Information about the mock server's simulated network delay settings. This returns a null value if there are no configured network delay settings.
DelayType The type of simulated delay value:
- fixed — The delay value is a fixed value.
Preset The simulated fixed network delay value:
- 1 — 2G (300 ms).
- 2 — 3G (100 ms).
The object does not return this value for custom delay values.
CreateMockRequestMock
CreateMockOkResponseMock Information about the mock server.
GetMockOkResponseMock
MockConfig_1 Information about the mock server's configuration.
UpdateMockRequestMock
MockConfig_2 The mock server's configuration settings.
DeleteMockOkResponseMock Information about the mock server.
CallLogs Information about the mock server's server responses.
GetMockCallLogsOkResponseMeta The response's non-standard meta information.
CallLogsRequest The server response's request information.
CallLogsResponse The server response's response information.
RequestHeaders The request's headers.
RequestBody The request's body information.
ResponseHeaders The response's headers.
ResponseBody The response's body information.
Description The response header's description information.
PublishMockOkResponseMock
UnpublishMockOkResponseMock
CreateMockServerResponseRequestServerResponse
ServerResponseHeaders_1
ServerResponseLanguage_1 The server response's body language type.
UpdateMockServerResponseRequestServerResponse
ServerResponseHeaders_2 Information about they key-value pair.
ServerResponseLanguage_2 The server response's body language type.
DeleteMockServerResponseOkResponseHeaders
DeleteMockServerResponseOkResponseLanguage The server response's body language type.
GetMonitorsOkResponseMonitors
CreateMonitorRequestMonitor
MonitorSchedule_1 Information about the monitor's schedule.
CreateMonitorOkResponseMonitor
GetMonitorOkResponseMonitor
LastRun Information about the monitor's previous run.
Notifications Information about the monitor's notification settings.
Options Information about the monitor's option settings.
MonitorSchedule_2 Information about the monitor's schedule.
LastRunStats Information about the monitor's stats.
StatsAssertions_1 Information about the monitor's assertions.
StatsRequests_1 Information about the monitor's requests.
OnError
OnFailure
UpdateMonitorRequestMonitor
MonitorSchedule_3 Information about the monitor's schedule.
UpdateMonitorOkResponseMonitor
DeleteMonitorOkResponseMonitor
Run Information about the monitor run.
RunInfo Information about the monitor.
RunStats Information about the monitor run's stats.
Executions
StatsAssertions_2 The monitor run's assertions stats.
StatsRequests_2 The monitor run's request stats.
ExecutionsItem Information about the executed item.
ExecutionsRequest Information about the monitor run's requests.
ExecutionsResponse Information about the monitor run's response.
Elements
Folders
GetAllElementsAndFoldersOkResponseMeta The response's non-standard meta information.
PanCreateApi
PanCreateCollection
PanCreateWorkspace
PanCreateFolder
PanCreateApiApi
PanCreateCollectionCollection
PanCreateWorkspaceWorkspace
PanCreateFolderFolder
PanElementCreated Information about the Private API Network element.
PanFolderCreated Information about the Private API Network folder.
UpdatePanApi
UpdatePanCollection
UpdatePanWorkspace
UpdatePanFolder
UpdatePanApiApi
UpdatePanCollectionCollection
CollectionEnvironments The collection's updated environments.
UpdatePanWorkspaceWorkspace
UpdatePanFolderFolder
DeletePanElementOrFolderOkResponseElementType The Private API Network element type. The name of the object is the element api, collection, workspace, or folder type.
GetAllPanAddElementRequestsOkResponseRequests
GetAllPanAddElementRequestsOkResponseMeta The response's non-standard meta information.
RequestsStatus The request's status.
RequestsElement Information about the requested element.
RequestsResponse Information about the response to the request. This object only returns when the network manager denied a request with a message.
ElementType_1 The element type.
RespondPanElementAddRequestRequestResponse The response to the user's request.
RespondPanElementAddRequestRequestStatus The request's status.
RespondPanElementAddRequestOkResponseRequest
RequestResponse Information about the response to the element's request. This object only returns when the network manager denied a request with a message.
RequestElement Information about the requested element.
RequestStatus The request's status.
ElementType_2 The element type.
Source Information about the pull request's source (parent) element.
Destination Information about the pull request destination element.
Merge Information about the current progress of the pull request's merge.
Reviewers
MergeStatus The pull request's current merge status:
- inactive — There is no merge in progress.
- inprogress — The pull request is currently merging.
- failed — The pull request's merge failed.
PullRequestUpdatedStatus The pull request's status.
SchemaSecurityValidationRequestSchema
SchemaLanguage The definition format.
SchemaType The definition type.
ScimGroupResource The SCIM group resource object.
ScimGroupResourceMembers Information about the group's members.
ScimGroupResourceMeta The response's non-standard meta information.
CreateScimGroupRequestMembers An object containing the SCIM users to assign to the group.
CreateScimGroupCreatedResponseMembers An object containing the group's assigned SCIM members.
CreateScimGroupCreatedResponseMeta The response's non-standard meta information.
GetScimGroupResourceOkResponseMembers
GetScimGroupResourceOkResponseMeta The response's non-standard meta information.
ScimUpdateGroupRequestOperations
OperationsOp_1 The operation to perform.
OperationsValue_1 The performed operation's value.
ScimUpdateGroupOkResponseMeta The response's non-standard meta information.
SchemaExtensions
Patch Information about patch configuration.
Bulk Information about bulk configuration.
Filter Information about the filter configuration.
ChangePassword Information about the change password configuration.
GetScimServiceProviderConfigOkResponseSort Information about the sort configuration.
AuthenticationSchemes Information about the scheme.
Etag Information about the entity tag (Etag) HTTP response header configuration.
GetScimServiceProviderConfigOkResponseMeta The response's non-standard meta information.
ScimUserResource The SCIM user resource object.
ScimUserResourceName Information about the Postman team member.
ScimUserResourceMeta The response's non-standard meta information.
CreateScimUserRequestName Information about the user's name.
CreateScimUserCreatedResponseName
CreateScimUserCreatedResponseMeta The response's non-standard meta information.
MetaResourceType The SCIM resource type.
GetScimUserResourceOkResponseName Information about the Postman team member.
GetScimUserResourceOkResponseMeta The response's non-standard meta information.
UpdateScimUserRequestName Information about the user's name.
UpdateScimUserStateRequestOperations
OperationsOp_2 The operation to perform.
OperationsValue_2 The performed operation's value.
CreateWebhookRequestWebhook
CreateWebhookOkResponseWebhook
Workspaces Information about the workspace.
WorkspacesType The type of workspace.
WorkspacesVisibility The workspace's visibility. Visibility determines who can access the workspace:
- personal — Only you can access the workspace.
- team — All team members can access the workspace.
- private — Only invited team members can access the workspace (Professional and Enterprise plans only).
- public — Everyone can access the workspace.
- partner — Only invited team members and partners can access the workspace (Professional and Enterprise plans only).
CreateWorkspaceRequestWorkspace Information about the workspace.
WorkspaceType_1 The type of workspace:
- personal
- private — Private workspaces are available on Postman Professional and Enterprise plans.
- public
- team
- partnerPartner Workspaces are available on Postman Professional and Enterprise plans).
CreateWorkspaceOkResponseWorkspace Information about the created workspace.
GetWorkspaceRolesOkResponseRoles Information about the workspace's user roles.
RolesUser Information about the user role.
Usergroup Information about the user group in the workspace.
GetWorkspaceOkResponseWorkspace Information about the workspace.
WorkspaceType_2 The type of workspace.
WorkspaceVisibility The workspace's visibility. Visibility determines who can access the workspace:
- personal — Only you can access the workspace.
- team — All team members can access the workspace.
- private — Only invited team members can access the workspace (Professional and Enterprise plans only).
- public — Everyone can access the workspace.
- partner — Only invited team members and partners can access the workspace (Professional and Enterprise plans only).
WorkspaceCollections Information about the collection.
WorkspaceEnvironments Information about the environment.
WorkspaceMocks Information about the mock server.
WorkspaceMonitors Information about the monitor.
WorkspaceApis Information about the API.
UpdateWorkspaceRequestWorkspace
WorkspaceType_3 The new workspace visibility type. This property does not support the following workspace visibility changes:
- private to public, public to private, and private to personal for Free and Basic plans.
- public to personal for team users.
UpdateWorkspaceOkResponseWorkspace Information about the updated workspace.
DeleteWorkspaceOkResponseWorkspace Information about the deleted workspace.
GlobalVariable Information about the global variable.
GlobalVariableType The type of variable.
UpdateWorkspaceRolesRequestRoles
RolesPath_2 The resource to perform the action on.
RolesValue_2 Information about the updated user or user group role.
ValueRole_2 The workspace role's ID:
- 1 — Viewer. Can view, fork, and export workspace resources.
- 2 — Editor. Can create and edit workspace resources.
- 3 — Admin. Can manage workspace details and members.
UpdateWorkspaceRolesOkResponseRoles
DisplayName The role's display name.

License

This SDK is licensed under the MIT License.

See the LICENSE file for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

postman-restapi-1.0.0.tar.gz (143.2 kB view hashes)

Uploaded Source

Built Distribution

postman_restapi-1.0.0-py3-none-any.whl (235.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page