question

Wei Chen Pan avatar image
Wei Chen Pan asked

How to get owner(FriendlyName) for add property?

Hello in https://developer.amazon.com/public/apis/experience/cloud-drive/content/nodes if i want add a property to node, it need param owner, but owner is not applicationid or client_id. How do i to get owner(FriendlyName) for operate properties?
amazon drive
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

yadayada avatar image
yadayada answered
If you upload a file, the response json will include a 'createdBy' property, which includes your security profile's name, followed by a seemingly random string. I believe this is the AppID you're looking for.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Wei Chen Pan avatar image
Wei Chen Pan answered
this means that i can get my owner by create a node.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mcbentangled avatar image
mcbentangled answered
I am having the same problem. A method requires the owner (createdBy), but I have no way of retrieving that. This field is needed when I set up the properties so that I can edit. Did you find a solution for this? Is the only way to actually create a folder first, then delete it?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jamie Grossman avatar image
Jamie Grossman answered
Hey guys, You should already have access to your friendly name. When you whitelisted your security profile to use with Cloud Drive, it should have come with your app id. Actually, you shouldn't even need to query to find it. Hope this helps, Jamie
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.