Bookmaz API guide

If you are a developer like us, you can freely develop mobile or web apps with the help of our API.
There are four operations at this point:

Create a new bookmark collection with a username and a password
curl -X POST --data "user=YOUR_USERNAME&pass=YOUR_PASSWORD" https://bookmaz.com/bookmark/BOOKMARK_COLLECTION
Add an url in the bookmark collection. The url should be encoded in base64

curl -X POST --data "user=YOUR_USERNAME&pass=YOUR_PASSWORD&url=URL_BASE64" https://bookmaz.com/bookmark/BOOKMARK_COLLECTION

Get all bookmarks in JSON format

curl -X GET -H "REST_USERNAME:YOUR_USERNAME" -H "REST_PASSWORD:YOUR_PASSWORD" https://bookmaz.com/bookmark/BOOKMARK_COLLECTION

Response:
 "[{"time_created" : "1447019032" , "url" : "aHR0cHM6Ly93d3cueWFob28uY29tLw==" , "screenshot" : "http:\/\/bookmaz.com\/screenshots\/ertqwe.jpg" , "uid" : "ertqwe" , "webpage_title" : "Yahoo"},{"time_created" : "1447019059" , "url" : "Z29vZ2xlLmNvbQ==" , "screenshot" : "http:\/\/bookmaz.com\/screenshots\/acxvxcvwm.jpg" , "uid" : "acxvxcvwm" , "webpage_title" : "Google"}]
Delete a bookmark with given id

curl -i -X "DELETE" -H "REST_USERNAME:YOUR_USERNAME" -H "REST_PASSWORD:YOUR_PASSWORD" -H "REST_UID:BOOKMARK_ID" https://bookmaz.com/bookmark/BOOKMARK_COLLECTION 

HTTP Response Status : 200 OK