put
https://api.neuronsinc.com/predict/v2/videos//aois
Update AOIs for an existing video and return calculated metrics.
This endpoint differs from the POST /{media_id}/aois/static endpoint:
POST /{media_id}/aois/staticstarts a background static AOI calculation on the video. It queues the computation viaVideoStaticAOIPredictionand returns HTTP 202 with a simple{"detail": ...}message once the job has been accepted. No AOI metrics are returned in that response.PUT /{media_id}/aoisperforms a synchronous AOI calculation using the already available video results (video.results["saliency"]). It calls the externalvideo_aoi_serviceand returns HTTP 200 together with the full calculation output.
Response:
- On success, returns HTTP 200 with a body matching the
VideoAOIsCalculationResponseschema, containing the calculated AOI results for the submitted AOIs and frame ranges, along with associated metadata. - On error, returns an appropriate HTTP status with a
Detailpayload.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…