Skip to content

Commit

Permalink
Add thumb_large picture version for actor profiles (#85)
Browse files Browse the repository at this point in the history
* Add thumb_large

* Make changelog entry
  • Loading branch information
OliverJochum authored Oct 29, 2024
1 parent 33a434b commit 5afd9f6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions 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-10-29) **ActorProfile#show**: Add `:thumb_large` 500x500 profile picture option
- (2024-09-26) **ActorProfile#show**: Add new fields `ethnic_background`, `ethnic_background_details` and `ethnic_background_custom`<br>
- (2024-08-16) **ActorProfile#show**: Expose `talent_agency_connections`, which includes more details about the agency connections of a profile
- (2024-07-01) **ActorProfile#show**: Add new field `gender_description`
Expand Down Expand Up @@ -213,7 +214,7 @@ Parameter | Default | Description
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)_
picture_version | null | Can be set to `original`, `large`, `thumb` or `thumb_large` 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`, `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 values. Possible values are: `male`, `female`, `transgender_female`, `transgender_male`, `non_binary`, `custom`.
Expand Down Expand Up @@ -441,7 +442,8 @@ curl "https://www.filmmakers.eu/api/v1/actor_profiles/123" \
"versions": {
"original": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fit/w:3840/h:2160/f:jpg/ZS5qcGVn",
"large": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fit/w:1200/h:1200/f:jpg/ZS5qcGVn",
"thumb": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fill/el:1/c:528:528:nowe:250:0/w:190/h:190/g:no/f:jpg/ZS5qcGVn"
"thumb": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fill/el:1/c:528:528:nowe:250:0/w:190/h:190/g:no/f:jpg/ZS5qcGVn",
"thumb_large": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fill/el:1/c:528:528:nowe:250:0/w:500/h:500/g:no/f:jpg/ZS5qcGVn"
},
"orientation": "square",
"dimensions": [
Expand All @@ -466,7 +468,8 @@ curl "https://www.filmmakers.eu/api/v1/actor_profiles/123" \
"versions": {
"original": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fit/w:3840/h:2160/f:jpg/ZS5qcGVn",
"large": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fit/w:1200/h:1200/f:jpg/ZS5qcGVn",
"thumb": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fill/el:1/c:528:528:nowe:250:0/w:190/h:190/g:no/f:jpg/ZS5qcGVn"
"thumb": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fill/el:1/c:528:528:nowe:250:0/w:190/h:190/g:no/f:jpg/ZS5qcGVn",
"thumb_large": "https://imgproxy.filmmakers.eu/gqz46mqnA/rt:fill/el:1/c:528:528:nowe:250:0/w:500/h:500/g:no/f:jpg/ZS5qcGVn"
},
"orientation": "landscape",
"dimensions": [
Expand Down

0 comments on commit 5afd9f6

Please sign in to comment.