vimwiki/tech/amazon-photos.wiki

15 lines
395 B
Plaintext

= Amazon Photos =
Reverse engineering the amazon photos API
{{{
https://content-na.drive.amazonaws.com/v2/upload?conflictResolution=RENAME&fileSize=FILE_SIZE_HERE&name=NAME_HERE&parentNodeId=0WkBAfFtTcGU9ep-j79SAA
}}}
Include headers
* x-amz-access-token
* get this from the browser, not sure how else to get one
* x-amzn-file-md5
* this is the md5 hash of the file you want to upload