Add a project's published library version to a catalog
POST/api/add_catalog_library
Copies one published version of a project's library into a catalog published from here.
Only published versions can be added - the working copy is a draft that changes under you, whereas a version snapshot is immutable, which is the property a subscriber's pinned dependency relies on.
Request
Responses
- 200
- 404
- 409
- 422
Successful Response
Catalog, project, library or version not found
The catalog already has that version
Validation Error