Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.47 KB

repositoryUpdate_create.rst

File metadata and controls

57 lines (39 loc) · 1.47 KB

repositoryUpdate_create

.. function:: POST /orgs/{oid}/repositories/{rid}/updates

Summary

  • Method: POST
  • Response Code: 201
  • Response Formats: application/xml application/json
  • Since: UForge 3.7.fp3

Triggers a new package update process for a specific repository, within an organization.

This response body is a new update ticket providing the meta-data of the repository update that is to be triggered. The actual update is done asynchronously. To poll the status of this update, use :ref:`repositoryUpdateStatus-get`.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_administrate

URI Parameters

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/repositories/{rid}/updates" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
.. seealso::

         * :ref:`org-object`
         * :ref:`repository-object`
         * :ref:`repositoryUpdate-object`
         * :ref:`repositoryUpdateStatus-get`
         * :ref:`repositoryUpdate-getAll`
         * :ref:`repository-create`
         * :ref:`repository-delete`
         * :ref:`repository-getAll`
         * :ref:`repository-update`
         * :ref:`status-object`