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.
- Requires Authentication:
true
- Entitlements Required:
None
mid
(required): the id of themilestone-object
to removeid
(required): the id of thedistribprofile-object
A milestone-object
object
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