Rest Issues » History » Version 1

Jean-Philippe Lang, 2010-01-13 20:53

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