-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversions.raml
executable file
·70 lines (68 loc) · 1.99 KB
/
versions.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
64
65
66
67
68
69
70
#%RAML 0.8
title: Versions
version: 1
baseUri: /config-media-live/v1
mediaType: application/json
traits:
!include traits/common-traits.yaml
/live:
/{domain}:
uriParameters:
domain:
description: |
Unique identifier for each domain.
type: string
required: true
example: domain.com
/version:
displayName: versions
post:
description: |
Create a new version: Create a new profile version.
body:
application/xml:
example: !include examples/create-a-new-version.xml
responses:
200:
body:
application/xml:
example: !include examples/create-a-new-version-200.xml
/{versionId}:
displayName: version
uriParameters:
versionId:
description: |
Domain's incremental version number.
example: 2
type: number
required: true
get:
description: |
Get a version: Profile version settings.
responses:
200:
body:
application/xml:
example: !include examples/get-a-version-200.xml
/activation:
displayName: activation
get:
is: [specifiesEnv]
description: |
Get activation status: Get activation status of the
profile version.
responses:
200:
body:
application/xml:
example: !include examples/get-activation-status-200.xml
put:
is: [specifiesEnv]
description: |
Activate a version: Activate profile version on an
environment.
responses:
200:
body:
application/xml:
example: !include examples/activate-a-version-200.xml