Recordings
A recording is a collection of video files (color and thermal) and metadata files.
- : Grants access to retrieve system data and information.
Plugin authentication using Bearer token. For more details, see Fotokite API Documentation.
List of video recordings
Represents a video recording, including video files and metadata.
Identifier of the recording.
20260616_132946_+0200Whether this recording is currently being recorded.
trueGET /api/v1/recordings HTTP/1.1
Host: 192.168.2.100:3128
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
List of video recordings
[
{
"recording_id": "20260616_132946_+0200",
"is_being_recorded": false,
"videos": [
{
"type": "color",
"recording_id": "20260616_132946_+0200",
"file_id": "main.mp4",
"size": 104857600,
"is_recording": false
},
{
"type": "thermal",
"recording_id": "20260616_132946_+0200",
"file_id": "sub.mp4",
"size": 52428800,
"is_recording": false
}
]
},
{
"recording_id": "20260617_140000_+0200",
"is_being_recorded": true,
"videos": [
{
"type": "color",
"recording_id": "20260617_140000_+0200",
"file_id": "main.mp4",
"size": 20480000,
"is_recording": true
}
]
}
]Returns the current video recorder state.
- : Grants access to retrieve system data and information.
Plugin authentication using Bearer token. For more details, see Fotokite API Documentation.
Current recorder state
Current state of the video recorder.
ID of the recording.
20260616_132946_+0200Last time a recording was started since boot, or zero otherwise.
2023-10-01T12:00:00ZLast time a recording was stopped, or current time if recording.
2023-10-01T12:00:00ZWhether the recorder is currently running.
trueNumber of seconds the current recording has been running.
120Bytes available to store video recordings
Bytes currently occupied by video recordings
Total bytes available for video recordings
GET /api/v1/recordings/state HTTP/1.1
Host: 192.168.2.100:3128
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
Current recorder state
{
"recording_id": "20260616_132946_+0200",
"started_recording_timestamp": "2023-10-01T12:00:00Z",
"stopped_recording_timestamp": "2023-10-01T12:00:00Z",
"is_recording": true,
"recording_seconds": 120,
"available_space": 1,
"occupied_space": 1,
"total_space": 1
}Returns a video recording. A video recording is a collection of video files (color and thermal) and metadata.
- : Grants access to retrieve system data and information.
Plugin authentication using Bearer token. For more details, see Fotokite API Documentation.
ID of the video recording
20260616_132946_+0200Details of the video recording
Represents a video recording, including video files and metadata.
Identifier of the recording.
20260616_132946_+0200Whether this recording is currently being recorded.
trueFile Not Found. Endpoint does not exist at all or the object referred to is not known.
GET /api/v1/recordings/{recording_id} HTTP/1.1
Host: 192.168.2.100:3128
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"recording_id": "20260616_132946_+0200",
"is_being_recorded": true,
"videos": [
{
"type": "text",
"recording_id": "20211126_165209_+0100",
"file_id": "text",
"size": 1,
"is_recording": true
}
]
}Deletes a video recording. A video recording is a collection of video files (color and thermal) and metadata.
- : Allows sending commands to control the system.
Plugin authentication using Bearer token. For more details, see Fotokite API Documentation.
ID of the video recording
20260616_132946_+0200The command was sent successfully
No content
Request parameter doesn't meet criteria
File Not Found. Endpoint does not exist at all or the object referred to is not known.
Bad Gateway. The service is not able to communicate with an upstream service it depends on.
The service is not ready yet. Usually this means that service didn't gather all the necessary information from subsystems.
DELETE /api/v1/recordings/{recording_id} HTTP/1.1
Host: 192.168.2.100:3128
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Returns a specific video of a recording.
- : Grants access to retrieve system data and information.
Plugin authentication using Bearer token. For more details, see Fotokite API Documentation.
ID of the video recording, URL-encoded.
20260616_132946_+0200Identifier of the video file to download, URL-encoded.
color.mp4Specifies byte range for partial downloads, enabling efficient buffering or browser playback.
bytes=0-1048575Full file content
Partial file content
Request parameter doesn't meet criteria
File Not Found. Endpoint does not exist at all or the object referred to is not known.
Requested Range Not Satisfiable
Bad Gateway. The service is not able to communicate with an upstream service it depends on.
The service is not ready yet. Usually this means that service didn't gather all the necessary information from subsystems.
GET /api/v1/recordings/{recording_id}/{file_id} HTTP/1.1
Host: 192.168.2.100:3128
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
binaryStarts a video recording. A video recording is a collection of video files (color and thermal) and metadata.
- : Allows sending commands to control the system.
Plugin authentication using Bearer token. For more details, see Fotokite API Documentation.
The command was sent successfully
No content
Request parameter doesn't meet criteria
Control is not allowed because somebody else is controlling the System.
The operation is not allowed in current state. Example: Rotation is not allowed during landing.
Bad Gateway. The service is not able to communicate with an upstream service it depends on.
The service is not ready yet. Usually this means that service didn't gather all the necessary information from subsystems.
Insufficient Storage
POST /api/v1/recordings/control/start HTTP/1.1
Host: 192.168.2.100:3128
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Stops the current video recording.
- : Allows sending commands to control the system.
Plugin authentication using Bearer token. For more details, see Fotokite API Documentation.
The command was sent successfully
No content
Request parameter doesn't meet criteria
Control is not allowed because somebody else is controlling the System.
The operation is not allowed in current state. Example: Rotation is not allowed during landing.
Bad Gateway. The service is not able to communicate with an upstream service it depends on.
The service is not ready yet. Usually this means that service didn't gather all the necessary information from subsystems.
Insufficient Storage
POST /api/v1/recordings/control/stop HTTP/1.1
Host: 192.168.2.100:3128
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Last updated