• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Lightroom Asset API Flag Option not working as Expected

Community Beginner ,
Dec 12, 2021 Dec 12, 2021

Copy link to clipboard

Copied

I am using the Lightroom API to list the assets of an album.

https://www.adobe.io/apis/creativecloud/lightroom/apidocs.html#/

 

For an album that I am testing that has 7 assets, one with the Pick flag and one with the Reject Flag.

 

https://lr.adobe.io/v2/catalogs/7afe0a02a277465eb76b99c90193a430/albums/778ef65e2c6f4d9192600214a8ad...

return 5 results (the unpicked assets) – where it should return 6. – as I want to get all the assets that are either picked or unflagged.

 

https://lr.adobe.io/v2/catalogs/7afe0a02a277465eb76b99c90193a430/albums/778ef65e2c6f4d9192600214a8ad...

returns 1 result(the picked asset) – where it should return the same 6.

 

This is the documentation for the flag parameter:

Semi-colon separated review flag values used to filter assets returned. Can be combined with subtype filter. Valid values for flags are 'pick’, ‘unflagged’ and 'reject’. This parameter cannot be used along with album_filters parameter. Default behavior is to display all assets.

 

Please advise – is this a bug or am I using the API incorrectly?

Thanks,

Michael

TOPICS
SDK

Views

37

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 12, 2021 Dec 12, 2021

Copy link to clipboard

Copied

LATEST

as it was truncated in the message
the first URL had this query parameter: flag=unflagged;pick

and the second URL had this query parameter: flag=pick;unflagged

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines