-
Notifications
You must be signed in to change notification settings - Fork 19
/
tlr-feature-toggle-job.raml
63 lines (58 loc) · 1.98 KB
/
tlr-feature-toggle-job.raml
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
58
59
60
61
62
63
#%RAML 1.0
title: TLR Feature Toggle Job
version: v0.1
protocols: [ HTTP, HTTPS ]
baseUri: http://localhost:9130
documentation:
- title: TLR Feature Toggle Job API
content: <b>Storage for TLR feature toggle job</b>
types:
tlr-feature-toggle-job: !include tlr-feature-toggle-job.json
tlr-feature-toggle-jobs: !include tlr-feature-toggle-jobs.json
errors: !include raml-util/schemas/errors.schema
parameters: !include raml-util/schemas/parameters.schema
kvConfigurations: !include kv-configurations.json
kvConfiguration: !include kv-configuration.json
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
validate: !include raml-util/traits/validation.raml
resourceTypes:
collection: !include raml-util/rtypes/collection.raml
collection-item: !include raml-util/rtypes/item-collection.raml
/tlr-feature-toggle-job-storage:
/tlr-feature-toggle-jobs:
displayName: TLR feature jobs
type:
collection:
exampleCollection: !include examples/tlr-feature-toggle-jobs.json
exampleItem: !include examples/tlr-feature-toggle-job.json
schemaCollection: tlr-feature-toggle-jobs
schemaItem: tlr-feature-toggle-job
get:
is: [pageable,
searchable: {description: "by using CQL",
example: "status=\"in-progress\""}
]
post:
is: [validate]
body:
application/json:
type: tlr-feature-toggle-job
/{id}:
type:
collection-item:
exampleItem: !include examples/tlr-feature-toggle-job.json
schema: tlr-feature-toggle-job
get:
description: "Checks status of TLR feature toggle job"
put:
description: "Updates TLR feature toggle job"
is: [validate]
delete:
description: "Removes TLR feature toggle job"
/tlr-feature-toggle-job/start:
post:
responses:
202:
description: "TLR feature toggle job start request is accepted for processing"