Commit graph

6 commits

Author SHA1 Message Date
Martin Mahner
fc9529572b Added a note that you have to disable ‚lexer‘ to use ‚filename‘.
Might be good to rethink the logic here.
2014-06-09 20:21:26 +02:00
Martin Mahner
3bc2eb0c84 Add support to set a lexer with a given filename. Closes issue #63.
This allows third-party API utils to set the lexer automatically based on the open filename.
2014-06-09 20:18:08 +02:00
Martin Mahner
34181e03f7 Added a API value to set the expire time of snippets. Closes issue #64. 2014-06-08 20:15:59 +02:00
Martin Mahner
dbfbcf54b6 API call accepts the lexer or format parameters now via GET too.
With this you can set the format by the url: /api/?format=json
2014-01-11 16:11:42 +01:00
Martin Mahner
d3e497df4c Added sample api scripts to docs. 2014-01-11 16:03:50 +01:00
Martin Mahner
8702f79591 Added API docs. Fixes issue #38. 2014-01-07 13:37:18 +01:00