-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomains.raml
executable file
·68 lines (66 loc) · 2.25 KB
/
domains.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
#%RAML 0.8
title: Domains
version: 1
baseUri: /config-media-live/v1
mediaType: application/json
/live:
displayName: domains
get:
description: |
List domains: Returns a list of all Universal Streaming and
IDevices domains currently created on the account.
responses:
200:
body:
application/xml:
example: !include examples/list-domains-200.xml
post:
description: |
Create a domain: Creates a new configuration with the assigned
domain, initialized at version 1. Domains are either based on a
Stream Packaging configuration or an HLS, HDS, and DASH Ingest
configuration. See the [Domain](#domainxml) object for details on
each type.
Before you can create new Stream Packaging streams, you must
create at least one Stream Packaging configuration to establish
parameters for packaged streams, such as the CP code and
hostname. NetStorage is used with Media Services Live as
your stream archive's storage location. Therefore, you must have
a NetStorage CP code set up and dedicated for use with Media
Services Live, or you will be unable to create configurations.
You can create as many configurations as you have CP codes
available, depending on how you would like to have your streams
being reported on and billed.
body:
application/xml:
example: !include examples/create-a-domain.xml
responses:
200:
body:
application/xml:
example: !include examples/create-a-domain-200.xml
/{domain}:
displayName: domain
uriParameters:
domain:
description: |
Unique identifier for each domain.
type: string
required: true
example: domain.com
get:
description: |
Get a domain: Get the profile settings.
responses:
200:
body:
application/xml:
example: !include examples/get-a-domain-200.xml
delete:
description: |
Remove a domain: Deletes a domain.
responses:
200:
body:
application/xml:
example: !include examples/remove-a-domain-200.xml