POST /distributions/{id}/milestones
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 3.5
Creates a milestone for an operating system.
Please refer to milestone-object
for a complete list of all the milestone
attributes.
- Requires Authentication:
true
- Entitlements Required:
None
id
(required): the id of themilestone-object
A milestone-object
object
curl "https://uforge.example.com/api/distributions/{id}/milestones" -X POST \
-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</name>
<date>2016-06-17T08:31:08.000Z</date>
<source>test</source>
</ns0:milestone>
distribprofile-object
milestone-object
osMilestone-create
osMilestone-delete
osMilestone-get
osMilestone-getAll
osMilestone-update