LDWS API Registry Endpoints
Â
GET /v1/registry/Â
Returns the entire registry dump. The hidden registry sections are not returned in this response.
Request Example
The example request parameters and headers are set as follows:
GET /api/v1/registry/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json
Response Body
success
bool: If the operation is successfulvalue
object:Â The keys are the names of the registry sections. These are some examples:brightscript
string: The BrightScript key-value pairsnetworking
string: The networking key-value pairs
Response Example
GET /v1/registry/:section/:key/Â
Returns a particular key value for a specified section and key.
Segment Values
section
string: The name of the registry sectionkey
string: The name of the registry key
Request Example
The example request parameters and headers are set as follows:
section
is set tohtml
key
is set touse-brightsign-media-player
GET /api/v1/registry/html/use-brightsign-media-player/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json
Response Example
Â
PUT /v1/registry/:section/:key/Â
Creates registry values. Do a GET first to see which keys are available.
Applications rely on the values they have set in the registry. Please be mindful of what registry keys you update to avoid putting the player in an unstable state.
Segment Values
section
string: The name of the registry section (for example, "html" or "networking")key
string: The name of the registry key
Request Example
The example request parameters and headers are set as follows:
section
is set tohtml
key
is set touse-brightsign-media-player
This is the example request body:
Response Example
Â
DELETE /v1/registry/:section/:key/Â
Remove the specified registry values.
Applications rely on the values they have set in the registry. Please be mindful of what registry keys you delete to avoid putting the player in an unstable state.
Segment Values
section
string: The name of the registry section (for example, "html" or "networking")key
string: The name of the registry value
Request Example
The example request parameters and headers are set as follows:
section
is set tohtml
key
is set touse-brightsign-media-player
Response Body
success
bool: A flag indicating whether the registry key was deletedsection
string: This flag is set to the registry sectionkey
string: This flag is set to the registry key
Response Example
Â
DELETE /v1/registry/:section/Â
Deletes an entire registry section
Segment
section
string: The name of the registry section (for example, "html" or "networking")
Request Example
The example request parameters and headers are set as follows:
section
is set totest_section
Response Body
success
bool: A flag indicating whether the registry section was deletedsection
string: This flag is set to the registry section
Response Example
Â
GETÂ /v1/registry/recovery_url/Â
Retrieves the recovery URL stored in the player registry
Request Example
recovery_url
is the recovery URL in the player registry
Response Body
success
bool: A flag indicating whether the request was successfully readvalue
 string: The recovery URL
Response Example
Â
PUT /v1/registry/recovery_url/Â
Updates the recovery URL in the player’s registry.Â
Request Body
url
string: The value of the recovery URLÂ
Request Example
The example request parameters and headers are set as follows:
url
is set towww.google.com
Request Body
Response Body
success
bool: A flag indicating whether the write was successful
Response Example
Â
PUT /v1/registry/flush/Â
Flushes the contents of the player’s registry immediately to persistent storage. This endpoint is only available in BOS 9.0.107 and 8.5.46 and later.
Request Example
The example request parameters and headers are set as follows:
Response Body
success
bool: A flag indicating whether the flush was successful
Response Example