curl --request PATCH \
--url http://localhost:5252/log/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '{}'{
"success": true,
"data": {
"id": "<string>",
"day": 500,
"date": "2025-05-01",
"unit": "<string>",
"ocf": {
"files": 123,
"size": 123,
"duration": "<string>",
"reels": [
"<string>"
],
"copies": [
"<string>"
],
"clips": [
{
"clip": "<string>",
"size": 123,
"copies": [
{
"volume": "<string>",
"hash": "<string>"
}
],
"tc_start": "<string>",
"tc_end": "<string>",
"duration": "<string>",
"camera_model": "<string>",
"reel": "<string>",
"fps": 123,
"sensor_fps": "<string>",
"lens": "<string>",
"resolution": "<string>",
"codec": "<string>",
"gamma": "<string>",
"wb": "<string>",
"tint": "<string>",
"lut": "<string>"
}
]
},
"sound": {
"files": 123,
"size": 123,
"copies": [
"<string>"
],
"clips": [
{
"clip": "<string>",
"size": 123,
"copies": [
{
"volume": "<string>",
"hash": "<string>"
}
],
"tc_start": "<string>",
"tc_end": "<string>"
}
]
},
"proxy": {
"files": 123,
"size": 123,
"clips": [
{
"clip": "<string>",
"size": 123,
"format": "<string>",
"codec": "<string>",
"resolution": "<string>"
}
]
},
"custom": [
{
"schema": "<string>",
"log": {},
"clips": [
{
"clip": "<string>",
"tc_start": "00:00:00:00",
"tc_end": "00:00:00:00"
}
]
}
]
}
}Update log by ID. Shallow merging.
curl --request PATCH \
--url http://localhost:5252/log/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '{}'{
"success": true,
"data": {
"id": "<string>",
"day": 500,
"date": "2025-05-01",
"unit": "<string>",
"ocf": {
"files": 123,
"size": 123,
"duration": "<string>",
"reels": [
"<string>"
],
"copies": [
"<string>"
],
"clips": [
{
"clip": "<string>",
"size": 123,
"copies": [
{
"volume": "<string>",
"hash": "<string>"
}
],
"tc_start": "<string>",
"tc_end": "<string>",
"duration": "<string>",
"camera_model": "<string>",
"reel": "<string>",
"fps": 123,
"sensor_fps": "<string>",
"lens": "<string>",
"resolution": "<string>",
"codec": "<string>",
"gamma": "<string>",
"wb": "<string>",
"tint": "<string>",
"lut": "<string>"
}
]
},
"sound": {
"files": 123,
"size": 123,
"copies": [
"<string>"
],
"clips": [
{
"clip": "<string>",
"size": 123,
"copies": [
{
"volume": "<string>",
"hash": "<string>"
}
],
"tc_start": "<string>",
"tc_end": "<string>"
}
]
},
"proxy": {
"files": 123,
"size": 123,
"clips": [
{
"clip": "<string>",
"size": 123,
"format": "<string>",
"codec": "<string>",
"resolution": "<string>"
}
]
},
"custom": [
{
"schema": "<string>",
"log": {},
"clips": [
{
"clip": "<string>",
"tc_start": "00:00:00:00",
"tc_end": "00:00:00:00"
}
]
}
]
}
}Was this page helpful?