ImageBAM API
Generating a gallery ID (GID)
This is the specification for generating a gallery ID. GIDs are passed with the photo upload in order to create a gallery.
Parameters should be POSTed to this URL:
NOTE: Galleries are not created until an image has been uploaded with the GID passed as parameter.
2: Developer API-Key has not been found
3: User API-Key has not been found
6: Secret is invalid
10: Invalid salt has been used
Parameters should be POSTed to this URL:
http://www.imagebam.com/services/generate_GID/
Parameters
| Name | Value | Explanation |
| API_key_dev | your API key | Your API-Key. >more info |
| API_key_user | the user's API key | The user's API key. |
| salt | 32 characters alphanumeric | Random string of 32 characters (a-zA-Z0-9) for higher security. |
| secret | md5(API_sec_dev + API_sec_user + salt) | 32 character secret by building the md5-checksum of the string consisting of your API-Secret, the user's API-Secret and the 32-character salt. |
NOTE: Galleries are not created until an image has been uploaded with the GID passed as parameter.
Example Response
<GID>b863ca20aa36b16cff89871139b7d1ae</GID> <URL>http://www.imagebam.com/gallery/b863ca20aa36b16cff89871139b7d1ae/</URL>
Error Codes
If the request failes an Error Code is returned in the REST response format.2: Developer API-Key has not been found
3: User API-Key has not been found
6: Secret is invalid
10: Invalid salt has been used
Powered by dedicated Linux servers. No frogs or beavers inside.