0
0
Postmantesting~10 mins

Publishing documentation in Postman - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to publish a Postman collection documentation using the CLI command.

Postman
postman [1] publish collection.json
Drag options to blanks, or click blank then click option'
Atest
Brun
Cdocs
Dopen
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'run' instead of 'docs' causes the command to run tests instead of publishing.
Using 'test' or 'open' are unrelated commands.
2fill in blank
medium

Complete the code to specify the environment file when publishing documentation.

Postman
postman docs publish collection.json --environment [1]
Drag options to blanks, or click blank then click option'
Aenvironment.json
Benvironment
Cenv
Denv.json
Attempts:
3 left
💡 Hint
Common Mistakes
Using just 'env' or 'environment' without file extension causes file not found error.
Using 'env.json' if the file is named differently.
3fill in blank
hard

Fix the error in the command to publish documentation with a specific workspace.

Postman
postman docs publish collection.json --workspace [1]
Drag options to blanks, or click blank then click option'
Amy-workspace
BworkspaceId
Cworkspace
Dworkspace-id
Attempts:
3 left
💡 Hint
Common Mistakes
Using workspace name instead of ID causes command failure.
Using generic words like 'workspace' or 'workspaceId' instead of actual ID.
4fill in blank
hard

Fill both blanks to correctly publish documentation with a collection and environment file.

Postman
postman docs publish [1] --environment [2]
Drag options to blanks, or click blank then click option'
Acollection.json
Benvironment.json
Cenv.json
Dcollection.yaml
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'collection.yaml' instead of JSON format.
Using 'env.json' if the environment file is named differently.
5fill in blank
hard

Fill all three blanks to publish documentation with collection, environment, and workspace ID.

Postman
postman docs publish [1] --environment [2] --workspace [3]
Drag options to blanks, or click blank then click option'
Acollection.json
Benvironment.json
C123abc-workspace-id
Dcollection.yaml
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'collection.yaml' instead of JSON.
Using workspace name instead of ID.
Omitting the workspace option when required.