Add Workspace Support
See original GitHub issueWhen using portman as part of my development workflow, I would like to have a new postman collection created if it does not already exist. Currently, this is only supported for creating collections in My Workspace. Even if I create an API key for a team workspace, the collection still only gets created in my private area. In order to create a collection in a specific workspace, you need to provide a workspace id when creating the collection (as in the example below)
const queryUrl = workspaceId? `${this.baseUrl}/collections?workspace=${workspaceId}`: `${this.baseUrl}/collections`
const config = {
method: 'post',
url: queryUrl,
headers: {
'Content-Type': 'application/json',
'X-API-Key': this.apiKey,
},
data: data,
} as AxiosRequestConfig;
try {
const res = await axios(config);
} catch { ... }
As part of this feature, I would like to identify the workspace either by name or by Id. Finding the specific workspace id is not easy in Postman and requires calling the Postman API, so having the option to identify the workspace by name is very useful.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
How to get help with Google Workspace Add-ons
Contact Google Workspace support. If you have a Google Workspace or Cloud Identity account, you can email a Google Workspace developer support specialist....
Read more >Contact Google Workspace support
As a Google Workspace administrator, you can contact Google directly for support. Support options vary depending on your subscription, but there's always a ......
Read more >Customer Care Support Options & Pricing - Google Workspace
Explore the customer care support options Google Workspace has to offer and decide which support plan addresses your business needs.
Read more >Create a workspace - Workiva Support
Enter a Workspace Name and select a Color. Optionally, you can add others as Workspace Owners or add Workspace Support Users. Click Create ......
Read more >Switch between workspaces
Help » Desktop › Applications and windows » Windows and workspaces ... Click on a workspace in the workspace selector on the right...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just keep in mind that the Workspace Id is not easily discoverable. Workspace name is much more use friendly.
@jbrinkman This new feature is part of the 1.8.0 release of Portman.
Feel free to continue to give feedback or report back if there is an issue.
The readme explains how to use the workspace name configuration
--postmanWorkspaceName
.