{"components":{"securitySchemes":{"bearer":{"scheme":"bearer","type":"http"}}},"info":{"title":"Midden API","version":"0.6.2"},"openapi":"3.1.0","paths":{"/api/v1/admin/items/{kind}/{id}":{"patch":{"responses":{"200":{"description":"Item updated"}},"summary":"Update item moderation state, notes, or blocked hash"}},"/api/v1/admin/reports":{"get":{"responses":{"200":{"description":"Report list"}},"summary":"List moderation reports"}},"/api/v1/admin/reports/{id}":{"patch":{"responses":{"200":{"description":"Report updated"}},"summary":"Update a moderation report"}},"/api/v1/admin/search":{"get":{"responses":{"200":{"description":"Search results"}},"summary":"Search file and paste metadata as a moderator"}},"/api/v1/claim/{kind}/{id}":{"post":{"responses":{"200":{"description":"Claimed"}},"summary":"Claim an anonymous file or paste with a delete token"}},"/api/v1/files":{"post":{"requestBody":{"content":{"multipart/form-data":{}}},"responses":{"200":{"description":"Uploaded file"}},"summary":"Upload a file"}},"/api/v1/files/{id}":{"delete":{"responses":{"200":{"description":"Deleted"}},"summary":"Delete a file"}},"/api/v1/me/files":{"get":{"responses":{"200":{"description":"File list"}},"summary":"List authenticated account files"}},"/api/v1/me/pastes":{"get":{"responses":{"200":{"description":"Paste list"}},"summary":"List authenticated account pastes"}},"/api/v1/pastes":{"post":{"responses":{"200":{"description":"Created paste"}},"summary":"Create a paste"}},"/api/v1/pastes/{id}":{"delete":{"responses":{"200":{"description":"Deleted"}},"summary":"Delete a paste"}},"/api/v1/reports":{"post":{"responses":{"200":{"description":"Report submitted"}},"summary":"Report a file or paste"}},"/api/v1/tokens":{"get":{"responses":{"200":{"description":"Token list"}},"summary":"List account API tokens"},"post":{"responses":{"200":{"description":"Token created"}},"summary":"Create an account API token"}},"/api/v1/tokens/{id}":{"delete":{"responses":{"200":{"description":"Token revoked"}},"summary":"Revoke an account API token"}}}}