{"success":true,"data":{"name":"snippedit API","version":"1.0","documentation":"https:\/\/snippedit.com\/settings#api","authentication":"Send your key as: Authorization: Bearer <API_KEY>","endpoints":[{"url":"https:\/\/snippedit.com\/api\/v1\/snippets","method":"GET","describes":"Your public snippets, newest first.","parameters":{"limit":"How many per page. Default 25, maximum 100.","page":"Page number, 1-based. Default 1.","category":"Category id (see \/categories), or the category name.","type":"Optional filter: \"code\" or \"text\".","search":"Matches the name, the description, the code and the address.","favorites":"Set to 1 for only the ones you have starred.","pretty":"Set to 1 for indented JSON while testing."}},{"url":"https:\/\/snippedit.com\/api\/v1\/categories","method":"GET","describes":"Every category with its id and a count of your snippets in it."},{"url":"https:\/\/snippedit.com\/api\/v1\/token","method":"POST","describes":"Exchange a username and password for that account's API key, so a client can offer a login form.","parameters":{"login":"Username or email.","password":"The account password.","scope":"\"all\" for a key that reads every snippet, anything else for public only.","label":"What to call the key in Settings, so it can be told apart later."}}],"rate_limit":"120 requests per 60 seconds, per key."}}