-
Notifications
You must be signed in to change notification settings - Fork 0
/
TriggerKey.yml
54 lines (54 loc) · 1.33 KB
/
TriggerKey.yml
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
title: TriggerKey
type: object
description: A pipeline trigger key resource.
required:
- id
- name
- secret
- creator
- hub_id
- pipeline_id
- state
- events
- ips
properties:
id:
"$ref": "../../ID.yml"
name:
type: string
description: The name of the trigger key.
secret:
type: string
description: The secret used when calling the trigger key programmatically.
creator:
"$ref": "../../creators/CreatorScope.yml"
hub_id:
"$ref": "../../HubID.yml"
pipeline_id:
type: string
description: The ID for the pipeline related to this trigger key.
state:
"$ref": "./TriggerKeyState.yml"
events:
title: TriggerKeyEvents
type: object
description: A collection of timestamps for each event in the trigger key's lifetime.
required:
- created
- updated
- deleted
properties:
created:
description: The timestamp of when the trigger key was created.
"$ref": "../../DateTime.yml"
updated:
description: The timestamp of when the trigger key was updated.
"$ref": "../../DateTime.yml"
deleted:
description: The timestamp of when the trigger key was deleted.
"$ref": "../../DateTime.yml"
ips:
description: An array of ips this trigger key is usable from.
type: array
items:
type: string