Probe a File or Part
POST/qlibs/:qlibid/q/:qhit/rep/probe
Probes a file or part for stream media info. If Phash exist it uses the Phash to probe the object, otherwise it uses the filename. Call with JSON body:
{
Phash: "part hash",
Filename: "filename"
}
Example Curl:
curl -X POST "https://${URL}/qlibs/${LIB}/q/${QID}/rep/probe?authorization=${TOKEN}"
-H 'Content-Type: application/json'
-d '{"hqp_7775GR25GGTTJKBNVMCF2235m", "/assets/file-to-probe.mp4"}'
Request
Responses
- 200
- 404
- default
Probed file
Error message returned if the requested entity does not exist.
A generic error message.