@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api httpbin.org
@base https://httpbin.org/
@version 0.9.2
@auth ApiKey Authorization in header
@endpoints 73
@hint download_for_search
@toc absolute-redirect(1), anything(10), base64(1), basic-auth(1), bearer(1), brotli(1), bytes(1), cache(2), cookies(4), deflate(1), delay(5), delete(1), deny(1), digest-auth(3), drip(1), encoding(1), etag(1), get(1), gzip(1), headers(1), hidden-basic-auth(1), html(1), image(5), ip(1), json(1), links(1), patch(1), post(1), put(1), range(1), redirect-to(5), redirect(1), relative-redirect(1), response-headers(2), robots.txt(1), status(5), stream-bytes(1), stream(1), user-agent(1), uuid(1), xml(1)

@group absolute-redirect
@endpoint GET /absolute-redirect/{n}
@optional {n: any}
@errors {302}

@endgroup

@group anything
@endpoint DELETE /anything
@returns(200)

@endpoint GET /anything
@returns(200)

@endpoint PATCH /anything
@returns(200)

@endpoint POST /anything
@returns(200)

@endpoint PUT /anything
@returns(200)

@endpoint DELETE /anything/{anything}
@returns(200)

@endpoint GET /anything/{anything}
@returns(200)

@endpoint PATCH /anything/{anything}
@returns(200)

@endpoint POST /anything/{anything}
@returns(200)

@endpoint PUT /anything/{anything}
@returns(200)

@endgroup

@group base64
@endpoint GET /base64/{value}
@optional {value: any}
@returns(200)

@endgroup

@group basic-auth
@endpoint GET /basic-auth/{user}/{passwd}
@optional {user: any, passwd: any}
@returns(200)
@errors {401}

@endgroup

@group bearer
@endpoint GET /bearer
@optional {Authorization: str}
@returns(200)
@errors {401}

@endgroup

@group brotli
@endpoint GET /brotli
@returns(200)

@endgroup

@group bytes
@endpoint GET /bytes/{n}
@optional {n: any}
@returns(200)

@endgroup

@group cache
@endpoint GET /cache
@optional {If-Modified-Since: any, If-None-Match: any}
@returns(200)
@errors {304}

@endpoint GET /cache/{value}
@optional {value: any}
@returns(200)

@endgroup

@group cookies
@endpoint GET /cookies
@returns(200)

@endpoint GET /cookies/delete
@optional {freeform: map}
@returns(200)

@endpoint GET /cookies/set
@optional {freeform: map}
@returns(200)

@endpoint GET /cookies/set/{name}/{value}
@optional {name: any, value: any}
@returns(200)

@endgroup

@group deflate
@endpoint GET /deflate
@returns(200)

@endgroup

@group delay
@endpoint DELETE /delay/{delay}
@optional {delay: any}
@returns(200)

@endpoint GET /delay/{delay}
@optional {delay: any}
@returns(200)

@endpoint PATCH /delay/{delay}
@optional {delay: any}
@returns(200)

@endpoint POST /delay/{delay}
@optional {delay: any}
@returns(200)

@endpoint PUT /delay/{delay}
@optional {delay: any}
@returns(200)

@endgroup

@group delete
@endpoint DELETE /delete
@returns(200)

@endgroup

@group deny
@endpoint GET /deny
@returns(200)

@endgroup

@group digest-auth
@endpoint GET /digest-auth/{qop}/{user}/{passwd}
@optional {qop: any, user: any, passwd: any}
@returns(200)
@errors {401}

@endpoint GET /digest-auth/{qop}/{user}/{passwd}/{algorithm}
@optional {qop: any, user: any, passwd: any, algorithm: any}
@returns(200)
@errors {401}

@endpoint GET /digest-auth/{qop}/{user}/{passwd}/{algorithm}/{stale_after}
@optional {qop: any, user: any, passwd: any, algorithm: any, stale_after: any}
@returns(200)
@errors {401}

