Rest Enumerations » History » Version 2

Go MAEDA, 2017-03-06 12:54
/enumerations/document_categories.:format

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>
60 2 Go MAEDA
61 2 Go MAEDA
h2. /enumerations/document_categories.:format
62 2 Go MAEDA
63 2 Go MAEDA
h3. GET
64 2 Go MAEDA
65 2 Go MAEDA
Returns the list of document categories.
66 2 Go MAEDA
67 2 Go MAEDA
+Examples+:
68 2 Go MAEDA
69 2 Go MAEDA
<pre>
70 2 Go MAEDA
GET /enumerations/document_categories.xml
71 2 Go MAEDA
</pre>
72 2 Go MAEDA
73 2 Go MAEDA
+Response+:
74 2 Go MAEDA
75 2 Go MAEDA
<pre>
76 2 Go MAEDA
<document_categories type="array">
77 2 Go MAEDA
  <document_category>
78 2 Go MAEDA
    <id>1</id>
79 2 Go MAEDA
    <name>Uncategorized</name>
80 2 Go MAEDA
    <is_default>false</is_default>
81 2 Go MAEDA
  </document_category>
82 2 Go MAEDA
  <document_category>
83 2 Go MAEDA
    <id>2</id>
84 2 Go MAEDA
    <name>User documentation</name>
85 2 Go MAEDA
    <is_default>false</is_default>
86 2 Go MAEDA
  </document_category>
87 2 Go MAEDA
  <document_category>
88 2 Go MAEDA
    <id>3</id>
89 2 Go MAEDA
    <name>Technical documentation</name>
90 2 Go MAEDA
    <is_default>false</is_default>
91 2 Go MAEDA
  </document_category>
92 2 Go MAEDA
</document_categories>
93 2 Go MAEDA
</pre>