From 5afd9f6c32075bb924a96b26f3ff30fc8ffb8ee4 Mon Sep 17 00:00:00 2001 From: Oliver Jochum <33732167+OliverJochum@users.noreply.github.com> Date: Tue, 29 Oct 2024 16:18:20 +0100 Subject: [PATCH] Add thumb_large picture version for actor profiles (#85) * Add thumb_large * Make changelog entry --- source/index.html.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/index.html.md b/source/index.html.md index e5b991a4497..7bf8fe651a0 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -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`
- (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` @@ -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`. @@ -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": [ @@ -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": [