Client APIs
At its core, SyncTV is an API driven service. The APIs themselves are easy enough for developers to understand, but understanding the ecosystem is a little trickier. We've created the following tutorials to help you get your head around it.

Topics:

  • Participants

This document describes the API for creating, reading, updating and deleting participants.

Note:
Each call to the SyncTV V2 API described in this section requires an MD5 hash signature.
See the Authorization (User) API for details on generating the MD5 hash signature.
Actions

Url:

  • [GET] /api/v2/participants.[xml|json]
  • [GET] /api/v2/media/:medium_id/participants.[xml|json]

Returns a list of all participants.

Required Arguments:
  • (Integer) access_id
    Access id returned from Authorization (User) client_authorize.
  • (String) signature
    MD5 hash encoded string of query parameters.
Example Request

The following request returns a list of all participants.
[GET] https://service_name.synctv.com/api/v2/participants.xml?access_id=1234&signature=674aaff974348eb1a1bdd72dce75053d
Request Field:
  • (Integer) offset — Used for pagination of response data (default: 25 items per response). Specifies the offset of the next block of data to receive.
Example Response
XML JSON

<response>
  <participants>
    <participant>
      <id>1</id>
      <name>Harrison Ford 5</name>
      <alias nil="true"/>
      <external_id>TMSID_5</external_id>
      <category nil="true"/>
      <gender nil="true"/>
      <birthplace nil="true"/>
      <date_of_birth nil="true"/>
      <date_of_death nil="true"/>
      <biography nil="true"/>
      <external_image_paths/>
    </participant>
    <participant>
      <id>2</id>
      <name>Harrison Ford 6</name>
      <alias nil="true"/>
      <external_id>TMSID_6</external_id>
      <category nil="true"/>
      <gender nil="true"/>
      <birthplace nil="true"/>
      <date_of_birth nil="true"/>
      <date_of_death nil="true"/>
      <biography nil="true"/>
      <external_image_paths/>
    </participant>
    <participant>
      <id>3</id>
      <name>Harrison Ford 7</name>
      <alias nil="true"/>
      <external_id>TMSID_7</external_id>
      <category nil="true"/>
      <gender nil="true"/>
      <birthplace nil="true"/>
      <date_of_birth nil="true"/>
      <date_of_death nil="true"/>
      <biography nil="true"/>
      <external_image_paths/>
    </participant>
  </participants>
</response>
Response Fields:
  • (Integer) participant[id]
    The unique identifier of the participant.
  • (String) participant[name]
    The name of the participant.
  • (String) participant[alias]
    List of alias for the participant.
  • (String) participant[external_id]
    External id for the participant (e.g. TMS id or IDMB)
  • (String) participant[category]
    Category of this participant (e.g. Signer, Actor, Newscaster, etc.)
  • (String) participant[gender]
    Gender of participant.
  • (String) participant[birthplace]
    Birth place participant.
  • (DateTime) participant[date_of_birth]
    Date of brith of the participant.
  • (DateTime) participant[date_of_death]
    Date of death of the participant.
  • (String) participant[birthplace]
    Birthplace of the participant.
  • (String) participant[biography]
    Biography participant.
  • (String) participant[external_image_paths]
    List of external image paths of the participant.

Url:

  • [GET] /api/v2/participants/:id.[xml|json]

Returns the specified participant.

Required Arguments:
  • (Integer) access_id
    Access id returned from Authorization (User) client_authorize.
  • (String) signature
    MD5 hash encoded string of query parameters.
Example Request

The following example returns the information for participant 9.
[GET] https://service_name.synctv.com/api/v2/participants/9.xml?access_id=1234&signature=674aaff974348eb1a1bdd72dce75053d
Example Response
XML JSON

<response>
  <participant>
    <id>1</id>
    <name>Harrison Ford 8</name>
    <alias nil="true"/>
    <external_id>TMSID_8</external_id>
    <category nil="true"/>
    <gender nil="true"/>
    <birthplace nil="true"/>
    <date_of_birth nil="true"/>
    <date_of_death nil="true"/>
    <biography nil="true"/>
    <external_image_paths/>
  </participant>
</response>
Response Fields:
  • (Integer) participant[id]
    The unique identifier of the participant.
  • (String) participant[name]
    The name of the participant.
  • (String) participant[alias]
    List of alias for the participant.
  • (String) participant[external_id]
    External id for the participant (e.g. TMS id or IDMB)
  • (String) participant[category]
    Category of this participant (e.g. Signer, Actor, Newscaster, etc.)
  • (String) participant[gender]
    Gender of participant.
  • (String) participant[birthplace]
    Birth place participant.
  • (DateTime) participant[date_of_birth]
    Date of brith of the participant.
  • (DateTime) participant[date_of_death]
    Date of death of the participant.
  • (String) participant[birthplace]
    Birthplace of the participant.
  • (String) participant[biography]
    Biography participant.
  • (String) participant[external_image_paths]
    List of external image paths of the participant.