Transcripts

Get fragments of a transcript

Changed on

Get fragments of a transcript given a transcript id.

get/v2/transcripts/{transcriptId}/fragments

Request

  • Base URL
    https://api.affinity.co
  • URL
    https://api.affinity.co/v2/transcripts/{transcriptId}/fragments
  • Auth
    HTTP bearer

Path parameters

transcriptIdinteger required

The id of the Transcript

Query parameters

cursorstring

Cursor for the next or previous page

limitinteger

Number of items to include in the page

totalCountboolean

Include total count of the collection in the pagination response

Response

OK

Example response

{
  "data": [
    {
      "content": "I was saying Boo-urns.",
      "speaker": "Hans Moleman",
      "startTimestamp": "00:00:06",
      "endTimestamp": "00:14:41"
    }
  ],
  "pagination": {
    "prevUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgYmVmb3JlOjo6Nw",
    "nextUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgIGFmdGVyOjo6NA"
  }
}

Changes

    • info

      added authentication authorization bad-request conflict method-not-allowed not-acceptable not-found not-implemented rate-limit server timeout unprocessable-entity unsupported-media-type validation discriminator mapping keys to the / response property for the response status

    • info

      added bad-request validation discriminator mapping keys to the / response property for the response status