Rest Issues » History » Version 1
Jean-Philippe Lang, 2010-01-13 20:53
| 1 | 1 | Jean-Philippe Lang | h1. Issues |
|---|---|---|---|
| 2 | |||
| 3 | h2. Listing issues |
||
| 4 | |||
| 5 | GET /issues.xml |
||
| 6 | |||
| 7 | Returns a paginated list of issues |
||
| 8 | |||
| 9 | +Parameters+: |
||
| 10 | |||
| 11 | * @page@: page number (optional) |
||
| 12 | |||
| 13 | +Response+: |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | <?xml version="1.0" encoding="UTF-8"?> |
||
| 17 | <issues type="array" count="1640"> |
||
| 18 | <issue id="4326"> |
||
| 19 | <project name="Redmine" id="1"/> |
||
| 20 | <tracker name="Feature" id="2"/> |
||
| 21 | <status name="New" id="1"/> |
||
| 22 | <priority name="Normal" id="4"/> |
||
| 23 | <author name="John Smith" id="10106"/> |
||
| 24 | <category name="Email notifications" id="9"/> |
||
| 25 | <subject> |
||
| 26 | Aggregate Multiple Issue Changes for Email Notifications |
||
| 27 | </subject> |
||
| 28 | <description> |
||
| 29 | This is not to be confused with another useful proposed feature that |
||
| 30 | would do digest emails for notifications. |
||
| 31 | </description> |
||
| 32 | <start_date>2009-12-03</start_date> |
||
| 33 | <due_date></due_date> |
||
| 34 | <done_ratio>0</done_ratio> |
||
| 35 | <estimated_hours></estimated_hours> |
||
| 36 | <custom_fields> |
||
| 37 | <custom_field name="Resolution" id="2">Duplicate</custom_field> |
||
| 38 | <custom_field name="Texte" id="5">Test</custom_field> |
||
| 39 | <custom_field name="Boolean" id="6">1</custom_field> |
||
| 40 | <custom_field name="Date" id="7">2010-01-12</custom_field> |
||
| 41 | </custom_fields> |
||
| 42 | <created_on>Thu Dec 03 15:02:12 +0100 2009</created_on> |
||
| 43 | <updated_on>Sun Jan 03 12:08:41 +0100 2010</updated_on> |
||
| 44 | </issue> |
||
| 45 | <issue id="4325"> |
||
| 46 | ... |
||
| 47 | </issue> |
||
| 48 | </issues> |
||
| 49 | </pre> |
||
| 50 | |||
| 51 | h2. Showing an issue |
||
| 52 | |||
| 53 | GET /issues/[id].xml |
||
| 54 | |||
| 55 | h2. Creating an issue |
||
| 56 | |||
| 57 | POST /issues.xml |
||
| 58 | |||
| 59 | h2. Updating an issue |
||
| 60 | |||
| 61 | PUT /issues/[id].xml |
||
| 62 | |||
| 63 | h2. Deleting an issue |
||
| 64 | |||
| 65 | DELETE /issues/[id].xml |