Project

Profile

Help

Story #3324

Updated by bmbouter about 6 years ago

The publish REST API needs to accept a <code>repository</code> or a <code>repository_version</code> parameter. When the <code>repository_version</code> is specified, the publisher should publish that repository version. When only the <code>repository</code> is specified, the latest repository version for that repository should be published. 

 The <code>repository</code> and <code>repository_version</code> cannot be used together. When submitted together, an exception should be raised. I think the most appropriate HTTP error response for this is a 400 Bad Request.

Back