overlay: 1.0.0
info:
title: API Evangelist enhancements — Affectiva EaaS video_segments
version: 1.0.0
extends: openapi/affectiva-eaas-video_segments.json
x-generated: '2026-09-12'
x-method: generated
x-source: openapi/affectiva-eaas-video_segments.json
x-note: Non-destructive enhancements to the verbatim Affectiva contract. The published document ships no operationIds,
no host, no contact and no 401 response even though every operation is behind HTTP Basic. These actions record
what we observed; the original is never mutated.
actions:
- target: $.info
description: Name the operator and the live host the contract omits.
update:
contact:
name: Affectiva (Smart Eye / iMotions)
url: https://www.affectiva.com/contact-us/
x-api-evangelist-note: Contract harvested verbatim from https://index.affectiva.com/swagger/templates/video_segments.json
on 2026-09-12.
- target: $
description: Record the host the Swagger UI actually calls; the published document sets only basePath "/".
update:
host: index.affectiva.com
x-observed-base-url: https://index.affectiva.com
- target: $.paths['/video_segments'].post
description: Add the missing operationId for POST /video_segments.
update:
operationId: create_video_segments
- target: $.paths['/video_segments'].post
description: Declare the 401 the live API actually returns; the published contract omits it on every operation.
update:
responses:
'401':
description: Unauthorized. HTTP Basic credentials required; realm "Affectiva Facial Coding API". Observed
live 2026-09-12.
- target: $.paths['/video_segments/{id}'].delete
description: Add the missing operationId for DELETE /video_segments/{id}.
update:
operationId: delete_video_segments
- target: $.paths['/video_segments/{id}'].delete
description: Declare the 401 the live API actually returns; the published contract omits it on every operation.
update:
responses:
'401':
description: Unauthorized. HTTP Basic credentials required; realm "Affectiva Facial Coding API". Observed
live 2026-09-12.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.