Get Clipboard Image
GEThttp://localhost:3000/api/room/clipboard/image.png
Retrieve the current image content of the clipboard.
Responses
- 200
- 401
- 403
- 500
Clipboard image retrieved successfully.
- image/png
- Schema
- Example (auto)
Schema
stringbinary
"string"
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"
}
Unable to get clipboard content.
- 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/clipboard/image.png");
request.Headers.Add("Accept", "image/png");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear