Skip to content

Actors API

Goran Nikic edited this page Feb 12, 2018 · 5 revisions

The Actors API allows you to access Opencinemas Actors database.

List All Actors

GET /actors Returns a Paged Result containing the list of Actors.

Filters

  • "Name" - String - "John Smith"
  • "Sex" - String - Either "M" or "F"
  • "birth_date" - String - In yyyy-mm-dd format

Get an Actor By ID

GET /actors/get/:id

Response

{
    "status": "OK",
    "code": 200,
    "messages": "common.SUCCESSFUL_REQUEST",
    "data": {
        "id": 3187,
        "name": "\tCharles Bonet",
        "bio": null,
        "sex": null,
        "full_bio_link": "http://www.imdb.com/name/nm0094312",
        "birth_date": null,
        "birth_place": null,
        "awards": null,
        "image": null,
        "imdb_id": "nm0094312",
        "views": 0,
        "tmdb_id": 150654,
        "fully_scraped": 0,
        "allow_update": 1,
        "created_at": "2016-01-05 15:26:31",
        "updated_at": "2016-01-05 15:26:31",
        "temp_id": null
    }
}

Clone this wiki locally