Get List of Screen Configurations
GEThttp://localhost:3000/api/room/screen/configurations
Retrieve a list of all available screen configurations.
Responses
- 200
- 401
- 403
List of screen configurations retrieved successfully.
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
widthinteger
The width of the screen.
Example:
1280
heightinteger
The height of the screen.
Example:
720
rateinteger
The refresh rate of the screen.
Example:
30
[
{
"width": 1280,
"height": 720,
"rate": 30
}
]
The request requires user authentication.
- application/json
- Schema
- Example (auto)
Schema
messagestring
Detailed error message.
{
"message": "string"
}
The server understood the request, but refuses to authorize it.
- application/json
- Schema
- Example (auto)
Schema
messagestring
Detailed error message.
{
"message": "string"
}
Authorization: http
name: BearerAuthtype: httpscheme: bearerdescription: Authentication using a Bearer token.
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost:3000/api/room/screen/configurations");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear