Skip to content
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

Add ability to archive specific versions #100

Open
petewall opened this issue May 25, 2022 · 1 comment
Open

Add ability to archive specific versions #100

petewall opened this issue May 25, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@petewall
Copy link
Contributor

Marketplace is adding the ability to archive specific versions and requested that the CLI adds this functionality.

https://jira.eng.vmware.com/browse/VCSPCLOUD-8215

Potential user interface:
mkpcli archive -p product-slug -v 1.2.3 - archive a version
mkpcli unarchive -p product-slug -v 1.2.3 - unarchive a version

mkpcli archive -p product-slug --archive-product - archive a whole product
mkpcli unarchive -p product-slug --unarchive-product - unarchive a whole product

@petewall petewall added the enhancement New feature or request label May 25, 2022
@petewall
Copy link
Contributor Author

For archiving and unarchiving a product, here are the APIs:

Archiving

POST https://apistg.market.csp.vmware.com/products/e0689685-63b4-45b1-915d-2ce666fbf5a5/archive
<no payload>

Unarchiving

POST https://apistg.market.csp.vmware.com/products/e0689685-63b4-45b1-915d-2ce666fbf5a5/republish
<no payload>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant