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

Create Album via API

New Here ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

Hello,

 

Documentation:

https://developer.adobe.com/lightroom/lightroom-api-docs/api/#tag/Albums

PUT

https://lr.adobe.io/v2/catalogs/{catalog_id}/albums/{album_id}

 

 

{

    "subtype": "project",
    "serviceId": "string",
    "payload": 

{

    "userCreated": "string",
    "userUpdated": "string",
    "name": "string",
    "cover": 

{

    "id": "string"

},
"parent": 
{

    "id": "string"

},
"publishInfo": 
{

    "servicePayload": "string",
    "remoteId": "string",
    "created": "string",
    "updated": "string",
    "deleted": true,
    "remoteLinks": 

{

    "edit": 

{

    "href": "string"

},
"view": 

                {
                    "href": "string"
                }
            }
        }
    }

}

 

 

Could somepne please explain: 

1) {album_id} in URL - how to fill it? It is new album

2) payload object - how to fill it?  I undestand "name" field, but why/how I have to fill other fields? Are there optional fieds in Payload?

TOPICS
Web

Views

106

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
New Here ,
Apr 19, 2024 Apr 19, 2024

Copy link to clipboard

Copied

Update:

1) {album_id} - 32-sym hex string, randomly generate, I believe

2) With next JSON :

{
  "subtype": "project",
  "serviceId": "[my API LEY HERE]",
  "payload": {
    "name": "Myname1",
  }
}

web request returns  '201 Created'.

But this album is not shown in WebUI and does not exist in list of albums retreived via api 😞

Votes

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
Adobe Employee ,
Apr 29, 2024 Apr 29, 2024

Copy link to clipboard

Copied

@Michael36858465d90w The album created via partners are not meant to be listed in the lightroom application. They are only meant to be used by partner applications. 

If you want your album to be listed in the Lightroom application, then in that case you can create album from the LR application itself.

Votes

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
New Here ,
May 06, 2024 May 06, 2024

Copy link to clipboard

Copied

@27Prac

> The album created via partners

Dies it mean, that Adobe LR API does not allow to create Album or Folder, which user can see in browser on Adobe LR site? When I uploads images via Adobe LR API - I can see them, both in bowser and Adobe LR applicaiton.

Votes

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
Adobe Employee ,
May 06, 2024 May 06, 2024

Copy link to clipboard

Copied

LATEST

That is correct, albums are specific to the partner who has created the album. It is only meant to seen to the partner and not on LR applications. 

Photos and images are global and hence visible on LR applications.

Votes

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