@endgroup

@group drip
@endpoint GET /drip
@optional {duration: any, numbytes: any, code: any, delay: any}
@returns(200)

@endgroup

@group encoding
@endpoint GET /encoding/utf8
@returns(200)

@endgroup

@group etag
@endpoint GET /etag/{etag}
@optional {If-None-Match: any, If-Match: any}
@returns(200)
@errors {412}

@endgroup

@group get
@endpoint GET /get
@returns(200)

@endgroup

@group gzip
@endpoint GET /gzip
@returns(200)

@endgroup

@group headers
@endpoint GET /headers
@returns(200)

@endgroup

@group hidden-basic-auth
@endpoint GET /hidden-basic-auth/{user}/{passwd}
@optional {user: any, passwd: any}
@returns(200)
@errors {404}

@endgroup

@group html
@endpoint GET /html
@returns(200)

@endgroup

@group image
@endpoint GET /image
@returns(200)

@endpoint GET /image/jpeg
@returns(200)

@endpoint GET /image/png
@returns(200)

@endpoint GET /image/svg
@returns(200)

@endpoint GET /image/webp
@returns(200)

@endgroup

@group ip
@endpoint GET /ip
@returns(200)

@endgroup

@group json
@endpoint GET /json
@returns(200)

@endgroup

@group links
@endpoint GET /links/{n}/{offset}
@optional {n: any, offset: any}
@returns(200)

@endgroup

@group patch
@endpoint PATCH /patch
@returns(200)

@endgroup

@group post
@endpoint POST /post
@returns(200)

@endgroup

@group put
@endpoint PUT /put
@returns(200)

@endgroup

@group range
@endpoint GET /range/{numbytes}
@optional {numbytes: any}
@returns(200)

@endgroup

@group redirect-to
@endpoint DELETE /redirect-to
@errors {302}

@endpoint GET /redirect-to
@required {url: any}
@optional {status_code: any}
@errors {302}

@endpoint PATCH /redirect-to
@errors {302}

@endpoint POST /redirect-to
@required {url: any}
@optional {status_code: any}
@errors {302}

@endpoint PUT /redirect-to
@required {url: any}
@optional {status_code: any}
@errors {302}

@endgroup

@group redirect
@endpoint GET /redirect/{n}
@optional {n: any}
@errors {302}

@endgroup

@group relative-redirect
@endpoint GET /relative-redirect/{n}
@optional {n: any}
@errors {302}

@endgroup

@group response-headers
@endpoint GET /response-headers
@optional {freeform: map}
@returns(200)

@endpoint POST /response-headers
@optional {freeform: map}
@returns(200)

@endgroup

@group robots.txt
@endpoint GET /robots.txt
@returns(200)

@endgroup

@group status
@endpoint DELETE /status/{codes}
@optional {codes: any}
@returns(200)
@errors {100, 300, 400, 500}

@endpoint GET /status/{codes}
@optional {codes: any}
@returns(200)
@errors {100, 300, 400, 500}

@endpoint PATCH /status/{codes}
@optional {codes: any}
@returns(200)
@errors {100, 300, 400, 500}

@endpoint POST /status/{codes}
@optional {codes: any}
@returns(200)
@errors {100, 300, 400, 500}

@endpoint PUT /status/{codes}
@optional {codes: any}
@returns(200)
@errors {100, 300, 400, 500}

@endgroup

@group stream-bytes
@endpoint GET /stream-bytes/{n}
@optional {n: any}
@returns(200)

@endgroup

@group stream
@endpoint GET /stream/{n}
@optional {n: any}
@returns(200)

@endgroup

@group user-agent
@endpoint GET /user-agent
@returns(200)

@endgroup

@group uuid
@endpoint GET /uuid
@returns(200)

@endgroup

@group xml
@endpoint GET /xml
@returns(200)

@endgroup

@end
