docs(bruno): add clip endpoint

This commit is contained in:
2026-06-19 22:33:50 +01:00
parent 88d83be50a
commit f6061c25ca
3 changed files with 29 additions and 13 deletions

View File

@@ -0,0 +1,22 @@
meta {
name: Save Clip
type: http
seq: 3
}
post {
url: {{base_url}}/stream/clip
body: json
auth: inherit
}
body:json {
{
"duration": 60
}
}
settings {
encodeUrl: true
timeout: 0
}

View File

@@ -7,17 +7,13 @@ meta {
post { post {
url: {{base_url}}/stream/save url: {{base_url}}/stream/save
body: json body: json
auth: bearer auth: inherit
}
auth:bearer {
token: {{token}}
} }
body:json { body:json {
{ {
"startTime": "2026-06-06T14:20:00Z", "startTime": "2026-06-19T21:00:00Z",
"endTime": "2026-06-06T14:21:00Z" "endTime": "2026-06-19T21:03:00Z"
} }
} }

View File

@@ -4,11 +4,9 @@ meta {
} }
auth { auth {
mode: apikey mode: bearer
} }
auth:apikey { auth:bearer {
key: token: {{token}}
value: }
placement: header
}