A.7. Publish
To update a repository's 'publish' state:
True means the repository is exposed through Apache. False stops the repository from being exposed through Apache.
True means the repository is exposed through Apache.
False stops the repository from being exposed through Apache.
- method: POST
- path: /repositories/<id>/update_publish/
- permission: EXECUTE
- success response:200 OK
- failure response: 404 Not Found if the id does not match a repository
- return: True on successful update, False otherwise
- parameters:
- state <bool> publish state