question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Workspace Support

See original GitHub issue

When 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:closed
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jbrinkmancommented, Jul 28, 2021

Just keep in mind that the Workspace Id is not easily discoverable. Workspace name is much more use friendly.

0reactions
thim81commented, Aug 26, 2021

@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 .

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found