Welcome to mirror list, hosted at ThFree Co, Russian Federation.

issue.json « schemas « api « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aefba89d9e200ebd2cb0e0fd921d8e365ae56463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
  "type": "object",
  "required" : [
    "iid",
    "title",
    "confidential"
  ],
  "properties" : {
    "id": { "type": "integer" },
    "iid": { "type": "integer" },
    "project_id": { "type": ["integer", "null"] },
    "title": { "type": "string" },
    "confidential": { "type": "boolean" },
    "due_date": { "type": ["string", "null"] },
    "relative_position": { "type": ["integer", "null"] },
    "time_estimate": { "type": "integer" },
    "type": { "type": "string", "enum": ["ISSUE", "INCIDENT", "TEST_CASE", "REQUIREMENT"] },
    "issue_sidebar_endpoint": { "type": "string" },
    "toggle_subscription_endpoint": { "type": "string" },
    "assignable_labels_endpoint": { "type": "string" },
    "reference_path": { "type": "string" },
    "real_path": { "type": "string" },
    "project": {
      "id": { "type": "integer" },
      "path": { "type": "string" }
    },
    "labels": {
      "type": "array",
      "items": { "$ref": "entities/label.json" }
    },
    "assignee": {
      "id": { "type": "integer" },
      "name": { "type": "string" },
      "username": { "type": "string" },
      "avatar_url": { "type": "uri" }
    },
    "assignees": {
      "type": "array",
      "items": {
        "type": ["object", "null"],
        "required": [
          "id",
          "name",
          "username",
          "avatar_url"
        ],
        "properties": {
          "id": { "type": "integer" },
          "name": { "type": "string" },
          "username": { "type": "string" },
          "avatar_url": { "type": "uri" }
        }
      }
    },
    "subscribed": { "type": ["boolean", "null"] }
  }
}