mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-28 18:06:20 +02:00
63 lines
No EOL
4.3 KiB
Text
63 lines
No EOL
4.3 KiB
Text
---
|
|
id: keyboard-modifiers-get
|
|
title: "Get Keyboard Modifiers"
|
|
description: "Retrieve the current keyboard modifiers status."
|
|
sidebar_label: "Get Keyboard Modifiers"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzVV0tv20YQ/iuDDRC0BEUpSU+6ua6aGomTwnLag2MUI3JEbrTcZXaWclRB/72YJSnRjwCF0UtPorjz+L7ZeXGvApas5jfKO1dPNrRbOfSFuk1VQZx73QTtrJqrKwpe05YgVAR56z3ZAIM41K7Qa02egQOGljOVKteQR9G+KNRcDaKXg+RbCipVnrhxlonVfK9ez2byc9/xu8c+fI+lAG7znJjXrTE78Zk7G8gGsYJNY3QeAUy/sJjaK84rqlGewq4hNVdu9YVywdF4gRt0B4QrvQ4jsZVzhtCqh0G5sIW4IAa9joGJihIW0AyNJ2YqMnVIVY4NG5dvnmNUdEGUB8OYB72lzq6zwTvzLLOd6lNo0TyLPZonudu2fi5129bfY15TwOeYFL2nUHLbkH/WnYvid6JYPstiVHxs8ZCqoIOhUVEcq0kdDnL+0+zV4wq6rgg8fW2JQ/zVnhhaJg/Yhops6MvkPyygmpixpJEgB69t+Yj7LxRQGyqAvHceer37ZBdydNlbHHi+eZonk9+Sh9YW5Dk4V8SA9uxTWLUSgnXLxBBc5O+8/ptAh/8N+y73KyddtYxNtMFQqbmaYqOn0sanQ7OdHnumSlUXGun1DwP33uVo+tCpVLXeqLmqQmjm06mRs8pxmL+ZzWbqcCuG8tbrsIuWfib05M9aQXBze0j36ty5jabxm2u3IXt8MbKwlIB2MRtrHcOGjX5HO5UqLTDzKKJSZbGW0w+Ldx//Wi6Wy4uPHx6F9uxeakPL2paAwMQs/ztbsUzHDI6ehb3ELAKU2o1C/9ZLZxKC8I4+RhH4DrmvLfndiVtU/bfuojA0KH0CkAEhWoMGPdYUyHcZpe3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pkQ1si6btZvqDrVG2neO29nZxrQ6HfwATSV/e
|
|
sidebar_class_name: "get api-method"
|
|
info_path: docs/v3/api
|
|
custom_edit_url: null
|
|
---
|
|
|
|
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
import ParamsDetails from "@theme/ParamsDetails";
|
|
import RequestSchema from "@theme/RequestSchema";
|
|
import StatusCodes from "@theme/StatusCodes";
|
|
import OperationTabs from "@theme/OperationTabs";
|
|
import TabItem from "@theme/TabItem";
|
|
import Heading from "@theme/Heading";
|
|
|
|
<Heading
|
|
as={"h1"}
|
|
className={"openapi__heading"}
|
|
children={"Get Keyboard Modifiers"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"get"}
|
|
path={"/api/room/keyboard/modifiers"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Retrieve the current keyboard modifiers status.
|
|
|
|
<ParamsDetails
|
|
parameters={undefined}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
title={"Body"}
|
|
body={undefined}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
id={undefined}
|
|
label={undefined}
|
|
responses={{"200":{"description":"Keyboard modifiers retrieved successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"shift":{"type":"boolean","description":"Indicates if the shift key is pressed."},"capslock":{"type":"boolean","description":"Indicates if the caps lock key is active."},"control":{"type":"boolean","description":"Indicates if the control key is pressed."},"alt":{"type":"boolean","description":"Indicates if the alt key is pressed."},"numlock":{"type":"boolean","description":"Indicates if the num lock key is active."},"meta":{"type":"boolean","description":"Indicates if the meta key is pressed."},"super":{"type":"boolean","description":"Indicates if the super key is pressed."},"altgr":{"type":"boolean","description":"Indicates if the altgr key is pressed."}},"title":"KeyboardModifiers"}}}},"401":{"description":"The request requires user authentication.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}},"403":{"description":"The server understood the request, but refuses to authorize it.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}}}}
|
|
>
|
|
|
|
</StatusCodes>
|
|
|
|
|
|
|