Account


Get logged user info

GET /account



Languages


List languages

GET /languages



Snippets


List snippets

GET /snippets

Name Type Description
language_id (optional) int The id of the language
page (optional) int The current page
per_page (optional) int The number of items per page


Get single snippets

GET /snippets/:id

Name Type Description
id int The id of the snippet


Create new snippet

POST /snippets

Name Type Description
language_id int The id of the language
title string The title of the snippet
description (optional) string The description of the snippet
tags (optional) string The tags of the snippet, comma or space separated
private (optional) boolean Specify if snippet is private


Edit a snippet

PUT /snippets/:id

Name Type Description
id int The id of the snippet
language_id int The id of the language
title string The title of the snippet
description (optional) string The description of the snippet
tags (optional) string The tags of the snippet, comma or space separated
private (optional) boolean Specify if snippet is private


Delete a snippet

DELETE /snippets/:id

Name Type Description
id int The id of the snippet


Tags


List tags

GET /tags