Create a package
POST/packages
Create a package. To publish its first revision in the same call, send version together with components. The first revision also becomes the package's default_revision_id.
You need read access to every resource the bill of materials references.
ℹ️ Note: A service specification belongs to at most one package. Each
service_specificationcomponent claims its specification for this package, and the request fails with409when another package already claimed it. It also fails with409when the NRN already has a package with the same slug.
Request
Responses
- 200
- 4XX
- 5XX
The created package.
Client error responses due to invalid input, missing parameters or insufficient permissions.
Server error responses.