-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postman能否支持导出到自定义workspace? #283
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
这个参数或许有用. 不过这里麻烦的是开发者获取workspace的id比较麻烦 |
一般来说,一个项目应该只会导出至同一个workspace,所以应该可以在配置界面添加本项目所属workspace的uid就可以了 |
Good idea. 也许做成可填可下拉比较方便. |
如果你有时间, 愿意尝试一下,我可以把这个issue assign给你,等你提交PR. |
@tangcent 我周末研究一下,提个pr |
opti: support new rule `postman.prerequest`&`postman.test`
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
需求
我在postman中有多个以项目名划分的workspace,希望导出到postman时,能够导出至指定的workspace
可行性分析
目前EasyYapi的导出到postman 使用的接口为
https://api.getpostman.com/import/exported
,只支持导出至默认的workspace。Postman Api中提供了以下几个接口,通过组合使用,或许能完成这个功能。https://api.getpostman.com/collections/fork/{{collection_uid}}?workspace={{workspace_id}}
https://api.getpostman.com/collections/merge
https://api.getpostman.com/collections/{{collection_uid}}
可行步骤
1、导出至默认workspace
2、创建fork到目标workspace,
{{collection_uid}}
为刚创建的collection_uid
3、合并merge
4、删除最开始创建的默认workspace中的collection
@tangcent 您看下是否可行?
The text was updated successfully, but these errors were encountered: