Get current media sync job
GEThttps://demo.frigate.video/api/media/sync/current
Retrieve the current running media sync job, if any. Returns the job details or null when no job is active.
Responses​
- 200
- 422
Successful Response
Validation Error
- python
- nodejs
- javascript
- curl
- rust
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("demo.frigate.video")
payload = ''
headers = {}
conn.request("GET", "/api/media/sync/current", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear