Rest Enumerations » History » Version 1

Jean-Philippe Lang, 2012-10-17 22:33

1 1 Jean-Philippe Lang
h1. Enumerations
2 1 Jean-Philippe Lang
3 1 Jean-Philippe Lang
{{>toc}}
4 1 Jean-Philippe Lang
5 1 Jean-Philippe Lang
h2. /enumerations/issue_priorities.:format
6 1 Jean-Philippe Lang
7 1 Jean-Philippe Lang
h3. GET
8 1 Jean-Philippe Lang
9 1 Jean-Philippe Lang
Returns the list of [[Rest_Issues|issue]] priorities.
10 1 Jean-Philippe Lang
11 1 Jean-Philippe Lang
+Examples+:
12 1 Jean-Philippe Lang
13 1 Jean-Philippe Lang
<pre>
14 1 Jean-Philippe Lang
GET /enumerations/issue_priorities.xml
15 1 Jean-Philippe Lang
</pre>
16 1 Jean-Philippe Lang
17 1 Jean-Philippe Lang
+Response+:
18 1 Jean-Philippe Lang
19 1 Jean-Philippe Lang
<pre>
20 1 Jean-Philippe Lang
<?xml version="1.0" encoding="UTF-8"?>
21 1 Jean-Philippe Lang
<issue_priorities type="array">
22 1 Jean-Philippe Lang
  <issue_priority>
23 1 Jean-Philippe Lang
    <id>3</id>
24 1 Jean-Philippe Lang
    <name>Low</name>
25 1 Jean-Philippe Lang
    <is_default>false</is_default>
26 1 Jean-Philippe Lang
  </issue_priority>
27 1 Jean-Philippe Lang
  <issue_priority>
28 1 Jean-Philippe Lang
    <id>4</id>
29 1 Jean-Philippe Lang
    <name>Normal</name>
30 1 Jean-Philippe Lang
    <is_default>true</is_default>
31 1 Jean-Philippe Lang
  </issue_priority>
32 1 Jean-Philippe Lang
  ...
33 1 Jean-Philippe Lang
</issue_priorities>
34 1 Jean-Philippe Lang
</pre>
35 1 Jean-Philippe Lang
36 1 Jean-Philippe Lang
h2. /enumerations/time_entry_activities.:format
37 1 Jean-Philippe Lang
38 1 Jean-Philippe Lang
h3. GET
39 1 Jean-Philippe Lang
40 1 Jean-Philippe Lang
Returns the list of [[Rest_TimeEntries|time entry]] activities.
41 1 Jean-Philippe Lang
42 1 Jean-Philippe Lang
+Examples+:
43 1 Jean-Philippe Lang
44 1 Jean-Philippe Lang
<pre>
45 1 Jean-Philippe Lang
GET /enumerations/time_entry_activities.xml
46 1 Jean-Philippe Lang
</pre>
47 1 Jean-Philippe Lang
48 1 Jean-Philippe Lang
+Response+:
49 1 Jean-Philippe Lang
50 1 Jean-Philippe Lang
<pre>
51 1 Jean-Philippe Lang
<time_entry_activities type="array">
52 1 Jean-Philippe Lang
  <time_entry_activity>
53 1 Jean-Philippe Lang
    <id>8</id>
54 1 Jean-Philippe Lang
    <name>Design</name>
55 1 Jean-Philippe Lang
    <is_default>false</is_default>
56 1 Jean-Philippe Lang
  </time_entry_activity>
57 1 Jean-Philippe Lang
  ...
58 1 Jean-Philippe Lang
</time_entry_activities>
59 1 Jean-Philippe Lang
</pre>