Affectiva Representations API

The representations API from Affectiva — 3 operation(s) for representations.

Operations 5

POST /entries/{entryID}/representations Add a new representation #
GET /entries/{entryID}/representations/{representationID} Find representation by ID #
PUT /entries/{entryID}/representations/{representationID} Updates a representation #
DELETE /entries/{entryID}/representations/{representationID} Delete representation by ID #
GET /entries/{entryID}/representations/{representationID}/media Find representation media by ID #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/affectiva-representations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

affectiva-representations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: This is a documentation for Eaas api-experiments
  version: 0.1.0
  title: Eaas Representations API
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: /
tags:
- name: Representations
  externalDocs:
    description: Find out more
    url: http://swagger.io
paths:
  /entries/{entryID}/representations:
    post:
      tags:
      - Representations
      summary: Add a new representation
      description: ''
      parameters:
      - name: entryID
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '201':
          description: Success, representation created
        '422':
          description: Unprocessable Entity
      security:
      - basicAuth: []
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                media:
                  type: string
                  description: representation file
                  format: binary
                storage_type:
                  type: string
                  description: storage type(s3-efs-nas)
              required:
              - media
          application/json:
            schema:
              type: object
              properties:
                media:
                  type: string
                  description: representation file
                  format: binary
                storage_type:
                  type: string
                  description: storage type(s3-efs-nas)
              required:
              - media
      operationId: postEntriesByEntryIDRepresentations
      x-operation-id-source: derived
  /entries/{entryID}/representations/{representationID}:
    get:
      tags:
      - Representations
      summary: Find representation by ID
      description: Returns a single representation
      parameters:
      - in: path
        name: entryID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: representationID
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '404':
          description: Not found
      security:
      - basicAuth: []
      operationId: getEntriesByEntryIDRepresentationsByRepresentationID
      x-operation-id-source: derived
    put:
      tags:
      - Representations
      summary: Updates a representation
      description: ''
      parameters:
      - name: entryID
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: representationID
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '201':
          description: Updated successfully
        '400':
          description: Bad request
        '404':
          description: Not found
        '422':
          description: Unprocessable Entity
      security:
      - basicAuth: []
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                media:
                  type: string
                  format: binary
                storage_type:
                  type: string
              required:
              - media
              - storage_type
      operationId: putEntriesByEntryIDRepresentationsByRepresentationID
      x-operation-id-source: derived
    delete:
      tags:
      - Representations
      summary: Delete representation by ID
      parameters:
      - in: path
        name: entryID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: representationID
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '204':
          description: Deleted successfully
        '400':
          description: Bad request
        '404':
          description: Not found
      security:
      - basicAuth: []
      operationId: deleteEntriesByEntryIDRepresentationsByRepresentationID
      x-operation-id-source: derived
  /entries/{entryID}/representations/{representationID}/media:
    get:
      tags:
      - Representations
      summary: Find representation media by ID
      description: Returns a single representation media file
      parameters:
      - in: path
        name: entryID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: representationID
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '404':
          description: Not found
      security:
      - basicAuth: []
      operationId: getEntriesByEntryIDRepresentationsByRepresentationIDMedia
      x-operation-id-source: derived
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
externalDocs:
  description: Find out more about Swagger
  url: http://swagger.io