Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

REST query

Body example

Response example

Response states

Description

/cdn/stream/access_list/add

Code Block
languagejs
themeRDark
{
 "name":"test",
 "keys":["key1","key2","key3"]
}



200 – OK

400 - Bad request

404 - Stream not found

500 – Internal Server Error

Add keys to stream ACL

/cdn/stream/access_list/remove
Code Block
languagejs
themeRDark
{
 "name":"test",
 "keys":["key1"]
}

200 – OK

400 - Bad request

404 - Stream not found

500 – Internal Server Error

Remove keys from stream ACL

/cdn/stream/access_list/delete
Code Block
languagejs
themeRDark
{
 "name":"test"
}

200 – OK

400 - Bad request

404 - Stream not found

500 – Internal Server Error

Clean stream ACL

/cdn/stream/access_list/print
Code Block
languagejs
themeRDark
{
 "name":"test"
}
Code Block
languagejs
themeRDark
[
    "key1"
]

200 – OK

404 - ACL not found

500 – Internal Server Error

Show stream ACL

...

Parameters

Name

Description

Example

name

CDN stream name

test
keysStream access keys list
["key1","key2","key3"]

...