Skip to content

Commit

Permalink
Add documentation for gender_description field
Browse files Browse the repository at this point in the history
  • Loading branch information
jjinkxy committed Jul 1, 2024
1 parent 5a5148c commit ac82775
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ Filmmakers uses conventional HTTP response codes to indicate the success or fail
Certain `4xx` errors, notably the `410` Gone status, indicate that a requested resource (such as an actor_profile or a talent_agency) has been merged with another and is no longer available at the original URL. The response will include the ID of the new resource, and clients should use this ID to access the merged resource.

# Changelog
- (2024-07-01) **ActorProfile#index**: Add new field `gender_description`
- (2024-05-20) **ActorProfile#index**: Add new field `gender_searchability`
- (2024-05-16) **ActorProfile#index**: Add new field `gender_new`, which replaces 'diverse' value with a larger range of gender values.
- (2024-04-26) **ActorProfile#show**: Add new field `in_development` to Vita<br>
Expand Down Expand Up @@ -211,7 +212,7 @@ page | 1 | Page to display - see "Pagination" section
per_page | 250 | Items per page - see "Pagination" section
include_picture | false | If set to true, the result will include the profile picture thumbnail in a field named `main_picture_url_tile`.
picture_version | null | Can be set to `original`, `large` or `thumb` to change the included picture version. The picture will be included in a field named `picture_url`. _(Only applies if `include_picture` is true)_
fields | name,gender | Can be used to modify the fields included in the response. Possible values are: `age`, `gender`, `gender_new`, `gender_searchability`, `first_name`, `last_name`, `name`, `main_profession`, `professions`, `languages`, `representative`, `updated_at`.
fields | name,gender | Can be used to modify the fields included in the response. Possible values are: `age`, `gender`, `gender_new`, `gender_description`, `gender_searchability`, `first_name`, `last_name`, `name`, `main_profession`, `professions`, `languages`, `representative`, `updated_at`.
order | id | Changes the order of returned results. Possible values are: `id`, `name`, `last_name`
gender | null | Allows filtering by gender. Possible values are: `m`, `f`, `i`.
gender_new | null | Allows filtering by gender_new values. Possible values are: `male`, `female`, `transgender_female`, `transgender_male`, `non_binary`, `custom`.
Expand All @@ -226,6 +227,7 @@ id | number | Unique ID of the actor profile
age | number |
gender | string | `f` for female, `m` for male, `i` for diverse
gender_new | string | `female` for female, `male` for male, `transgender_male` for transgender male, `transgender_female` for transgender female, `non_binary` for non binary, `custom` for custom set gender
gender_description | string |
gender_searchability | array of strings | list of genders actor profile can be found under, e.g. `["female", "non_binary"]` _this always at least includes the gender of the actor profile if visible_
name | string | Full name (ie. first & last name) _name can be retrieved separately by using the fields parameter_
first_name | string |
Expand Down Expand Up @@ -303,6 +305,7 @@ curl "https://www.filmmakers.eu/api/v1/actor_profiles/123" \
"city": "Mainz",
"gender": "m",
"gender_new": "male",
"gender_description": "genderfluid",
"gender_searchability": [
"male"
],
Expand Down

0 comments on commit ac82775

Please sign in to comment.