Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.5 KB

osMilestone_update.rst

File metadata and controls

64 lines (42 loc) · 1.5 KB

osMilestone_update

PUT /distributions/{id}/milestones/{mid}

Summary

  • Method: PUT
  • Response Code: 200
  • Response Formats: application/xml application/json
  • Since: UForge 3.5

Updates the meta-data information of a milestone.

Please refer to milestone-object for a complete list of all the milestone attributes.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: None

URI Parameters

  • mid (required): the id of the milestone-object to remove
  • id (required): the id of the distribprofile-object

HTTP Request Body Parameters

A milestone-object object

Example Request

curl "https://uforge.example.com/api/distributions/{id}/milestones/{mid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):

<ns0:milestone xmlns:ns0="http://www.usharesoft.com/uforge">
    <name>Milestone Example Updated</name>
    <source>official</source>
</ns0:milestone>
  • distribprofile-object
  • milestone-object
  • osMilestone-create
  • osMilestone-delete
  • osMilestone-get
  • osMilestone-getAll
  • osMilestone-update