Skip to main content

Publish inventory modifications

POST 

/nevisadmin/api/v1/inventories/:key/revisions

Required permission: MODIFY_INVENTORY on the inventory, or higher scope

Allows a client to execute a publishing operation for the inventory. This will publish all local modifications to the version control repository the inventory is associated with. The client provides a message that explains the publish operation.

Returns 409 Conflict if:

  • There is an edit newer than the lastModification sent in the request.
  • There is a head commit newer than the localHead sent in the request.

Request

Responses

Success