Copy link to clipboard
Copied
Hello,
Documentation:
https://developer.adobe.com/lightroom/lightroom-api-docs/api/#tag/Albums
PUT
{
"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?
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 😞
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.
Copy link to clipboard
Copied
> 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.
Copy link to clipboard
Copied
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.