define({"api":[{"type":"delete","url":"/users/:user/addresses/:address","title":"Delete an Address","name":"DeleteUserAddress","group":"Addresses","header":{"fields":{"Header":[{"group":"Header","type":"String","optional":false,"field":"X-Access-Token","description":"<p>Optional access token if authentication is enabled</p>"}]},"examples":[{"title":"Header-Example:","content":"{\n \"X-Access-Token\": \"59fc66a03e54454869460e45\"\n}","type":"json"}]},"parameter":{"fields":{"Parameter":[{"group":"Parameter","type":"String","optional":false,"field":"user","description":"<p>ID of the User</p>"},{"group":"Parameter","type":"String","optional":false,"field":"address","description":"<p>ID of the Address</p>"}]}},"success":{"fields":{"Success 200":[{"group":"Success 200","type":"Boolean","optional":false,"field":"success","description":"<p>Indicates successful response</p>"}]},"examples":[{"title":"Success-Response:","content":"HTTP/1.1 200 OK\n{\n \"success\": true\n}","type":"json"}]},"error":{"fields":{"Error 4xx":[{"group":"Error 4xx","optional":false,"field":"error","description":"<p>Description of the error</p>"}]},"examples":[{"title":"Error-Response:","content":"HTTP/1.1 200 OK\n{\n \"error\": \"Trying to delete main address. Set a new main address first\"\n}","type":"json"}]},"examples":[{"title":"Example usage:","content":"curl -i -XDELETE http://localhost:8080/users/59ef21aef255ed1d9d790e7a/addresses/59ef21aef255ed1d9d790e81","type":"curl"}],"version":"0.0.0","filename":"lib/api/addresses.js","groupTitle":"Addresses"},{"type":"get","url":"/addresses","title":"List registered Addresses","name":"GetAddresses","group":"Addresses","header":{"fields":{"Header":[{"group":"Header","type":"String","optional":false,"field":"X-Access-Token","description":"<p>Optional access token if authentication is enabled</p>"}]},"examples":[{"title":"Header-Example:","content":"{\n \"X-Access-Token\": \"59fc66a03e54454869460e45\"\n}","type":"json"}]},"parameter":{"fields":{"Parameter":[{"group":"Parameter","type":"String","optional":true,"field":"query","description":"<p>Partial match of an address</p>"},{"group":"Parameter","type":"Number","optional":true,"field":"limit","defaultValue":"20","description":"<p>How many records to return</p>"},{"group":"Parameter","type":"Number","optional":true,"field":"page","defaultValue":"1","description":"<p>Current page number. Informational only, page numbers start from 1</p>"},{"group":"Parameter","type":"Number","optional":true,"field":"next",