Project

General

Profile

Rest Trackers » History » Version 3

Go MAEDA, 2021-07-06 14:31

1 1 Jean-Philippe Lang
h1. Rest Trackers
2
3
{{>toc}}
4
5
h2. /trackers.:format
6
7
h3. GET
8
9
Returns the list of all trackers.
10
11
+Examples+:
12
13
<pre>
14
GET /trackers.xml
15
</pre>
16
17
+Response+:
18
19 2 Go MAEDA
<pre><code class="xml">
20 1 Jean-Philippe Lang
<?xml version="1.0" encoding="UTF-8"?>
21
<trackers type="array">
22
  <tracker>
23
    <id>1</id>
24
    <name>Defect</name>
25 2 Go MAEDA
    <default_status id="1" name="New"/>
26 3 Go MAEDA
    <description>Description for Bug tracker</description>
27
    <enabled_standard_fields type="array">
28
      <field>assigned_to_id</field>
29
      <field>category_id</field>
30
      <field>fixed_version_id</field>
31
      <field>parent_issue_id</field>
32
      <field>start_date</field>
33
      <field>due_date</field>
34
      <field>estimated_hours</field>
35
      <field>done_ratio</field>
36
      <field>description</field>
37
    </enabled_standard_fields>
38 1 Jean-Philippe Lang
  </tracker>
39
  <tracker>
40
    <id>2</id>
41
    <name>Feature</name>
42 2 Go MAEDA
    <default_status id="1" name="New"/>
43 3 Go MAEDA
    <description>Description for Feature request tracker</description>
44
    <enabled_standard_fields type="array">
45
      <field>assigned_to_id</field>
46
      <field>category_id</field>
47
      <field>fixed_version_id</field>
48
      <field>parent_issue_id</field>
49
      <field>start_date</field>
50
      <field>due_date</field>
51
      <field>estimated_hours</field>
52
      <field>done_ratio</field>
53
      <field>description</field>
54
    </enabled_standard_fields>
55 1 Jean-Philippe Lang
  </tracker>
56
</trackers>
57 2 Go MAEDA
</code></pre>
58 3 Go MAEDA
59
* @description@: available since Redmine 4.2.0
60
* @enabled_standard_fields@: available since Redmine 5.0.0