Перейти к содержанию
SoulFire LogoSoulFire

Input

Это руководство доступно только на английском.

POST
/soulfire.v1.PovService/Input

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Request Body

application/json
  1. body
sessionId?string
sequence?string
Match^(0|[1-9][0-9]*)$
captured?boolean
width?integer
Formatint32
height?integer
Formatint32
events?array<>
escape?boolean

Forward Escape to the game, including opening the pause menu.

requestKeyFrame?boolean

Recover after dropping dependent frames or resetting the decoder.

feedback?

Client-relative delivery delay avoids requiring synchronized clocks.

inputToken?string
clipboard?|

Clipboard is set before processing the accompanying paste key event.

readClipboard?boolean
maxFps?integer
Formatint64
Range0 <= value <= 4294967295

Response Body

Successful response.

application/json
  1. response
Example Request
curl -X POST 'http://127.0.0.1:38765/soulfire.v1.PovService/Input' \
  -H 'Content-Type: application/json' \
  -d '{
  "sessionId": "",
  "sequence": "0",
  "captured": false,
  "width": 0,
  "height": 0,
  "events": [],
  "escape": false,
  "requestKeyFrame": false,
  "inputToken": "",
  "readClipboard": false,
  "maxFps": 0
}'
Example Response
{}

Полезна ли эта страница?