Retrieves a paginated list of persons.
Name | Located in | Description | Required | Type |
---|
Name | query | Optional. Filter persons by name. | No | string |
SortBy | query | Optional. Sort persons by specified field. Use 'name' for ascending or 'name_desc' for descending order by name. Use 'gender' or 'gender_desc' for sorting by gender. Use 'popularity' or 'popularity_desc' for sorting by popularity. Defaults to ascending order by ID if not specified. | No | string |
Page | query | Page number to retrieve. Default is 1. | No | integer |
PageSize | query | Number of records per page. Default is 25. | No | integer |
Code | Description |
---|
200 | Success |
Retrieves a person by ID.
Name | Located in | Description | Required | Type |
---|
id | path | The ID of the person to retrieve. | Yes | integer |
Code | Description |
---|
200 | Success |
422 | Validation error if the input parameters are incorrect. |
Retrieves a person by IMDb ID.
Name | Located in | Description | Required | Type |
---|
imdbId | path | The IMDb ID of the person to retrieve. | Yes | string |
Code | Description |
---|
200 | Success |
422 | Validation error if the input parameters are incorrect. |
Retrieves a list of person gender options.
Code | Description |
---|
200 | Success |