Перейти до основного вмісту
POST
Send Command to ER:LC Server

Авторизації

Authorization
string
header
обов'язково

Standard API key for accessing ER:LC endpoints.

Passed in Authorization: Bearer <key> header.

REQUIRED FOR ALL ER:LC ENDPOINTS.

Тіло

application/json

Object with Command Text.

command
string
обов'язково
Приклад:

":h Test API"

Відповідь

500 - application/json

Endpoint disabled/deprecated.

Standard error format.

code
integer
обов'язково

API error code.

Приклад:

5007

message
string
обов'язково

Error message/identifier.

Приклад:

"missing_token"