{
  "data": {
    "endpoints": {
      "compat_curl_upload": {
        "POST /": "0x0.st (-F file=@…) / sprunge (-F sprunge=<-) / ix.io (-F f:1=<-) / raw body; returns bare URL"
      },
      "compat_dpaste": {
        "POST /api/": "create paste (also /api/v2/); format=url|json",
        "POST /api/v2/": "create paste (dpaste v2 alias)"
      },
      "compat_hastebin": {
        "GET  /documents/{key}": "get document; returns {\"key\":\"…\",\"data\":\"…\"}",
        "POST /documents": "create document; returns {\"key\":\"…\"}"
      },
      "compat_lenpaste": {
        "DELETE /api/remove": "delete paste (?id=ID&deleteToken=TOKEN) (also /api/v1/remove)",
        "GET    /api/get": "get paste (?id=ID) (also /api/v1/get)",
        "GET    /api/list": "list pastes (also /api/v1/list)",
        "GET    /api/v1/getServerInfo": "server metadata",
        "POST   /api/new": "create paste (also /api/v1/new)"
      },
      "compat_microbin": {
        "DELETE /api/v1/pasta/{id}": "delete paste",
        "GET    /api/v1/pasta": "list pastes",
        "GET    /api/v1/pasta/{id}": "get paste",
        "POST   /api/v1/pasta": "create paste"
      },
      "compat_pastebin": {
        "GET  /api/api_raw.php": "get raw paste (?i=ID)",
        "POST /api/api_login.php": "always returns ANONYMOUS",
        "POST /api/api_post.php": "create/list/delete paste (api_option field dispatches)"
      },
      "compat_stikked": {
        "GET  /api/paste/{id}": "get paste as JSON",
        "POST /api/create": "create paste; returns bare URL"
      },
      "native": {
        "DELETE /api/v1/pastes/{id}": "delete paste (requires token)",
        "GET    /api/v1/pastes": "list public pastes",
        "GET    /api/v1/pastes/{id}": "get paste JSON",
        "GET    /api/v1/pastes/{id}/raw": "get paste raw text",
        "POST   /api/v1/pastes": "create paste (JSON/multipart/raw)"
      },
      "web": {
        "GET  /": "home",
        "GET  /create": "create form",
        "GET  /dl/{id}": "download",
        "GET  /emb/{id}": "embed view",
        "GET  /raw/{id}": "raw content",
        "GET  /remove/{id}": "delete form",
        "GET  /{id}": "view paste",
        "POST /create": "create paste (form/raw)"
      }
    },
    "examples": {
      "curl_file": "curl -F 'files=@code.py' https://pste.us/create",
      "curl_json": "curl -H \"Content-Type: application/json\" -d '{\"content\":\"hello\"}' https://pste.us/api/v1/pastes",
      "curl_raw": "curl --data-binary @file.txt https://pste.us/create",
      "pipe": "cat file.txt | curl --data-binary @- https://pste.us/create"
    },
    "name": "Cairnbin API",
    "version": "devel"
  },
  "ok": true
}
