summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/entities/trigger.json
blob: c6ccd84dcdd59f32983b3001e06442f2054e1c25 (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
{
  "type": "object",
  "required": [
    "description",
    "owner",
    "last_used",
    "has_token_exposed",
    "token",
    "can_access_project"
  ],
  "properties": {
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "owner": {
      "type": "object",
      "$ref": "user.json"
    },
    "last_used": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "token": {
      "type": "string"
    },
    "has_token_exposed": {
      "type": "boolean"
    },
    "can_access_project": {
      "type": "boolean"
    },
    "edit_project_trigger_path": {
      "type": "string"
    },
    "project_trigger_path": {
      "type": "string"
    }
  },
  "additionalProperties": false
}