Qodex.ai
Qodex.ai
Introduction
Copy a Workspace
Workspaces
[O] Get workspace[N] Create workspace
Collections
[O] Get collection[N] Create collection
Environments
[O] Get environment[N] Create environment
Mocks
[O] Get mock[N] Create mock[N] Update Mock
Monitors
[O] Get monitor[N] Create monitor
APIs-For Each API
[O] Get an API[N] Create API[N] Get API's Versions for deleting draft version[O] Get all API versions
APIs-For Each API Version
[N] Create API Version[N] Add Version Summary/Stage[O] Get Version Schema[N] Create Version Schema[N] Create relations[N] Delete draft version
Decision engine
Reset workflow
Reset Customer Schema
Schema Substitution (YAML)
Save Reusable Objects
Get all reusable componentsGet single component storeSave all version schema idsSave schema object
replace references
Replace referencesResolve any url referencesUpdate Schema
Introduction
Copy a Workspace
Workspaces
[O] Get workspace[N] Create workspace
Collections
[O] Get collection[N] Create collection
Environments
[O] Get environment[N] Create environment
Mocks
[O] Get mock[N] Create mock[N] Update Mock
Monitors
[O] Get monitor[N] Create monitor
APIs-For Each API
[O] Get an API[N] Create API[N] Get API's Versions for deleting draft version[O] Get all API versions
APIs-For Each API Version
[N] Create API Version[N] Add Version Summary/Stage[O] Get Version Schema[N] Create Version Schema[N] Create relations[N] Delete draft version
Decision engine
Reset workflow
Reset Customer Schema
Schema Substitution (YAML)
Save Reusable Objects
Get all reusable componentsGet single component storeSave all version schema idsSave schema object
replace references
Replace referencesResolve any url referencesUpdate Schema
HomeSchema Substitution (YAML)

Schema Substitution (YAML)

Number of APIs: 7

This collection scans a specified workspace for reusable API components stored in Qodex API objects, then scans a target API schema, and substitutes the objects where appropriate.

Please see this [workspace overview] for the most up-to-date instructions and videos on how to use this collection.

  1. replace references - Replace references GET https://api.getpostman.com/apis/{{targetApiId}}/versions/{{targetApiVersionId}}/schemas/{{targetApiSchemaId}}

  2. Save Reusable Objects - Get single component store GET https://api.getpostman.com/apis/{{componentApiId}}/versions

  3. Save Reusable Objects - Save all version schema ids GET https://api.getpostman.com/apis/{{componentApiId}}/versions/{{versionId}}

  4. replace references - Resolve any url references GET {{componentUrl}}

  5. replace references - Update Schema PUT https://api.getpostman.com/apis/{{targetApiId}}/versions/{{targetApiVersionId}}/schemas/{{targetApiSchemaId}}

  6. Save Reusable Objects - Get all reusable components GET https://api.getpostman.com/apis?workspace={{workspaceId}}

  7. Save Reusable Objects - Save schema object GET https://api.getpostman.com/apis/{{componentApiId}}/versions/{{versionId}}/schemas/{{schemaId}}

Previous
Reset Customer Schema
Next
Save Reusable Objects