Bakka.su APIs

URL structure: {base}/{method}/{output_format} bakka.su/paste/api/get/json
Available output formats are json, msgpack. Arguments can be passed through query (?foo=bar) or by POST request with serialized data.
Postdata format is specified by Content-Type header. Accepted formats:

Paste API

Base url: bakka.su/paste/api
pid: full, long paste id with == at the end.
sid: short paste id.

Shorter API

Base url: bakka.su/short/api
pid: full, long uri id with == at the end.
sid: short id, usually ignored if pid is present.