webpage/docs/api/README.mdx
import ApiLogo from "@theme/ApiLogo"; import Heading from "@theme/Heading"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; import Export from "@theme/ApiExplorer/Export";
<Export url={"https://raw.githubusercontent.com/m1k1o/neko/refs/heads/master/server/openapi.yaml"} proxy={undefined}
</Export>
<Heading as={"h1"} className={"openapi__heading"} children={"Neko API Reference"}
</Heading>
Neko uses WebRTC and WebSocket besides REST API to provide real-time video streaming, interactive collaboration, and remote desktop functionality.
Video Streaming over WebRTC
Real-Time Signaling and Communication over WebSocket
REST API for Everything Else
For more details, refer to the full API documentation.
<div style={{"marginBottom":"2rem"}} > <Heading id={"authentication"} as={"h2"} className={"openapi-tabs__heading"} children={"Authentication"} > </Heading><SchemaTabs className={"openapi-tabs__security-schemes"} > <TabItem label={"API Key: CookieAuth"} value={"CookieAuth"} > Authentication using a session cookie.
<div>
<table>
<tbody>
<tr>
<th>
Security Scheme Type:
</th><td>
apiKey
</td>
</tr><tr>
<th>
Header parameter name:
</th><td>
NEKO_SESSION
</td>
</tr>
</tbody>
</table>
</div>
</TabItem><TabItem
label={"HTTP: Bearer Auth"}
value={"BearerAuth"}
>
Authentication using a Bearer token.
<div>
<table>
<tbody>
<tr>
<th>
Security Scheme Type:
</th><td>
http
</td>
</tr><tr>
<th>
HTTP Authorization Scheme:
</th><td>
bearer
</td>
</tr>
</tbody>
</table>
</div>
</TabItem><TabItem
label={"API Key: TokenAuth"}
value={"TokenAuth"}
>
Authentication using a token passed as a query parameter.
<div>
<table>
<tbody>
<tr>
<th>
Security Scheme Type:
</th><td>
apiKey
</td>
</tr><tr>
<th>
Header parameter name:
</th><td>
token
</td>
</tr>
</tbody>
</table>
</div>
</TabItem>