You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This endpoint falls under the `postpastes` ratelimit bucket.
138
+
The `postpastes` bucket has a default ratelimit of {__config['ratelimits']['postpastes']}, and a ratelimit of {__config['ratelimits']['authed_postpastes']} when signed in
This endpoint falls under the `getpaste` ratelimit bucket.
187
+
The `getpaste` bucket has a default ratelimit of {__config['ratelimits']['getpaste']}, and a ratelimit of {__config['ratelimits']['authed_getpaste']} when signed in
f"""Get all pastes for the user you are signed in as via the Authorization header.
200
216
* Requires authentication.
217
+
218
+
This endpoint falls under the `getpaste` ratelimit bucket.
219
+
The `getpaste` bucket has a default ratelimit of {__config['ratelimits']['getpaste']}, and a ratelimit of {__config['ratelimits']['authed_getpaste']} when signed in
You must be the author of the paste (IE, the paste must be created under your account).
250
+
251
+
* Requires authentication
252
+
253
+
This endpoint falls under the `postpastes` ratelimit bucket.
254
+
The `postpastes` bucket has a default ratelimit of {__config['ratelimits']['postpastes']}, and a ratelimit of {__config['ratelimits']['authed_postpastes']} when signed in
You must be the author of the paste (IE, the paste must be created under your account).
289
+
265
290
* Requires authentication.
291
+
292
+
This endpoint falls under the `deletepaste` ratelimit bucket.
293
+
The `deletepaste` bucket has a default ratelimit of {__config['ratelimits']['deletepaste']}, and a ratelimit of {__config['ratelimits']['authed_deletepaste']} when signed in
You must be the author of the pastes (IE, the pastes must be created under your account).
336
+
307
337
* Requires authentication.
338
+
339
+
This endpoint falls under the `deletepaste` ratelimit bucket.
340
+
The `deletepaste` bucket has a default ratelimit of {__config['ratelimits']['deletepaste']}, and a ratelimit of {__config['ratelimits']['authed_deletepaste']} when signed in
308
341
"""
309
342
# We will filter out the pastes that are authorized and unauthorized, and return a clear response
310
343
response= {"succeeded": [], "failed": []}
@@ -333,16 +366,19 @@ async def delete_pastes(
333
366
)
334
367
@limit("postpastes")
335
368
asyncdefcompat_create_paste(request: Request):
336
-
"""
337
-
A compatibility endpoint to maintain hastbin compat. Depreciated in favour of /paste
369
+
f"""
370
+
A compatibility endpoint to maintain hastbin compatibility. Depreciated in favour of /paste
338
371
This endpoint does not allow for syntax highlighting, multi-file, password protection, expiry, etc. Use the /paste endpoint for these features
372
+
373
+
This endpoint falls under the `postpastes` ratelimit bucket.
374
+
The `postpastes` bucket has a default ratelimit of {__config['ratelimits']['postpastes']}, and a ratelimit of {__config['ratelimits']['authed_postpastes']} when signed in
0 commit comments