Youten-API¶
Youten is a simple app to help manage your code snippets. This documentation covers the brains(API) behind this app.
API¶
Note: All request-response communication should be done in JSON.
Get all snippets by programming language¶
/v1/snippets/language/<language> GET
- returns:
- JSON array of all snippets created in the specified language
Search for a snippet¶
/v1/snippets/search POST
- params:
- query (Could be language or even a portion of code snippet)
- returns:
- JSON array of snippets matching the query