Milestones Fields
To fetch metadata of Ticket Association object send a GET request to:
https://api.assembla.com/v1/meta/milestones.(json|xml)
example. request json with curl utility:
curl -H "Authorization: bearer _token" https://api.assembla.com/v1/meta/milestones.json
example. request xml with curl utility:
curl -H "Authorization: bearer _token" https://api.assembla.com/v1/meta/milestones.xml
table below is the list of fields contained in the response, this list will be properly formatted to json or xml as requested.
Fields
| Param | Data type | Access | Description |
|---|---|---|---|
| id | string | read | Milestone ID |
| start_date | date | read/write | Milestone start date |
| due_date | date | read/write | Milestone due date |
| budget | float | read/write | Milestone budget |
| title | string | read/write | Milestone title |
| user_id | string | read/write | User id responsible for this milestone |
| created_at | datetime | read | Date and time when milestone was created |
| created_by | string | read | ID of the user that created the milestone |
| space_id | string | read | ID of the space that milestone is associated with |
| description | text | read | Milestone description |
| is_completed | boolean(0, 1) | read/write | Completed flag |
| completed_date | date | read | Date when milestone was set to completed. This field is set automatically when is_completed flag is set to 1 |
| updated_at | datetime | read | Date and time when milestone was last updated |
| updated_by | string | read | ID of the user that made the last update on the milestone. This field is set automatically when a milestone is updated |
| release_level | int | read/write | Three values are available for this field are in bold
|
| release_notes | text | read/write | Release notes for milestone |
| planner_type | integer | read/write | If this is a planner milestone, the possible values are in bold
|
| pretty_release_level | string | read | Release level of milestone pretty formatted in a string instead of an integer |
Validations
| Field | Validator | Description |
|---|---|---|
| space_id | presence validator | Space id should be present, this field is set on milestone creation. |
| updated_by | presence validator | Should be present. |
| created_by | presence validator | Should be present. |
| title | uniqueness validator | Title should be unique in scope of a space, case sensitive. |
| title | presence validator | Title should be present. |