Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str NameLoad keyword Str keyword Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad Num Return Call NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Dict Str Str Str Str Str Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Return TupleLoad Call NameLoad keyword Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Str If CompareIn Call AttributeLoad NameLoad attr TupleLoad Str Str Str Str body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return Call NameLoad Assign NameStore Dict Str Str Str Str Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Return Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Return TupleLoad Call NameLoad keyword Str Num If CompareIs NameLoad NameLoad body Return TupleLoad Call NameLoad keyword Str Num orelse If BoolOpAnd UnaryOpNot NameLoad SubscriptLoad NameLoad Index Str body Return TupleLoad Call NameLoad keyword Str Num If SubscriptLoad NameLoad Index Str body If UnaryOpNot NameLoad body Return TupleLoad Call NameLoad keyword Str Num orelse If UnaryOpNot Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad body Return TupleLoad Call NameLoad keyword Str Num Return Call NameLoad Call NameLoad NameLoad keyword SubscriptLoad NameLoad Index Str keyword Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return TupleLoad Call NameLoad keyword Str Num decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam defaults body Return TupleLoad Call NameLoad keyword Str Num decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args defaults body Expr Str Return TupleLoad Call NameLoad keyword Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str
N/A N/A 
v1 PyPaste REST API.

Some weird things:
 - Flask doesn't do routing local to blueprints,
   so any errors registered here won't be used
   unless they're caused in a view (via abort).

   To work around this there is a catch-all route
   that will 404 if no other routes are matched.
   A consequence of this is all POST-only routes
   need to also accept GET to avoid returning a
   404 when GET is used.
   Use the post_only decorator to correctly return
   a JSON 405.

 functools wraps calendar timegm flask Blueprint request jsonify abort render_template PyPaste.utils create_paste_url PyPaste.models.pastes Paste N/A v1 N/A Blueprint v1 __name__ url_prefix /api/v1 template_folder templates post_only N/A N/A func N/A N/A wrapper N/A N/A N/A a kw N/A N/A N/A N/A request method GET N/A N/A N/A abort 405 N/A N/A func a kw N/A N/A wraps func N/A wrapper N/A create_paste_dict N/A N/A paste N/A N/A N/A 
    Creates a dict representation of paste
     N/A N/A title text id hash html unlisted created language N/A paste N/A title N/A paste N/A text N/A paste N/A id N/A paste N/A hash N/A paste N/A highlighted N/A paste N/A unlisted N/A timegm N/A N/A N/A paste N/A created timetuple N/A paste N/A language N/A docs N/A N/A N/A N/A N/A N/A render_template docs.html title api N/A N/A N/A v1 route / new N/A N/A N/A N/A N/A 
    Endpoint for creating a new paste.
     N/A form N/A request form N/A text N/A N/A form get text N/A N/A text None N/A N/A N/A N/A jsonify error required value missing: text 400 N/A unlisted N/A N/A form get unlisted f N/A N/A N/A N/A unlisted lower N/A 1 true t y N/A N/A unlisted True N/A N/A unlisted False N/A paste N/A text title language password unlisted text N/A N/A form get title N/A N/A form get lang text N/A N/A form get password unlisted N/A p N/A N/A Paste new paste N/A N/A Paste N/A N/A N/A internal_server_error N/A response N/A url shorturl paste password N/A create_paste_url p N/A p N/A shortlink N/A create_paste_dict p N/A paste N/A password N/A N/A jsonify response N/A N/A N/A v1 route /new methods N/A POST GET post_only get N/A N/A N/A N/A N/A p_id N/A N/A N/A request args get id None type int N/A p_hash N/A N/A N/A request args get hash None N/A password N/A N/A N/A request args get password N/A p_hash N/A N/A paste N/A N/A Paste by_hash p_hash N/A N/A p_id N/A N/A paste N/A N/A Paste by_id p_id N/A N/A N/A N/A jsonify error no id or hash supplied 400 N/A N/A paste None N/A N/A N/A N/A jsonify error paste not found 404 N/A N/A N/A N/A p_hash N/A paste N/A unlisted N/A N/A N/A N/A jsonify error paste is unlisted 400 N/A N/A paste N/A password N/A N/A N/A password N/A N/A N/A N/A jsonify error paste is password protected 401 N/A N/A N/A N/A N/A Paste password_match N/A paste N/A hash password N/A N/A N/A N/A jsonify error incorrect password 401 N/A N/A jsonify N/A create_paste_dict paste shorturl N/A paste N/A shortlink url N/A create_paste_url paste N/A N/A N/A v1 route /get not_found N/A N/A error N/A N/A N/A N/A N/A jsonify error resource not found 404 N/A N/A N/A v1 errorhandler 404 unsupported_method N/A N/A error N/A N/A N/A N/A N/A jsonify error unsupported http method 405 N/A N/A N/A v1 errorhandler 405 internal_server_error N/A N/A N/A N/A N/A 
    It's not possible to register 500 in a blueprint,
    this function will need to be called directly
     N/A N/A N/A jsonify error internal server error 500 N/A catchall N/A N/A path N/A N/A N/A 
    This catches all undefined endpoints
    and responds with a JSON 404 resource
     N/A N/A abort 404 N/A N/A N/A v1 route /<path:path>