{"components":{"parameters":{"accountIdOrNickname":{"description":"Account ID or nickname","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}},"responses":{},"schemas":{"ChatMessage":{"description":"Response schema for a ChatMessage","example":{"account_id":"someflakeid","attachment":null,"card":null,"chat_id":"1","content":"hey you again","created_at":"2020-04-21T15:06:45.000Z","emojis":[{"shortcode":"firefox","static_url":"https://dontbulling.me/emoji/Firefox.gif","url":"https://dontbulling.me/emoji/Firefox.gif","visible_in_picker":false}],"id":"14","unread":false},"nullable":true,"properties":{"account_id":{"description":"The Mastodon API id of the actor","type":"string"},"attachment":{"nullable":true,"type":"object"},"card":{"description":"Preview card for links included within status content","nullable":true,"properties":{"description":{"description":"Description of preview","type":"string"},"image":{"description":"Preview thumbnail","format":"uri","nullable":true,"type":"string"},"provider_name":{"description":"The provider of the original resource","nullable":true,"type":"string"},"provider_url":{"description":"A link to the provider of the original resource","format":"uri","type":"string"},"title":{"description":"Title of linked resource","type":"string"},"type":{"description":"The type of the preview card","enum":["link","photo","video","rich"],"type":"string"},"url":{"description":"Location of linked resource","format":"uri","type":"string"}},"required":["url","title","description","type"],"type":"object"},"chat_id":{"type":"string"},"content":{"nullable":true,"type":"string"},"created_at":{"format":"date-time","type":"string"},"emojis":{"items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"id":{"type":"string"},"unread":{"description":"Whether a message has been marked as read.","type":"boolean"}},"title":"ChatMessage","type":"object"},"RemoteInteractionRequest":{"description":"POST body for remote interaction","properties":{"ap_id":{"description":"Profile or status ActivityPub ID","type":"string"},"profile":{"description":"Remote profile webfinger","type":"string"}},"required":["ap_id","profile"],"title":"RemoteInteractionRequest","type":"object"},"Authenticate":{"description":"Authenticate via an access token.","properties":{"token":{"description":"An OAuth access token with corresponding permissions.","example":"some token","type":"string"},"type":{"description":"Type of the event.","enum":["pleroma:authenticate"],"type":"string"}},"required":["type","token"],"title":"Authenticate","type":"object"},"SubscriptionCreateRequest":{"description":"POST body for creating a push subscription","example":{"data":{"alerts":{"follow":true,"mention":true,"poll":false}},"subscription":{"endpoint":"https://example.com/example/1234","keys":{"auth":"8eDyX_uCN0XRhSbY5hs7Hg==","p256dh":"BCIWgsnyXDv1VkhqL2P7YRBvdeuDnlwAPT2guNhdIoW3IP7GmHh1SMKPLxRf7x8vJy6ZFK3ol2ohgn_-0yP7QQA="}}},"properties":{"data":{"nullable":true,"properties":{"alerts":{"nullable":true,"properties":{"favourite":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive favourite notifications?","nullable":true},"follow":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive follow notifications?","nullable":true},"mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive mention notifications?","nullable":true},"pleroma:chat_mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive chat notifications?","nullable":true},"pleroma:emoji_reaction":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive emoji reaction notifications?","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive poll notifications?","nullable":true},"reblog":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive reblog notifications?","nullable":true}},"type":"object"}},"type":"object"},"subscription":{"properties":{"endpoint":{"description":"Endpoint URL that is called when a notification event occurs.","type":"string"},"keys":{"properties":{"auth":{"description":"Auth secret. Base64 encoded string of 16 bytes of random data.","type":"string"},"p256dh":{"description":"User agent public key. Base64 encoded string of public key of ECDH key using `prime256v1` curve.","type":"string"}},"required":["p256dh","auth"],"type":"object"}},"required":["endpoint","keys"],"type":"object"}},"required":["subscription"],"title":"SubscriptionCreateRequest","type":"object"},"Status id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"Id of the deleted status","example":"some-opaque-id","title":"Status id","type":"string"},"PushSubscription":{"description":"Response schema for a push subscription","example":{"alerts":{"favourite":true,"follow":true,"mention":true,"poll":true,"reblog":true},"endpoint":"https://yourdomain.example/listener","id":"328_183","server_key":"BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M="},"properties":{"alerts":{"description":"Which alerts should be delivered to the endpoint.","properties":{"favourite":{"description":"Receive a push notification when a status you created has been favourited by someone else?","type":"boolean"},"follow":{"description":"Receive a push notification when someone has followed you?","type":"boolean"},"mention":{"description":"Receive a push notification when someone else has mentioned you in a status?","type":"boolean"},"poll":{"description":"Receive a push notification when a poll you voted in or created has ended? ","type":"boolean"},"reblog":{"description":"Receive a push notification when a status you created has been boosted by someone else?","type":"boolean"}},"type":"object"},"endpoint":{"description":"Where push alerts will be sent to.","type":"string"},"id":{"anyOf":[{"type":"string"},{"type":"integer"}],"description":"The id of the push subscription in the database."},"server_key":{"description":"The streaming server's VAPID key.","type":"string"}},"title":"PushSubscription","type":"object"},"ArrayOfLists":{"description":"Response schema for lists","example":[{"id":"123","title":"my list"},{"id":"1337","title":"anotehr list"}],"items":{"$ref":"#/components/schemas/List"},"title":"ArrayOfLists","type":"array"},"oAuthApp":{"example":{"client_id":"TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM","client_secret":"ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw","id":123,"name":"My App","redirect_uri":"https://myapp.com/oauth-callback","trusted":false,"website":"https://myapp.com/"},"properties":{"client_id":{"type":"string"},"client_secret":{"type":"string"},"id":{"type":"integer"},"name":{"type":"string"},"redirect_uri":{"type":"string"},"trusted":{"type":"boolean"},"website":{"nullable":true,"type":"string"}},"title":"oAuthApp","type":"object"},"ReportResponse":{"example":{"action_taken":false,"id":"123"},"properties":{"action_taken":{"description":"Is action taken?","type":"boolean"},"id":{"description":"Report ID","type":"string"}},"title":"ReportResponse","type":"object"},"Backup":{"description":"Response schema for a backup","example":{"content_type":"application/zip","file_name":"https://cofe.fe:4000/media/backups/archive-foobar-20200908T164207-Yr7vuT5Wycv-sN3kSN2iJ0k-9pMo60j9qmvRCdDqIew.zip","file_size":4105,"inserted_at":"2020-09-08T16:42:07.000Z","processed":true,"tempdir":"/tmp/PZIMw40vmpM"},"properties":{"content_type":{"type":"string"},"file_name":{"type":"string"},"file_size":{"type":"integer"},"inserted_at":{"format":"date-time","type":"string"},"processed":{"description":"whether this backup has succeeded","type":"boolean"},"tempdir":{"type":"string"}},"title":"Backup","type":"object"},"EmojiReaction":{"example":{"accounts":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"count":1,"me":false,"name":"😱"},"properties":{"accounts":{"description":"Array of accounts reacted with this emoji","items":{"$ref":"#/components/schemas/Account"},"type":"array"},"count":{"description":"Count of reactions with this emoji","type":"integer"},"me":{"description":"Did I react with this emoji?","type":"boolean"},"name":{"description":"Emoji","type":"string"}},"title":"EmojiReaction","type":"object"},"MarkAsReadRequest":{"description":"POST body for marking a number of chat messages as read","example":{"last_read_id":"abcdef12456"},"properties":{"last_read_id":{"description":"The content of your message.","type":"string"}},"required":["last_read_id"],"title":"MarkAsReadRequest","type":"object"},"Edit":{"description":"A status that was just edited","example":{"event":"status.update","payload":"{\"account\":{\"acct\":\"nick6\",\"avatar\":\"http://localhost:4001/images/avi.png\",\"avatar_static\":\"http://localhost:4001/images/avi.png\",\"bot\":false,\"created_at\":\"2020-04-07T19:48:51.000Z\",\"display_name\":\"Test テスト User 6\",\"emojis\":[],\"fields\":[],\"followers_count\":1,\"following_count\":0,\"header\":\"http://localhost:4001/images/banner.png\",\"header_static\":\"http://localhost:4001/images/banner.png\",\"id\":\"9toJCsKN7SmSf3aj5c\",\"is_locked\":false,\"note\":\"Tester Number 6\",\"pleroma\":{\"background_image\":null,\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":true,\"is_moderator\":false,\"relationship\":{\"blocked_by\":false,\"blocking\":false,\"domain_blocking\":false,\"endorsed\":false,\"followed_by\":false,\"following\":true,\"id\":\"9toJCsKN7SmSf3aj5c\",\"muting\":false,\"muting_notifications\":false,\"note\":\"\",\"notifying\":false,\"requested\":false,\"showing_reblogs\":true,\"subscribing\":false},\"skip_thread_containment\":false,\"tags\":[]},\"source\":{\"fields\":[],\"note\":\"Tester Number 6\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false},\"sensitive\":false},\"statuses_count\":1,\"url\":\"http://localhost:4001/users/nick6\",\"username\":\"nick6\"},\"application\":null,\"bookmarked\":false,\"card\":null,\"content\":\"foobar\",\"created_at\":\"2020-04-07T19:48:51.000Z\",\"emojis\":[],\"favourited\":false,\"favourites_count\":0,\"id\":\"9toJCu5YZW7O7gfvH6\",\"in_reply_to_account_id\":null,\"in_reply_to_id\":null,\"language\":null,\"media_attachments\":[],\"mentions\":[],\"muted\":false,\"pinned\":false,\"pleroma\":{\"content\":{\"text/plain\":\"foobar\"},\"context\":\"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa\",\"conversation_id\":345972,\"direct_conversation_id\":null,\"emoji_reactions\":[],\"expires_at\":null,\"in_reply_to_account_acct\":null,\"local\":true,\"quotes_count\":0,\"spoiler_text\":{\"text/plain\":\"\"},\"thread_muted\":false},\"poll\":null,\"quotes_count\":0,\"reblog\":null,\"reblogged\":false,\"reblogs_count\":0,\"replies_count\":0,\"sensitive\":false,\"spoiler_text\":\"\",\"tags\":[],\"uri\":\"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190\",\"url\":\"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6\",\"visibility\":\"private\"}","stream":["hashtag","mew"]},"properties":{"event":{"description":"Type of the event.","enum":["status.update"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"JSON-encoded string of Status","title":"Event payload"},"stream":{"description":"The stream identifier.\nThe first item is the name of the stream. If the stream needs a differentiator, the second item will be the corresponding identifier.\nCurrently, for the following stream types, there is a second element in the array:\n\n- `list`: The second element is the id of the list, as a string.\n- `hashtag`: The second element is the name of the hashtag.\n- `public:remote:media` and `public:remote`: The second element is the domain of the corresponding instance.\n","example":["hashtag","mew"],"items":{"type":"string"},"maxItems":2,"minItems":1,"title":"Stream","type":"array"}},"required":["event","payload","stream"],"title":"Edit","type":"object"},"AccountDeleteRequest":{"description":"POST body for deleting one's own account","example":{"password":"prettyp0ony1313"},"properties":{"password":{"description":"The user's own password for confirmation.","format":"password","type":"string"}},"title":"AccountDeleteRequest","type":"object"},"Domain name":{"description":"Domain name of the instance. Required when `stream` is `public:remote` or `public:remote:media`.","example":"example.org","title":"Domain name","type":"string"},"ArrayOfBlockedAccounts":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","block_expires_at":"2025-11-29T16:23:13Z","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"allOf":[{"$ref":"#/components/schemas/Account"},{"properties":{"block_expires_at":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"}],"description":"Response schema for a blocked account","title":"BlockedAccount"},"title":"ArrayOfBlockedAccounts","type":"array"},"AccountCreateResponse":{"description":"Response schema for an account","example":{"access_token":"i9hAVVzGld86Pl5JtLtizKoXVvtTlSCJvwaugCxvZzk","created_at":1585918714,"expires_in":600,"me":"https://gensokyo.2hu/users/raymoo","refresh_token":"i9hAVVzGld86Pl5JtLtizKoXVvtTlSCJvwaugCxvZzz","scope":"read write follow push","token_type":"Bearer"},"properties":{"access_token":{"type":"string"},"created_at":{"format":"date-time","type":"integer"},"expires_in":{"type":"integer"},"identifier":{"type":"string"},"me":{"type":"string"},"message":{"type":"string"},"refresh_token":{"type":"string"},"scope":{"type":"string"},"token_type":{"type":"string"}},"title":"AccountCreateResponse","type":"object"},"New status":{"description":"A newly-posted status.","example":{"event":"update","payload":"{\"account\":{\"acct\":\"nick6\",\"avatar\":\"http://localhost:4001/images/avi.png\",\"avatar_static\":\"http://localhost:4001/images/avi.png\",\"bot\":false,\"created_at\":\"2020-04-07T19:48:51.000Z\",\"display_name\":\"Test テスト User 6\",\"emojis\":[],\"fields\":[],\"followers_count\":1,\"following_count\":0,\"header\":\"http://localhost:4001/images/banner.png\",\"header_static\":\"http://localhost:4001/images/banner.png\",\"id\":\"9toJCsKN7SmSf3aj5c\",\"is_locked\":false,\"note\":\"Tester Number 6\",\"pleroma\":{\"background_image\":null,\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":true,\"is_moderator\":false,\"relationship\":{\"blocked_by\":false,\"blocking\":false,\"domain_blocking\":false,\"endorsed\":false,\"followed_by\":false,\"following\":true,\"id\":\"9toJCsKN7SmSf3aj5c\",\"muting\":false,\"muting_notifications\":false,\"note\":\"\",\"notifying\":false,\"requested\":false,\"showing_reblogs\":true,\"subscribing\":false},\"skip_thread_containment\":false,\"tags\":[]},\"source\":{\"fields\":[],\"note\":\"Tester Number 6\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false},\"sensitive\":false},\"statuses_count\":1,\"url\":\"http://localhost:4001/users/nick6\",\"username\":\"nick6\"},\"application\":null,\"bookmarked\":false,\"card\":null,\"content\":\"foobar\",\"created_at\":\"2020-04-07T19:48:51.000Z\",\"emojis\":[],\"favourited\":false,\"favourites_count\":0,\"id\":\"9toJCu5YZW7O7gfvH6\",\"in_reply_to_account_id\":null,\"in_reply_to_id\":null,\"language\":null,\"media_attachments\":[],\"mentions\":[],\"muted\":false,\"pinned\":false,\"pleroma\":{\"content\":{\"text/plain\":\"foobar\"},\"context\":\"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa\",\"conversation_id\":345972,\"direct_conversation_id\":null,\"emoji_reactions\":[],\"expires_at\":null,\"in_reply_to_account_acct\":null,\"local\":true,\"quotes_count\":0,\"spoiler_text\":{\"text/plain\":\"\"},\"thread_muted\":false},\"poll\":null,\"quotes_count\":0,\"reblog\":null,\"reblogged\":false,\"reblogs_count\":0,\"replies_count\":0,\"sensitive\":false,\"spoiler_text\":\"\",\"tags\":[],\"uri\":\"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190\",\"url\":\"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6\",\"visibility\":\"private\"}","stream":["hashtag","mew"]},"properties":{"event":{"description":"Type of the event.","enum":["update"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"JSON-encoded string of Status","title":"Event payload"},"stream":{"description":"The stream identifier.\nThe first item is the name of the stream. If the stream needs a differentiator, the second item will be the corresponding identifier.\nCurrently, for the following stream types, there is a second element in the array:\n\n- `list`: The second element is the id of the list, as a string.\n- `hashtag`: The second element is the name of the hashtag.\n- `public:remote:media` and `public:remote`: The second element is the domain of the corresponding instance.\n","example":["hashtag","mew"],"items":{"type":"string"},"maxItems":2,"minItems":1,"title":"Stream","type":"array"}},"required":["event","payload","stream"],"title":"New status","type":"object"},"FrontendInstallRequest":{"properties":{"build_dir":{"type":"string"},"build_url":{"type":"string"},"file":{"type":"string"},"name":{"type":"string"},"ref":{"type":"string"}},"required":["name"],"title":"FrontendInstallRequest","type":"object"},"MarkersUpsertRequest":{"description":"Request schema for marker upsert","example":{"home":{"last_read_id":"103194548672408537","updated_at":"2019-11-24T19:39:39.337Z","version":462}},"properties":{"home":{"nullable":true,"properties":{"last_read_id":{"nullable":true,"type":"string"}},"type":"object"},"notifications":{"nullable":true,"properties":{"last_read_id":{"nullable":true,"type":"string"}},"type":"object"}},"title":"MarkersUpsertRequest","type":"object"},"AnnouncementChangeRequest":{"properties":{"all_day":{"type":"boolean"},"content":{"type":"string"},"ends_at":{"format":"date-time","nullable":true,"type":"string"},"starts_at":{"format":"date-time","nullable":true,"type":"string"}},"title":"AnnouncementChangeRequest","type":"object"},"Subscribe":{"description":"Subscribe to a stream.","example":{"list":"1","stream":"list","type":"subscribe"},"properties":{"instance":{"description":"Domain name of the instance. Required when `stream` is `public:remote` or `public:remote:media`.","example":"example.org","title":"Domain name","type":"string"},"list":{"description":"The id of the list. Required when `stream` is `list`.","example":"some-id","title":"List id","type":"string"},"stream":{"description":"The name of the stream.","enum":["public","public:local","public:media","public:local:media","public:remote","public:remote:media","user","user:pleroma_chat","user:notification","direct","list","hashtag"],"type":"string"},"tag":{"description":"The name of the hashtag. Required when `stream` is `hashtag`.","example":"mew","title":"Hashtag name","type":"string"},"type":{"description":"Type of the event.","enum":["subscribe"],"type":"string"}},"required":["type","stream"],"title":"Subscribe","type":"object"},"Hashtag name":{"description":"The name of the hashtag. Required when `stream` is `hashtag`.","example":"mew","title":"Hashtag name","type":"string"},"AddAliasRequest":{"description":"PUT body for adding aliases","properties":{"alias":{"description":"The nickname of the account to add to aliases","type":"string"}},"required":["alias"],"title":"AddAliasRequest","type":"object"},"Emoji":{"description":"Response schema for an emoji","example":{"shortcode":"fatyoshi","static_url":"https://files.mastodon.social/custom_emojis/images/000/023/920/static/e57ecb623faa0dc9.png","url":"https://files.mastodon.social/custom_emojis/images/000/023/920/original/e57ecb623faa0dc9.png","visible_in_picker":true},"properties":{"shortcode":{"type":"string"},"static_url":{"format":"uri","type":"string"},"url":{"format":"uri","type":"string"},"visible_in_picker":{"type":"boolean"}},"title":"Emoji","type":"object"},"Not Found":{"description":"Response schema for 404 API errors","example":{"error":"Record not found"},"properties":{"error":{"type":"string"}},"title":"Not Found","type":"object"},"DeleteAliasRequest":{"description":"PUT body for deleting aliases","properties":{"alias":{"description":"The nickname of the account to delete from aliases","type":"string"}},"required":["alias"],"title":"DeleteAliasRequest","type":"object"},"Tag":{"description":"Represents a hashtag used within the content of a status","example":{"following":false,"name":"cofe","url":"https://lain.com/tag/cofe"},"properties":{"following":{"description":"Whether the authenticated user is following the hashtag","type":"boolean"},"history":{"description":"A list of historical uses of the hashtag (not implemented, for compatibility only)","items":{"type":"string"},"type":"array"},"name":{"description":"The value of the hashtag after the # sign","type":"string"},"url":{"description":"A link to the hashtag on the instance","format":"uri","type":"string"}},"title":"Tag","type":"object"},"Unsubscribe":{"description":"Unsubscribe from a stream.","example":{"instance":"example.org","stream":"public:remote:media","type":"unsubscribe"},"properties":{"instance":{"description":"Domain name of the instance. Required when `stream` is `public:remote` or `public:remote:media`.","example":"example.org","title":"Domain name","type":"string"},"list":{"description":"The id of the list. Required when `stream` is `list`.","example":"some-id","title":"List id","type":"string"},"stream":{"description":"The name of the stream.","enum":["public","public:local","public:media","public:local:media","public:remote","public:remote:media","user","user:pleroma_chat","user:notification","direct","list","hashtag"],"type":"string"},"tag":{"description":"The name of the hashtag. Required when `stream` is `hashtag`.","example":"mew","title":"Hashtag name","type":"string"},"type":{"description":"Type of the event.","enum":["unsubscribe"],"type":"string"}},"required":["type","stream"],"title":"Unsubscribe","type":"object"},"MoveAccountRequest":{"description":"POST body for moving the account","properties":{"password":{"description":"Current password","type":"string"},"target_account":{"description":"The nickname of the target account to move to","type":"string"}},"required":["password","target_account"],"title":"MoveAccountRequest","type":"object"},"ReportCreateRequest":{"description":"POST body for creating a report","example":{"account_id":"123","comment":"bad status!","forward":"false","rule_ids":["3"],"status_ids":["1337"]},"properties":{"account_id":{"description":"ID of the account to report","type":"string"},"comment":{"description":"Reason for the report","nullable":true,"type":"string"},"forward":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false,"description":"If the account is remote, should the report be forwarded to the remote admin?","nullable":true},"rule_ids":{"description":"Array of rules","items":{"type":"string"},"nullable":true,"type":"array"},"status_ids":{"description":"Array of Statuses to attach to the report, for context","items":{"type":"string"},"nullable":true,"type":"array"}},"required":["account_id"],"title":"ReportCreateRequest","type":"object"},"Attachment":{"description":"Represents a file or media attachment that can be added to a status.","example":{"description":null,"id":"1638338801","pleroma":{"mime_type":"image/png"},"preview_url":"someurl","remote_url":"someurl","text_url":"someurl","type":"image","url":"someurl"},"properties":{"description":{"description":"Alternate text that describes what is in the media attachment, to be used for the visually impaired or when media attachments do not load","nullable":true,"type":"string"},"id":{"description":"The ID of the attachment in the database.","type":"string"},"pleroma":{"properties":{"mime_type":{"description":"mime type of the attachment","type":"string"},"name":{"description":"Name of the attachment, typically the filename","type":"string"}},"type":"object"},"preview_url":{"description":"The location of a scaled-down preview of the attachment","format":"uri","type":"string"},"remote_url":{"description":"The location of the full-size original attachment on the remote website. String (URL), or null if the attachment is local","format":"uri","nullable":true,"type":"string"},"text_url":{"description":"A shorter URL for the attachment","format":"uri","type":"string"},"type":{"description":"The type of the attachment","enum":["image","video","audio","unknown"],"type":"string"},"url":{"description":"The location of the original full-size attachment","format":"uri","type":"string"}},"required":["id","url","preview_url"],"title":"Attachment","type":"object"},"ChangeEmailRequest":{"description":"POST body for changing the account's email","properties":{"email":{"description":"New email. Set to blank to remove the user's email.","type":"string"},"password":{"description":"Current password","type":"string"}},"required":["email","password"],"title":"ChangeEmailRequest","type":"object"},"oAuthAppCreateRequest":{"example":{"name":"My App","redirect_uris":["https://myapp.com/auth/callback"],"scopes":["read","write"],"trusted":true,"website":"https://myapp.com/"},"properties":{"name":{"description":"Application Name","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"description":"oAuth scopes","items":{"type":"string"},"type":"array"},"trusted":{"default":false,"description":"Is the app trusted?","nullable":true,"type":"boolean"},"website":{"description":"A URL to the homepage of the app","nullable":true,"type":"string"}},"required":["name","redirect_uris"],"title":"oAuthAppCreateRequest","type":"object"},"oAuthAppUpdateRequest":{"example":{"name":"My App","redirect_uris":["https://myapp.com/auth/callback"],"scopes":["read","write"],"trusted":true,"website":"https://myapp.com/"},"properties":{"name":{"description":"Application Name","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"description":"oAuth scopes","items":{"type":"string"},"type":"array"},"trusted":{"default":false,"description":"Is the app trusted?","nullable":true,"type":"boolean"},"website":{"description":"A URL to the homepage of the app","nullable":true,"type":"string"}},"title":"oAuthAppUpdateRequest","type":"object"},"ArrayOfFilters":{"description":"Array of Filters","example":[{"context":["home","notifications","public","thread"],"expires_at":null,"id":"5580","irreversible":true,"phrase":"@twitter.com","whole_word":false},{"context":["home"],"expires_at":"2019-05-21T13:47:31.333Z","id":"6191","irreversible":false,"phrase":":eurovision2019:","whole_word":true}],"items":{"example":{"context":["home","notifications","public","thread"],"expires_at":null,"id":"5580","irreversible":true,"phrase":"@twitter.com","whole_word":false},"properties":{"context":{"description":"The contexts in which the filter should be applied.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_at":{"description":"When the filter should no longer be applied. String (ISO 8601 Datetime), or null if the filter does not expire.","format":"date-time","nullable":true,"type":"string"},"id":{"type":"string"},"irreversible":{"description":"Should matching entities in home and notifications be dropped by the server?","type":"boolean"},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"description":"Should the filter consider word boundaries?","type":"boolean"}},"title":"Filter","type":"object"},"title":"ArrayOfFilters","type":"array"},"AnnouncementCreateRequest":{"properties":{"all_day":{"type":"boolean"},"content":{"type":"string"},"ends_at":{"format":"date-time","nullable":true,"type":"string"},"starts_at":{"format":"date-time","nullable":true,"type":"string"}},"required":["content"],"title":"AnnouncementCreateRequest","type":"object"},"FilterCreateRequest":{"allOf":[{"example":{"context":["home"],"phrase":"knights"},"properties":{"context":{"description":"Array of enumerable strings `home`, `notifications`, `public`, `thread`. At least one context must be specified.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_in":{"description":"Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire.","nullable":true,"type":"integer"},"irreversible":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Should the server irreversibly drop matching entities from home and notifications?","nullable":true},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Consider word boundaries?","nullable":true}},"required":["phrase","context"],"title":"FilterUpdateRequest","type":"object"},{"properties":{"irreversible":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false,"description":"Should the server irreversibly drop matching entities from home and notifications?"}},"type":"object"}],"example":{"context":["home"],"phrase":"knights"},"title":"FilterCreateRequest"},"VisibilityScope":{"description":"Status visibility","enum":["public","unlisted","local","private","direct","list"],"title":"VisibilityScope","type":"string"},"BlockedAccount":{"allOf":["Elixir.Pleroma.Web.ApiSpec.Schemas.Account",{"properties":{"block_expires_at":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"}],"description":"Response schema for a blocked account","title":"BlockedAccount"},"Chat":{"description":"Response schema for a Chat","example":{"account":{"acct":"lain@dontbulling.me","avatar":"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg","avatar_static":"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg","bot":false,"created_at":"2020-04-16T13:40:15.000Z","display_name":"lain","emojis":[],"fields":[],"followers_count":0,"following_count":0,"header":"https://originalpatchou.li/images/banner.png","header_static":"https://originalpatchou.li/images/banner.png","id":"9u6Qw6TAZANpqokMkK","is_locked":false,"note":"lain","pleroma":{"ap_id":"https://dontbulling.me/users/lain","background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"lain","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"https://dontbulling.me/users/lain","username":"lain"},"id":"1","last_message":{"account_id":"someflakeid","attachment":null,"card":null,"chat_id":"1","content":"hey you again","created_at":"2020-04-21T15:06:45.000Z","emojis":[{"shortcode":"firefox","static_url":"https://dontbulling.me/emoji/Firefox.gif","url":"https://dontbulling.me/emoji/Firefox.gif","visible_in_picker":false}],"id":"14","unread":false},"pinned":false,"unread":2,"updated_at":"2020-04-21T15:06:45.000Z"},"properties":{"account":{"type":"object"},"id":{"type":"string"},"last_message":{"$ref":"#/components/schemas/ChatMessage"},"pinned":{"type":"boolean"},"unread":{"type":"integer"},"updated_at":{"format":"date-time","type":"string"}},"title":"Chat","type":"object"},"ActorType":{"enum":["Application","Group","Organization","Person","Service"],"title":"ActorType","type":"string"},"Conversation":{"description":"Represents a conversation with \"direct message\" visibility.","example":{"accounts":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"id":"418450","last_status":{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"},"unread":true},"properties":{"accounts":{"description":"Participants in the conversation","items":{"$ref":"#/components/schemas/Account"},"type":"array"},"id":{"type":"string"},"last_status":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"The last status in the conversation, to be used for optional display"},"unread":{"description":"Is the conversation currently marked as unread?","type":"boolean"}},"required":["id","accounts","unread"],"title":"Conversation","type":"object"},"ArrayOfAccounts":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"},"Notification":{"description":"Response schema for a notification","example":{"account":{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"},"created_at":"2019-11-23T07:49:02.064Z","group-key":"ungrouped-34975861","id":"34975861","pleroma":{"is_muted":false,"is_seen":false},"status":{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"},"type":"mention"},"properties":{"account":{"allOf":[{"$ref":"#/components/schemas/Account"}],"description":"The account that performed the action that generated the notification."},"created_at":{"format":"date-time","type":"string"},"group_key":{"description":"Group key shared by similar notifications","type":"string"},"id":{"type":"string"},"pleroma":{"properties":{"is_muted":{"type":"boolean"},"is_seen":{"type":"boolean"}},"type":"object"},"status":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"Status that was the object of the notification, e.g. in mentions, reblogs, favourites, or polls.","nullable":true},"type":{"description":"The type of event that resulted in the notification.\n\n- `follow` - Someone followed you\n- `mention` - Someone mentioned you in their status\n- `reblog` - Someone boosted one of your statuses\n- `favourite` - Someone favourited one of your statuses\n- `poll` - A poll you have voted in or created has ended\n- `move` - Someone moved their account\n- `pleroma:emoji_reaction` - Someone reacted with emoji to your status\n- `pleroma:chat_mention` - Someone mentioned you in a chat message\n- `pleroma:report` - Someone was reported\n- `status` - Someone you are subscribed to created a status\n- `update` - A status you boosted has been edited\n- `admin.sign_up` - Someone signed up (optionally sent to admins)\n- `admin.report` - A new report has been filed\n","enum":["follow","favourite","reblog","mention","pleroma:emoji_reaction","pleroma:chat_mention","pleroma:report","move","follow_request","poll","status","update","admin.sign_up","admin.report"],"type":"string"}},"title":"Notification","type":"object"},"BookmarkFolderUpdateRequest":{"properties":{"emoji":{"description":"Folder emoji","nullable":true,"type":"string"},"name":{"description":"Folder name","nullable":true,"type":"string"}},"title":"BookmarkFolderUpdateRequest","type":"object"},"StatusCreateRequest":{"example":{"poll":{"expires_in":420,"options":["Cofe","Adventure"]},"sensitive":"false","status":"What time is it?"},"properties":{"content_type":{"description":"The MIME type of the status, it is transformed into HTML by the backend. You can get the list of the supported MIME types with the nodeinfo endpoint.","nullable":true,"type":"string"},"expires_in":{"description":"The number of seconds the posted activity should expire in. When a posted activity expires it will be deleted from the server, and a delete request for it will be federated. This needs to be longer than an hour.","nullable":true,"type":"integer"},"in_reply_to_conversation_id":{"description":"Will reply to a given conversation, addressing only the people who are part of the recipient set of that conversation. Sets the visibility to `direct`.","nullable":true,"type":"string"},"in_reply_to_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of the status being replied to, if status is a reply","nullable":true},"language":{"description":"ISO 639 language code for this status.","nullable":true,"type":"string"},"media_ids":{"description":"Array of Attachment ids to be attached as media.","items":{"type":"string"},"nullable":true,"type":"array"},"poll":{"nullable":true,"properties":{"expires_in":{"description":"Duration the poll should be open, in seconds. Must be provided with `poll[options]`","nullable":true,"type":"integer"},"hide_totals":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Hide vote counts until the poll ends?","nullable":true},"multiple":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allow multiple choices?","nullable":true},"options":{"description":"Array of possible answers. Must be provided with `poll[expires_in]`.","items":{"type":"string"},"type":"array"}},"required":["options","expires_in"],"type":"object"},"preview":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"If set to `true` the post won't be actually posted, but the status entity would still be rendered back. This could be useful for previewing rich text/custom emoji, for example","nullable":true},"quote_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"deprecated":true,"description":"Deprecated in favor of `quoted_status_id`","nullable":true},"quoted_status_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of the status being quoted, if any","nullable":true},"scheduled_at":{"description":"ISO 8601 Datetime at which to schedule a status. Providing this parameter will cause ScheduledStatus to be returned instead of Status. Must be at least 5 minutes in the future.","format":"date-time","nullable":true,"type":"string"},"sensitive":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Mark status and attached media as sensitive?","nullable":true},"spoiler_text":{"description":"Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field.","nullable":true,"type":"string"},"status":{"description":"Text content of the status. If `media_ids` is provided, this becomes optional. Attaching a `poll` is optional while `status` is provided.","nullable":true,"type":"string"},"to":{"description":"A list of nicknames (like `lain@soykaf.club` or `lain` on the local server) that will be used to determine who is going to be addressed by this post. Using this will disable the implicit addressing by mentioned names in the `status` body, only the people in the `to` list will be addressed. The normal rules for for post visibility are not affected by this and will still apply","items":{"type":"string"},"nullable":true,"type":"array"},"visibility":{"anyOf":[{"$ref":"#/components/schemas/VisibilityScope"},{"description":"`list:LIST_ID`","example":"LIST:123","type":"string"}],"description":"Visibility of the posted status. Besides standard MastoAPI values (`direct`, `private`, `unlisted` or `public`) it can be used to address a List by setting it to `list:LIST_ID`","nullable":true}},"title":"StatusCreateRequest","type":"object"},"AccountUpdateCredentialsRequest":{"description":"POST body for creating an account","example":{"actor_type":"Person","allow_following_move":false,"also_known_as":["https://foo.bar/users/foo"],"birthday":"2001-02-12","bot":false,"default_scope":"private","discoverable":false,"display_name":"cofe","fields_attributes":[{"name":"foo","value":"bar"}],"hide_favorites":false,"hide_followers":true,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"no_rich_text":false,"note":"foobar","pleroma_settings_store":{"pleroma-fe":{"key":"val"}},"show_birthday":false,"show_role":false,"skip_thread_containment":false},"properties":{"accepts_chat_messages":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the user accepts receiving chat messages.","nullable":true},"actor_type":{"$ref":"#/components/schemas/ActorType"},"allow_following_move":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allows automatically follow moved following accounts","nullable":true},"also_known_as":{"description":"List of alternate ActivityPub IDs","items":{"type":"string"},"nullable":true,"type":"array"},"avatar":{"description":"Avatar image encoded using multipart/form-data","format":"binary","nullable":true,"type":"string"},"avatar_description":{"description":"Avatar image description.","nullable":true,"type":"string"},"birthday":{"anyOf":[{"format":"date","type":"string"},{"maxLength":0,"type":"string"}],"description":"User's birthday","nullable":true},"bot":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the account has a bot flag.","nullable":true},"default_scope":{"$ref":"#/components/schemas/VisibilityScope"},"discoverable":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Discovery (listing, indexing) of this account by external services (search bots etc.) is allowed.","nullable":true},"display_name":{"description":"The display name to use for the profile.","nullable":true,"type":"string"},"fields_attributes":{"nullable":true,"oneOf":[{"items":{"description":"Request schema for account custom fields","example":{"name":"Website","value":"https://pleroma.com"},"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"title":"AccountAttributeField","type":"object"},"type":"array"},{"additionalProperties":{"description":"Request schema for account custom fields","example":{"name":"Website","value":"https://pleroma.com"},"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"title":"AccountAttributeField","type":"object"},"type":"object"}]},"header":{"description":"Header image encoded using multipart/form-data","format":"binary","nullable":true,"type":"string"},"header_description":{"description":"Header image description.","nullable":true,"type":"string"},"hide_favorites":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's favorites timeline will be hidden","nullable":true},"hide_followers":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's followers will be hidden","nullable":true},"hide_followers_count":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follower count will be hidden","nullable":true},"hide_follows":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follows will be hidden","nullable":true},"hide_follows_count":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follow count will be hidden","nullable":true},"locked":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether manual approval of follow requests is required.","nullable":true},"no_rich_text":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"html tags are stripped from all statuses requested from the API","nullable":true},"note":{"description":"The account bio.","type":"string"},"pleroma_background_image":{"description":"Sets the background image of the user.","format":"binary","nullable":true,"type":"string"},"pleroma_settings_store":{"description":"Opaque user settings to be saved on the backend.","nullable":true,"type":"object"},"show_birthday":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"User's birthday will be visible","nullable":true},"show_role":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's role (e.g admin, moderator) will be exposed to anyone in the\n        API","nullable":true},"skip_thread_containment":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Skip filtering out broken threads","nullable":true}},"title":"AccountUpdateCredentialsRequest","type":"object"},"StatusTranslation":{"description":"Represents status translation with related information.","example":{"content":"Software für die nächste Generation der sozialen Medien.","detected_source_language":"en","provider":"Deepl"},"properties":{"content":{"description":"Translated status content","type":"string"},"detected_source_language":{"description":"Detected source language","type":"string"},"provider":{"description":"Translation provider service name","type":"string"}},"required":["content","detected_source_language","provider"],"title":"StatusTranslation","type":"object"},"ChatMessageCreateRequest":{"description":"POST body for creating an chat message","example":{"content":"Hey wanna buy feet pics?","media_id":"134234"},"properties":{"content":{"description":"The content of your message. Optional if media_id is present","type":"string"},"media_id":{"description":"The id of an upload","type":"string"}},"title":"ChatMessageCreateRequest","type":"object"},"List id":{"description":"The id of the list. Required when `stream` is `list`.","example":"some-id","title":"List id","type":"string"},"BookmarkFolderCreateRequest":{"properties":{"emoji":{"description":"Folder emoji","nullable":true,"type":"string"},"name":{"description":"Folder name","type":"string"}},"title":"BookmarkFolderCreateRequest","type":"object"},"List":{"description":"Represents a list of users","example":{"id":"12249","title":"Friends"},"properties":{"exclusive":{"description":"Whether members of the list should be removed from the “Home” feed","type":"boolean"},"id":{"description":"The internal database ID of the list","type":"string"},"title":{"description":"The user-defined title of the list","type":"string"}},"title":"List","type":"object"},"InstanceDocument":{"example":{"url":"https://example.com/static/terms-of-service.html"},"properties":{"url":{"type":"string"}},"title":"InstanceDocument","type":"object"},"Settings object":{"description":"The object that contains settings for the application.","title":"Settings object","type":"object"},"App":{"description":"Response schema for an app","example":{"client_id":"TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM","client_secret":"ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw","id":"123","name":"My App","vapid_key":"BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M=","website":"https://myapp.com/"},"properties":{"client_id":{"type":"string"},"client_secret":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"redirect_uri":{"type":"string"},"vapid_key":{"type":"string"},"website":{"nullable":true,"type":"string"}},"title":"App","type":"object"},"AccountCreateRequest":{"description":"POST body for creating an account","example":{"agreement":"true","bio":"☕️","email":"cofe@example.com","password":"secret","username":"cofe"},"properties":{"agreement":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the user agrees to the local rules, terms, and policies. These should be presented to the user in order to allow them to consent before setting this parameter to TRUE."},"bio":{"default":"","description":"Bio","nullable":true,"type":"string"},"birthday":{"anyOf":[{"format":"date","type":"string"},{"maxLength":0,"type":"string"}],"description":"User's birthday","nullable":true},"captcha_answer_data":{"description":"Provider-specific captcha data","nullable":true,"type":"string"},"captcha_solution":{"description":"Provider-specific captcha solution","nullable":true,"type":"string"},"captcha_token":{"description":"Provider-specific captcha token","nullable":true,"type":"string"},"email":{"description":"The email address to be used for login. Required when `account_activation_required` is enabled.","format":"email","nullable":true,"type":"string"},"fullname":{"description":"Full name","nullable":true,"type":"string"},"language":{"description":"User's preferred language for emails","nullable":true,"type":"string"},"locale":{"description":"The language of the confirmation email that will be sent","nullable":true,"type":"string"},"password":{"description":"The password to be used for login","format":"password","type":"string"},"reason":{"description":"Text that will be reviewed by moderators if registrations require manual approval","nullable":true,"type":"string"},"token":{"description":"Invite token required when the registrations aren't public","nullable":true,"type":"string"},"username":{"description":"The desired username for the account","type":"string"}},"required":["username","password","agreement"],"title":"AccountCreateRequest","type":"object"},"CustomEmoji":{"allOf":[{"$ref":"#/components/schemas/Emoji"},{"properties":{"category":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"}},"type":"object"}],"description":"Schema for a CustomEmoji","example":{"category":"Fun","shortcode":"aaaa","static_url":"https://files.mastodon.social/custom_emojis/images/000/007/118/static/aaaa.png","tags":["Gif","Fun"],"url":"https://files.mastodon.social/custom_emojis/images/000/007/118/original/aaaa.png","visible_in_picker":true},"title":"CustomEmoji"},"Server response":{"description":"A response to a client-sent event.","example":{"event":"pleroma:respond","payload":"{\"result\":\"success\",\"type\":\"pleroma:authenticate\"}"},"properties":{"event":{"description":"Type of the event.","enum":["pleroma:respond"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"example":{"result":"success","type":"pleroma:authenticate"},"properties":{"error":{"description":"An error identifier. Only appears if `result` is `error`.","title":"Error code","type":"string"},"result":{"enum":["success","error","ignored"],"title":"Result of the request","type":"string"},"type":{"description":"Type of the request.","type":"string"}},"required":["result","type"],"title":"Results","type":"object"}],"description":"JSON-encoded string of Results","title":"Event payload"}},"required":["event","payload"],"title":"Server response","type":"object"},"Event type":{"description":"Type of the event.","enum":["status.update"],"required":true,"title":"Event type","type":"string"},"EmojiPack":{"example":{"files":{"emacs":"emacs.png","guix":"guix.png"},"pack":{"can-download":true,"description":"Test description","download-sha256":"57482F30674FD3DE821FF48C81C00DA4D4AF1F300209253684ABA7075E5FC238","homepage":"https://pleroma.social","license":"Test license","share-files":true}},"properties":{"files":{"additionalProperties":{"description":"Filename","type":"string","x-additionalPropertiesName":"Emoji name"},"description":"Object with emoji names as keys and filenames as values","type":"object"},"pack":{"properties":{"can-download":{"type":"boolean"},"description":{"type":"string"},"download-sha256":{"type":"string"},"homepage":{"format":"uri","type":"string"},"license":{"type":"string"},"share-files":{"type":"boolean"}},"type":"object"}},"title":"EmojiPack","type":"object","x-additionalPropertiesName":"Pack name"},"SettingsUpdateRequest":{"description":"The settings object to be merged with the current settings. To remove a field, set it to null.","example":{"config1":true,"config2_to_unset":null},"title":"SettingsUpdateRequest","type":"object"},"ArrayOfMutedAccounts":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"mute_expires_at":"2025-11-29T16:23:13Z","note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"allOf":[{"$ref":"#/components/schemas/Account"},{"properties":{"mute_expires_at":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"}],"description":"Response schema for a muted account","title":"MutedAccount"},"title":"ArrayOfMutedAccounts","type":"array"},"AccountBlockRequest":{"description":"POST body for blocking an account","example":{"duration":86400},"properties":{"duration":{"description":"Expire the mute in `duration` seconds. Default 0 for infinity","nullable":true,"type":"integer"}},"title":"AccountBlockRequest","type":"object"},"StatusContext":{"description":"Represents the tree around a given status. Used for reconstructing threads of statuses.","example":{"ancestors":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"descendants":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}]},"properties":{"ancestors":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"type":"array"},"descendants":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"type":"array"}},"required":["ancestors","descendants"],"title":"StatusContext","type":"object"},"MediaCreateRequest":{"description":"POST body for creating an attachment","properties":{"description":{"description":"A plain-text description of the media, for accessibility purposes.","type":"string"},"file":{"description":"The file to be attached, using multipart form data.","format":"binary","type":"string"},"focus":{"description":"Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.","type":"string"}},"required":["file"],"title":"MediaCreateRequest","type":"object"},"Conversation update":{"description":"An update about a conversation","example":{"event":"conversation","payload":"{\"accounts\":[{\"acct\":\"foobar\",\"avatar\":\"https://mypleroma.com/images/avi.png\",\"avatar_description\":\"\",\"avatar_static\":\"https://mypleroma.com/images/avi.png\",\"bot\":false,\"created_at\":\"2020-03-24T13:05:58.000Z\",\"display_name\":\"foobar\",\"emojis\":[],\"fields\":[],\"follow_requests_count\":0,\"followers_count\":0,\"following_count\":1,\"header\":\"https://mypleroma.com/images/banner.png\",\"header_description\":\"\",\"header_static\":\"https://mypleroma.com/images/banner.png\",\"id\":\"9tKi3esbG7OQgZ2920\",\"locked\":false,\"note\":\"cofe\",\"pleroma\":{\"accepts_chat_messages\":true,\"allow_following_move\":true,\"background_image\":null,\"birthday\":\"2001-02-12\",\"chat_token\":\"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc\",\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":false,\"is_moderator\":false,\"notification_settings\":{\"block_from_strangers\":false,\"hide_notification_contents\":false},\"relationship\":{\"blocked_by\":false,\"blocking\":false,\"domain_blocking\":false,\"endorsed\":false,\"followed_by\":false,\"following\":false,\"id\":\"9tKi3esbG7OQgZ2920\",\"muting\":false,\"muting_notifications\":false,\"note\":\"\",\"notifying\":false,\"requested\":false,\"showing_reblogs\":true,\"subscribing\":false},\"settings_store\":{\"pleroma-fe\":{}},\"skip_thread_containment\":false,\"tags\":[],\"unread_conversation_count\":0},\"source\":{\"fields\":[],\"note\":\"foobar\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false,\"no_rich_text\":false,\"show_role\":true},\"privacy\":\"public\",\"sensitive\":false},\"statuses_count\":0,\"url\":\"https://mypleroma.com/users/foobar\",\"username\":\"foobar\"}],\"id\":\"418450\",\"last_status\":{\"account\":{\"acct\":\"nick6\",\"avatar\":\"http://localhost:4001/images/avi.png\",\"avatar_static\":\"http://localhost:4001/images/avi.png\",\"bot\":false,\"created_at\":\"2020-04-07T19:48:51.000Z\",\"display_name\":\"Test テスト User 6\",\"emojis\":[],\"fields\":[],\"followers_count\":1,\"following_count\":0,\"header\":\"http://localhost:4001/images/banner.png\",\"header_static\":\"http://localhost:4001/images/banner.png\",\"id\":\"9toJCsKN7SmSf3aj5c\",\"is_locked\":false,\"note\":\"Tester Number 6\",\"pleroma\":{\"background_image\":null,\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":true,\"is_moderator\":false,\"relationship\":{\"blocked_by\":false,\"blocking\":false,\"domain_blocking\":false,\"endorsed\":false,\"followed_by\":false,\"following\":true,\"id\":\"9toJCsKN7SmSf3aj5c\",\"muting\":false,\"muting_notifications\":false,\"note\":\"\",\"notifying\":false,\"requested\":false,\"showing_reblogs\":true,\"subscribing\":false},\"skip_thread_containment\":false,\"tags\":[]},\"source\":{\"fields\":[],\"note\":\"Tester Number 6\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false},\"sensitive\":false},\"statuses_count\":1,\"url\":\"http://localhost:4001/users/nick6\",\"username\":\"nick6\"},\"application\":null,\"bookmarked\":false,\"card\":null,\"content\":\"foobar\",\"created_at\":\"2020-04-07T19:48:51.000Z\",\"emojis\":[],\"favourited\":false,\"favourites_count\":0,\"id\":\"9toJCu5YZW7O7gfvH6\",\"in_reply_to_account_id\":null,\"in_reply_to_id\":null,\"language\":null,\"media_attachments\":[],\"mentions\":[],\"muted\":false,\"pinned\":false,\"pleroma\":{\"content\":{\"text/plain\":\"foobar\"},\"context\":\"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa\",\"conversation_id\":345972,\"direct_conversation_id\":null,\"emoji_reactions\":[],\"expires_at\":null,\"in_reply_to_account_acct\":null,\"local\":true,\"quotes_count\":0,\"spoiler_text\":{\"text/plain\":\"\"},\"thread_muted\":false},\"poll\":null,\"quotes_count\":0,\"reblog\":null,\"reblogged\":false,\"reblogs_count\":0,\"replies_count\":0,\"sensitive\":false,\"spoiler_text\":\"\",\"tags\":[],\"uri\":\"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190\",\"url\":\"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6\",\"visibility\":\"private\"},\"unread\":true}","stream":["hashtag","mew"]},"properties":{"event":{"description":"Type of the event.","enum":["conversation"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Conversation"}],"description":"JSON-encoded string of Conversation","title":"Event payload"},"stream":{"description":"The stream identifier.\nThe first item is the name of the stream. If the stream needs a differentiator, the second item will be the corresponding identifier.\nCurrently, for the following stream types, there is a second element in the array:\n\n- `list`: The second element is the id of the list, as a string.\n- `hashtag`: The second element is the name of the hashtag.\n- `public:remote:media` and `public:remote`: The second element is the domain of the corresponding instance.\n","example":["hashtag","mew"],"items":{"type":"string"},"maxItems":2,"minItems":1,"title":"Stream","type":"array"}},"required":["event","payload","stream"],"title":"Conversation update","type":"object"},"Delete":{"description":"A status that was just deleted.","example":{"event":"delete","payload":"some-opaque-id"},"properties":{"event":{"description":"Type of the event.","enum":["delete"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"Id of the deleted status","example":"some-opaque-id","title":"Status id","type":"string"}},"required":["event","payload"],"title":"Delete","type":"object"},"ArrayOfStatuses":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"title":"ArrayOfStatuses","type":"array"},"ApiError":{"description":"Response schema for API error","example":{"error":"Something went wrong"},"properties":{"error":{"type":"string"}},"title":"ApiError","type":"object"},"AccountMuteRequest":{"description":"POST body for muting an account","example":{"expires_in":86400,"notifications":true},"properties":{"duration":{"description":"Expire the mute in `expires_in` seconds. Default 0 for infinity","nullable":true,"type":"integer"},"expires_in":{"default":0,"description":"Deprecated, use `duration` instead","nullable":true,"type":"integer"},"notifications":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Mute notifications in addition to statuses? Defaults to true.","nullable":true}},"title":"AccountMuteRequest","type":"object"},"Account":{"description":"Account view for admins","nullable":true,"properties":{"acct":{"type":"string"},"avatar":{"format":"uri","type":"string"},"avatar_description":{"type":"string"},"avatar_static":{"format":"uri","type":"string"},"bot":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"display_name":{"type":"string"},"emojis":{"items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"follow_requests_count":{"type":"integer"},"followers_count":{"type":"integer"},"following_count":{"type":"integer"},"header":{"format":"uri","type":"string"},"header_description":{"type":"string"},"header_static":{"format":"uri","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"is_active":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"locked":{"type":"boolean"},"nickname":{"type":"string"},"note":{"format":"html","type":"string"},"pleroma":{"properties":{"accepts_chat_messages":{"nullable":true,"type":"boolean"},"allow_following_move":{"description":"whether the user allows automatically follow moved following accounts","type":"boolean"},"also_known_as":{"items":{"type":"string"},"type":"array"},"ap_id":{"type":"string"},"avatar_description":{"deprecated":true,"type":"string"},"background_image":{"format":"uri","nullable":true,"type":"string"},"birthday":{"format":"date","nullable":true,"type":"string"},"chat_token":{"type":"string"},"favicon":{"description":"Favicon image of the user's instance","format":"uri","nullable":true,"type":"string"},"header_description":{"deprecated":true,"type":"string"},"hide_favorites":{"type":"boolean"},"hide_followers":{"description":"whether the user has follower hiding enabled","type":"boolean"},"hide_followers_count":{"description":"whether the user has follower stat hiding enabled","type":"boolean"},"hide_follows":{"description":"whether the user has follow hiding enabled","type":"boolean"},"hide_follows_count":{"description":"whether the user has follow stat hiding enabled","type":"boolean"},"is_admin":{"description":"whether the user is an admin of the local instance","type":"boolean"},"is_confirmed":{"description":"whether the user account is waiting on email confirmation to be activated","type":"boolean"},"is_moderator":{"description":"whether the user is a moderator of the local instance","type":"boolean"},"notification_settings":{"properties":{"block_from_strangers":{"type":"boolean"},"hide_notification_contents":{"type":"boolean"}},"type":"object"},"relationship":{"allOf":[{"$ref":"#/components/schemas/AccountRelationship"}],"nullable":true},"settings_store":{"description":"A generic map of settings for frontends. Opaque to the backend. Only returned in `verify_credentials` and `update_credentials`","type":"object"},"show_birthday":{"nullable":true,"type":"boolean"},"skip_thread_containment":{"type":"boolean"},"tags":{"description":"List of tags being used for things like extra roles or moderation(ie. marking all media as nsfw all).","items":{"type":"string"},"type":"array"},"unread_conversation_count":{"description":"The count of unread conversations. Only returned to the account owner.","type":"integer"}},"type":"object"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"source":{"properties":{"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"note":{"description":"Plaintext version of the bio without formatting applied by the backend, used for editing the bio.","type":"string"},"pleroma":{"properties":{"actor_type":{"$ref":"#/components/schemas/ActorType"},"discoverable":{"description":"whether the user allows indexing / listing of the account by external services (search engines etc.).","type":"boolean"},"no_rich_text":{"description":"whether the HTML tags for rich-text formatting are stripped from all statuses requested from the API.","type":"boolean"},"show_role":{"description":"whether the user wants their role (e.g admin, moderator) to be shown","type":"boolean"}},"type":"object"},"privacy":{"$ref":"#/components/schemas/VisibilityScope"},"sensitive":{"type":"boolean"}},"type":"object"},"statuses_count":{"type":"integer"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"title":"Account","type":"object"},"ChangePasswordRequest":{"description":"POST body for changing the account's password","properties":{"new_password":{"description":"New password","type":"string"},"new_password_confirmation":{"description":"New password, confirmation","type":"string"},"password":{"description":"Current password","type":"string"}},"required":["password","new_password","new_password_confirmation"],"title":"ChangePasswordRequest","type":"object"},"Status":{"description":"Response schema for a status","example":{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"},"properties":{"account":{"allOf":[{"$ref":"#/components/schemas/Account"}],"description":"The account that authored this status"},"application":{"description":"The application used to post this status","nullable":true,"properties":{"name":{"type":"string"},"website":{"format":"uri","type":"string"}},"type":"object"},"bookmarked":{"description":"Have you bookmarked this status?","type":"boolean"},"card":{"description":"Preview card for links included within status content","nullable":true,"properties":{"description":{"description":"Description of preview","type":"string"},"image":{"description":"Preview thumbnail","format":"uri","nullable":true,"type":"string"},"image_description":{"description":"Alternate text that describes what is in the thumbnail","type":"string"},"provider_name":{"description":"The provider of the original resource","nullable":true,"type":"string"},"provider_url":{"description":"A link to the provider of the original resource","format":"uri","type":"string"},"title":{"description":"Title of linked resource","type":"string"},"type":{"description":"The type of the preview card","enum":["link","photo","video","rich"],"type":"string"},"url":{"description":"Location of linked resource","format":"uri","type":"string"}},"required":["url","title","description","type"],"type":"object"},"content":{"description":"HTML-encoded status content","format":"html","type":"string"},"created_at":{"description":"The date when this status was created","format":"date-time","type":"string"},"edited_at":{"description":"The date when this status was last edited","format":"date-time","nullable":true,"type":"string"},"emojis":{"description":"Custom emoji to be used when rendering status content","items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"favourited":{"description":"Have you favourited this status?","type":"boolean"},"favourites_count":{"description":"How many favourites this status has received","type":"integer"},"id":{"$ref":"#/components/schemas/FlakeID"},"in_reply_to_account_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of the account being replied to","nullable":true},"in_reply_to_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of the status being replied","nullable":true},"language":{"description":"Primary language of this status","nullable":true,"type":"string"},"media_attachments":{"description":"Media that is attached to this status","items":{"$ref":"#/components/schemas/Attachment"},"type":"array"},"mentions":{"description":"Mentions of users within the status content","items":{"properties":{"acct":{"description":"The webfinger acct: URI of the mentioned user. Equivalent to `username` for local users, or `username@domain` for remote users.","type":"string"},"id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"The account id of the mentioned user"},"url":{"description":"The location of the mentioned user's profile","format":"uri","type":"string"},"username":{"description":"The username of the mentioned user","type":"string"}},"type":"object"},"type":"array"},"muted":{"description":"Have you muted notifications for this status's conversation?","type":"boolean"},"pinned":{"description":"Have you pinned this status? Only appears if the status is pinnable.","type":"boolean"},"pleroma":{"properties":{"content":{"additionalProperties":{"description":"Alternate representation in the MIME type specified","type":"string","x-additionalPropertiesName":"MIME type"},"description":"A map consisting of alternate representations of the `content` property with the key being it's mimetype. Currently the only alternate representation supported is `text/plain`","type":"object"},"context":{"description":"The thread identifier the status is associated with","type":"string"},"conversation_id":{"deprecated":true,"description":"The ID of the AP context the status is associated with (if any); deprecated, please use `context` instead","type":"integer"},"direct_conversation_id":{"description":"The ID of the Mastodon direct message conversation the status is associated with (if any)","nullable":true,"type":"integer"},"emoji_reactions":{"description":"A list with emoji / reaction maps. Contains no information about the reacting users, for that use the /statuses/:id/reactions endpoint.","items":{"properties":{"count":{"type":"integer"},"me":{"type":"boolean"},"name":{"type":"string"}},"type":"object"},"type":"array"},"expires_at":{"description":"A datetime (ISO 8601) that states when the post will expire (be deleted automatically), or empty if the post won't expire","format":"date-time","nullable":true,"type":"string"},"in_reply_to_account_acct":{"description":"The `acct` property of User entity for replied user (if any)","nullable":true,"type":"string"},"list_id":{"description":"The ID of the list the post is addressed to (if any, only returned to author)","nullable":true,"type":"integer"},"local":{"description":"`true` if the post was made on the local instance","type":"boolean"},"parent_visible":{"description":"`true` if the parent post is visible to the user","type":"boolean"},"pinned_at":{"description":"A datetime (ISO 8601) that states when the post was pinned or `null` if the post is not pinned","format":"date-time","nullable":true,"type":"string"},"quote":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"Quoted status (if any)","nullable":true},"quote_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of the status being quoted, if any","nullable":true},"quote_url":{"description":"URL of the quoted status","format":"uri","nullable":true,"type":"string"},"quote_visible":{"description":"`true` if the quoted post is visible to the user","type":"boolean"},"quotes_count":{"deprecated":true,"description":"How many statuses quoted this status. Deprecated, use `quotes_count` from parent object instead.","type":"integer"},"spoiler_text":{"additionalProperties":{"description":"Alternate representation in the MIME type specified","type":"string","x-additionalPropertiesName":"MIME type"},"description":"A map consisting of alternate representations of the `spoiler_text` property with the key being it's mimetype. Currently the only alternate representation supported is `text/plain`.","type":"object"},"thread_muted":{"description":"`true` if the thread the post belongs to is muted","type":"boolean"}},"type":"object"},"poll":{"allOf":[{"$ref":"#/components/schemas/Poll"}],"description":"The poll attached to the status","nullable":true},"quotes_count":{"description":"How many statuses quoted this status.","type":"integer"},"reblog":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"The status being reblogged","nullable":true},"reblogged":{"description":"Have you boosted this status?","type":"boolean"},"reblogs_count":{"description":"How many boosts this status has received","type":"integer"},"replies_count":{"description":"How many replies this status has received","type":"integer"},"sensitive":{"description":"Is this status marked as sensitive content?","type":"boolean"},"spoiler_text":{"description":"Subject or summary line, below which status content is collapsed until expanded","type":"string"},"tags":{"items":{"$ref":"#/components/schemas/Tag"},"type":"array"},"text":{"description":"Original unformatted content in plain text","nullable":true,"type":"string"},"uri":{"description":"URI of the status used for federation","format":"uri","type":"string"},"url":{"description":"A link to the status's HTML representation","format":"uri","nullable":true,"type":"string"},"visibility":{"allOf":[{"$ref":"#/components/schemas/VisibilityScope"}],"description":"Visibility of this status"}},"title":"Status","type":"object"},"BooleanLike":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"},"AccountRelationship":{"description":"Relationship between current account and requested account","example":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"properties":{"block_expires_at":{"format":"date-time","nullable":true,"type":"string"},"blocked_by":{"type":"boolean"},"blocking":{"type":"boolean"},"domain_blocking":{"type":"boolean"},"endorsed":{"type":"boolean"},"followed_by":{"type":"boolean"},"following":{"type":"boolean"},"id":{"$ref":"#/components/schemas/FlakeID"},"mute_expires_at":{"format":"date-time","nullable":true,"type":"string"},"muting":{"type":"boolean"},"muting_notifications":{"type":"boolean"},"note":{"type":"string"},"notifying":{"type":"boolean"},"requested":{"type":"boolean"},"showing_reblogs":{"type":"boolean"},"subscribing":{"type":"boolean"}},"title":"AccountRelationship","type":"object"},"MediaUpdateRequest":{"description":"POST body for updating an attachment","properties":{"description":{"description":"A plain-text description of the media, for accessibility purposes.","type":"string"},"file":{"description":"The file to be attached, using multipart form data.","format":"binary","type":"string"},"focus":{"description":"Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.","type":"string"}},"title":"MediaUpdateRequest","type":"object"},"Error code":{"description":"An error identifier. Only appears if `result` is `error`.","title":"Error code","type":"string"},"CustomEmojisResponse":{"description":"Response schema for custom emojis","example":[{"category":"Fun","shortcode":"blank","static_url":"https://lain.com/emoji/blank.png","tags":["Fun"],"url":"https://lain.com/emoji/blank.png","visible_in_picker":false},{"category":"Gif,Fun","shortcode":"firefox","static_url":"https://lain.com/emoji/Firefox.gif","tags":["Gif","Fun"],"url":"https://lain.com/emoji/Firefox.gif","visible_in_picker":true},{"category":"pack:mixed","shortcode":"sadcat","static_url":"https://lain.com/emoji/mixed/sadcat.png","tags":["pack:mixed"],"url":"https://lain.com/emoji/mixed/sadcat.png","visible_in_picker":true}],"items":{"allOf":[{"$ref":"#/components/schemas/Emoji"},{"properties":{"category":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"}},"type":"object"}],"description":"Schema for a CustomEmoji","example":{"category":"Fun","shortcode":"aaaa","static_url":"https://files.mastodon.social/custom_emojis/images/000/007/118/static/aaaa.png","tags":["Gif","Fun"],"url":"https://files.mastodon.social/custom_emojis/images/000/007/118/original/aaaa.png","visible_in_picker":true},"title":"CustomEmoji"},"title":"CustomEmojisResponse","type":"array"},"Announcement":{"description":"Response schema for an announcement","properties":{"all_day":{"type":"boolean"},"content":{"type":"string"},"emojis":{"type":"array"},"ends_at":{"format":"date-time","nullable":true,"type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"mentions":{"type":"array"},"pleroma":{"properties":{"raw_content":{"type":"string"}},"type":"object"},"published_at":{"format":"date-time","type":"string"},"reactions":{"type":"array"},"read":{"type":"boolean"},"starts_at":{"format":"date-time","nullable":true,"type":"string"},"statuses":{"type":"array"},"tags":{"type":"array"},"updated_at":{"format":"date-time","type":"string"}},"title":"Announcement","type":"object"},"AccountAttributeField":{"description":"Request schema for account custom fields","example":{"name":"Website","value":"https://pleroma.com"},"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"title":"AccountAttributeField","type":"object"},"FilterUpdateRequest":{"example":{"context":["home"],"phrase":"knights"},"properties":{"context":{"description":"Array of enumerable strings `home`, `notifications`, `public`, `thread`. At least one context must be specified.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_in":{"description":"Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire.","nullable":true,"type":"integer"},"irreversible":{"allOf":["Elixir.Pleroma.Web.ApiSpec.Schemas.BooleanLike"],"description":"Should the server irreversibly drop matching entities from home and notifications?","nullable":true},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"allOf":["Elixir.Pleroma.Web.ApiSpec.Schemas.BooleanLike"],"default":true,"description":"Consider word boundaries?","nullable":true}},"required":["phrase","context"],"title":"FilterUpdateRequest","type":"object"},"Event payload":{"allOf":["Elixir.Pleroma.Web.ApiSpec.Schemas.Status"],"description":"JSON-encoded string of Status","title":"Event payload"},"ScheduledStatus":{"description":"Represents a status that will be published at a future scheduled date.","example":{"id":"3221","media_attachments":[{"description":null,"id":"1638338801","pleroma":{"mime_type":"image/png"},"preview_url":"someurl","remote_url":"someurl","text_url":"someurl","type":"image","url":"someurl"}],"params":{"expires_in":null,"idempotency":null,"in_reply_to_id":null,"media_ids":null,"poll":null,"scheduled_at":null,"sensitive":null,"spoiler_text":null,"text":"test content","visibility":null},"scheduled_at":"2019-12-05T12:33:01.000Z"},"properties":{"id":{"type":"string"},"media_attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array"},"params":{"properties":{"expires_in":{"nullable":true,"type":"integer"},"in_reply_to_id":{"nullable":true,"type":"string"},"media_ids":{"items":{"type":"string"},"nullable":true,"type":"array"},"poll":{"nullable":true,"properties":{"expires_in":{"description":"Duration the poll should be open, in seconds. Must be provided with `poll[options]`","nullable":true,"type":"integer"},"hide_totals":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Hide vote counts until the poll ends?","nullable":true},"multiple":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allow multiple choices?","nullable":true},"options":{"description":"Array of possible answers. Must be provided with `poll[expires_in]`.","items":{"type":"string"},"type":"array"}},"required":["options","expires_in"],"type":"object"},"scheduled_at":{"format":"date-time","nullable":true,"type":"string"},"sensitive":{"nullable":true,"type":"boolean"},"spoiler_text":{"nullable":true,"type":"string"},"text":{"nullable":true,"type":"string"},"visibility":{"allOf":[{"$ref":"#/components/schemas/VisibilityScope"}],"nullable":true}},"required":["text","visibility"],"type":"object"},"scheduled_at":{"format":"date-time","type":"string"}},"required":["id","scheduled_at","params"],"title":"ScheduledStatus","type":"object"},"SearchResults":{"example":{"accounts":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"hashtags":[{"following":false,"name":"cofe","url":"https://lain.com/tag/cofe"}],"statuses":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}]},"properties":{"accounts":{"description":"Accounts which match the given query","items":{"$ref":"#/components/schemas/Account"},"type":"array"},"hashtags":{"description":"Hashtags which match the given query","items":{"$ref":"#/components/schemas/Tag"},"type":"array"},"statuses":{"description":"Statuses which match the given query","items":{"$ref":"#/components/schemas/Status"},"type":"array"}},"title":"SearchResults","type":"object"},"MarkersResponse":{"description":"Response schema for markers","example":{"home":{"last_read_id":"103206604258487607","pleroma":{"unread_count":10},"updated_at":"2019-11-26T22:37:25.235Z","version":468},"notifications":{"last_read_id":"35098814","pleroma":{"unread_count":0},"updated_at":"2019-11-26T22:37:25.239Z","version":361}},"items":{"type":"string"},"properties":{"home":{"allOf":[{"description":"Schema for a marker","example":{"last_read_id":"35098814","pleroma":{"unread_count":5},"updated_at":"2019-11-26T22:37:25.239Z","version":361},"properties":{"last_read_id":{"type":"string"},"pleroma":{"properties":{"unread_count":{"type":"integer"}},"type":"object"},"updated_at":{"type":"string"},"version":{"type":"integer"}},"title":"Marker","type":"object"}],"nullable":true},"notifications":{"allOf":[{"description":"Schema for a marker","example":{"last_read_id":"35098814","pleroma":{"unread_count":5},"updated_at":"2019-11-26T22:37:25.239Z","version":361},"properties":{"last_read_id":{"type":"string"},"pleroma":{"properties":{"unread_count":{"type":"integer"}},"type":"object"},"updated_at":{"type":"string"},"version":{"type":"integer"}},"title":"Marker","type":"object"}],"nullable":true}},"title":"MarkersResponse","type":"object"},"Follow relationships update":{"example":{"follower":{"follower_count":1,"following_count":1,"id":"someUser1"},"following":{"follower_count":1,"following_count":1,"id":"someUser2"},"state":"follow_pending"},"properties":{"follower":{"description":"Information about the follower.","properties":{"follower_count":{"type":"integer"},"following_count":{"type":"integer"},"id":{"$ref":"#/components/schemas/FlakeID"}},"required":["id","follower_count","following_count"],"type":"object"},"following":{"description":"Information about the following person.","properties":{"follower_count":{"type":"integer"},"following_count":{"type":"integer"},"id":{"$ref":"#/components/schemas/FlakeID"}},"required":["id","follower_count","following_count"],"type":"object"},"state":{"description":"Follow state of the relationship.","enum":["follow_pending","follow_accept","follow_reject","unfollow"],"type":"string"}},"required":["state","follower","following"],"title":"Follow relationships update","type":"object"},"Unprocessable Entity":{"allOf":[{"$ref":"#/components/schemas/ApiError"}],"example":{"error":"Someone else's status cannot be pinned"},"title":"Unprocessable Entity"},"SubscriptionUpdateRequest":{"example":{"data":{"alerts":{"favourite":true,"follow":true,"mention":true,"poll":true,"reblog":true}}},"properties":{"data":{"nullable":true,"properties":{"alerts":{"nullable":true,"properties":{"favourite":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive favourite notifications?","nullable":true},"follow":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive follow notifications?","nullable":true},"mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive mention notifications?","nullable":true},"pleroma:chat_mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive chat notifications?","nullable":true},"pleroma:emoji_reaction":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive emoji reaction notifications?","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive poll notifications?","nullable":true},"reblog":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive reblog notifications?","nullable":true}},"type":"object"}},"type":"object"}},"title":"SubscriptionUpdateRequest","type":"object"},"UpdateRequest":{"description":"POST body for uploading the file","properties":{"file":{"description":"The file to be uploaded, using multipart form data.","format":"binary","type":"string"}},"required":["file"],"title":"UpdateRequest","type":"object"},"Filter":{"example":{"context":["home","notifications","public","thread"],"expires_at":null,"id":"5580","irreversible":true,"phrase":"@twitter.com","whole_word":false},"properties":{"context":{"description":"The contexts in which the filter should be applied.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_at":{"description":"When the filter should no longer be applied. String (ISO 8601 Datetime), or null if the filter does not expire.","format":"date-time","nullable":true,"type":"string"},"id":{"type":"string"},"irreversible":{"description":"Should matching entities in home and notifications be dropped by the server?","type":"boolean"},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"description":"Should the filter consider word boundaries?","type":"boolean"}},"title":"Filter","type":"object"},"Invite":{"example":{"expires_at":null,"id":123,"invite_type":"one_time","max_use":null,"token":"kSQtDj_GNy2NZsL9AQDFIsHN5qdbguB6qRg3WHw6K1U=","used":true,"uses":0},"properties":{"expires_at":{"format":"date","nullable":true,"type":"string"},"id":{"type":"integer"},"invite_type":{"enum":["one_time","reusable","date_limited","reusable_date_limited"],"type":"string"},"max_use":{"nullable":true,"type":"integer"},"token":{"type":"string"},"used":{"type":"boolean"},"uses":{"type":"integer"}},"title":"Invite","type":"object"},"ChatsResponse":{"description":"Response schema for multiple Chats","example":[{"account":{"acct":"lain@dontbulling.me","avatar":"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg","avatar_static":"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg","bot":false,"created_at":"2020-04-16T13:40:15.000Z","display_name":"lain","emojis":[],"fields":[],"followers_count":0,"following_count":0,"header":"https://originalpatchou.li/images/banner.png","header_static":"https://originalpatchou.li/images/banner.png","id":"9u6Qw6TAZANpqokMkK","locked":false,"note":"lain","pleroma":{"ap_id":"https://dontbulling.me/users/lain","background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"lain","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"https://dontbulling.me/users/lain","username":"lain"},"id":"1","unread":2}],"items":{"$ref":"#/components/schemas/Chat"},"title":"ChatsResponse","type":"array"},"Marker":{"description":"Schema for a marker","example":{"last_read_id":"35098814","pleroma":{"unread_count":5},"updated_at":"2019-11-26T22:37:25.239Z","version":361},"properties":{"last_read_id":{"type":"string"},"pleroma":{"properties":{"unread_count":{"type":"integer"}},"type":"object"},"updated_at":{"type":"string"},"version":{"type":"integer"}},"title":"Marker","type":"object"},"AccountNoteRequest":{"description":"POST body for adding a note for an account","example":{"comment":"Example note"},"properties":{"comment":{"description":"Account note body","type":"string"}},"title":"AccountNoteRequest","type":"object"},"ChatMessagesResponse":{"description":"Response schema for multiple ChatMessages","example":[{"account_id":"someflakeid","chat_id":"1","content":"Check this out :firefox:","created_at":"2020-04-21T15:11:46.000Z","emojis":[{"shortcode":"firefox","static_url":"https://dontbulling.me/emoji/Firefox.gif","url":"https://dontbulling.me/emoji/Firefox.gif","visible_in_picker":false}],"id":"13","unread":false},{"account_id":"someflakeid","chat_id":"1","content":"Whats' up?","created_at":"2020-04-21T15:06:45.000Z","emojis":[],"id":"12","unread":false}],"items":{"$ref":"#/components/schemas/ChatMessage"},"title":"ChatMessagesResponse","type":"array"},"FlakeID":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"},"AppCreateRequest":{"description":"POST body for creating an app","example":{"client_name":"My App","redirect_uris":"https://myapp.com/auth/callback","website":"https://myapp.com/"},"properties":{"client_name":{"description":"A name for your application.","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"default":"read","description":"Space separated list of scopes","type":"string"},"website":{"description":"A URL to the homepage of your app","nullable":true,"type":"string"}},"required":["client_name","redirect_uris"],"title":"AppCreateRequest","type":"object"},"Result of the request":{"enum":["success","error","ignored"],"title":"Result of the request","type":"string"},"Chat update":{"description":"A new chat message.","example":{"event":"pleroma:chat_update","payload":"{\"account\":{\"acct\":\"lain@dontbulling.me\",\"avatar\":\"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg\",\"avatar_static\":\"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg\",\"bot\":false,\"created_at\":\"2020-04-16T13:40:15.000Z\",\"display_name\":\"lain\",\"emojis\":[],\"fields\":[],\"followers_count\":0,\"following_count\":0,\"header\":\"https://originalpatchou.li/images/banner.png\",\"header_static\":\"https://originalpatchou.li/images/banner.png\",\"id\":\"9u6Qw6TAZANpqokMkK\",\"is_locked\":false,\"note\":\"lain\",\"pleroma\":{\"ap_id\":\"https://dontbulling.me/users/lain\",\"background_image\":null,\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":true,\"is_moderator\":false,\"relationship\":{},\"skip_thread_containment\":false,\"tags\":[]},\"source\":{\"fields\":[],\"note\":\"lain\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false},\"sensitive\":false},\"statuses_count\":1,\"url\":\"https://dontbulling.me/users/lain\",\"username\":\"lain\"},\"id\":\"1\",\"last_message\":{\"account_id\":\"someflakeid\",\"attachment\":null,\"card\":null,\"chat_id\":\"1\",\"content\":\"hey you again\",\"created_at\":\"2020-04-21T15:06:45.000Z\",\"emojis\":[{\"shortcode\":\"firefox\",\"static_url\":\"https://dontbulling.me/emoji/Firefox.gif\",\"url\":\"https://dontbulling.me/emoji/Firefox.gif\",\"visible_in_picker\":false}],\"id\":\"14\",\"unread\":false},\"pinned\":false,\"unread\":2,\"updated_at\":\"2020-04-21T15:06:45.000Z\"}","stream":["hashtag","mew"]},"properties":{"event":{"description":"Type of the event.","enum":["pleroma:chat_update"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Chat"}],"description":"JSON-encoded string of Chat","title":"Event payload"},"stream":{"description":"The stream identifier.\nThe first item is the name of the stream. If the stream needs a differentiator, the second item will be the corresponding identifier.\nCurrently, for the following stream types, there is a second element in the array:\n\n- `list`: The second element is the id of the list, as a string.\n- `hashtag`: The second element is the name of the hashtag.\n- `public:remote:media` and `public:remote`: The second element is the domain of the corresponding instance.\n","example":["hashtag","mew"],"items":{"type":"string"},"maxItems":2,"minItems":1,"title":"Stream","type":"array"}},"required":["event","payload","stream"],"title":"Chat update","type":"object"},"BookmarkFolder":{"description":"Response schema for a bookmark folder","example":{"emoji":null,"emoji_url":null,"id":"9toJCu5YZW7O7gfvH6","name":"Read later"},"properties":{"emoji":{"description":"Folder emoji","nullable":true,"type":"string"},"emoji_url":{"description":"URL of the folder emoji if it's a custom emoji, null otherwise","nullable":true,"type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"name":{"description":"Folder name","type":"string"}},"title":"BookmarkFolder","type":"object"},"StatusUpdateRequest":{"example":{"poll":{"expires_in":420,"options":["Cofe","Adventure"]},"sensitive":"false","status":"What time is it?"},"properties":{"content_type":{"description":"The MIME type of the status, it is transformed into HTML by the backend. You can get the list of the supported MIME types with the nodeinfo endpoint.","nullable":true,"type":"string"},"media_ids":{"description":"Array of Attachment ids to be attached as media.","items":{"type":"string"},"nullable":true,"type":"array"},"poll":{"nullable":true,"properties":{"expires_in":{"description":"Duration the poll should be open, in seconds. Must be provided with `poll[options]`","nullable":true,"type":"integer"},"hide_totals":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Hide vote counts until the poll ends?","nullable":true},"multiple":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allow multiple choices?","nullable":true},"options":{"description":"Array of possible answers. Must be provided with `poll[expires_in]`.","items":{"type":"string"},"type":"array"}},"required":["options","expires_in"],"type":"object"},"sensitive":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Mark status and attached media as sensitive?","nullable":true},"spoiler_text":{"description":"Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field.","nullable":true,"type":"string"},"status":{"description":"Text content of the status. If `media_ids` is provided, this becomes optional. Attaching a `poll` is optional while `status` is provided.","nullable":true,"type":"string"},"to":{"description":"A list of nicknames (like `lain@soykaf.club` or `lain` on the local server) that will be used to determine who is going to be addressed by this post. Using this will disable the implicit addressing by mentioned names in the `status` body, only the people in the `to` list will be addressed. The normal rules for for post visibility are not affected by this and will still apply","items":{"type":"string"},"nullable":true,"type":"array"}},"title":"StatusUpdateRequest","type":"object"},"ArrayOfRelationships":{"description":"Response schema for account relationships","example":[{"blocked_by":true,"blocking":false,"domain_blocking":false,"endorsed":true,"followed_by":true,"following":true,"id":"1","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},{"blocked_by":true,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":true,"following":true,"id":"2","muting":true,"muting_notifications":false,"note":"","notifying":false,"requested":true,"showing_reblogs":true,"subscribing":false},{"blocked_by":false,"blocking":true,"domain_blocking":true,"endorsed":false,"followed_by":true,"following":true,"id":"3","muting":true,"muting_notifications":false,"note":"","notifying":true,"requested":false,"showing_reblogs":true,"subscribing":true}],"items":{"$ref":"#/components/schemas/AccountRelationship"},"title":"ArrayOfRelationships","type":"array"},"MutedAccount":{"allOf":["Elixir.Pleroma.Web.ApiSpec.Schemas.Account",{"properties":{"mute_expires_at":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"}],"description":"Response schema for a muted account","title":"MutedAccount"},"Status history":{"description":"Response schema for history of a status","items":{"properties":{"account":{"allOf":[{"$ref":"#/components/schemas/Account"}],"description":"The account that authored this status"},"content":{"description":"HTML-encoded status content","format":"html","type":"string"},"created_at":{"description":"The date when this status was created","format":"date-time","type":"string"},"emojis":{"description":"Custom emoji to be used when rendering status content","items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"media_attachments":{"description":"Media that is attached to this status","items":{"$ref":"#/components/schemas/Attachment"},"type":"array"},"poll":{"allOf":[{"$ref":"#/components/schemas/Poll"}],"description":"The poll attached to the status","nullable":true},"sensitive":{"description":"Is this status marked as sensitive content?","type":"boolean"},"spoiler_text":{"description":"Subject or summary line, below which status content is collapsed until expanded","type":"string"}},"type":"object"},"title":"Status history","type":"array"},"Stream":{"description":"The stream identifier.\nThe first item is the name of the stream. If the stream needs a differentiator, the second item will be the corresponding identifier.\nCurrently, for the following stream types, there is a second element in the array:\n\n- `list`: The second element is the id of the list, as a string.\n- `hashtag`: The second element is the name of the hashtag.\n- `public:remote:media` and `public:remote`: The second element is the domain of the corresponding instance.\n","example":["hashtag","mew"],"items":{"type":"string"},"maxItems":2,"minItems":1,"title":"Stream","type":"array"},"PollOption":{"properties":{"title":{"type":"string"},"votes_count":{"type":"integer"}},"title":"PollOption","type":"object"},"AccountFollowsRequest":{"description":"POST body for muting an account","properties":{"uri":{"format":"uri","nullable":true,"type":"string"}},"required":["uri"],"title":"AccountFollowsRequest","type":"object"},"AccountField":{"description":"Response schema for account custom fields","example":{"name":"Website","value":"<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>","verified_at":"2019-08-29T04:14:55.571+00:00"},"properties":{"name":{"type":"string"},"value":{"format":"html","type":"string"},"verified_at":{"format":"date-time","nullable":true,"type":"string"}},"title":"AccountField","type":"object"},"Results":{"example":{"result":"success","type":"pleroma:authenticate"},"properties":{"error":{"description":"An error identifier. Only appears if `result` is `error`.","title":"Error code","type":"string"},"result":{"enum":["success","error","ignored"],"title":"Result of the request","type":"string"},"type":{"description":"Type of the request.","type":"string"}},"required":["result","type"],"title":"Results","type":"object"},"Poll":{"description":"Represents a poll attached to a status","example":{"emojis":[],"expired":true,"expires_at":"2019-12-05T04:05:08.302Z","id":"34830","multiple":false,"options":[{"title":"accept","votes_count":6},{"title":"deny","votes_count":4}],"own_votes":[1],"pleroma":{"non_anonymous":false},"voted":true,"voters_count":10,"votes_count":10},"properties":{"emojis":{"description":"Custom emoji to be used for rendering poll options.","items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"expired":{"description":"Is the poll currently expired?","type":"boolean"},"expires_at":{"description":"When the poll ends","format":"date-time","nullable":true,"type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"multiple":{"description":"Does the poll allow multiple-choice answers?","type":"boolean"},"options":{"description":"Possible answers for the poll.","items":{"properties":{"title":{"type":"string"},"votes_count":{"type":"integer"}},"title":"PollOption","type":"object"},"type":"array"},"pleroma":{"properties":{"non_anonymous":{"description":"Can voters be publicly identified?","type":"boolean"}},"type":"object"},"voted":{"description":"When called with a user token, has the authorized user voted? Boolean, or null if no current user.","nullable":true,"type":"boolean"},"voters_count":{"description":"How many unique accounts have voted. Number.","type":"integer"},"votes_count":{"description":"How many votes have been received. Number.","type":"integer"}},"title":"Poll","type":"object"}},"securitySchemes":{"oAuth":{"flows":{"password":{"authorizationUrl":"/oauth/authorize","scopes":{"follow":"Manage relationships","push":"Web Push API subscriptions","read":"Read everything","write":"Write everything"},"tokenUrl":"/oauth/token"}},"type":"oauth2"}}},"info":{"description":"This is documentation for client Pleroma API. Most of the endpoints and entities come\nfrom Mastodon API and have custom extensions on top.\n\nWhile this document aims to be a complete guide to the client API Pleroma exposes,\nthe details are still being worked out. Some endpoints may have incomplete or poorly worded documentation.\nYou might want to check the following resources if something is not clear:\n- [Legacy Pleroma-specific endpoint documentation](https://docs-develop.pleroma.social/backend/development/API/pleroma_api/)\n- [Mastodon API documentation](https://docs.joinmastodon.org/client/intro/)\n- [Differences in Mastodon API responses from vanilla Mastodon](https://docs-develop.pleroma.social/backend/development/API/differences_in_mastoapi_responses/)\n\nPlease report such occurrences on our [issue tracker](https://git.pleroma.social/pleroma/pleroma/-/issues). Feel free to submit API questions or proposals there too!\n","title":"Pleroma API","version":"2.10.2","x-logo":{"altText":"Pleroma logo","url":"/static/logo.svg"}},"openapi":"3.0.0","paths":{"/api/v1/pleroma/admin/media_proxy_caches":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.MediaProxyCacheController.index","parameters":[{"description":"Page","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"Page","in":"query","name":"page","required":false,"schema":{"default":1,"type":"integer"}},{"description":"Number of statuses to return","in":"query","name":"page_size","required":false,"schema":{"default":50,"type":"integer"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"},"page_size":{"type":"integer"},"urls":{"items":{"description":"MediaProxy URLs","format":"uri","type":"string"},"type":"array"}},"type":"object"}}},"description":"Array of MediaProxy URLs"}},"security":[{"oAuth":["admin:read:media_proxy_caches"]}],"summary":"Retrieve a list of banned MediaProxy URLs","tags":["MediaProxy cache"]}},"/api/v2/search":{"get":{"callbacks":{},"deprecated":false,"operationId":"SearchController.search2","parameters":[{"description":"If provided, statuses returned will be authored only by this account","in":"query","name":"account_id","required":false,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Search type","in":"query","name":"type","required":false,"schema":{"enum":["accounts","hashtags","statuses"],"type":"string"}},{"description":"What to search for","in":"query","name":"q","required":true,"schema":{"type":"string"}},{"description":"Attempt WebFinger lookup","in":"query","name":"resolve","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Only include accounts that the user is following","in":"query","name":"following","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Embed relationships into accounts. **If this parameter is not set account's `pleroma.relationship` is going to be `null`.**","in":"query","name":"with_relationships","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"accounts":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"hashtags":[{"following":false,"name":"cofe","url":"https://lain.com/tag/cofe"}],"statuses":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}]},"properties":{"accounts":{"description":"Accounts which match the given query","items":{"$ref":"#/components/schemas/Account"},"type":"array"},"hashtags":{"description":"Hashtags which match the given query","items":{"$ref":"#/components/schemas/Tag"},"type":"array"},"statuses":{"description":"Statuses which match the given query","items":{"$ref":"#/components/schemas/Status"},"type":"array"}},"title":"SearchResults","type":"object"}}},"description":"Results"}},"security":[{"oAuth":["read:search"]}],"summary":"Search results","tags":["Search"]}},"/api/pleroma/follow_import":{"post":{"callbacks":{},"deprecated":false,"operationId":"UserImportController.follow","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"list":{"anyOf":[{"format":"binary","type":"string"},{"type":"string"}],"description":"STRING or FILE containing a whitespace-separated list of accounts to import."}},"required":["list"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"list":{"anyOf":[{"format":"binary","type":"string"},{"type":"string"}],"description":"STRING or FILE containing a whitespace-separated list of accounts to import."}},"required":["list"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"list":{"anyOf":[{"format":"binary","type":"string"},{"type":"string"}],"description":"STRING or FILE containing a whitespace-separated list of accounts to import."}},"required":["list"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":"ok","type":"string"}}},"description":"Ok"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:follow"]}],"summary":"Import follows","tags":["Data import"]}},"/api/v1/pleroma/admin/statuses/{id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.StatusController.delete","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{},"type":"object"}}},"description":"Empty object"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:write:statuses"]}],"summary":"Delete status","tags":["Status administration"]},"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.StatusController.show","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Status"},{"properties":{"account":{"allOf":[{"$ref":"#/components/schemas/Account"},{"properties":{"avatar":{"type":"string"},"display_name":{"type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"is_active":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"nickname":{"type":"string"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"tags":{"type":"string"}},"type":"object"}]}},"type":"object"}]}}},"description":"Status"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:read:statuses"]}],"summary":"Get status","tags":["Status administration"]},"put":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.StatusController.update","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"example":{"sensitive":"false","visibility":"private"},"properties":{"sensitive":{"description":"Mark status and attached media as sensitive?","type":"boolean"},"visibility":{"$ref":"#/components/schemas/VisibilityScope"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"example":{"sensitive":"false","visibility":"private"},"properties":{"sensitive":{"description":"Mark status and attached media as sensitive?","type":"boolean"},"visibility":{"$ref":"#/components/schemas/VisibilityScope"}},"type":"object"}},"multipart/form-data":{"schema":{"example":{"sensitive":"false","visibility":"private"},"properties":{"sensitive":{"description":"Mark status and attached media as sensitive?","type":"boolean"},"visibility":{"$ref":"#/components/schemas/VisibilityScope"}},"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["admin:write:statuses"]}],"summary":"Change the scope of a status","tags":["Status administration"]}},"/api/v1/endorsements":{"get":{"callbacks":{},"deprecated":false,"description":"Returns endorsed accounts","operationId":"AccountController.own_endorsements","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"}}},"description":"Array of Accounts"}},"security":[{"oAuth":["read:accounts"]}],"summary":"Endorsements","tags":["Retrieve account information"]}},"/api/v1/statuses/{id}/pin":{"post":{"callbacks":{},"deprecated":false,"description":"Feature one of your own public statuses at the top of your profile","operationId":"StatusController.pin","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"400":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"}],"example":{"error":"You have already pinned the maximum number of statuses"},"title":"Unprocessable Entity"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"}],"example":{"error":"Record not found"},"title":"Unprocessable Entity"}}},"description":"Not found"},"422":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"}],"example":{"error":"Someone else's status cannot be pinned"},"title":"Unprocessable Entity"}}},"description":"Unprocessable Entity"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Pin to profile","tags":["Status actions"]}},"/api/v1/pleroma/admin/chats/{id}/messages/{message_id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ChatController.delete_message","parameters":[{"description":"The ID of the Chat","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"The ID of the message","in":"path","name":"message_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessage"}}},"description":"The deleted ChatMessage"}},"security":[{"oAuth":["admin:write:chats"]}],"summary":"Delete an individual chat message","tags":["Chat administration"]}},"/api/v1/pleroma/admin/reports":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ReportController.index","parameters":[{"description":"Filter by report state","in":"query","name":"state","required":false,"schema":{"enum":["open","closed","resolved"],"type":"string"}},{"description":"Filter by selected rule id","in":"query","name":"rule_id","required":false,"schema":{"type":"string"}},{"description":"The number of records to retrieve","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"Page number","in":"query","name":"page","required":false,"schema":{"default":1,"type":"integer"}},{"description":"Number number of log entries per page","in":"query","name":"page_size","required":false,"schema":{"default":50,"type":"integer"}},{"description":"Filter by assigned account ID","in":"query","name":"assigned_account","required":false,"schema":{"type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"reports":{"items":{"properties":{"account":{"description":"Account view for admins","properties":{"acct":{"type":"string"},"avatar":{"format":"uri","type":"string"},"avatar_description":{"type":"string"},"avatar_static":{"format":"uri","type":"string"},"bot":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"display_name":{"type":"string"},"emojis":{"items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"follow_requests_count":{"type":"integer"},"followers_count":{"type":"integer"},"following_count":{"type":"integer"},"header":{"format":"uri","type":"string"},"header_description":{"type":"string"},"header_static":{"format":"uri","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"is_active":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"locked":{"type":"boolean"},"nickname":{"type":"string"},"note":{"format":"html","type":"string"},"pleroma":{"properties":{"accepts_chat_messages":{"nullable":true,"type":"boolean"},"allow_following_move":{"description":"whether the user allows automatically follow moved following accounts","type":"boolean"},"also_known_as":{"items":{"type":"string"},"type":"array"},"ap_id":{"type":"string"},"avatar_description":{"deprecated":true,"type":"string"},"background_image":{"format":"uri","nullable":true,"type":"string"},"birthday":{"format":"date","nullable":true,"type":"string"},"chat_token":{"type":"string"},"favicon":{"description":"Favicon image of the user's instance","format":"uri","nullable":true,"type":"string"},"header_description":{"deprecated":true,"type":"string"},"hide_favorites":{"type":"boolean"},"hide_followers":{"description":"whether the user has follower hiding enabled","type":"boolean"},"hide_followers_count":{"description":"whether the user has follower stat hiding enabled","type":"boolean"},"hide_follows":{"description":"whether the user has follow hiding enabled","type":"boolean"},"hide_follows_count":{"description":"whether the user has follow stat hiding enabled","type":"boolean"},"is_admin":{"description":"whether the user is an admin of the local instance","type":"boolean"},"is_confirmed":{"description":"whether the user account is waiting on email confirmation to be activated","type":"boolean"},"is_moderator":{"description":"whether the user is a moderator of the local instance","type":"boolean"},"notification_settings":{"properties":{"block_from_strangers":{"type":"boolean"},"hide_notification_contents":{"type":"boolean"}},"type":"object"},"relationship":{"allOf":[{"$ref":"#/components/schemas/AccountRelationship"}],"nullable":true},"settings_store":{"description":"A generic map of settings for frontends. Opaque to the backend. Only returned in `verify_credentials` and `update_credentials`","type":"object"},"show_birthday":{"nullable":true,"type":"boolean"},"skip_thread_containment":{"type":"boolean"},"tags":{"description":"List of tags being used for things like extra roles or moderation(ie. marking all media as nsfw all).","items":{"type":"string"},"type":"array"},"unread_conversation_count":{"description":"The count of unread conversations. Only returned to the account owner.","type":"integer"}},"type":"object"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"source":{"properties":{"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"note":{"description":"Plaintext version of the bio without formatting applied by the backend, used for editing the bio.","type":"string"},"pleroma":{"properties":{"actor_type":{"$ref":"#/components/schemas/ActorType"},"discoverable":{"description":"whether the user allows indexing / listing of the account by external services (search engines etc.).","type":"boolean"},"no_rich_text":{"description":"whether the HTML tags for rich-text formatting are stripped from all statuses requested from the API.","type":"boolean"},"show_role":{"description":"whether the user wants their role (e.g admin, moderator) to be shown","type":"boolean"}},"type":"object"},"privacy":{"$ref":"#/components/schemas/VisibilityScope"},"sensitive":{"type":"boolean"}},"type":"object"},"statuses_count":{"type":"integer"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"title":"Account","type":"object"},"actor":{"description":"Account view for admins","properties":{"acct":{"type":"string"},"avatar":{"format":"uri","type":"string"},"avatar_description":{"type":"string"},"avatar_static":{"format":"uri","type":"string"},"bot":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"display_name":{"type":"string"},"emojis":{"items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"follow_requests_count":{"type":"integer"},"followers_count":{"type":"integer"},"following_count":{"type":"integer"},"header":{"format":"uri","type":"string"},"header_description":{"type":"string"},"header_static":{"format":"uri","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"is_active":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"locked":{"type":"boolean"},"nickname":{"type":"string"},"note":{"format":"html","type":"string"},"pleroma":{"properties":{"accepts_chat_messages":{"nullable":true,"type":"boolean"},"allow_following_move":{"description":"whether the user allows automatically follow moved following accounts","type":"boolean"},"also_known_as":{"items":{"type":"string"},"type":"array"},"ap_id":{"type":"string"},"avatar_description":{"deprecated":true,"type":"string"},"background_image":{"format":"uri","nullable":true,"type":"string"},"birthday":{"format":"date","nullable":true,"type":"string"},"chat_token":{"type":"string"},"favicon":{"description":"Favicon image of the user's instance","format":"uri","nullable":true,"type":"string"},"header_description":{"deprecated":true,"type":"string"},"hide_favorites":{"type":"boolean"},"hide_followers":{"description":"whether the user has follower hiding enabled","type":"boolean"},"hide_followers_count":{"description":"whether the user has follower stat hiding enabled","type":"boolean"},"hide_follows":{"description":"whether the user has follow hiding enabled","type":"boolean"},"hide_follows_count":{"description":"whether the user has follow stat hiding enabled","type":"boolean"},"is_admin":{"description":"whether the user is an admin of the local instance","type":"boolean"},"is_confirmed":{"description":"whether the user account is waiting on email confirmation to be activated","type":"boolean"},"is_moderator":{"description":"whether the user is a moderator of the local instance","type":"boolean"},"notification_settings":{"properties":{"block_from_strangers":{"type":"boolean"},"hide_notification_contents":{"type":"boolean"}},"type":"object"},"relationship":{"allOf":[{"$ref":"#/components/schemas/AccountRelationship"}],"nullable":true},"settings_store":{"description":"A generic map of settings for frontends. Opaque to the backend. Only returned in `verify_credentials` and `update_credentials`","type":"object"},"show_birthday":{"nullable":true,"type":"boolean"},"skip_thread_containment":{"type":"boolean"},"tags":{"description":"List of tags being used for things like extra roles or moderation(ie. marking all media as nsfw all).","items":{"type":"string"},"type":"array"},"unread_conversation_count":{"description":"The count of unread conversations. Only returned to the account owner.","type":"integer"}},"type":"object"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"source":{"properties":{"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"note":{"description":"Plaintext version of the bio without formatting applied by the backend, used for editing the bio.","type":"string"},"pleroma":{"properties":{"actor_type":{"$ref":"#/components/schemas/ActorType"},"discoverable":{"description":"whether the user allows indexing / listing of the account by external services (search engines etc.).","type":"boolean"},"no_rich_text":{"description":"whether the HTML tags for rich-text formatting are stripped from all statuses requested from the API.","type":"boolean"},"show_role":{"description":"whether the user wants their role (e.g admin, moderator) to be shown","type":"boolean"}},"type":"object"},"privacy":{"$ref":"#/components/schemas/VisibilityScope"},"sensitive":{"type":"boolean"}},"type":"object"},"statuses_count":{"type":"integer"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"title":"Account","type":"object"},"assigned_account":{"description":"Account view for admins","nullable":true,"properties":{"acct":{"type":"string"},"avatar":{"format":"uri","type":"string"},"avatar_description":{"type":"string"},"avatar_static":{"format":"uri","type":"string"},"bot":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"display_name":{"type":"string"},"emojis":{"items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"follow_requests_count":{"type":"integer"},"followers_count":{"type":"integer"},"following_count":{"type":"integer"},"header":{"format":"uri","type":"string"},"header_description":{"type":"string"},"header_static":{"format":"uri","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"is_active":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"locked":{"type":"boolean"},"nickname":{"type":"string"},"note":{"format":"html","type":"string"},"pleroma":{"properties":{"accepts_chat_messages":{"nullable":true,"type":"boolean"},"allow_following_move":{"description":"whether the user allows automatically follow moved following accounts","type":"boolean"},"also_known_as":{"items":{"type":"string"},"type":"array"},"ap_id":{"type":"string"},"avatar_description":{"deprecated":true,"type":"string"},"background_image":{"format":"uri","nullable":true,"type":"string"},"birthday":{"format":"date","nullable":true,"type":"string"},"chat_token":{"type":"string"},"favicon":{"description":"Favicon image of the user's instance","format":"uri","nullable":true,"type":"string"},"header_description":{"deprecated":true,"type":"string"},"hide_favorites":{"type":"boolean"},"hide_followers":{"description":"whether the user has follower hiding enabled","type":"boolean"},"hide_followers_count":{"description":"whether the user has follower stat hiding enabled","type":"boolean"},"hide_follows":{"description":"whether the user has follow hiding enabled","type":"boolean"},"hide_follows_count":{"description":"whether the user has follow stat hiding enabled","type":"boolean"},"is_admin":{"description":"whether the user is an admin of the local instance","type":"boolean"},"is_confirmed":{"description":"whether the user account is waiting on email confirmation to be activated","type":"boolean"},"is_moderator":{"description":"whether the user is a moderator of the local instance","type":"boolean"},"notification_settings":{"properties":{"block_from_strangers":{"type":"boolean"},"hide_notification_contents":{"type":"boolean"}},"type":"object"},"relationship":{"allOf":[{"$ref":"#/components/schemas/AccountRelationship"}],"nullable":true},"settings_store":{"description":"A generic map of settings for frontends. Opaque to the backend. Only returned in `verify_credentials` and `update_credentials`","type":"object"},"show_birthday":{"nullable":true,"type":"boolean"},"skip_thread_containment":{"type":"boolean"},"tags":{"description":"List of tags being used for things like extra roles or moderation(ie. marking all media as nsfw all).","items":{"type":"string"},"type":"array"},"unread_conversation_count":{"description":"The count of unread conversations. Only returned to the account owner.","type":"integer"}},"type":"object"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"source":{"properties":{"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"note":{"description":"Plaintext version of the bio without formatting applied by the backend, used for editing the bio.","type":"string"},"pleroma":{"properties":{"actor_type":{"$ref":"#/components/schemas/ActorType"},"discoverable":{"description":"whether the user allows indexing / listing of the account by external services (search engines etc.).","type":"boolean"},"no_rich_text":{"description":"whether the HTML tags for rich-text formatting are stripped from all statuses requested from the API.","type":"boolean"},"show_role":{"description":"whether the user wants their role (e.g admin, moderator) to be shown","type":"boolean"}},"type":"object"},"privacy":{"$ref":"#/components/schemas/VisibilityScope"},"sensitive":{"type":"boolean"}},"type":"object"},"statuses_count":{"type":"integer"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"title":"Account","type":"object"},"content":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"notes":{"items":{"properties":{"content":{"type":"string"},"id":{"type":"integer"},"inserted_at":{"format":"date-time","type":"string"},"user_id":{"$ref":"#/components/schemas/FlakeID"}},"type":"object"},"type":"array"},"rules":{"items":{"properties":{"hint":{"nullable":true,"type":"string"},"id":{"type":"string"},"text":{"type":"string"}},"type":"object"},"type":"array"},"state":{"enum":["open","closed","resolved"],"type":"string"},"statuses":{"items":{"$ref":"#/components/schemas/Status"},"type":"array"}},"type":"object"},"type":"array"},"total":{"type":"integer"}},"type":"object"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:read:reports"]}],"summary":"Retrieve a list of reports","tags":["Report management"]},"patch":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ReportController.update","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"reports":{"example":{"reports":[{"id":"123","state":"closed"},{"id":"1337","state":"resolved"}]},"items":{"properties":{"id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"Required, report ID"},"state":{"description":"Required, the new state. Valid values are `open`, `closed` and `resolved`","type":"string"}},"type":"object"},"type":"array"}},"required":["reports"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"reports":{"example":{"reports":[{"id":"123","state":"closed"},{"id":"1337","state":"resolved"}]},"items":{"properties":{"id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"Required, report ID"},"state":{"description":"Required, the new state. Valid values are `open`, `closed` and `resolved`","type":"string"}},"type":"object"},"type":"array"}},"required":["reports"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"reports":{"example":{"reports":[{"id":"123","state":"closed"},{"id":"1337","state":"resolved"}]},"items":{"properties":{"id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"Required, report ID"},"state":{"description":"Required, the new state. Valid values are `open`, `closed` and `resolved`","type":"string"}},"type":"object"},"type":"array"}},"required":["reports"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"204":{"content":{"application/json":{"schema":{"example":"","type":"string"}}},"description":"No Content"},"400":{"content":{"application/json":{"schema":{"items":{"properties":{"error":{"description":"Error message","type":"string"},"id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"Report ID"}},"type":"object"},"type":"array"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:reports"]}],"summary":"Change state of specified reports","tags":["Report management"]}},"/api/v1/pleroma/settings/{app}":{"get":{"callbacks":{},"deprecated":false,"description":"Get synchronized settings for an application","operationId":"SettingsController.show","parameters":[{"description":"Application name","example":"pleroma-fe","in":"path","name":"app","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"The object that contains settings for the application.","title":"Settings object","type":"object"}}},"description":"object"}},"security":[{"oAuth":["read:accounts"]}],"summary":"Get settings for an application","tags":["Settings"]},"patch":{"callbacks":{},"deprecated":false,"description":"Update synchronized settings for an application","operationId":"SettingsController.update","parameters":[{"description":"Application name","example":"pleroma-fe","in":"path","name":"app","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"The settings object to be merged with the current settings. To remove a field, set it to null.","example":{"config1":true,"config2_to_unset":null},"title":"SettingsUpdateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"The settings object to be merged with the current settings. To remove a field, set it to null.","example":{"config1":true,"config2_to_unset":null},"title":"SettingsUpdateRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"The settings object to be merged with the current settings. To remove a field, set it to null.","example":{"config1":true,"config2_to_unset":null},"title":"SettingsUpdateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"The object that contains settings for the application.","title":"Settings object","type":"object"}}},"description":"object"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Update settings for an application","tags":["Settings"]}},"/api/v1/timelines/tag/{tag}":{"get":{"callbacks":{},"deprecated":false,"description":"View public statuses containing the given hashtag","operationId":"TimelineController.hashtag","parameters":[{"description":"Content of a #hashtag, not including # symbol.","in":"path","name":"tag","required":true,"schema":{"type":"string"}},{"description":"Statuses that also includes any of these tags","in":"query","name":"any","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"description":"Statuses that also includes all of these tags","in":"query","name":"all","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"description":"Statuses that do not include these tags","in":"query","name":"none","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"description":"Show only local statuses?","in":"query","name":"local","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Show only statuses with media attached?","in":"query","name":"only_media","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Show only remote statuses?","in":"query","name":"remote","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Include activities by muted users","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Exclude the statuses with the given visibilities","in":"query","name":"exclude_visibilities","required":false,"schema":{"items":{"$ref":"#/components/schemas/VisibilityScope"},"type":"array"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"title":"ArrayOfStatuses","type":"array"}}},"description":"Array of Status"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Hashtag timeline","tags":["Timelines"]}},"/api/v1/pleroma/admin/users/email_invite":{"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.InviteController.email","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"format":"email","type":"string"},"name":{"type":"string"}},"required":["email"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"email":{"format":"email","type":"string"},"name":{"type":"string"}},"required":["email"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"email":{"format":"email","type":"string"},"name":{"type":"string"}},"required":["email"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"204":{"content":{"application/json":{"schema":{"example":"","type":"string"}}},"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:invites"]}],"summary":"Sends registration invite via email","tags":["Invites"]}},"/api/v1/pleroma/chats/{id}/messages/{message_id}/read":{"post":{"callbacks":{},"deprecated":false,"operationId":"ChatController.mark_message_as_read","parameters":[{"description":"The ID of the Chat","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"The ID of the message","in":"path","name":"message_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessage"}}},"description":"The read ChatMessage"}},"security":[{"oAuth":["write:chats"]}],"summary":"Mark a message as read","tags":["Chats"]}},"/api/v1/pleroma/captcha":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.captcha","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Success"}},"summary":"Get a captcha","tags":["Others"]}},"/api/v1/pleroma/backups":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.BackupController.index","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"description":"Response schema for a backup","example":{"content_type":"application/zip","file_name":"https://cofe.fe:4000/media/backups/archive-foobar-20200908T164207-Yr7vuT5Wycv-sN3kSN2iJ0k-9pMo60j9qmvRCdDqIew.zip","file_size":4105,"inserted_at":"2020-09-08T16:42:07.000Z","processed":true,"tempdir":"/tmp/PZIMw40vmpM"},"properties":{"content_type":{"type":"string"},"file_name":{"type":"string"},"file_size":{"type":"integer"},"inserted_at":{"format":"date-time","type":"string"},"processed":{"description":"whether this backup has succeeded","type":"boolean"},"tempdir":{"type":"string"}},"title":"Backup","type":"object"},"type":"array"}}},"description":"An array of backups"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"}},"security":[{"oAuth":["read:backups"]}],"summary":"List backups","tags":["Backups"]},"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.BackupController.create","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"description":"Response schema for a backup","example":{"content_type":"application/zip","file_name":"https://cofe.fe:4000/media/backups/archive-foobar-20200908T164207-Yr7vuT5Wycv-sN3kSN2iJ0k-9pMo60j9qmvRCdDqIew.zip","file_size":4105,"inserted_at":"2020-09-08T16:42:07.000Z","processed":true,"tempdir":"/tmp/PZIMw40vmpM"},"properties":{"content_type":{"type":"string"},"file_name":{"type":"string"},"file_size":{"type":"integer"},"inserted_at":{"format":"date-time","type":"string"},"processed":{"description":"whether this backup has succeeded","type":"boolean"},"tempdir":{"type":"string"}},"title":"Backup","type":"object"},"type":"array"}}},"description":"An array of backups"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"}},"security":[{"oAuth":["read:backups"]}],"summary":"Create a backup","tags":["Backups"]}},"/api/v1/tags/{id}/follow":{"post":{"callbacks":{},"deprecated":false,"description":"Follow a hashtag","operationId":"TagController.follow","parameters":[{"description":"Name of the hashtag","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}},"description":"Hashtag"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["write:follows"]}],"summary":"Follow a hashtag","tags":["Tags"]}},"/api/v1/follow_requests/{id}/authorize":{"post":{"callbacks":{},"deprecated":false,"operationId":"FollowRequestController.authorize","parameters":[{"description":"Conversation ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"}},"security":[{"oAuth":["follow","write:follows"]}],"summary":"Accept follow request","tags":["Follow requests"]}},"/api/v1/instance":{"get":{"callbacks":{},"deprecated":false,"description":"Information about the server","operationId":"InstanceController.show","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"avatar_upload_limit":2000000,"background_image":"/static/image.png","background_upload_limit":4000000,"banner_upload_limit":4000000,"description":"Pleroma: An efficient and flexible fediverse server","email":"lain@lain.com","languages":["en"],"max_toot_chars":5000,"poll_limits":{"max_expiration":31536000,"max_option_chars":200,"max_options":20,"min_expiration":0},"registrations":false,"rules":{"discriminator":null,"pattern":null,"minLength":null,"nullable":null,"allOf":null,"xml":null,"oneOf":null,"type":"array","deprecated":null,"maxItems":null,"x-validate":null,"externalDocs":null,"items":{"discriminator":null,"pattern":null,"minLength":null,"nullable":null,"allOf":null,"xml":null,"oneOf":null,"type":"object","deprecated":null,"maxItems":null,"x-validate":null,"externalDocs":null,"items":null,"properties":{"hint":{"discriminator":null,"pattern":null,"minLength":null,"nullable":null,"allOf":null,"xml":null,"oneOf":null,"type":"string","deprecated":null,"maxItems":null,"x-validate":null,"externalDocs":null,"items":null,"properties":null,"maxProperties":null,"not":null,"writeOnly":null,"exclusiveMinimum":null,"multipleOf":null,"format":null,"description":null,"examples":null,"minProperties":null,"readOnly":null,"maxLength":null,"enum":null,"maximum":null,"uniqueItems":null,"minItems":null,"example":null,"required":null,"minimum":null,"exclusiveMaximum":null,"additionalProperties":null,"title":null,"anyOf":null,"default":null,"x-struct":null},"id":{"discriminator":null,"pattern":null,"minLength":null,"nullable":null,"allOf":null,"xml":null,"oneOf":null,"type":"string","deprecated":null,"maxItems":null,"x-validate":null,"externalDocs":null,"items":null,"properties":null,"maxProperties":null,"not":null,"writeOnly":null,"exclusiveMinimum":null,"multipleOf":null,"format":null,"description":null,"examples":null,"minProperties":null,"readOnly":null,"maxLength":null,"enum":null,"maximum":null,"uniqueItems":null,"minItems":null,"example":null,"required":null,"minimum":null,"exclusiveMaximum":null,"additionalProperties":null,"title":null,"anyOf":null,"default":null,"x-struct":null},"text":{"discriminator":null,"pattern":null,"minLength":null,"nullable":null,"allOf":null,"xml":null,"oneOf":null,"type":"string","deprecated":null,"maxItems":null,"x-validate":null,"externalDocs":null,"items":null,"properties":null,"maxProperties":null,"not":null,"writeOnly":null,"exclusiveMinimum":null,"multipleOf":null,"format":null,"description":null,"examples":null,"minProperties":null,"readOnly":null,"maxLength":null,"enum":null,"maximum":null,"uniqueItems":null,"minItems":null,"example":null,"required":null,"minimum":null,"exclusiveMaximum":null,"additionalProperties":null,"title":null,"anyOf":null,"default":null,"x-struct":null}},"maxProperties":null,"not":null,"writeOnly":null,"exclusiveMinimum":null,"multipleOf":null,"format":null,"description":null,"examples":null,"minProperties":null,"readOnly":null,"maxLength":null,"enum":null,"maximum":null,"uniqueItems":null,"minItems":null,"example":null,"required":null,"minimum":null,"exclusiveMaximum":null,"additionalProperties":null,"title":null,"anyOf":null,"default":null,"x-struct":null},"properties":null,"maxProperties":null,"not":null,"writeOnly":null,"exclusiveMinimum":null,"multipleOf":null,"format":null,"description":null,"examples":null,"minProperties":null,"readOnly":null,"maxLength":null,"enum":null,"maximum":null,"uniqueItems":null,"minItems":null,"example":null,"required":null,"minimum":null,"exclusiveMaximum":null,"additionalProperties":null,"title":null,"anyOf":null,"default":null,"x-struct":null},"stats":{"domain_count":2996,"status_count":15802,"user_count":5},"thumbnail":"https://lain.com/instance/thumbnail.jpeg","title":"lain.com","upload_limit":16000000,"uri":"https://lain.com","urls":{"streaming_api":"wss://lain.com"},"version":"2.7.2 (compatible; Pleroma 2.0.50-536-g25eec6d7-develop)"},"properties":{"accounts":{"properties":{"max_featured_tags":{"description":"The maximum number of featured tags allowed for each account.","type":"integer"}},"type":"object"},"avatar_upload_limit":{"description":"The title of the website","type":"integer"},"background_image":{"description":"The background image for the website","format":"uri","type":"string"},"background_upload_limit":{"description":"The title of the website","type":"integer"},"banner_upload_limit":{"description":"The title of the website","type":"integer"},"description":{"description":"Admin-defined description of the Pleroma site","type":"string"},"email":{"description":"An email that may be contacted for any inquiries","format":"email","type":"string"},"languages":{"description":"Primary languages of the website and its staff","items":{"type":"string"},"type":"array"},"max_toot_chars":{"description":": Posts character limit (CW/Subject included in the counter)","type":"integer"},"poll_limits":{"description":"A map with poll limits for local polls","properties":{"max_expiration":{"description":"Maximum expiration time (in seconds).","type":"integer"},"max_option_chars":{"description":"Maximum number of characters per option.","type":"integer"},"max_options":{"description":"Maximum number of options.","type":"integer"},"min_expiration":{"description":"Minimum expiration time (in seconds).","type":"integer"}},"type":"object"},"registrations":{"description":"Whether registrations are enabled","type":"boolean"},"stats":{"description":"Statistics about how much information the instance contains","properties":{"domain_count":{"description":"Domains federated with this instance","type":"integer"},"status_count":{"description":"Statuses authored by users on instance","type":"integer"},"user_count":{"description":"Users registered on this instance","type":"integer"}},"type":"object"},"thumbnail":{"description":"Banner image for the website","nullable":true,"type":"string"},"title":{"description":"The title of the website","type":"string"},"upload_limit":{"description":"File size limit of uploads (except for avatar, background, banner)","type":"integer"},"uri":{"description":"The domain name of the instance","type":"string"},"urls":{"description":"URLs of interest for clients apps","properties":{"streaming_api":{"description":"Websockets address for push streaming","type":"string"}},"type":"object"},"version":{"description":"The version of Pleroma installed on the instance","type":"string"}},"type":"object"}}},"description":"Instance"}},"summary":"Retrieve instance information","tags":["Instance misc"]}},"/api/v1/pleroma/admin/reports/{id}/notes":{"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ReportController.notes_create","parameters":[{"description":"Report ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"content":{"description":"The message","type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"content":{"description":"The message","type":"string"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"content":{"description":"The message","type":"string"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"204":{"content":{"application/json":{"schema":{"example":"","type":"string"}}},"description":"No Content"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:write:reports"]}],"summary":"Add a note to the report","tags":["Report management"]}},"/api/pleroma/notification_settings":{"put":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.update_notification_settings","parameters":[{"description":"blocks notifications from accounts you do not follow","in":"query","name":"block_from_strangers","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"removes the contents of a message from the push notification","in":"query","name":"hide_notification_contents","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"example":"success","type":"string"}},"type":"object"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Update Notification Settings","tags":["Settings"]}},"/api/v1/suggestions/{account_id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"SuggestionController.dismiss","parameters":[{"description":"Account to dismiss","in":"path","name":"account_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{},"type":"object"}}},"description":"Empty object"}},"summary":"Remove a suggestion","tags":["Suggestions"]}},"/api/v1/accounts/update_credentials":{"patch":{"callbacks":{},"deprecated":false,"description":"Update the user's display and preferences.","operationId":"AccountController.update_credentials","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for creating an account","example":{"actor_type":"Person","allow_following_move":false,"also_known_as":["https://foo.bar/users/foo"],"birthday":"2001-02-12","bot":false,"default_scope":"private","discoverable":false,"display_name":"cofe","fields_attributes":[{"name":"foo","value":"bar"}],"hide_favorites":false,"hide_followers":true,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"no_rich_text":false,"note":"foobar","pleroma_settings_store":{"pleroma-fe":{"key":"val"}},"show_birthday":false,"show_role":false,"skip_thread_containment":false},"properties":{"accepts_chat_messages":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the user accepts receiving chat messages.","nullable":true},"actor_type":{"$ref":"#/components/schemas/ActorType"},"allow_following_move":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allows automatically follow moved following accounts","nullable":true},"also_known_as":{"description":"List of alternate ActivityPub IDs","items":{"type":"string"},"nullable":true,"type":"array"},"avatar":{"description":"Avatar image encoded using multipart/form-data","format":"binary","nullable":true,"type":"string"},"avatar_description":{"description":"Avatar image description.","nullable":true,"type":"string"},"birthday":{"anyOf":[{"format":"date","type":"string"},{"maxLength":0,"type":"string"}],"description":"User's birthday","nullable":true},"bot":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the account has a bot flag.","nullable":true},"default_scope":{"$ref":"#/components/schemas/VisibilityScope"},"discoverable":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Discovery (listing, indexing) of this account by external services (search bots etc.) is allowed.","nullable":true},"display_name":{"description":"The display name to use for the profile.","nullable":true,"type":"string"},"fields_attributes":{"nullable":true,"oneOf":[{"items":{"description":"Request schema for account custom fields","example":{"name":"Website","value":"https://pleroma.com"},"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"title":"AccountAttributeField","type":"object"},"type":"array"},{"additionalProperties":{"description":"Request schema for account custom fields","example":{"name":"Website","value":"https://pleroma.com"},"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"title":"AccountAttributeField","type":"object"},"type":"object"}]},"header":{"description":"Header image encoded using multipart/form-data","format":"binary","nullable":true,"type":"string"},"header_description":{"description":"Header image description.","nullable":true,"type":"string"},"hide_favorites":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's favorites timeline will be hidden","nullable":true},"hide_followers":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's followers will be hidden","nullable":true},"hide_followers_count":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follower count will be hidden","nullable":true},"hide_follows":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follows will be hidden","nullable":true},"hide_follows_count":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follow count will be hidden","nullable":true},"locked":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether manual approval of follow requests is required.","nullable":true},"no_rich_text":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"html tags are stripped from all statuses requested from the API","nullable":true},"note":{"description":"The account bio.","type":"string"},"pleroma_background_image":{"description":"Sets the background image of the user.","format":"binary","nullable":true,"type":"string"},"pleroma_settings_store":{"description":"Opaque user settings to be saved on the backend.","nullable":true,"type":"object"},"show_birthday":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"User's birthday will be visible","nullable":true},"show_role":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's role (e.g admin, moderator) will be exposed to anyone in the\n        API","nullable":true},"skip_thread_containment":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Skip filtering out broken threads","nullable":true}},"title":"AccountUpdateCredentialsRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for creating an account","example":{"actor_type":"Person","allow_following_move":false,"also_known_as":["https://foo.bar/users/foo"],"birthday":"2001-02-12","bot":false,"default_scope":"private","discoverable":false,"display_name":"cofe","fields_attributes":[{"name":"foo","value":"bar"}],"hide_favorites":false,"hide_followers":true,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"no_rich_text":false,"note":"foobar","pleroma_settings_store":{"pleroma-fe":{"key":"val"}},"show_birthday":false,"show_role":false,"skip_thread_containment":false},"properties":{"accepts_chat_messages":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the user accepts receiving chat messages.","nullable":true},"actor_type":{"$ref":"#/components/schemas/ActorType"},"allow_following_move":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allows automatically follow moved following accounts","nullable":true},"also_known_as":{"description":"List of alternate ActivityPub IDs","items":{"type":"string"},"nullable":true,"type":"array"},"avatar":{"description":"Avatar image encoded using multipart/form-data","format":"binary","nullable":true,"type":"string"},"avatar_description":{"description":"Avatar image description.","nullable":true,"type":"string"},"birthday":{"anyOf":[{"format":"date","type":"string"},{"maxLength":0,"type":"string"}],"description":"User's birthday","nullable":true},"bot":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the account has a bot flag.","nullable":true},"default_scope":{"$ref":"#/components/schemas/VisibilityScope"},"discoverable":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Discovery (listing, indexing) of this account by external services (search bots etc.) is allowed.","nullable":true},"display_name":{"description":"The display name to use for the profile.","nullable":true,"type":"string"},"fields_attributes":{"nullable":true,"oneOf":[{"items":{"description":"Request schema for account custom fields","example":{"name":"Website","value":"https://pleroma.com"},"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"title":"AccountAttributeField","type":"object"},"type":"array"},{"additionalProperties":{"description":"Request schema for account custom fields","example":{"name":"Website","value":"https://pleroma.com"},"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"title":"AccountAttributeField","type":"object"},"type":"object"}]},"header":{"description":"Header image encoded using multipart/form-data","format":"binary","nullable":true,"type":"string"},"header_description":{"description":"Header image description.","nullable":true,"type":"string"},"hide_favorites":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's favorites timeline will be hidden","nullable":true},"hide_followers":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's followers will be hidden","nullable":true},"hide_followers_count":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follower count will be hidden","nullable":true},"hide_follows":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follows will be hidden","nullable":true},"hide_follows_count":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follow count will be hidden","nullable":true},"locked":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether manual approval of follow requests is required.","nullable":true},"no_rich_text":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"html tags are stripped from all statuses requested from the API","nullable":true},"note":{"description":"The account bio.","type":"string"},"pleroma_background_image":{"description":"Sets the background image of the user.","format":"binary","nullable":true,"type":"string"},"pleroma_settings_store":{"description":"Opaque user settings to be saved on the backend.","nullable":true,"type":"object"},"show_birthday":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"User's birthday will be visible","nullable":true},"show_role":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's role (e.g admin, moderator) will be exposed to anyone in the\n        API","nullable":true},"skip_thread_containment":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Skip filtering out broken threads","nullable":true}},"title":"AccountUpdateCredentialsRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for creating an account","example":{"actor_type":"Person","allow_following_move":false,"also_known_as":["https://foo.bar/users/foo"],"birthday":"2001-02-12","bot":false,"default_scope":"private","discoverable":false,"display_name":"cofe","fields_attributes":[{"name":"foo","value":"bar"}],"hide_favorites":false,"hide_followers":true,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"no_rich_text":false,"note":"foobar","pleroma_settings_store":{"pleroma-fe":{"key":"val"}},"show_birthday":false,"show_role":false,"skip_thread_containment":false},"properties":{"accepts_chat_messages":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the user accepts receiving chat messages.","nullable":true},"actor_type":{"$ref":"#/components/schemas/ActorType"},"allow_following_move":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allows automatically follow moved following accounts","nullable":true},"also_known_as":{"description":"List of alternate ActivityPub IDs","items":{"type":"string"},"nullable":true,"type":"array"},"avatar":{"description":"Avatar image encoded using multipart/form-data","format":"binary","nullable":true,"type":"string"},"avatar_description":{"description":"Avatar image description.","nullable":true,"type":"string"},"birthday":{"anyOf":[{"format":"date","type":"string"},{"maxLength":0,"type":"string"}],"description":"User's birthday","nullable":true},"bot":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the account has a bot flag.","nullable":true},"default_scope":{"$ref":"#/components/schemas/VisibilityScope"},"discoverable":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Discovery (listing, indexing) of this account by external services (search bots etc.) is allowed.","nullable":true},"display_name":{"description":"The display name to use for the profile.","nullable":true,"type":"string"},"fields_attributes":{"nullable":true,"oneOf":[{"items":{"description":"Request schema for account custom fields","example":{"name":"Website","value":"https://pleroma.com"},"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"title":"AccountAttributeField","type":"object"},"type":"array"},{"additionalProperties":{"description":"Request schema for account custom fields","example":{"name":"Website","value":"https://pleroma.com"},"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"title":"AccountAttributeField","type":"object"},"type":"object"}]},"header":{"description":"Header image encoded using multipart/form-data","format":"binary","nullable":true,"type":"string"},"header_description":{"description":"Header image description.","nullable":true,"type":"string"},"hide_favorites":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's favorites timeline will be hidden","nullable":true},"hide_followers":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's followers will be hidden","nullable":true},"hide_followers_count":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follower count will be hidden","nullable":true},"hide_follows":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follows will be hidden","nullable":true},"hide_follows_count":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's follow count will be hidden","nullable":true},"locked":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether manual approval of follow requests is required.","nullable":true},"no_rich_text":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"html tags are stripped from all statuses requested from the API","nullable":true},"note":{"description":"The account bio.","type":"string"},"pleroma_background_image":{"description":"Sets the background image of the user.","format":"binary","nullable":true,"type":"string"},"pleroma_settings_store":{"description":"Opaque user settings to be saved on the backend.","nullable":true,"type":"object"},"show_birthday":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"User's birthday will be visible","nullable":true},"show_role":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"user's role (e.g admin, moderator) will be exposed to anyone in the\n        API","nullable":true},"skip_thread_containment":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Skip filtering out broken threads","nullable":true}},"title":"AccountUpdateCredentialsRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Update account credentials","tags":["Account credentials"]}},"/api/v1/statuses/{id}/unbookmark":{"post":{"callbacks":{},"deprecated":false,"description":"Remove a status from your private bookmarks","operationId":"StatusController.unbookmark","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Not Found"}}},"description":"Not found"}},"security":[{"oAuth":["write:bookmarks"]}],"summary":"Undo bookmark","tags":["Status actions"]}},"/api/v1/pleroma/admin/reports/assign_account":{"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ReportController.assign_account","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"reports":{"example":{"reports":[{"assigned_account":"pleroma","id":"123"}]},"items":{"properties":{"assigned_account":{"description":"User nickname","nullable":true,"type":"string"},"id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"Required, report ID"}},"type":"object"},"type":"array"}},"required":["reports"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"reports":{"example":{"reports":[{"assigned_account":"pleroma","id":"123"}]},"items":{"properties":{"assigned_account":{"description":"User nickname","nullable":true,"type":"string"},"id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"Required, report ID"}},"type":"object"},"type":"array"}},"required":["reports"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"reports":{"example":{"reports":[{"assigned_account":"pleroma","id":"123"}]},"items":{"properties":{"assigned_account":{"description":"User nickname","nullable":true,"type":"string"},"id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"Required, report ID"}},"type":"object"},"type":"array"}},"required":["reports"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"204":{"content":{"application/json":{"schema":{"example":"","type":"string"}}},"description":"No Content"},"400":{"content":{"application/json":{"schema":{"items":{"properties":{"error":{"description":"Error message","type":"string"},"id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"Report ID"}},"type":"object"},"type":"array"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:reports"]}],"summary":"Assign account to specified reports","tags":["Report management"]}},"/api/v1/pleroma/admin/reports/{id}":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ReportController.show","parameters":[{"description":"Report ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"account":{"description":"Account view for admins","properties":{"acct":{"type":"string"},"avatar":{"format":"uri","type":"string"},"avatar_description":{"type":"string"},"avatar_static":{"format":"uri","type":"string"},"bot":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"display_name":{"type":"string"},"emojis":{"items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"follow_requests_count":{"type":"integer"},"followers_count":{"type":"integer"},"following_count":{"type":"integer"},"header":{"format":"uri","type":"string"},"header_description":{"type":"string"},"header_static":{"format":"uri","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"is_active":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"locked":{"type":"boolean"},"nickname":{"type":"string"},"note":{"format":"html","type":"string"},"pleroma":{"properties":{"accepts_chat_messages":{"nullable":true,"type":"boolean"},"allow_following_move":{"description":"whether the user allows automatically follow moved following accounts","type":"boolean"},"also_known_as":{"items":{"type":"string"},"type":"array"},"ap_id":{"type":"string"},"avatar_description":{"deprecated":true,"type":"string"},"background_image":{"format":"uri","nullable":true,"type":"string"},"birthday":{"format":"date","nullable":true,"type":"string"},"chat_token":{"type":"string"},"favicon":{"description":"Favicon image of the user's instance","format":"uri","nullable":true,"type":"string"},"header_description":{"deprecated":true,"type":"string"},"hide_favorites":{"type":"boolean"},"hide_followers":{"description":"whether the user has follower hiding enabled","type":"boolean"},"hide_followers_count":{"description":"whether the user has follower stat hiding enabled","type":"boolean"},"hide_follows":{"description":"whether the user has follow hiding enabled","type":"boolean"},"hide_follows_count":{"description":"whether the user has follow stat hiding enabled","type":"boolean"},"is_admin":{"description":"whether the user is an admin of the local instance","type":"boolean"},"is_confirmed":{"description":"whether the user account is waiting on email confirmation to be activated","type":"boolean"},"is_moderator":{"description":"whether the user is a moderator of the local instance","type":"boolean"},"notification_settings":{"properties":{"block_from_strangers":{"type":"boolean"},"hide_notification_contents":{"type":"boolean"}},"type":"object"},"relationship":{"allOf":[{"$ref":"#/components/schemas/AccountRelationship"}],"nullable":true},"settings_store":{"description":"A generic map of settings for frontends. Opaque to the backend. Only returned in `verify_credentials` and `update_credentials`","type":"object"},"show_birthday":{"nullable":true,"type":"boolean"},"skip_thread_containment":{"type":"boolean"},"tags":{"description":"List of tags being used for things like extra roles or moderation(ie. marking all media as nsfw all).","items":{"type":"string"},"type":"array"},"unread_conversation_count":{"description":"The count of unread conversations. Only returned to the account owner.","type":"integer"}},"type":"object"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"source":{"properties":{"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"note":{"description":"Plaintext version of the bio without formatting applied by the backend, used for editing the bio.","type":"string"},"pleroma":{"properties":{"actor_type":{"$ref":"#/components/schemas/ActorType"},"discoverable":{"description":"whether the user allows indexing / listing of the account by external services (search engines etc.).","type":"boolean"},"no_rich_text":{"description":"whether the HTML tags for rich-text formatting are stripped from all statuses requested from the API.","type":"boolean"},"show_role":{"description":"whether the user wants their role (e.g admin, moderator) to be shown","type":"boolean"}},"type":"object"},"privacy":{"$ref":"#/components/schemas/VisibilityScope"},"sensitive":{"type":"boolean"}},"type":"object"},"statuses_count":{"type":"integer"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"title":"Account","type":"object"},"actor":{"description":"Account view for admins","properties":{"acct":{"type":"string"},"avatar":{"format":"uri","type":"string"},"avatar_description":{"type":"string"},"avatar_static":{"format":"uri","type":"string"},"bot":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"display_name":{"type":"string"},"emojis":{"items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"follow_requests_count":{"type":"integer"},"followers_count":{"type":"integer"},"following_count":{"type":"integer"},"header":{"format":"uri","type":"string"},"header_description":{"type":"string"},"header_static":{"format":"uri","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"is_active":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"locked":{"type":"boolean"},"nickname":{"type":"string"},"note":{"format":"html","type":"string"},"pleroma":{"properties":{"accepts_chat_messages":{"nullable":true,"type":"boolean"},"allow_following_move":{"description":"whether the user allows automatically follow moved following accounts","type":"boolean"},"also_known_as":{"items":{"type":"string"},"type":"array"},"ap_id":{"type":"string"},"avatar_description":{"deprecated":true,"type":"string"},"background_image":{"format":"uri","nullable":true,"type":"string"},"birthday":{"format":"date","nullable":true,"type":"string"},"chat_token":{"type":"string"},"favicon":{"description":"Favicon image of the user's instance","format":"uri","nullable":true,"type":"string"},"header_description":{"deprecated":true,"type":"string"},"hide_favorites":{"type":"boolean"},"hide_followers":{"description":"whether the user has follower hiding enabled","type":"boolean"},"hide_followers_count":{"description":"whether the user has follower stat hiding enabled","type":"boolean"},"hide_follows":{"description":"whether the user has follow hiding enabled","type":"boolean"},"hide_follows_count":{"description":"whether the user has follow stat hiding enabled","type":"boolean"},"is_admin":{"description":"whether the user is an admin of the local instance","type":"boolean"},"is_confirmed":{"description":"whether the user account is waiting on email confirmation to be activated","type":"boolean"},"is_moderator":{"description":"whether the user is a moderator of the local instance","type":"boolean"},"notification_settings":{"properties":{"block_from_strangers":{"type":"boolean"},"hide_notification_contents":{"type":"boolean"}},"type":"object"},"relationship":{"allOf":[{"$ref":"#/components/schemas/AccountRelationship"}],"nullable":true},"settings_store":{"description":"A generic map of settings for frontends. Opaque to the backend. Only returned in `verify_credentials` and `update_credentials`","type":"object"},"show_birthday":{"nullable":true,"type":"boolean"},"skip_thread_containment":{"type":"boolean"},"tags":{"description":"List of tags being used for things like extra roles or moderation(ie. marking all media as nsfw all).","items":{"type":"string"},"type":"array"},"unread_conversation_count":{"description":"The count of unread conversations. Only returned to the account owner.","type":"integer"}},"type":"object"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"source":{"properties":{"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"note":{"description":"Plaintext version of the bio without formatting applied by the backend, used for editing the bio.","type":"string"},"pleroma":{"properties":{"actor_type":{"$ref":"#/components/schemas/ActorType"},"discoverable":{"description":"whether the user allows indexing / listing of the account by external services (search engines etc.).","type":"boolean"},"no_rich_text":{"description":"whether the HTML tags for rich-text formatting are stripped from all statuses requested from the API.","type":"boolean"},"show_role":{"description":"whether the user wants their role (e.g admin, moderator) to be shown","type":"boolean"}},"type":"object"},"privacy":{"$ref":"#/components/schemas/VisibilityScope"},"sensitive":{"type":"boolean"}},"type":"object"},"statuses_count":{"type":"integer"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"title":"Account","type":"object"},"assigned_account":{"description":"Account view for admins","nullable":true,"properties":{"acct":{"type":"string"},"avatar":{"format":"uri","type":"string"},"avatar_description":{"type":"string"},"avatar_static":{"format":"uri","type":"string"},"bot":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"display_name":{"type":"string"},"emojis":{"items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"follow_requests_count":{"type":"integer"},"followers_count":{"type":"integer"},"following_count":{"type":"integer"},"header":{"format":"uri","type":"string"},"header_description":{"type":"string"},"header_static":{"format":"uri","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"is_active":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"locked":{"type":"boolean"},"nickname":{"type":"string"},"note":{"format":"html","type":"string"},"pleroma":{"properties":{"accepts_chat_messages":{"nullable":true,"type":"boolean"},"allow_following_move":{"description":"whether the user allows automatically follow moved following accounts","type":"boolean"},"also_known_as":{"items":{"type":"string"},"type":"array"},"ap_id":{"type":"string"},"avatar_description":{"deprecated":true,"type":"string"},"background_image":{"format":"uri","nullable":true,"type":"string"},"birthday":{"format":"date","nullable":true,"type":"string"},"chat_token":{"type":"string"},"favicon":{"description":"Favicon image of the user's instance","format":"uri","nullable":true,"type":"string"},"header_description":{"deprecated":true,"type":"string"},"hide_favorites":{"type":"boolean"},"hide_followers":{"description":"whether the user has follower hiding enabled","type":"boolean"},"hide_followers_count":{"description":"whether the user has follower stat hiding enabled","type":"boolean"},"hide_follows":{"description":"whether the user has follow hiding enabled","type":"boolean"},"hide_follows_count":{"description":"whether the user has follow stat hiding enabled","type":"boolean"},"is_admin":{"description":"whether the user is an admin of the local instance","type":"boolean"},"is_confirmed":{"description":"whether the user account is waiting on email confirmation to be activated","type":"boolean"},"is_moderator":{"description":"whether the user is a moderator of the local instance","type":"boolean"},"notification_settings":{"properties":{"block_from_strangers":{"type":"boolean"},"hide_notification_contents":{"type":"boolean"}},"type":"object"},"relationship":{"allOf":[{"$ref":"#/components/schemas/AccountRelationship"}],"nullable":true},"settings_store":{"description":"A generic map of settings for frontends. Opaque to the backend. Only returned in `verify_credentials` and `update_credentials`","type":"object"},"show_birthday":{"nullable":true,"type":"boolean"},"skip_thread_containment":{"type":"boolean"},"tags":{"description":"List of tags being used for things like extra roles or moderation(ie. marking all media as nsfw all).","items":{"type":"string"},"type":"array"},"unread_conversation_count":{"description":"The count of unread conversations. Only returned to the account owner.","type":"integer"}},"type":"object"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"source":{"properties":{"fields":{"items":{"$ref":"#/components/schemas/AccountField"},"type":"array"},"note":{"description":"Plaintext version of the bio without formatting applied by the backend, used for editing the bio.","type":"string"},"pleroma":{"properties":{"actor_type":{"$ref":"#/components/schemas/ActorType"},"discoverable":{"description":"whether the user allows indexing / listing of the account by external services (search engines etc.).","type":"boolean"},"no_rich_text":{"description":"whether the HTML tags for rich-text formatting are stripped from all statuses requested from the API.","type":"boolean"},"show_role":{"description":"whether the user wants their role (e.g admin, moderator) to be shown","type":"boolean"}},"type":"object"},"privacy":{"$ref":"#/components/schemas/VisibilityScope"},"sensitive":{"type":"boolean"}},"type":"object"},"statuses_count":{"type":"integer"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"title":"Account","type":"object"},"content":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"notes":{"items":{"properties":{"content":{"type":"string"},"id":{"type":"integer"},"inserted_at":{"format":"date-time","type":"string"},"user_id":{"$ref":"#/components/schemas/FlakeID"}},"type":"object"},"type":"array"},"rules":{"items":{"properties":{"hint":{"nullable":true,"type":"string"},"id":{"type":"string"},"text":{"type":"string"}},"type":"object"},"type":"array"},"state":{"enum":["open","closed","resolved"],"type":"string"},"statuses":{"items":{"$ref":"#/components/schemas/Status"},"type":"array"}},"type":"object"}}},"description":"Report"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:read:reports"]}],"summary":"Retrieve a report","tags":["Report management"]}},"/api/v1/accounts/{id}/lists":{"get":{"callbacks":{},"deprecated":false,"description":"User lists that you have added this account to.","operationId":"AccountController.lists","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for lists","example":[{"id":"123","title":"my list"},{"id":"1337","title":"anotehr list"}],"items":{"$ref":"#/components/schemas/List"},"title":"ArrayOfLists","type":"array"}}},"description":"Lists"}},"security":[{"oAuth":["read:lists"]}],"summary":"Lists containing this account","tags":["Retrieve account information"]}},"/api/v1/filters/{id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"FilterController.delete","parameters":[{"description":"Filter ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Empty object","type":"object"}}},"description":"Filter"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:filters"]}],"summary":"Remove a filter","tags":["Filters"]},"get":{"callbacks":{},"deprecated":false,"operationId":"FilterController.show","parameters":[{"description":"Filter ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"context":["home","notifications","public","thread"],"expires_at":null,"id":"5580","irreversible":true,"phrase":"@twitter.com","whole_word":false},"properties":{"context":{"description":"The contexts in which the filter should be applied.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_at":{"description":"When the filter should no longer be applied. String (ISO 8601 Datetime), or null if the filter does not expire.","format":"date-time","nullable":true,"type":"string"},"id":{"type":"string"},"irreversible":{"description":"Should matching entities in home and notifications be dropped by the server?","type":"boolean"},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"description":"Should the filter consider word boundaries?","type":"boolean"}},"title":"Filter","type":"object"}}},"description":"Filter"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["read:filters"]}],"summary":"Filter","tags":["Filters"]},"put":{"callbacks":{},"deprecated":false,"operationId":"FilterController.update","parameters":[{"description":"Filter ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"example":{"context":["home"],"phrase":"knights"},"properties":{"context":{"description":"Array of enumerable strings `home`, `notifications`, `public`, `thread`. At least one context must be specified.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_in":{"description":"Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire.","nullable":true,"type":"integer"},"irreversible":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Should the server irreversibly drop matching entities from home and notifications?","nullable":true},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Consider word boundaries?","nullable":true}},"required":["phrase","context"],"title":"FilterUpdateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"example":{"context":["home"],"phrase":"knights"},"properties":{"context":{"description":"Array of enumerable strings `home`, `notifications`, `public`, `thread`. At least one context must be specified.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_in":{"description":"Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire.","nullable":true,"type":"integer"},"irreversible":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Should the server irreversibly drop matching entities from home and notifications?","nullable":true},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Consider word boundaries?","nullable":true}},"required":["phrase","context"],"title":"FilterUpdateRequest","type":"object"}},"multipart/form-data":{"schema":{"example":{"context":["home"],"phrase":"knights"},"properties":{"context":{"description":"Array of enumerable strings `home`, `notifications`, `public`, `thread`. At least one context must be specified.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_in":{"description":"Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire.","nullable":true,"type":"integer"},"irreversible":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Should the server irreversibly drop matching entities from home and notifications?","nullable":true},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Consider word boundaries?","nullable":true}},"required":["phrase","context"],"title":"FilterUpdateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"context":["home","notifications","public","thread"],"expires_at":null,"id":"5580","irreversible":true,"phrase":"@twitter.com","whole_word":false},"properties":{"context":{"description":"The contexts in which the filter should be applied.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_at":{"description":"When the filter should no longer be applied. String (ISO 8601 Datetime), or null if the filter does not expire.","format":"date-time","nullable":true,"type":"string"},"id":{"type":"string"},"irreversible":{"description":"Should matching entities in home and notifications be dropped by the server?","type":"boolean"},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"description":"Should the filter consider word boundaries?","type":"boolean"}},"title":"Filter","type":"object"}}},"description":"Filter"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:filters"]}],"summary":"Update a filter","tags":["Filters"]}},"/api/v1/pleroma/chats":{"get":{"callbacks":{},"deprecated":true,"description":"Deprecated due to no support for pagination. Using [/api/v2/pleroma/chats](#operation/ChatController.index2) instead is recommended.","operationId":"ChatController.index","parameters":[{"description":"Include chats from muted users","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Include only pinned chats","in":"query","name":"pinned","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for multiple Chats","example":[{"account":{"acct":"lain@dontbulling.me","avatar":"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg","avatar_static":"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg","bot":false,"created_at":"2020-04-16T13:40:15.000Z","display_name":"lain","emojis":[],"fields":[],"followers_count":0,"following_count":0,"header":"https://originalpatchou.li/images/banner.png","header_static":"https://originalpatchou.li/images/banner.png","id":"9u6Qw6TAZANpqokMkK","locked":false,"note":"lain","pleroma":{"ap_id":"https://dontbulling.me/users/lain","background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"lain","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"https://dontbulling.me/users/lain","username":"lain"},"id":"1","unread":2}],"items":{"$ref":"#/components/schemas/Chat"},"title":"ChatsResponse","type":"array"}}},"description":"The chats of the user"}},"security":[{"oAuth":["read:chats"]}],"summary":"Retrieve list of chats (unpaginated)","tags":["Chats"]}},"/api/v1/pleroma/outgoing_follow_requests":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaFollowRequestController.outgoing","parameters":[{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"type":"array"}}},"description":"Array of Account"}},"security":[{"oAuth":["read:follows","follow"]}],"summary":"Retrieve outgoing follow requests","tags":["Follow requests"]}},"/api/v1/pleroma/conversations/read":{"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.ConversationController.mark_as_read","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"accounts":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"id":"418450","last_status":{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"},"unread":true}],"items":{"$ref":"#/components/schemas/Conversation"},"type":"array"}}},"description":"Array of Conversations that were marked as read"}},"security":[{"oAuth":["write:conversations"]}],"summary":"Marks all conversations as read","tags":["Conversations"]}},"/api/v1/follow_requests":{"get":{"callbacks":{},"deprecated":false,"operationId":"FollowRequestController.index","parameters":[{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"type":"array"}}},"description":"Array of Account"}},"security":[{"oAuth":["read:follows","follow"]}],"summary":"Retrieve follow requests","tags":["Follow requests"]}},"/api/v1/directory":{"get":{"callbacks":{},"deprecated":false,"operationId":"DirectoryController.index","parameters":[{"description":"Order by recent activity or account creation","in":"query","name":"order","schema":{"type":"string"}},{"description":"Include local users only","in":"query","name":"local","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"}}},"description":"Accounts"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"summary":"Profile directory","tags":["Others"]}},"/api/v1/suggestions":{"get":{"callbacks":{},"deprecated":false,"operationId":"SuggestionController.index","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"example":[],"items":{"example":{},"type":"object"},"type":"array"}}},"description":"Empty array"}},"summary":"Follow suggestions (Not implemented)","tags":["Suggestions"]}},"/api/v1/statuses/{id}/mute":{"post":{"callbacks":{},"deprecated":false,"description":"Do not receive notifications for the thread that this status is part of.","operationId":"StatusController.mute_conversation","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Expire the mute in `expires_in` seconds. Default 0 for infinity","in":"query","name":"expires_in","required":false,"schema":{"default":0,"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"expires_in":{"default":0,"description":"Expire the mute in `expires_in` seconds. Default 0 for infinity","nullable":true,"type":"integer"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"expires_in":{"default":0,"description":"Expire the mute in `expires_in` seconds. Default 0 for infinity","nullable":true,"type":"integer"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"expires_in":{"default":0,"description":"Expire the mute in `expires_in` seconds. Default 0 for infinity","nullable":true,"type":"integer"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Not Found"}}},"description":"Not found"}},"security":[{"oAuth":["write:mutes"]}],"summary":"Mute conversation","tags":["Status actions"]}},"/api/pleroma/delete_account":{"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.delete_account","parameters":[{"description":"Password","in":"query","name":"password","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for deleting one's own account","example":{"password":"prettyp0ony1313"},"properties":{"password":{"description":"The user's own password for confirmation.","format":"password","type":"string"}},"title":"AccountDeleteRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for deleting one's own account","example":{"password":"prettyp0ony1313"},"properties":{"password":{"description":"The user's own password for confirmation.","format":"password","type":"string"}},"title":"AccountDeleteRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for deleting one's own account","example":{"password":"prettyp0ony1313"},"properties":{"password":{"description":"The user's own password for confirmation.","format":"password","type":"string"}},"title":"AccountDeleteRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"example":"success","type":"string"}},"type":"object"}}},"description":"Success"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Delete Account","tags":["Account credentials"]}},"/api/v1/statuses/{id}/unfavourite":{"post":{"callbacks":{},"deprecated":false,"description":"Remove a status from your favourites list","operationId":"StatusController.unfavourite","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["write:favourites"]}],"summary":"Undo favourite","tags":["Status actions"]}},"/api/v1/pleroma/admin/users/invites":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.InviteController.index","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"invites":[{"expires_at":null,"id":123,"invite_type":"one_time","max_use":null,"token":"kSQtDj_GNy2NZsL9AQDFIsHN5qdbguB6qRg3WHw6K1U=","used":true,"uses":0}]},"properties":{"invites":{"items":{"example":{"expires_at":null,"id":123,"invite_type":"one_time","max_use":null,"token":"kSQtDj_GNy2NZsL9AQDFIsHN5qdbguB6qRg3WHw6K1U=","used":true,"uses":0},"properties":{"expires_at":{"format":"date","nullable":true,"type":"string"},"id":{"type":"integer"},"invite_type":{"enum":["one_time","reusable","date_limited","reusable_date_limited"],"type":"string"},"max_use":{"nullable":true,"type":"integer"},"token":{"type":"string"},"used":{"type":"boolean"},"uses":{"type":"integer"}},"title":"Invite","type":"object"},"type":"array"}},"type":"object"}}},"description":"Invites"}},"security":[{"oAuth":["admin:read:invites"]}],"summary":"Get a list of generated invites","tags":["Invites"]}},"/api/v1/media":{"post":{"callbacks":{},"deprecated":false,"description":"Creates an attachment to be used with a new status.","operationId":"MediaController.create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for creating an attachment","properties":{"description":{"description":"A plain-text description of the media, for accessibility purposes.","type":"string"},"file":{"description":"The file to be attached, using multipart form data.","format":"binary","type":"string"},"focus":{"description":"Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.","type":"string"}},"required":["file"],"title":"MediaCreateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for creating an attachment","properties":{"description":{"description":"A plain-text description of the media, for accessibility purposes.","type":"string"},"file":{"description":"The file to be attached, using multipart form data.","format":"binary","type":"string"},"focus":{"description":"Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.","type":"string"}},"required":["file"],"title":"MediaCreateRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for creating an attachment","properties":{"description":{"description":"A plain-text description of the media, for accessibility purposes.","type":"string"},"file":{"description":"The file to be attached, using multipart form data.","format":"binary","type":"string"},"focus":{"description":"Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.","type":"string"}},"required":["file"],"title":"MediaCreateRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attachment"}}},"description":"Media"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"}},"security":[{"oAuth":["write:media"]}],"summary":"Upload media as attachment","tags":["Media attachments"]}},"/api/v1/media/{id}":{"get":{"callbacks":{},"deprecated":false,"operationId":"MediaController.show","parameters":[{"description":"The ID of the Attachment entity","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attachment"}}},"description":"Media"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"}},"security":[{"oAuth":["read:media"]}],"summary":"Attachment","tags":["Media attachments"]},"put":{"callbacks":{},"deprecated":false,"description":"Creates an attachment to be used with a new status.","operationId":"MediaController.update","parameters":[{"description":"The ID of the Attachment entity","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for updating an attachment","properties":{"description":{"description":"A plain-text description of the media, for accessibility purposes.","type":"string"},"file":{"description":"The file to be attached, using multipart form data.","format":"binary","type":"string"},"focus":{"description":"Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.","type":"string"}},"title":"MediaUpdateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for updating an attachment","properties":{"description":{"description":"A plain-text description of the media, for accessibility purposes.","type":"string"},"file":{"description":"The file to be attached, using multipart form data.","format":"binary","type":"string"},"focus":{"description":"Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.","type":"string"}},"title":"MediaUpdateRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for updating an attachment","properties":{"description":{"description":"A plain-text description of the media, for accessibility purposes.","type":"string"},"file":{"description":"The file to be attached, using multipart form data.","format":"binary","type":"string"},"focus":{"description":"Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.","type":"string"}},"title":"MediaUpdateRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attachment"}}},"description":"Media"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"}},"security":[{"oAuth":["write:media"]}],"summary":"Update attachment","tags":["Media attachments"]}},"/api/v1/pleroma/admin/chats/{id}/messages":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ChatController.messages","parameters":[{"description":"The ID of the Chat","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for multiple ChatMessages","example":[{"account_id":"someflakeid","chat_id":"1","content":"Check this out :firefox:","created_at":"2020-04-21T15:11:46.000Z","emojis":[{"shortcode":"firefox","static_url":"https://dontbulling.me/emoji/Firefox.gif","url":"https://dontbulling.me/emoji/Firefox.gif","visible_in_picker":false}],"id":"13","unread":false},{"account_id":"someflakeid","chat_id":"1","content":"Whats' up?","created_at":"2020-04-21T15:06:45.000Z","emojis":[],"id":"12","unread":false}],"items":{"$ref":"#/components/schemas/ChatMessage"},"title":"ChatMessagesResponse","type":"array"}}},"description":"The messages in the chat"}},"security":[{"oAuth":["admin:read:chats"]}],"summary":"Get chat's messages","tags":["Chat administration"]}},"/api/v1/pleroma/conversations/{id}/statuses":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.ConversationController.statuses","parameters":[{"description":"Conversation ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"type":"array"}}},"description":"Array of Statuses"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Timeline for conversation","tags":["Conversations"]}},"/api/v2/suggestions":{"get":{"callbacks":{},"deprecated":false,"operationId":"SuggestionController.index2","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"example":[],"items":{"example":{},"type":"object"},"type":"array"}}},"description":"Empty array"}},"summary":"Follow suggestions","tags":["Suggestions"]}},"/api/v1/lists":{"get":{"callbacks":{},"deprecated":false,"description":"Fetch all lists that the user owns","operationId":"ListController.index","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for lists","example":[{"id":"123","title":"my list"},{"id":"1337","title":"another list"}],"items":{"$ref":"#/components/schemas/List"},"title":"ArrayOfLists","type":"array"}}},"description":"Array of List"}},"security":[{"oAuth":["read:lists"]}],"summary":"Retrieve a list of lists","tags":["Lists"]},"post":{"callbacks":{},"deprecated":false,"description":"Fetch the list with the given ID. Used for verifying the title of a list.","operationId":"ListController.create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for creating a List","properties":{"exclusive":{"description":"Whether members of the list should be removed from the “Home” feed","type":"boolean"},"title":{"description":"List title","type":"string"}},"required":["title"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for creating a List","properties":{"exclusive":{"description":"Whether members of the list should be removed from the “Home” feed","type":"boolean"},"title":{"description":"List title","type":"string"}},"required":["title"],"type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for creating a List","properties":{"exclusive":{"description":"Whether members of the list should be removed from the “Home” feed","type":"boolean"},"title":{"description":"List title","type":"string"}},"required":["title"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}}},"description":"List"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:lists"]}],"summary":"Create a list","tags":["Lists"]}},"/api/v1/accounts/relationships":{"get":{"callbacks":{},"deprecated":false,"description":"Find out whether a given account is followed, blocked, muted, etc.","operationId":"AccountController.relationships","parameters":[{"description":"Account IDs","example":"123","in":"query","name":"id","required":false,"schema":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"type":"string"}]}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for account relationships","example":[{"blocked_by":true,"blocking":false,"domain_blocking":false,"endorsed":true,"followed_by":true,"following":true,"id":"1","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},{"blocked_by":true,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":true,"following":true,"id":"2","muting":true,"muting_notifications":false,"note":"","notifying":false,"requested":true,"showing_reblogs":true,"subscribing":false},{"blocked_by":false,"blocking":true,"domain_blocking":true,"endorsed":false,"followed_by":true,"following":true,"id":"3","muting":true,"muting_notifications":false,"note":"","notifying":true,"requested":false,"showing_reblogs":true,"subscribing":true}],"items":{"$ref":"#/components/schemas/AccountRelationship"},"title":"ArrayOfRelationships","type":"array"}}},"description":"Account"}},"security":[{"oAuth":["read:follows"]}],"summary":"Relationship with current account","tags":["Retrieve account information"]}},"/api/v1/bookmarks":{"get":{"callbacks":{},"deprecated":false,"description":"Statuses the user has bookmarked","operationId":"StatusController.bookmarks","parameters":[{"description":"If provided, only display bookmarks from given folder","in":"query","name":"folder_id","required":false,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"type":"array"}}},"description":"Array of Statuses"}},"security":[{"oAuth":["read:bookmarks"]}],"summary":"Bookmarked statuses","tags":["Timelines"]}},"/api/v1/accounts/{id}/block":{"post":{"callbacks":{},"deprecated":false,"description":"Block the given account. Clients should filter statuses from this account if received (e.g. due to a boost in the Home timeline)","operationId":"AccountController.block","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for blocking an account","example":{"duration":86400},"properties":{"duration":{"description":"Expire the mute in `duration` seconds. Default 0 for infinity","nullable":true,"type":"integer"}},"title":"AccountBlockRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for blocking an account","example":{"duration":86400},"properties":{"duration":{"description":"Expire the mute in `duration` seconds. Default 0 for infinity","nullable":true,"type":"integer"}},"title":"AccountBlockRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for blocking an account","example":{"duration":86400},"properties":{"duration":{"description":"Expire the mute in `duration` seconds. Default 0 for infinity","nullable":true,"type":"integer"}},"title":"AccountBlockRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"}},"security":[{"oAuth":["follow","write:blocks"]}],"summary":"Block","tags":["Account actions"]}},"/api/v1/accounts/familiar_followers":{"get":{"callbacks":{},"deprecated":false,"description":"Obtain a list of all accounts that follow a given account, filtered for accounts you follow.","operationId":"AccountController.familiar_followers","parameters":[{"description":"Account IDs","example":"123","in":"query","name":"id","required":false,"schema":{"oneOf":[{"items":{"type":"string"},"type":"array"},{"type":"string"}]}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"accounts":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"},"id":{"$ref":"#/components/schemas/FlakeID"}},"title":"Account","type":"object"},"title":"ArrayOfAccounts","type":"array"}}},"description":"Accounts"}},"security":[{"oAuth":["read:follows"]}],"summary":"Followers that you follow","tags":["Retrieve account information"]}},"/api/v1/pleroma/emoji/packs/archive":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.archive","parameters":[{"description":"Pack Name","example":"cofe","in":"query","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}}},"description":"Archive file"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"summary":"Requests a local pack archive from the instance","tags":["Emoji packs"]}},"/api/v1/accounts/verify_credentials":{"get":{"callbacks":{},"deprecated":false,"description":"Test to make sure that the user token works.","operationId":"AccountController.verify_credentials","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account"}},"security":[{"oAuth":["read:accounts"]}],"summary":"Verify account credentials","tags":["Account credentials"]}},"/api/v0/pleroma/reports":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.ReportController.index","parameters":[{"description":"Filter by report state","in":"query","name":"state","required":false,"schema":{"enum":["open","closed","resolved"],"type":"string"}},{"description":"The number of records to retrieve","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"Page number","in":"query","name":"page","required":false,"schema":{"default":1,"type":"integer"}},{"description":"Number number of log entries per page","in":"query","name":"page_size","required":false,"schema":{"default":50,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"reports":{"items":{"properties":{"account":{"$ref":"#/components/schemas/Account"},"actor":{"$ref":"#/components/schemas/Account"},"content":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"state":{"enum":["open","closed","resolved"],"type":"string"},"statuses":{"items":{"$ref":"#/components/schemas/Status"},"type":"array"}},"type":"object"},"type":"array"},"total":{"type":"integer"}},"type":"object"}}},"description":"Response"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:reports"]}],"summary":"Get a list of your own reports","tags":["Reports"]}},"/api/v1/pleroma/preferred_frontend/available":{"get":{"callbacks":{},"deprecated":false,"description":"List frontend setting profiles","operationId":"PleromaAPI.FrontendSettingsController.available_frontends","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}},"description":"Frontends"}},"summary":"Frontend settings profiles","tags":["Preferred frontends"]}},"/api/v1/conversations/{id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"ConversationController.delete","parameters":[{"description":"Conversation ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{},"type":"object"}}},"description":"Empty object"}},"security":[{"oAuth":["write:conversations"]}],"summary":"Remove conversation","tags":["Conversations"]}},"/api/v1/conversations":{"get":{"callbacks":{},"deprecated":false,"operationId":"ConversationController.index","parameters":[{"description":"Only return conversations with the given recipients (a list of user ids)","in":"query","name":"recipients","required":false,"schema":{"items":{"$ref":"#/components/schemas/FlakeID"},"type":"array"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"accounts":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"id":"418450","last_status":{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"},"unread":true}],"items":{"$ref":"#/components/schemas/Conversation"},"type":"array"}}},"description":"Array of Conversation"}},"security":[{"oAuth":["read:statuses"]}],"summary":"List of conversations","tags":["Conversations"]}},"/api/pleroma/change_password":{"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.change_password","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for changing the account's password","properties":{"new_password":{"description":"New password","type":"string"},"new_password_confirmation":{"description":"New password, confirmation","type":"string"},"password":{"description":"Current password","type":"string"}},"required":["password","new_password","new_password_confirmation"],"title":"ChangePasswordRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for changing the account's password","properties":{"new_password":{"description":"New password","type":"string"},"new_password_confirmation":{"description":"New password, confirmation","type":"string"},"password":{"description":"Current password","type":"string"}},"required":["password","new_password","new_password_confirmation"],"title":"ChangePasswordRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for changing the account's password","properties":{"new_password":{"description":"New password","type":"string"},"new_password_confirmation":{"description":"New password, confirmation","type":"string"},"password":{"description":"Current password","type":"string"}},"required":["password","new_password","new_password_confirmation"],"title":"ChangePasswordRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"example":"success","type":"string"}},"type":"object"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Change account password","tags":["Account credentials"]}},"/api/v1/pleroma/chats/{id}/pin":{"post":{"callbacks":{},"deprecated":false,"operationId":"ChatController.pin","parameters":[{"description":"The id of the chat","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat"}}},"description":"The existing chat"}},"security":[{"oAuth":["write:chats"]}],"summary":"Pin a chat","tags":["Chats"]}},"/api/v1/instance/peers":{"get":{"callbacks":{},"deprecated":false,"operationId":"InstanceController.peers","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"example":["pleroma.site","lain.com","bikeshed.party"],"items":{"type":"string"},"type":"array"}}},"description":"Array of domains"}},"summary":"Retrieve list of known instances","tags":["Instance misc"]}},"/api/v1/pleroma/statuses/{id}/quotes":{"get":{"callbacks":{},"deprecated":true,"description":"View quotes for a given status. Use /api/v1/statuses/:id/quotes instead.","operationId":"PleromaAPI.StatusController.quotes","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"type":"array"}}},"description":"Array of Status"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Quoted by","tags":["Retrieve status information"]}},"/api/v1/statuses/{id}/translate":{"post":{"callbacks":{},"deprecated":false,"description":"Translate status with an external API","operationId":"StatusController.translate","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"lang":{"description":"Translation target language.","nullable":true,"type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"lang":{"description":"Translation target language.","nullable":true,"type":"string"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"lang":{"description":"Translation target language.","nullable":true,"type":"string"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Represents status translation with related information.","example":{"content":"Software für die nächste Generation der sozialen Medien.","detected_source_language":"en","provider":"Deepl"},"properties":{"content":{"description":"Translated status content","type":"string"},"detected_source_language":{"description":"Detected source language","type":"string"},"provider":{"description":"Translation provider service name","type":"string"}},"required":["content","detected_source_language","provider"],"title":"StatusTranslation","type":"object"}}},"description":"Translation"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Translate status","tags":["Retrieve status information"]}},"/api/v1/statuses/{id}/history":{"get":{"callbacks":{},"deprecated":false,"description":"View history of a status","operationId":"StatusController.show_history","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for history of a status","items":{"properties":{"account":{"allOf":[{"$ref":"#/components/schemas/Account"}],"description":"The account that authored this status"},"content":{"description":"HTML-encoded status content","format":"html","type":"string"},"created_at":{"description":"The date when this status was created","format":"date-time","type":"string"},"emojis":{"description":"Custom emoji to be used when rendering status content","items":{"$ref":"#/components/schemas/Emoji"},"type":"array"},"media_attachments":{"description":"Media that is attached to this status","items":{"$ref":"#/components/schemas/Attachment"},"type":"array"},"poll":{"allOf":[{"$ref":"#/components/schemas/Poll"}],"description":"The poll attached to the status","nullable":true},"sensitive":{"description":"Is this status marked as sensitive content?","type":"boolean"},"spoiler_text":{"description":"Subject or summary line, below which status content is collapsed until expanded","type":"string"}},"type":"object"},"title":"Status history","type":"array"}}},"description":"Status History"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Status history","tags":["Retrieve status information"]}},"/api/v1/accounts/{id}/unmute":{"post":{"callbacks":{},"deprecated":false,"description":"Unmute the given account.","operationId":"AccountController.unmute","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"}},"security":[{"oAuth":["follow","write:mutes"]}],"summary":"Unmute","tags":["Account actions"]}},"/api/v1/notifications/destroy_multiple":{"delete":{"callbacks":{},"deprecated":false,"operationId":"NotificationController.destroy_multiple","parameters":[{"description":"Array of notification IDs to dismiss","in":"query","name":"ids","required":true,"schema":{"items":{"type":"string"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{},"type":"object"}}},"description":"Empty object"}},"security":[{"oAuth":["write:notifications"]}],"summary":"Dismiss multiple notifications","tags":["Notifications"]}},"/api/v1/pleroma/chats/{id}/messages":{"get":{"callbacks":{},"deprecated":false,"operationId":"ChatController.messages","parameters":[{"description":"The ID of the Chat","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for multiple ChatMessages","example":[{"account_id":"someflakeid","chat_id":"1","content":"Check this out :firefox:","created_at":"2020-04-21T15:11:46.000Z","emojis":[{"shortcode":"firefox","static_url":"https://dontbulling.me/emoji/Firefox.gif","url":"https://dontbulling.me/emoji/Firefox.gif","visible_in_picker":false}],"id":"13","unread":false},{"account_id":"someflakeid","chat_id":"1","content":"Whats' up?","created_at":"2020-04-21T15:06:45.000Z","emojis":[],"id":"12","unread":false}],"items":{"$ref":"#/components/schemas/ChatMessage"},"title":"ChatMessagesResponse","type":"array"}}},"description":"The messages in the chat"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:chats"]}],"summary":"Retrieve chat's messages","tags":["Chats"]},"post":{"callbacks":{},"deprecated":false,"operationId":"ChatController.post_chat_message","parameters":[{"description":"The ID of the Chat","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for creating an chat message","example":{"content":"Hey wanna buy feet pics?","media_id":"134234"},"properties":{"content":{"description":"The content of your message. Optional if media_id is present","type":"string"},"media_id":{"description":"The id of an upload","type":"string"}},"title":"ChatMessageCreateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for creating an chat message","example":{"content":"Hey wanna buy feet pics?","media_id":"134234"},"properties":{"content":{"description":"The content of your message. Optional if media_id is present","type":"string"},"media_id":{"description":"The id of an upload","type":"string"}},"title":"ChatMessageCreateRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for creating an chat message","example":{"content":"Hey wanna buy feet pics?","media_id":"134234"},"properties":{"content":{"description":"The content of your message. Optional if media_id is present","type":"string"},"media_id":{"description":"The id of an upload","type":"string"}},"title":"ChatMessageCreateRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessage"}}},"description":"The newly created ChatMessage"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"MRF Rejection"}},"security":[{"oAuth":["write:chats"]}],"summary":"Post a message to the chat","tags":["Chats"]}},"/api/pleroma/disable_account":{"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.disable_account","parameters":[{"description":"Password","in":"query","name":"password","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"example":"success","type":"string"}},"type":"object"}}},"description":"Success"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Disable Account","tags":["Account credentials"]}},"/api/pleroma/move_account":{"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.move_account","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for moving the account","properties":{"password":{"description":"Current password","type":"string"},"target_account":{"description":"The nickname of the target account to move to","type":"string"}},"required":["password","target_account"],"title":"MoveAccountRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for moving the account","properties":{"password":{"description":"Current password","type":"string"},"target_account":{"description":"The nickname of the target account to move to","type":"string"}},"required":["password","target_account"],"title":"MoveAccountRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for moving the account","properties":{"password":{"description":"Current password","type":"string"},"target_account":{"description":"The nickname of the target account to move to","type":"string"}},"required":["password","target_account"],"title":"MoveAccountRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"example":"success","type":"string"}},"type":"object"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Move account","tags":["Account credentials"]}},"/api/v1/pleroma/emoji/packs/download":{"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.download","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"as":{"description":"Save as","format":"uri","type":"string"},"name":{"description":"Pack Name","format":"uri","type":"string"},"url":{"description":"URL of the instance to download from","format":"uri","type":"string"}},"required":["url","name"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"as":{"description":"Save as","format":"uri","type":"string"},"name":{"description":"Pack Name","format":"uri","type":"string"},"url":{"description":"URL of the instance to download from","format":"uri","type":"string"}},"required":["url","name"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"as":{"description":"Save as","format":"uri","type":"string"},"name":{"description":"Pack Name","format":"uri","type":"string"},"url":{"description":"URL of the instance to download from","format":"uri","type":"string"}},"required":["url","name"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":"ok","type":"string"}}},"description":"Ok"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["admin:write"]}],"summary":"Download pack from another instance","tags":["Emoji pack administration"]}},"/api/v1/pleroma/accounts/confirmation_resend":{"post":{"callbacks":{},"deprecated":false,"description":"Expects `email` or `nickname`.","operationId":"PleromaAPI.AccountController.confirmation_resend","parameters":[{"description":"Email of that needs to be verified","example":"cofe@cofe.io","in":"query","name":"email","required":false,"schema":{"type":"string"}},{"description":"Nickname of user that needs to be verified","example":"cofefe","in":"query","name":"nickname","required":false,"schema":{"type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"example":"","type":"string"}}},"description":"No Content"}},"summary":"Resend confirmation email","tags":["Account credentials"]}},"/api/v1/pleroma/admin/users/activate":{"patch":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.activate","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for deleting multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for deleting multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for deleting multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"user":{"items":{"properties":{"actor_type":{"type":"string"},"avatar":{"format":"uri","type":"string"},"display_name":{"type":"string"},"email":{"format":"email","type":"string"},"id":{"type":"string"},"is_active":{"type":"boolean"},"is_approved":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"nickname":{"type":"string"},"registration_reason":{"nullable":true,"type":"string"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"tags":{"items":{"type":"string"},"type":"array"},"url":{"format":"uri","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:accounts"]}],"summary":"Activate multiple users","tags":["User administration"]}},"/api/v1/statuses/{id}/context":{"get":{"callbacks":{},"deprecated":false,"description":"View statuses above and below this status in the thread","operationId":"StatusController.context","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Represents the tree around a given status. Used for reconstructing threads of statuses.","example":{"ancestors":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"descendants":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}]},"properties":{"ancestors":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"type":"array"},"descendants":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"type":"array"}},"required":["ancestors","descendants"],"title":"StatusContext","type":"object"}}},"description":"Context"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Parent and child statuses","tags":["Retrieve status information"]}},"/api/v1/pleroma/admin/users/{nickname}/toggle_activation":{"patch":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.toggle_activation","parameters":[{"description":"User nickname","in":"path","name":"nickname","required":true,"schema":{"type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"actor_type":{"type":"string"},"avatar":{"format":"uri","type":"string"},"display_name":{"type":"string"},"email":{"format":"email","type":"string"},"id":{"type":"string"},"is_active":{"type":"boolean"},"is_approved":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"nickname":{"type":"string"},"registration_reason":{"nullable":true,"type":"string"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"tags":{"items":{"type":"string"},"type":"array"},"url":{"format":"uri","type":"string"}},"type":"object"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:accounts"]}],"summary":"Toggle user activation","tags":["User administration"]}},"/api/v2/instance":{"get":{"callbacks":{},"deprecated":false,"description":"Information about the server","operationId":"InstanceController.show2","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"configuration":{"description":"Instance configuration","properties":{"accounts":{"properties":{"max_featured_tags":{"description":"The maximum number of featured tags allowed for each account.","type":"integer"},"max_pinned_statuses":{"description":"The maximum number of pinned statuses for each account.","type":"integer"},"max_profile_fields":{"description":"The maximum number of custom profile fields allowed to be set.","type":"integer"},"profile_field_name_limit":{"description":"The maximum size of a profile field name, in characters.","type":"integer"},"profile_field_value_limit":{"description":"The maximum size of a profile field value, in characters.","type":"integer"}},"type":"object"},"media_attachments":{"description":"A map with poll limits for media attachments","properties":{"image_size_limit":{"description":"File size limit of uploaded images","type":"integer"},"video_size_limit":{"description":"File size limit of uploaded videos","type":"integer"}},"type":"object"},"polls":{"description":"A map with poll limits for local polls","properties":{"max_characters_per_option":{"description":"Maximum number of characters per option.","type":"integer"},"max_expiration":{"description":"Maximum expiration time (in seconds).","type":"integer"},"max_options":{"description":"Maximum number of options.","type":"integer"},"min_expiration":{"description":"Minimum expiration time (in seconds).","type":"integer"}},"type":"object"},"statuses":{"description":"A map with poll limits for local statuses","properties":{"characters_reserved_per_url":{"description":"Each URL in a status will be assumed to be exactly this many characters.","type":"integer"},"max_characters":{"description":"Posts character limit (CW/Subject included in the counter)","type":"integer"},"max_media_attachments":{"description":"Media attachment limit","type":"integer"}},"type":"object"},"urls":{"properties":{"streaming":{"description":"Websockets address for push streaming","type":"string"}},"type":"object"}},"type":"object"},"description":{"description":"Admin-defined description of the Pleroma site","type":"string"},"domain":{"description":"The domain name of the instance","type":"string"},"email":{"description":"An email that may be contacted for any inquiries","format":"email","type":"string"},"languages":{"description":"Primary languages of the website and its staff","items":{"type":"string"},"type":"array"},"registrations":{"description":"Registrations-related configuration","properties":{"approval_required":{"description":"Whether users need to be manually approved by admin","type":"boolean"},"enabled":{"description":"Whether registrations are enabled","type":"boolean"}},"type":"object"},"source_url":{"description":"The version of Pleroma installed on the instance","type":"string"},"stats":{"description":"Statistics about how much information the instance contains","properties":{"domain_count":{"description":"Domains federated with this instance","type":"integer"},"status_count":{"description":"Statuses authored by users on instance","type":"integer"},"user_count":{"description":"Users registered on this instance","type":"integer"}},"type":"object"},"thumbnail":{"properties":{"url":{"description":"Banner image for the website","nullable":true,"type":"string"}},"type":"object"},"title":{"description":"The title of the website","type":"string"},"urls":{"description":"URLs of interest for clients apps","properties":{},"type":"object"},"usage":{"description":"Instance usage statistics","properties":{"users":{"description":"User count statistics","properties":{"active_month":{"description":"Monthly active users","type":"integer"}},"type":"object"}},"type":"object"},"version":{"description":"The version of Pleroma installed on the instance","type":"string"}},"type":"object"}}},"description":"Instance"}},"summary":"Retrieve instance information","tags":["Instance misc"]}},"/api/v1/accounts/{id}/endorse":{"post":{"callbacks":{},"deprecated":false,"description":"Adds the given account to endorsed accounts list.","operationId":"AccountController.endorse (2)","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"},"400":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"}],"example":{"error":"You have already pinned the maximum number of users"},"title":"Unprocessable Entity"}}},"description":"Bad Request"}},"security":[{"oAuth":["follow","write:accounts"]}],"summary":"Endorse","tags":["Account actions"]}},"/api/v1/push/subscription":{"delete":{"callbacks":{},"deprecated":false,"description":"Removes the current Web Push API subscription.","operationId":"SubscriptionController.delete","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Empty object"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["push"]}],"summary":"Remove current subscription","tags":["Push subscriptions"]},"get":{"callbacks":{},"deprecated":false,"description":"View the PushSubscription currently associated with this access token.","operationId":"SubscriptionController.show","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushSubscription"}}},"description":"Push subscription"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["push"]}],"summary":"Get current subscription","tags":["Push subscriptions"]},"post":{"callbacks":{},"deprecated":false,"description":"Add a Web Push API subscription to receive notifications. Each access token can have one push subscription. If you create a new subscription, the old subscription is deleted.","operationId":"SubscriptionController.create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for creating a push subscription","example":{"data":{"alerts":{"follow":true,"mention":true,"poll":false}},"subscription":{"endpoint":"https://example.com/example/1234","keys":{"auth":"8eDyX_uCN0XRhSbY5hs7Hg==","p256dh":"BCIWgsnyXDv1VkhqL2P7YRBvdeuDnlwAPT2guNhdIoW3IP7GmHh1SMKPLxRf7x8vJy6ZFK3ol2ohgn_-0yP7QQA="}}},"properties":{"data":{"nullable":true,"properties":{"alerts":{"nullable":true,"properties":{"favourite":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive favourite notifications?","nullable":true},"follow":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive follow notifications?","nullable":true},"mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive mention notifications?","nullable":true},"pleroma:chat_mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive chat notifications?","nullable":true},"pleroma:emoji_reaction":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive emoji reaction notifications?","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive poll notifications?","nullable":true},"reblog":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive reblog notifications?","nullable":true}},"type":"object"}},"type":"object"},"subscription":{"properties":{"endpoint":{"description":"Endpoint URL that is called when a notification event occurs.","type":"string"},"keys":{"properties":{"auth":{"description":"Auth secret. Base64 encoded string of 16 bytes of random data.","type":"string"},"p256dh":{"description":"User agent public key. Base64 encoded string of public key of ECDH key using `prime256v1` curve.","type":"string"}},"required":["p256dh","auth"],"type":"object"}},"required":["endpoint","keys"],"type":"object"}},"required":["subscription"],"title":"SubscriptionCreateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for creating a push subscription","example":{"data":{"alerts":{"follow":true,"mention":true,"poll":false}},"subscription":{"endpoint":"https://example.com/example/1234","keys":{"auth":"8eDyX_uCN0XRhSbY5hs7Hg==","p256dh":"BCIWgsnyXDv1VkhqL2P7YRBvdeuDnlwAPT2guNhdIoW3IP7GmHh1SMKPLxRf7x8vJy6ZFK3ol2ohgn_-0yP7QQA="}}},"properties":{"data":{"nullable":true,"properties":{"alerts":{"nullable":true,"properties":{"favourite":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive favourite notifications?","nullable":true},"follow":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive follow notifications?","nullable":true},"mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive mention notifications?","nullable":true},"pleroma:chat_mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive chat notifications?","nullable":true},"pleroma:emoji_reaction":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive emoji reaction notifications?","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive poll notifications?","nullable":true},"reblog":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive reblog notifications?","nullable":true}},"type":"object"}},"type":"object"},"subscription":{"properties":{"endpoint":{"description":"Endpoint URL that is called when a notification event occurs.","type":"string"},"keys":{"properties":{"auth":{"description":"Auth secret. Base64 encoded string of 16 bytes of random data.","type":"string"},"p256dh":{"description":"User agent public key. Base64 encoded string of public key of ECDH key using `prime256v1` curve.","type":"string"}},"required":["p256dh","auth"],"type":"object"}},"required":["endpoint","keys"],"type":"object"}},"required":["subscription"],"title":"SubscriptionCreateRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for creating a push subscription","example":{"data":{"alerts":{"follow":true,"mention":true,"poll":false}},"subscription":{"endpoint":"https://example.com/example/1234","keys":{"auth":"8eDyX_uCN0XRhSbY5hs7Hg==","p256dh":"BCIWgsnyXDv1VkhqL2P7YRBvdeuDnlwAPT2guNhdIoW3IP7GmHh1SMKPLxRf7x8vJy6ZFK3ol2ohgn_-0yP7QQA="}}},"properties":{"data":{"nullable":true,"properties":{"alerts":{"nullable":true,"properties":{"favourite":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive favourite notifications?","nullable":true},"follow":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive follow notifications?","nullable":true},"mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive mention notifications?","nullable":true},"pleroma:chat_mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive chat notifications?","nullable":true},"pleroma:emoji_reaction":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive emoji reaction notifications?","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive poll notifications?","nullable":true},"reblog":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive reblog notifications?","nullable":true}},"type":"object"}},"type":"object"},"subscription":{"properties":{"endpoint":{"description":"Endpoint URL that is called when a notification event occurs.","type":"string"},"keys":{"properties":{"auth":{"description":"Auth secret. Base64 encoded string of 16 bytes of random data.","type":"string"},"p256dh":{"description":"User agent public key. Base64 encoded string of public key of ECDH key using `prime256v1` curve.","type":"string"}},"required":["p256dh","auth"],"type":"object"}},"required":["endpoint","keys"],"type":"object"}},"required":["subscription"],"title":"SubscriptionCreateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushSubscription"}}},"description":"Push subscription"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["push"]}],"summary":"Subscribe to push notifications","tags":["Push subscriptions"]},"put":{"callbacks":{},"deprecated":false,"description":"Updates the current push subscription. Only the data part can be updated. To change fundamentals, a new subscription must be created instead.","operationId":"SubscriptionController.update","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"example":{"data":{"alerts":{"favourite":true,"follow":true,"mention":true,"poll":true,"reblog":true}}},"properties":{"data":{"nullable":true,"properties":{"alerts":{"nullable":true,"properties":{"favourite":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive favourite notifications?","nullable":true},"follow":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive follow notifications?","nullable":true},"mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive mention notifications?","nullable":true},"pleroma:chat_mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive chat notifications?","nullable":true},"pleroma:emoji_reaction":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive emoji reaction notifications?","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive poll notifications?","nullable":true},"reblog":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive reblog notifications?","nullable":true}},"type":"object"}},"type":"object"}},"title":"SubscriptionUpdateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"example":{"data":{"alerts":{"favourite":true,"follow":true,"mention":true,"poll":true,"reblog":true}}},"properties":{"data":{"nullable":true,"properties":{"alerts":{"nullable":true,"properties":{"favourite":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive favourite notifications?","nullable":true},"follow":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive follow notifications?","nullable":true},"mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive mention notifications?","nullable":true},"pleroma:chat_mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive chat notifications?","nullable":true},"pleroma:emoji_reaction":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive emoji reaction notifications?","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive poll notifications?","nullable":true},"reblog":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive reblog notifications?","nullable":true}},"type":"object"}},"type":"object"}},"title":"SubscriptionUpdateRequest","type":"object"}},"multipart/form-data":{"schema":{"example":{"data":{"alerts":{"favourite":true,"follow":true,"mention":true,"poll":true,"reblog":true}}},"properties":{"data":{"nullable":true,"properties":{"alerts":{"nullable":true,"properties":{"favourite":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive favourite notifications?","nullable":true},"follow":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive follow notifications?","nullable":true},"mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive mention notifications?","nullable":true},"pleroma:chat_mention":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive chat notifications?","nullable":true},"pleroma:emoji_reaction":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive emoji reaction notifications?","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive poll notifications?","nullable":true},"reblog":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Receive reblog notifications?","nullable":true}},"type":"object"}},"type":"object"}},"title":"SubscriptionUpdateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushSubscription"}}},"description":"Push subscription"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["push"]}],"summary":"Change types of notifications","tags":["Push subscriptions"]}},"/api/v1/search":{"get":{"callbacks":{},"deprecated":true,"operationId":"SearchController.search","parameters":[{"description":"If provided, statuses returned will be authored only by this account","in":"query","name":"account_id","required":false,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Search type","in":"query","name":"type","required":false,"schema":{"enum":["accounts","hashtags","statuses"],"type":"string"}},{"description":"The search query","in":"query","name":"q","required":true,"schema":{"type":"string"}},{"description":"Attempt WebFinger lookup","in":"query","name":"resolve","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Only include accounts that the user is following","in":"query","name":"following","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Offset","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"description":"Embed relationships into accounts. **If this parameter is not set account's `pleroma.relationship` is going to be `null`.**","in":"query","name":"with_relationships","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"accounts":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"hashtags":["cofe"],"statuses":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}]},"properties":{"accounts":{"description":"Accounts which match the given query","items":{"$ref":"#/components/schemas/Account"},"type":"array"},"hashtags":{"description":"Hashtags which match the given query","items":{"type":"string"},"type":"array"},"statuses":{"description":"Statuses which match the given query","items":{"$ref":"#/components/schemas/Status"},"type":"array"}},"title":"SearchResults","type":"object"}}},"description":"Results"}},"security":[{"oAuth":["read:search"]}],"summary":"Search results","tags":["Search"]}},"/api/v1/pleroma/scrobble":{"post":{"callbacks":{},"deprecated":true,"operationId":"PleromaAPI.ScrobbleController.create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"example":{"album":"Some Album","artist":"Some Artist","external_link":"https://www.last.fm/music/Some+Artist/_/Some+Title","length":180000,"title":"Some Title"},"properties":{"album":{"description":"The album of the media playing","type":"string"},"artist":{"description":"The artist of the media playing","type":"string"},"externalLink":{"description":"Deprecated, use `external_link` instead","type":"string"},"external_link":{"description":"A URL referencing the media playing","type":"string"},"length":{"description":"The length of the media playing","type":"integer"},"title":{"description":"The title of the media playing","type":"string"},"visibility":{"allOf":[{"$ref":"#/components/schemas/VisibilityScope"}],"default":"public","description":"Scrobble visibility"}},"required":["title"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"example":{"album":"Some Album","artist":"Some Artist","external_link":"https://www.last.fm/music/Some+Artist/_/Some+Title","length":180000,"title":"Some Title"},"properties":{"album":{"description":"The album of the media playing","type":"string"},"artist":{"description":"The artist of the media playing","type":"string"},"externalLink":{"description":"Deprecated, use `external_link` instead","type":"string"},"external_link":{"description":"A URL referencing the media playing","type":"string"},"length":{"description":"The length of the media playing","type":"integer"},"title":{"description":"The title of the media playing","type":"string"},"visibility":{"allOf":[{"$ref":"#/components/schemas/VisibilityScope"}],"default":"public","description":"Scrobble visibility"}},"required":["title"],"type":"object"}},"multipart/form-data":{"schema":{"example":{"album":"Some Album","artist":"Some Artist","external_link":"https://www.last.fm/music/Some+Artist/_/Some+Title","length":180000,"title":"Some Title"},"properties":{"album":{"description":"The album of the media playing","type":"string"},"artist":{"description":"The artist of the media playing","type":"string"},"externalLink":{"description":"Deprecated, use `external_link` instead","type":"string"},"external_link":{"description":"A URL referencing the media playing","type":"string"},"length":{"description":"The length of the media playing","type":"integer"},"title":{"description":"The title of the media playing","type":"string"},"visibility":{"allOf":[{"$ref":"#/components/schemas/VisibilityScope"}],"default":"public","description":"Scrobble visibility"}},"required":["title"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"account":{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"},"album":"Some Album","artist":"Some Artist","created_at":"2019-09-28T12:40:45.000Z","external_link":"https://www.last.fm/music/Some+Artist/_/Some+Title","id":"1234","length":180000,"title":"Some Title"},"properties":{"account":{"$ref":"#/components/schemas/Account"},"album":{"description":"The album of the media playing","type":"string"},"artist":{"description":"The artist of the media playing","type":"string"},"created_at":{"format":"date-time","type":"string"},"external_link":{"description":"A URL referencing the media playing","type":"string"},"id":{"type":"string"},"length":{"description":"The length of the media playing","nullable":true,"type":"integer"},"title":{"description":"The title of the media playing","type":"string"}},"type":"object"}}},"description":"Scrobble"}},"security":[{"oAuth":["write:scrobbles"]}],"summary":"Creates a new Listen activity for an account","tags":["Scrobbles"]}},"/api/v2/media":{"post":{"callbacks":{},"deprecated":false,"description":"Creates an attachment to be used with a new status.","operationId":"MediaController.create2","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for creating an attachment","properties":{"description":{"description":"A plain-text description of the media, for accessibility purposes.","type":"string"},"file":{"description":"The file to be attached, using multipart form data.","format":"binary","type":"string"},"focus":{"description":"Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.","type":"string"}},"required":["file"],"title":"MediaCreateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for creating an attachment","properties":{"description":{"description":"A plain-text description of the media, for accessibility purposes.","type":"string"},"file":{"description":"The file to be attached, using multipart form data.","format":"binary","type":"string"},"focus":{"description":"Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.","type":"string"}},"required":["file"],"title":"MediaCreateRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for creating an attachment","properties":{"description":{"description":"A plain-text description of the media, for accessibility purposes.","type":"string"},"file":{"description":"The file to be attached, using multipart form data.","format":"binary","type":"string"},"focus":{"description":"Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.","type":"string"}},"required":["file"],"title":"MediaCreateRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attachment"}}},"description":"Media"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Media"}},"security":[{"oAuth":["write:media"]}],"summary":"Upload media as attachment (v2)","tags":["Media attachments"]}},"/api/v1/accounts/{id}/following":{"get":{"callbacks":{},"deprecated":false,"description":"Accounts which the given account is following, if network is not hidden by the account owner.","operationId":"AccountController.following","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"},{"description":"ID of the resource owner","in":"query","name":"id","required":false,"schema":{"type":"string"}},{"description":"Embed relationships into accounts. **If this parameter is not set account's `pleroma.relationship` is going to be `null`.**","in":"query","name":"with_relationships","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"}}},"description":"Accounts"}},"security":[{"oAuth":["read:accounts"]}],"summary":"Following","tags":["Retrieve account information"]}},"/api/v1/accounts/{id}/unendorse":{"post":{"callbacks":{},"deprecated":false,"description":"Removes the given account from endorsed accounts list.","operationId":"AccountController.unendorse (2)","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"}},"security":[{"oAuth":["follow","write:accounts"]}],"summary":"Unendorse","tags":["Account actions"]}},"/api/v1/accounts/lookup":{"get":{"callbacks":{},"deprecated":false,"operationId":"AccountController.lookup","parameters":[{"description":"User nickname","in":"query","name":"acct","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"summary":"Find a user by nickname","tags":["Retrieve account information"]}},"/api/v1/apps/verify_credentials":{"get":{"callbacks":{},"deprecated":false,"description":"Confirm that the app's OAuth2 credentials work.","operationId":"AppController.verify_credentials","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"description":"If the Authorization header was provided with a valid token, you should see your app returned as an Application entity.","example":{"name":"My App","vapid_key":"BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M=","website":"https://myapp.com/"},"properties":{"name":{"type":"string"},"vapid_key":{"type":"string"},"website":{"nullable":true,"type":"string"}},"type":"object"}}},"description":"App"},"422":{"content":{"application/json":{"schema":{"description":"If the Authorization header contains an invalid token, is malformed, or is not present, an error will be returned indicating an authorization failure.","example":{"error":"The access token is invalid."},"properties":{"error":{"type":"string"}},"type":"object"}}},"description":"Unauthorized"}},"security":[{"oAuth":["read"]}],"summary":"Verify the application works","tags":["Applications"]}},"/api/v1/pleroma/emoji":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.emoji","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":{"properties":{"image_url":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"}},"type":"object","x-additionalPropertiesName":"Emoji name"},"example":{"firefox":{"image_url":"/emoji/firefox.png","tag":["Fun"]}},"type":"object"}}},"description":"List"}},"summary":"List all custom emojis","tags":["Custom emojis"]}},"/api/v1/instance/rules":{"get":{"callbacks":{},"deprecated":false,"operationId":"InstanceController.rules","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"hint":{"type":"string"},"id":{"type":"string"},"text":{"type":"string"}},"type":"object"},"type":"array"}}},"description":"Array of rules"}},"summary":"Retrieve list of instance rules","tags":["Instance misc"]}},"/api/v1/favourites":{"get":{"callbacks":{},"deprecated":false,"description":"Statuses the user has favourited. Please note that you have to use the link headers to paginate this. You can not build the query parameters yourself.","operationId":"StatusController.favourites","parameters":[{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"type":"array"}}},"description":"Array of Statuses"}},"security":[{"oAuth":["read:favourites"]}],"summary":"Favourited statuses","tags":["Timelines"]}},"/api/v1/pleroma/emoji/packs/remote":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.remote","parameters":[{"description":"URL of the instance","in":"query","name":"url","required":true,"schema":{"format":"uri","type":"string"}},{"description":"Page","in":"query","name":"page","required":false,"schema":{"default":1,"type":"integer"}},{"description":"Number of emoji to return","in":"query","name":"page_size","required":false,"schema":{"default":30,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"count":1,"packs":{"emojos":{"files":{"emacs":"emacs.png","guix":"guix.png"},"pack":{"can-download":true,"description":"Test description","download-sha256":"57482F30674FD3DE821FF48C81C00DA4D4AF1F300209253684ABA7075E5FC238","homepage":"https://pleroma.social","license":"Test license","share-files":true}}}},"properties":{"count":{"description":"Number of emoji packs","type":"integer"},"packs":{"additionalProperties":{"example":{"files":{"emacs":"emacs.png","guix":"guix.png"},"pack":{"can-download":true,"description":"Test description","download-sha256":"57482F30674FD3DE821FF48C81C00DA4D4AF1F300209253684ABA7075E5FC238","homepage":"https://pleroma.social","license":"Test license","share-files":true}},"properties":{"files":{"additionalProperties":{"description":"Filename","type":"string","x-additionalPropertiesName":"Emoji name"},"description":"Object with emoji names as keys and filenames as values","type":"object"},"pack":{"properties":{"can-download":{"type":"boolean"},"description":{"type":"string"},"download-sha256":{"type":"string"},"homepage":{"format":"uri","type":"string"},"license":{"type":"string"},"share-files":{"type":"boolean"}},"type":"object"}},"title":"EmojiPack","type":"object","x-additionalPropertiesName":"Pack name"},"description":"Object with pack names as keys and pack contents as values","type":"object"}},"type":"object"}}},"description":"Emoji packs and the count"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["admin:write"]}],"summary":"Make request to another instance for emoji packs list","tags":["Emoji pack administration"]}},"/api/v1/pleroma/admin/relay":{"delete":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.RelayController.unfollow","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"force":{"default":false,"type":"boolean"},"relay_url":{"format":"uri","type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"force":{"default":false,"type":"boolean"},"relay_url":{"format":"uri","type":"string"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"force":{"default":false,"type":"boolean"},"relay_url":{"format":"uri","type":"string"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"example":"http://mastodon.example.org/users/admin","type":"string"}}},"description":"Status"}},"security":[{"oAuth":["admin:write:follows"]}],"summary":"Unfollow a relay","tags":["Relays"]},"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.RelayController.index","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"relays":{"items":{"properties":{"actor":{"example":"https://example.com/relay","type":"string"},"followed_back":{"description":"Is relay followed back by this actor?","type":"boolean"}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Response"}},"security":[{"oAuth":["admin:read"]}],"summary":"Retrieve a list of relays","tags":["Relays"]},"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.RelayController.follow","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"relay_url":{"format":"uri","type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"relay_url":{"format":"uri","type":"string"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"relay_url":{"format":"uri","type":"string"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"actor":{"example":"https://example.com/relay","type":"string"},"followed_back":{"description":"Is relay followed back by this actor?","type":"boolean"}},"type":"object"}}},"description":"Status"}},"security":[{"oAuth":["admin:write:follows"]}],"summary":"Follow a relay","tags":["Relays"]}},"/api/v1/pleroma/bookmark_folders/{id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.BookmarkFolderController.delete","parameters":[{"description":"Bookmark Folder ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookmarkFolder"}}},"description":"Bookmark Folder"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["write:bookmarks"]}],"summary":"Delete a bookmark folder","tags":["Bookmark folders"]},"patch":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.BookmarkFolderController.update","parameters":[{"description":"Bookmark Folder ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"emoji":{"description":"Folder emoji","nullable":true,"type":"string"},"name":{"description":"Folder name","nullable":true,"type":"string"}},"title":"BookmarkFolderUpdateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"emoji":{"description":"Folder emoji","nullable":true,"type":"string"},"name":{"description":"Folder name","nullable":true,"type":"string"}},"title":"BookmarkFolderUpdateRequest","type":"object"}},"multipart/form-data":{"schema":{"properties":{"emoji":{"description":"Folder emoji","nullable":true,"type":"string"},"name":{"description":"Folder name","nullable":true,"type":"string"}},"title":"BookmarkFolderUpdateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookmarkFolder"}}},"description":"Bookmark Folder"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:bookmarks"]}],"summary":"Update a bookmark folder","tags":["Bookmark folders"]}},"/api/pleroma/frontend_configurations":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.frontend_configurations","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":{"description":"Opaque object representing the instance-wide configuration for the frontend","type":"object","x-additionalPropertiesName":"Frontend name"},"type":"object"}}},"description":"List"}},"summary":"Dump frontend configurations","tags":["Others"]}},"/api/v1/statuses/{id}":{"delete":{"callbacks":{},"deprecated":false,"description":"Delete one of your own statuses","operationId":"StatusController.delete","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["write:statuses"]}],"summary":"Delete","tags":["Status actions"]},"get":{"callbacks":{},"deprecated":false,"description":"View information about a status","operationId":"StatusController.show","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Include reactions from muted acccounts.","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Status","tags":["Retrieve status information"]},"put":{"callbacks":{},"deprecated":false,"description":"Change the content of a status","operationId":"StatusController.update","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"example":{"poll":{"expires_in":420,"options":["Cofe","Adventure"]},"sensitive":"false","status":"What time is it?"},"properties":{"content_type":{"description":"The MIME type of the status, it is transformed into HTML by the backend. You can get the list of the supported MIME types with the nodeinfo endpoint.","nullable":true,"type":"string"},"media_ids":{"description":"Array of Attachment ids to be attached as media.","items":{"type":"string"},"nullable":true,"type":"array"},"poll":{"nullable":true,"properties":{"expires_in":{"description":"Duration the poll should be open, in seconds. Must be provided with `poll[options]`","nullable":true,"type":"integer"},"hide_totals":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Hide vote counts until the poll ends?","nullable":true},"multiple":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allow multiple choices?","nullable":true},"options":{"description":"Array of possible answers. Must be provided with `poll[expires_in]`.","items":{"type":"string"},"type":"array"}},"required":["options","expires_in"],"type":"object"},"sensitive":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Mark status and attached media as sensitive?","nullable":true},"spoiler_text":{"description":"Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field.","nullable":true,"type":"string"},"status":{"description":"Text content of the status. If `media_ids` is provided, this becomes optional. Attaching a `poll` is optional while `status` is provided.","nullable":true,"type":"string"},"to":{"description":"A list of nicknames (like `lain@soykaf.club` or `lain` on the local server) that will be used to determine who is going to be addressed by this post. Using this will disable the implicit addressing by mentioned names in the `status` body, only the people in the `to` list will be addressed. The normal rules for for post visibility are not affected by this and will still apply","items":{"type":"string"},"nullable":true,"type":"array"}},"title":"StatusUpdateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"example":{"poll":{"expires_in":420,"options":["Cofe","Adventure"]},"sensitive":"false","status":"What time is it?"},"properties":{"content_type":{"description":"The MIME type of the status, it is transformed into HTML by the backend. You can get the list of the supported MIME types with the nodeinfo endpoint.","nullable":true,"type":"string"},"media_ids":{"description":"Array of Attachment ids to be attached as media.","items":{"type":"string"},"nullable":true,"type":"array"},"poll":{"nullable":true,"properties":{"expires_in":{"description":"Duration the poll should be open, in seconds. Must be provided with `poll[options]`","nullable":true,"type":"integer"},"hide_totals":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Hide vote counts until the poll ends?","nullable":true},"multiple":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allow multiple choices?","nullable":true},"options":{"description":"Array of possible answers. Must be provided with `poll[expires_in]`.","items":{"type":"string"},"type":"array"}},"required":["options","expires_in"],"type":"object"},"sensitive":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Mark status and attached media as sensitive?","nullable":true},"spoiler_text":{"description":"Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field.","nullable":true,"type":"string"},"status":{"description":"Text content of the status. If `media_ids` is provided, this becomes optional. Attaching a `poll` is optional while `status` is provided.","nullable":true,"type":"string"},"to":{"description":"A list of nicknames (like `lain@soykaf.club` or `lain` on the local server) that will be used to determine who is going to be addressed by this post. Using this will disable the implicit addressing by mentioned names in the `status` body, only the people in the `to` list will be addressed. The normal rules for for post visibility are not affected by this and will still apply","items":{"type":"string"},"nullable":true,"type":"array"}},"title":"StatusUpdateRequest","type":"object"}},"multipart/form-data":{"schema":{"example":{"poll":{"expires_in":420,"options":["Cofe","Adventure"]},"sensitive":"false","status":"What time is it?"},"properties":{"content_type":{"description":"The MIME type of the status, it is transformed into HTML by the backend. You can get the list of the supported MIME types with the nodeinfo endpoint.","nullable":true,"type":"string"},"media_ids":{"description":"Array of Attachment ids to be attached as media.","items":{"type":"string"},"nullable":true,"type":"array"},"poll":{"nullable":true,"properties":{"expires_in":{"description":"Duration the poll should be open, in seconds. Must be provided with `poll[options]`","nullable":true,"type":"integer"},"hide_totals":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Hide vote counts until the poll ends?","nullable":true},"multiple":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allow multiple choices?","nullable":true},"options":{"description":"Array of possible answers. Must be provided with `poll[expires_in]`.","items":{"type":"string"},"type":"array"}},"required":["options","expires_in"],"type":"object"},"sensitive":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Mark status and attached media as sensitive?","nullable":true},"spoiler_text":{"description":"Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field.","nullable":true,"type":"string"},"status":{"description":"Text content of the status. If `media_ids` is provided, this becomes optional. Attaching a `poll` is optional while `status` is provided.","nullable":true,"type":"string"},"to":{"description":"A list of nicknames (like `lain@soykaf.club` or `lain` on the local server) that will be used to determine who is going to be addressed by this post. Using this will disable the implicit addressing by mentioned names in the `status` body, only the people in the `to` list will be addressed. The normal rules for for post visibility are not affected by this and will still apply","items":{"type":"string"},"nullable":true,"type":"array"}},"title":"StatusUpdateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["write:statuses"]}],"summary":"Update status","tags":["Status actions"]}},"/api/v1/timelines/home":{"get":{"callbacks":{},"deprecated":false,"description":"View statuses from followed users","operationId":"TimelineController.home","parameters":[{"description":"Show only local statuses?","in":"query","name":"local","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Show only remote statuses?","in":"query","name":"remote","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Show only statuses with media attached?","in":"query","name":"only_media","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Include activities by muted users","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Exclude the statuses with the given visibilities","in":"query","name":"exclude_visibilities","required":false,"schema":{"items":{"$ref":"#/components/schemas/VisibilityScope"},"type":"array"}},{"description":"Filter replies. Possible values: without parameter (default) shows all replies, `following` - replies directed to you or users you follow, `self` - replies directed to you.","in":"query","name":"reply_visibility","required":false,"schema":{"enum":["following","self"],"type":"string"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"title":"ArrayOfStatuses","type":"array"}}},"description":"Array of Status"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Home timeline","tags":["Timelines"]}},"/api/v1/accounts/{id}/mute":{"post":{"callbacks":{},"deprecated":false,"description":"Mute the given account. Clients should filter statuses and notifications from this account, if received (e.g. due to a boost in the Home timeline).","operationId":"AccountController.mute","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"},{"description":"Mute notifications in addition to statuses? Defaults to `true`.","in":"query","name":"notifications","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for muting an account","example":{"expires_in":86400,"notifications":true},"properties":{"duration":{"description":"Expire the mute in `expires_in` seconds. Default 0 for infinity","nullable":true,"type":"integer"},"expires_in":{"default":0,"description":"Deprecated, use `duration` instead","nullable":true,"type":"integer"},"notifications":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Mute notifications in addition to statuses? Defaults to true.","nullable":true}},"title":"AccountMuteRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for muting an account","example":{"expires_in":86400,"notifications":true},"properties":{"duration":{"description":"Expire the mute in `expires_in` seconds. Default 0 for infinity","nullable":true,"type":"integer"},"expires_in":{"default":0,"description":"Deprecated, use `duration` instead","nullable":true,"type":"integer"},"notifications":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Mute notifications in addition to statuses? Defaults to true.","nullable":true}},"title":"AccountMuteRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for muting an account","example":{"expires_in":86400,"notifications":true},"properties":{"duration":{"description":"Expire the mute in `expires_in` seconds. Default 0 for infinity","nullable":true,"type":"integer"},"expires_in":{"default":0,"description":"Deprecated, use `duration` instead","nullable":true,"type":"integer"},"notifications":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Mute notifications in addition to statuses? Defaults to true.","nullable":true}},"title":"AccountMuteRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"}},"security":[{"oAuth":["follow","write:mutes"]}],"summary":"Mute","tags":["Account actions"]}},"/api/pleroma/aliases":{"delete":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.delete_alias","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"PUT body for deleting aliases","properties":{"alias":{"description":"The nickname of the account to delete from aliases","type":"string"}},"required":["alias"],"title":"DeleteAliasRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"PUT body for deleting aliases","properties":{"alias":{"description":"The nickname of the account to delete from aliases","type":"string"}},"required":["alias"],"title":"DeleteAliasRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"PUT body for deleting aliases","properties":{"alias":{"description":"The nickname of the account to delete from aliases","type":"string"}},"required":["alias"],"title":"DeleteAliasRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"example":"success","type":"string"}},"type":"object"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Delete an alias from this account","tags":["Account credentials"]},"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.list_aliases","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"aliases":{"example":["foo@example.org"],"items":{"type":"string"},"type":"array"}},"type":"object"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["read:accounts"]}],"summary":"List account aliases","tags":["Account credentials"]},"put":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.add_alias","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"PUT body for adding aliases","properties":{"alias":{"description":"The nickname of the account to add to aliases","type":"string"}},"required":["alias"],"title":"AddAliasRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"PUT body for adding aliases","properties":{"alias":{"description":"The nickname of the account to add to aliases","type":"string"}},"required":["alias"],"title":"AddAliasRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"PUT body for adding aliases","properties":{"alias":{"description":"The nickname of the account to add to aliases","type":"string"}},"required":["alias"],"title":"AddAliasRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"example":"success","type":"string"}},"type":"object"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Add an alias to this account","tags":["Account credentials"]}},"/api/v1/accounts/{id}":{"get":{"callbacks":{},"deprecated":false,"description":"View information about a profile.","operationId":"AccountController.show","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"},{"description":"Embed relationships into accounts. **If this parameter is not set account's `pleroma.relationship` is going to be `null`.**","in":"query","name":"with_relationships","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"Account"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"summary":"Account","tags":["Retrieve account information"]}},"/api/v1/notifications/{id}":{"get":{"callbacks":{},"deprecated":false,"description":"View information about a notification with a given ID.","operationId":"NotificationController.show","parameters":[{"description":"Notification ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for a notification","example":{"account":{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"},"created_at":"2019-11-23T07:49:02.064Z","group-key":"ungrouped-34975861","id":"34975861","pleroma":{"is_muted":false,"is_seen":false},"status":{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"},"type":"mention"},"properties":{"account":{"allOf":[{"$ref":"#/components/schemas/Account"}],"description":"The account that performed the action that generated the notification."},"created_at":{"format":"date-time","type":"string"},"group_key":{"description":"Group key shared by similar notifications","type":"string"},"id":{"type":"string"},"pleroma":{"properties":{"is_muted":{"type":"boolean"},"is_seen":{"type":"boolean"}},"type":"object"},"status":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"Status that was the object of the notification, e.g. in mentions, reblogs, favourites, or polls.","nullable":true},"type":{"description":"The type of event that resulted in the notification.\n\n- `follow` - Someone followed you\n- `mention` - Someone mentioned you in their status\n- `reblog` - Someone boosted one of your statuses\n- `favourite` - Someone favourited one of your statuses\n- `poll` - A poll you have voted in or created has ended\n- `move` - Someone moved their account\n- `pleroma:emoji_reaction` - Someone reacted with emoji to your status\n- `pleroma:chat_mention` - Someone mentioned you in a chat message\n- `pleroma:report` - Someone was reported\n- `status` - Someone you are subscribed to created a status\n- `update` - A status you boosted has been edited\n- `admin.sign_up` - Someone signed up (optionally sent to admins)\n- `admin.report` - A new report has been filed\n","enum":["follow","favourite","reblog","mention","pleroma:emoji_reaction","pleroma:chat_mention","pleroma:report","move","follow_request","poll","status","update","admin.sign_up","admin.report"],"type":"string"}},"title":"Notification","type":"object"}}},"description":"Notification"}},"security":[{"oAuth":["read:notifications"]}],"summary":"Retrieve a notification","tags":["Notifications"]}},"/api/v1/scheduled_statuses/{id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"ScheduledActivity.delete","parameters":[{"description":"Poll ID","example":"123","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Empty object"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:statuses"]}],"summary":"Cancel a scheduled status","tags":["Scheduled statuses"]},"get":{"callbacks":{},"deprecated":false,"operationId":"ScheduledActivity.show","parameters":[{"description":"Poll ID","example":"123","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledStatus"}}},"description":"Scheduled Status"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["read:statuses"]}],"summary":"View a single scheduled status","tags":["Scheduled statuses"]},"put":{"callbacks":{},"deprecated":false,"operationId":"ScheduledActivity.update","parameters":[{"description":"Poll ID","example":"123","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"scheduled_at":{"description":"ISO 8601 Datetime at which the status will be published. Must be at least 5 minutes into the future.","format":"date-time","type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"scheduled_at":{"description":"ISO 8601 Datetime at which the status will be published. Must be at least 5 minutes into the future.","format":"date-time","type":"string"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"scheduled_at":{"description":"ISO 8601 Datetime at which the status will be published. Must be at least 5 minutes into the future.","format":"date-time","type":"string"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledStatus"}}},"description":"Scheduled Status"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:statuses"]}],"summary":"Schedule a status","tags":["Scheduled statuses"]}},"/ostatus_subscribe":{"get":{"callbacks":{},"deprecated":false,"operationId":"RemoteInteractionController.follow","parameters":[],"responses":{"200":{"content":{"text/html":{"schema":{"type":"string"}}},"description":"Web Page"},"302":{"description":"Redirect to the status page"}},"summary":"Display follow form","tags":["Remote interaction"]},"post":{"callbacks":{},"deprecated":false,"operationId":"RemoteInteractionController.do_follow","parameters":[],"responses":{"200":{"content":{"text/html":{"schema":{"type":"string"}}},"description":"Web page"},"302":{"description":"Redirect to the account page"}},"summary":"Perform follow activity","tags":["Remote interaction"]}},"/api/v1/pleroma/admin/users/follow":{"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.follow","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"followed":{"description":"Followed nickname","type":"string"},"follower":{"description":"Follower nickname","type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"followed":{"description":"Followed nickname","type":"string"},"follower":{"description":"Follower nickname","type":"string"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"followed":{"description":"Followed nickname","type":"string"},"follower":{"description":"Follower nickname","type":"string"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:follows"]}],"summary":"Follow","tags":["User administration"]}},"/api/v1/polls/{id}":{"get":{"callbacks":{},"deprecated":false,"operationId":"PollController.show","parameters":[{"description":"Poll ID","example":"123","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Poll"}}},"description":"Poll"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["read:statuses"]}],"summary":"View a poll","tags":["Polls"]}},"/api/v1/lists/{id}/accounts":{"delete":{"callbacks":{},"deprecated":false,"operationId":"ListController.remove_from_list","parameters":[{"description":"List ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"Array of account IDs","in":"query","name":"account_ids","required":false,"schema":{"items":{"type":"string"},"type":"array"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for adding/removing accounts to/from a List","properties":{"account_ids":{"description":"Array of account IDs","items":{"$ref":"#/components/schemas/FlakeID"},"type":"array"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for adding/removing accounts to/from a List","properties":{"account_ids":{"description":"Array of account IDs","items":{"$ref":"#/components/schemas/FlakeID"},"type":"array"}},"type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for adding/removing accounts to/from a List","properties":{"account_ids":{"description":"Array of account IDs","items":{"$ref":"#/components/schemas/FlakeID"},"type":"array"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Empty object"}},"security":[{"oAuth":["write:lists"]}],"summary":"Remove accounts from list","tags":["Lists"]},"get":{"callbacks":{},"deprecated":false,"operationId":"ListController.list_accounts","parameters":[{"description":"List ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Account"},"type":"array"}}},"description":"Array of Account"}},"security":[{"oAuth":["read:lists"]}],"summary":"Retrieve accounts in list","tags":["Lists"]},"post":{"callbacks":{},"deprecated":false,"description":"Add accounts to the given list.","operationId":"ListController.add_to_list","parameters":[{"description":"List ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for adding/removing accounts to/from a List","properties":{"account_ids":{"description":"Array of account IDs","items":{"$ref":"#/components/schemas/FlakeID"},"type":"array"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for adding/removing accounts to/from a List","properties":{"account_ids":{"description":"Array of account IDs","items":{"$ref":"#/components/schemas/FlakeID"},"type":"array"}},"type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for adding/removing accounts to/from a List","properties":{"account_ids":{"description":"Array of account IDs","items":{"$ref":"#/components/schemas/FlakeID"},"type":"array"}},"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Empty object"}},"security":[{"oAuth":["write:lists"]}],"summary":"Add accounts to list","tags":["Lists"]}},"/api/v1/accounts/{id}/pin":{"post":{"callbacks":{},"deprecated":false,"description":"Adds the given account to endorsed accounts list.","operationId":"AccountController.endorse","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"},"400":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"}],"example":{"error":"You have already pinned the maximum number of users"},"title":"Unprocessable Entity"}}},"description":"Bad Request"}},"security":[{"oAuth":["follow","write:accounts"]}],"summary":"Endorse","tags":["Account actions"]}},"/api/v1/accounts/{id}/unfollow":{"post":{"callbacks":{},"deprecated":false,"description":"Unfollow the given account","operationId":"AccountController.unfollow","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["follow","write:follows"]}],"summary":"Unfollow","tags":["Account actions"]}},"/api/v1/pleroma/chats/{id}":{"get":{"callbacks":{},"deprecated":false,"operationId":"ChatController.show","parameters":[{"description":"The id of the chat","example":"1234","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat"}}},"description":"The existing chat"}},"security":[{"oAuth":["read"]}],"summary":"Retrieve a chat","tags":["Chats"]}},"/api/v1/notifications/dismiss":{"post":{"callbacks":{},"deprecated":true,"description":"Clear a single notification from the server.","operationId":"NotificationController.dismiss_via_body","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"id":{"type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"id":{"type":"string"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"id":{"type":"string"}},"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":{},"type":"object"}}},"description":"Empty object"}},"security":[{"oAuth":["write:notifications"]}],"summary":"Dismiss a single notification","tags":["Notifications"]}},"/api/v1/pleroma/admin/config":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ConfigController.show","parameters":[{"description":"Get only saved in database settings","in":"query","name":"only_db","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"configs":{"items":{"properties":{"group":{"type":"string"},"key":{"type":"string"},"value":{"oneOf":[{"type":"array"},{"type":"object"},{"type":"string"},{"type":"integer"},{"type":"boolean"}]}},"type":"object"},"type":"array"},"need_reboot":{"description":"If `need_reboot` is `true`, instance must be restarted, so reboot time settings can take effect","type":"boolean"}},"type":"object"}}},"description":"Config"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"}},"security":[{"oAuth":["admin:read"]}],"summary":"Retrieve instance configuration","tags":["Instance configuration"]},"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ConfigController.update","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"configs":{"items":{"properties":{"delete":{"type":"boolean"},"group":{"type":"string"},"key":{"type":"string"},"subkeys":{"items":{"type":"string"},"type":"array"},"value":{"oneOf":[{"type":"array"},{"type":"object"},{"type":"string"},{"type":"integer"},{"type":"boolean"}]}},"type":"object"},"type":"array"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"configs":{"items":{"properties":{"delete":{"type":"boolean"},"group":{"type":"string"},"key":{"type":"string"},"subkeys":{"items":{"type":"string"},"type":"array"},"value":{"oneOf":[{"type":"array"},{"type":"object"},{"type":"string"},{"type":"integer"},{"type":"boolean"}]}},"type":"object"},"type":"array"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"configs":{"items":{"properties":{"delete":{"type":"boolean"},"group":{"type":"string"},"key":{"type":"string"},"subkeys":{"items":{"type":"string"},"type":"array"},"value":{"oneOf":[{"type":"array"},{"type":"object"},{"type":"string"},{"type":"integer"},{"type":"boolean"}]}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"configs":{"items":{"properties":{"group":{"type":"string"},"key":{"type":"string"},"value":{"oneOf":[{"type":"array"},{"type":"object"},{"type":"string"},{"type":"integer"},{"type":"boolean"}]}},"type":"object"},"type":"array"},"need_reboot":{"description":"If `need_reboot` is `true`, instance must be restarted, so reboot time settings can take effect","type":"boolean"}},"type":"object"}}},"description":"Config"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"}},"security":[{"oAuth":["admin:write"]}],"summary":"Update instance configuration","tags":["Instance configuration"]}},"/api/v1/pleroma/chats/{id}/messages/{message_id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"ChatController.delete_message","parameters":[{"description":"The ID of the Chat","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"The ID of the message","in":"path","name":"message_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatMessage"}}},"description":"The deleted ChatMessage"}},"security":[{"oAuth":["write:chats"]}],"summary":"Delete message","tags":["Chats"]}},"/api/v1/pleroma/emoji/packs/import":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.import","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}},"description":"Array of imported pack names"}},"security":[{"oAuth":["admin:write"]}],"summary":"Imports packs from filesystem","tags":["Emoji pack administration"]}},"/api/v1/pleroma/admin/frontends":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.FrontendController.index","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"build_url":{"format":"uri","nullable":true,"type":"string"},"git":{"format":"uri","nullable":true,"type":"string"},"installed":{"type":"boolean"},"installed_refs":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"ref":{"nullable":true,"type":"string"}},"type":"object"},"type":"array"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:read"]}],"summary":"Retrieve a list of available frontends","tags":["Frontend management"]}},"/api/v1/filters":{"get":{"callbacks":{},"deprecated":false,"operationId":"FilterController.index","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Array of Filters","example":[{"context":["home","notifications","public","thread"],"expires_at":null,"id":"5580","irreversible":true,"phrase":"@twitter.com","whole_word":false},{"context":["home"],"expires_at":"2019-05-21T13:47:31.333Z","id":"6191","irreversible":false,"phrase":":eurovision2019:","whole_word":true}],"items":{"example":{"context":["home","notifications","public","thread"],"expires_at":null,"id":"5580","irreversible":true,"phrase":"@twitter.com","whole_word":false},"properties":{"context":{"description":"The contexts in which the filter should be applied.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_at":{"description":"When the filter should no longer be applied. String (ISO 8601 Datetime), or null if the filter does not expire.","format":"date-time","nullable":true,"type":"string"},"id":{"type":"string"},"irreversible":{"description":"Should matching entities in home and notifications be dropped by the server?","type":"boolean"},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"description":"Should the filter consider word boundaries?","type":"boolean"}},"title":"Filter","type":"object"},"title":"ArrayOfFilters","type":"array"}}},"description":"Filters"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["read:filters"]}],"summary":"All filters","tags":["Filters"]},"post":{"callbacks":{},"deprecated":false,"operationId":"FilterController.create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"example":{"context":["home"],"phrase":"knights"},"properties":{"context":{"description":"Array of enumerable strings `home`, `notifications`, `public`, `thread`. At least one context must be specified.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_in":{"description":"Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire.","nullable":true,"type":"integer"},"irreversible":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Should the server irreversibly drop matching entities from home and notifications?","nullable":true},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Consider word boundaries?","nullable":true}},"required":["phrase","context"],"title":"FilterUpdateRequest","type":"object"},{"properties":{"irreversible":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false,"description":"Should the server irreversibly drop matching entities from home and notifications?"}},"type":"object"}],"example":{"context":["home"],"phrase":"knights"},"title":"FilterCreateRequest"}},"application/x-www-form-urlencoded":{"schema":{"allOf":[{"example":{"context":["home"],"phrase":"knights"},"properties":{"context":{"description":"Array of enumerable strings `home`, `notifications`, `public`, `thread`. At least one context must be specified.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_in":{"description":"Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire.","nullable":true,"type":"integer"},"irreversible":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Should the server irreversibly drop matching entities from home and notifications?","nullable":true},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Consider word boundaries?","nullable":true}},"required":["phrase","context"],"title":"FilterUpdateRequest","type":"object"},{"properties":{"irreversible":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false,"description":"Should the server irreversibly drop matching entities from home and notifications?"}},"type":"object"}],"example":{"context":["home"],"phrase":"knights"},"title":"FilterCreateRequest"}},"multipart/form-data":{"schema":{"allOf":[{"example":{"context":["home"],"phrase":"knights"},"properties":{"context":{"description":"Array of enumerable strings `home`, `notifications`, `public`, `thread`. At least one context must be specified.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_in":{"description":"Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire.","nullable":true,"type":"integer"},"irreversible":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Should the server irreversibly drop matching entities from home and notifications?","nullable":true},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Consider word boundaries?","nullable":true}},"required":["phrase","context"],"title":"FilterUpdateRequest","type":"object"},{"properties":{"irreversible":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false,"description":"Should the server irreversibly drop matching entities from home and notifications?"}},"type":"object"}],"example":{"context":["home"],"phrase":"knights"},"title":"FilterCreateRequest"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"context":["home","notifications","public","thread"],"expires_at":null,"id":"5580","irreversible":true,"phrase":"@twitter.com","whole_word":false},"properties":{"context":{"description":"The contexts in which the filter should be applied.","items":{"enum":["home","notifications","public","thread"],"type":"string"},"type":"array"},"expires_at":{"description":"When the filter should no longer be applied. String (ISO 8601 Datetime), or null if the filter does not expire.","format":"date-time","nullable":true,"type":"string"},"id":{"type":"string"},"irreversible":{"description":"Should matching entities in home and notifications be dropped by the server?","type":"boolean"},"phrase":{"description":"The text to be filtered","type":"string"},"whole_word":{"description":"Should the filter consider word boundaries?","type":"boolean"}},"title":"Filter","type":"object"}}},"description":"Filter"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:filters"]}],"summary":"Create a filter","tags":["Filters"]}},"/api/v1/accounts/{id}/statuses":{"get":{"callbacks":{},"deprecated":false,"description":"Statuses posted to the given account. Public (for public statuses only), or user token + `read:statuses` (for private statuses the user is authorized to see)","operationId":"AccountController.statuses","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"},{"description":"Include only pinned statuses","in":"query","name":"pinned","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"With tag","in":"query","name":"tagged","required":false,"schema":{"type":"string"}},{"description":"Include only statuses with media attached","in":"query","name":"only_media","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Include statuses from muted accounts.","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Exclude reblogs","in":"query","name":"exclude_reblogs","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Include only reblogs","in":"query","name":"only_reblogs","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Exclude replies","in":"query","name":"exclude_replies","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Exclude visibilities","in":"query","name":"exclude_visibilities","required":false,"schema":{"items":{"$ref":"#/components/schemas/VisibilityScope"},"type":"array"}},{"description":"Include reactions from muted accounts.","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Status"},"title":"ArrayOfStatuses","type":"array"}}},"description":"Statuses"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"summary":"Statuses","tags":["Retrieve account information"]}},"/api/v1/polls/{id}/votes":{"post":{"callbacks":{},"deprecated":false,"operationId":"PollController.vote","parameters":[{"description":"Poll ID","example":"123","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"choices":[0,1,2]},"schema":{"properties":{"choices":{"description":"Array of own votes containing index for each option (starting from 0)","items":{"type":"integer"},"type":"array"}},"required":["choices"],"type":"object"}},"application/x-www-form-urlencoded":{"example":{"choices":[0,1,2]},"schema":{"properties":{"choices":{"description":"Array of own votes containing index for each option (starting from 0)","items":{"type":"integer"},"type":"array"}},"required":["choices"],"type":"object"}},"multipart/form-data":{"example":{"choices":[0,1,2]},"schema":{"properties":{"choices":{"description":"Array of own votes containing index for each option (starting from 0)","items":{"type":"integer"},"type":"array"}},"required":["choices"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Poll"}}},"description":"Poll"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:statuses"]}],"summary":"Vote on a poll","tags":["Polls"]}},"/api/v1/blocks":{"get":{"callbacks":{},"deprecated":false,"description":"View your blocks. See also accounts/:id/{block,unblock}","operationId":"AccountController.blocks","parameters":[{"description":"Embed relationships into accounts. **If this parameter is not set account's `pleroma.relationship` is going to be `null`.**","in":"query","name":"with_relationships","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","block_expires_at":"2025-11-29T16:23:13Z","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"allOf":[{"$ref":"#/components/schemas/Account"},{"properties":{"block_expires_at":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"}],"description":"Response schema for a blocked account","title":"BlockedAccount"},"title":"ArrayOfBlockedAccounts","type":"array"}}},"description":"Accounts"}},"security":[{"oAuth":["read:blocks"]}],"summary":"Retrieve list of blocks","tags":["Blocks and mutes"]}},"/api/v1/pleroma/admin/media_proxy_caches/delete":{"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.MediaProxyCacheController.delete","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"urls":{"items":{"format":"uri","type":"string"},"type":"array"}},"required":["urls"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"urls":{"items":{"format":"uri","type":"string"},"type":"array"}},"required":["urls"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"urls":{"items":{"format":"uri","type":"string"},"type":"array"}},"required":["urls"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":{},"type":"object"}}},"description":"Empty object"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["admin:write:media_proxy_caches"]}],"summary":"Remove a banned MediaProxy URL","tags":["MediaProxy cache"]}},"/api/pleroma/blocks_import":{"post":{"callbacks":{},"deprecated":false,"operationId":"UserImportController.blocks","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"list":{"anyOf":[{"format":"binary","type":"string"},{"type":"string"}],"description":"STRING or FILE containing a whitespace-separated list of accounts to import."}},"required":["list"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"list":{"anyOf":[{"format":"binary","type":"string"},{"type":"string"}],"description":"STRING or FILE containing a whitespace-separated list of accounts to import."}},"required":["list"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"list":{"anyOf":[{"format":"binary","type":"string"},{"type":"string"}],"description":"STRING or FILE containing a whitespace-separated list of accounts to import."}},"required":["list"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":"ok","type":"string"}}},"description":"Ok"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:blocks"]}],"summary":"Import blocks","tags":["Data import"]}},"/main/ostatus":{"get":{"callbacks":{},"deprecated":false,"operationId":"RemoteInteractionController.show_subscribe_form","parameters":[],"responses":{"200":{"content":{"text/html":{"schema":{"type":"string"}}},"description":"Web Page"}},"summary":"Show remote subscribe form","tags":["Remote interaction"]},"post":{"callbacks":{},"deprecated":false,"operationId":"RemoteInteractionController.remote_subscribe","parameters":[],"responses":{"200":{"content":{"text/html":{"schema":{"type":"string"}}},"description":"Web Page"}},"summary":"Remote Subscribe","tags":["Remote interaction"]}},"/api/v1/pleroma/accounts/{id}/scrobbles":{"get":{"callbacks":{},"deprecated":true,"operationId":"PleromaAPI.ScrobbleController.index","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"example":{"account":{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"},"album":"Some Album","artist":"Some Artist","created_at":"2019-09-28T12:40:45.000Z","external_link":"https://www.last.fm/music/Some+Artist/_/Some+Title","id":"1234","length":180000,"title":"Some Title"},"properties":{"account":{"$ref":"#/components/schemas/Account"},"album":{"description":"The album of the media playing","type":"string"},"artist":{"description":"The artist of the media playing","type":"string"},"created_at":{"format":"date-time","type":"string"},"external_link":{"description":"A URL referencing the media playing","type":"string"},"id":{"type":"string"},"length":{"description":"The length of the media playing","nullable":true,"type":"integer"},"title":{"description":"The title of the media playing","type":"string"}},"type":"object"},"type":"array"}}},"description":"Array of Scrobble"}},"security":[{"oAuth":["read:scrobbles"]}],"summary":"Requests a list of current and recent Listen activities for an account","tags":["Scrobbles"]}},"/api/v1/pleroma/admin/users/revoke_invite":{"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.InviteController.revoke","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"token":{"type":"string"}},"required":["token"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"token":{"type":"string"}},"required":["token"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"token":{"type":"string"}},"required":["token"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"expires_at":null,"id":123,"invite_type":"one_time","max_use":null,"token":"kSQtDj_GNy2NZsL9AQDFIsHN5qdbguB6qRg3WHw6K1U=","used":true,"uses":0},"properties":{"expires_at":{"format":"date","nullable":true,"type":"string"},"id":{"type":"integer"},"invite_type":{"enum":["one_time","reusable","date_limited","reusable_date_limited"],"type":"string"},"max_use":{"nullable":true,"type":"integer"},"token":{"type":"string"},"used":{"type":"boolean"},"uses":{"type":"integer"}},"title":"Invite","type":"object"}}},"description":"Invite"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:write:invites"]}],"summary":"Revoke invite by token","tags":["Invites"]}},"/api/v1/notifications/{id}/dismiss":{"post":{"callbacks":{},"deprecated":false,"description":"Clear a single notification from the server.","operationId":"NotificationController.dismiss","parameters":[{"description":"Notification ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{},"type":"object"}}},"description":"Empty object"}},"security":[{"oAuth":["write:notifications"]}],"summary":"Dismiss a notification","tags":["Notifications"]}},"/authorize_interaction":{"get":{"callbacks":{},"deprecated":false,"operationId":"RemoteInteractionController.authorize_interaction","parameters":[],"responses":{"302":{"description":"Redirect to remote_interaction path"}},"summary":"Authorize remote interaction","tags":["Remote interaction"]}},"/api/v1/scheduled_statuses":{"get":{"callbacks":{},"deprecated":false,"operationId":"ScheduledActivity.index","parameters":[{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ScheduledStatus"},"type":"array"}}},"description":"Array of ScheduledStatus"}},"security":[{"oAuth":["read:statuses"]}],"summary":"View scheduled statuses","tags":["Scheduled statuses"]}},"/api/v1/pleroma/admin/rules/{id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.RuleController.delete","parameters":[{"description":"Rule ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{},"type":"object"}}},"description":"Empty object"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:write"]}],"summary":"Delete rule","tags":["Instance rule management"]},"patch":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.RuleController.update","parameters":[{"description":"Rule ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"hint":{"type":"string"},"priority":{"type":"integer"},"text":{"type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"hint":{"type":"string"},"priority":{"type":"integer"},"text":{"type":"string"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"hint":{"type":"string"},"priority":{"type":"integer"},"text":{"type":"string"}},"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"hint":{"nullable":true,"type":"string"},"id":{"type":"string"},"priority":{"type":"integer"},"text":{"type":"string"}},"type":"object"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write"]}],"summary":"Modify existing rule","tags":["Instance rule management"]}},"/api/v1/custom_emojis":{"get":{"callbacks":{},"deprecated":false,"description":"Returns custom emojis that are available on the server.","operationId":"CustomEmojiController.index","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for custom emojis","example":[{"category":"Fun","shortcode":"blank","static_url":"https://lain.com/emoji/blank.png","tags":["Fun"],"url":"https://lain.com/emoji/blank.png","visible_in_picker":false},{"category":"Gif,Fun","shortcode":"firefox","static_url":"https://lain.com/emoji/Firefox.gif","tags":["Gif","Fun"],"url":"https://lain.com/emoji/Firefox.gif","visible_in_picker":true},{"category":"pack:mixed","shortcode":"sadcat","static_url":"https://lain.com/emoji/mixed/sadcat.png","tags":["pack:mixed"],"url":"https://lain.com/emoji/mixed/sadcat.png","visible_in_picker":true}],"items":{"allOf":[{"$ref":"#/components/schemas/Emoji"},{"properties":{"category":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"}},"type":"object"}],"description":"Schema for a CustomEmoji","example":{"category":"Fun","shortcode":"aaaa","static_url":"https://files.mastodon.social/custom_emojis/images/000/007/118/static/aaaa.png","tags":["Gif","Fun"],"url":"https://files.mastodon.social/custom_emojis/images/000/007/118/original/aaaa.png","visible_in_picker":true},"title":"CustomEmoji"},"title":"CustomEmojisResponse","type":"array"}}},"description":"Custom Emojis"}},"summary":"Retrieve a list of custom emojis","tags":["Custom emojis"]}},"/api/v1/instance/translation_languages":{"get":{"callbacks":{},"deprecated":false,"operationId":"InstanceController.translation_languages","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":{"description":"Supported target languages for a source language","items":{"type":"string"},"type":"array"},"type":"object"}}},"description":"Translation languages matrix"}},"summary":"Retrieve supported languages matrix","tags":["Instance misc"]}},"/api/v1/timelines/list/{list_id}":{"get":{"callbacks":{},"deprecated":false,"description":"View statuses in the given list timeline","operationId":"TimelineController.list","parameters":[{"description":"Local ID of the list in the database","in":"path","name":"list_id","required":true,"schema":{"type":"string"}},{"description":"Include activities by muted users","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Show only local statuses?","in":"query","name":"local","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Show only remote statuses?","in":"query","name":"remote","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Show only statuses with media attached?","in":"query","name":"only_media","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Exclude the statuses with the given visibilities","in":"query","name":"exclude_visibilities","required":false,"schema":{"items":{"$ref":"#/components/schemas/VisibilityScope"},"type":"array"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"title":"ArrayOfStatuses","type":"array"}}},"description":"Array of Status"}},"security":[{"oAuth":["read:lists"]}],"summary":"List timeline","tags":["Timelines"]}},"/api/v1/accounts/{id}/remove_from_followers":{"post":{"callbacks":{},"deprecated":false,"description":"Remove the given account from followers","operationId":"AccountController.remove_from_followers","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["follow","write:follows"]}],"summary":"Remove from followers","tags":["Account actions"]}},"/api/v1/timelines/public":{"get":{"callbacks":{},"deprecated":false,"operationId":"TimelineController.public","parameters":[{"description":"Show only local statuses?","in":"query","name":"local","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Show only statuses from the given domain","in":"query","name":"instance","required":false,"schema":{"type":"string"}},{"description":"Show only statuses with media attached?","in":"query","name":"only_media","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Show only remote statuses?","in":"query","name":"remote","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Include activities by muted users","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Exclude the statuses with the given visibilities","in":"query","name":"exclude_visibilities","required":false,"schema":{"items":{"$ref":"#/components/schemas/VisibilityScope"},"type":"array"}},{"description":"Filter replies. Possible values: without parameter (default) shows all replies, `following` - replies directed to you or users you follow, `self` - replies directed to you.","in":"query","name":"reply_visibility","required":false,"schema":{"enum":["following","self"],"type":"string"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"title":"ArrayOfStatuses","type":"array"}}},"description":"Array of Status"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Public timeline","tags":["Timelines"]}},"/api/v1/statuses/{id}/reblog":{"post":{"callbacks":{},"deprecated":false,"description":"Share a status","operationId":"StatusController.reblog","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"visibility":{"allOf":[{"$ref":"#/components/schemas/VisibilityScope"}]}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"visibility":{"allOf":[{"$ref":"#/components/schemas/VisibilityScope"}]}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"visibility":{"allOf":[{"$ref":"#/components/schemas/VisibilityScope"}]}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["write:statuses"]}],"summary":"Reblog","tags":["Status actions"]}},"/api/v1/mutes":{"get":{"callbacks":{},"deprecated":false,"description":"Accounts the user has muted.","operationId":"AccountController.mutes","parameters":[{"description":"Embed relationships into accounts. **If this parameter is not set account's `pleroma.relationship` is going to be `null`.**","in":"query","name":"with_relationships","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"mute_expires_at":"2025-11-29T16:23:13Z","note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"allOf":[{"$ref":"#/components/schemas/Account"},{"properties":{"mute_expires_at":{"format":"date-time","nullable":true,"type":"string"}},"type":"object"}],"description":"Response schema for a muted account","title":"MutedAccount"},"title":"ArrayOfMutedAccounts","type":"array"}}},"description":"Accounts"}},"security":[{"oAuth":["follow","read:mutes"]}],"summary":"Retrieve list of mutes","tags":["Blocks and mutes"]}},"/api/v1/pleroma/chats/{id}/unpin":{"post":{"callbacks":{},"deprecated":false,"operationId":"ChatController.unpin","parameters":[{"description":"The id of the chat","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat"}}},"description":"The existing chat"}},"security":[{"oAuth":["write:chats"]}],"summary":"Unpin a chat","tags":["Chats"]}},"/api/v1/pleroma/chats/by-account-id/{id}":{"post":{"callbacks":{},"deprecated":false,"operationId":"ChatController.create","parameters":[{"description":"The account id of the recipient of this chat","example":"someflakeid","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat"}}},"description":"The created or existing chat"}},"security":[{"oAuth":["write:chats"]}],"summary":"Create a chat","tags":["Chats"]}},"/api/v1/pleroma/chats/{id}/read":{"post":{"callbacks":{},"deprecated":false,"operationId":"ChatController.mark_as_read","parameters":[{"description":"The ID of the Chat","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for marking a number of chat messages as read","example":{"last_read_id":"abcdef12456"},"properties":{"last_read_id":{"description":"The content of your message.","type":"string"}},"required":["last_read_id"],"title":"MarkAsReadRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for marking a number of chat messages as read","example":{"last_read_id":"abcdef12456"},"properties":{"last_read_id":{"description":"The content of your message.","type":"string"}},"required":["last_read_id"],"title":"MarkAsReadRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for marking a number of chat messages as read","example":{"last_read_id":"abcdef12456"},"properties":{"last_read_id":{"description":"The content of your message.","type":"string"}},"required":["last_read_id"],"title":"MarkAsReadRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat"}}},"description":"The updated chat"}},"security":[{"oAuth":["write:chats"]}],"summary":"Mark all messages in the chat as read","tags":["Chats"]}},"/api/v1/pleroma/statuses/{id}/reactions/{emoji}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"EmojiReactionController.delete","parameters":[{"description":"Status ID","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"A single character unicode emoji","in":"path","name":"emoji","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"}},"security":[{"oAuth":["write:statuses"]}],"summary":"Remove a reaction to a post with a unicode emoji","tags":["Emoji reactions"]},"get":{"callbacks":{},"deprecated":false,"operationId":"EmojiReactionController.index (2)","parameters":[{"description":"Status ID","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Filter by a single unicode emoji","in":"path","name":"emoji","schema":{"type":"string"}},{"description":"Include reactions from muted acccounts.","in":"query","name":"with_muted","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"accounts":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"count":1,"me":false,"name":"😱"}],"items":{"example":{"accounts":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"count":1,"me":false,"name":"😱"},"properties":{"accounts":{"description":"Array of accounts reacted with this emoji","items":{"$ref":"#/components/schemas/Account"},"type":"array"},"count":{"description":"Count of reactions with this emoji","type":"integer"},"me":{"description":"Did I react with this emoji?","type":"boolean"},"name":{"description":"Emoji","type":"string"}},"title":"EmojiReaction","type":"object"},"type":"array"}}},"description":"Array of Emoji reactions"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Not Found"}}},"description":"Access denied"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Get an object of emoji to account mappings with accounts that reacted to the post","tags":["Emoji reactions"]},"put":{"callbacks":{},"deprecated":false,"operationId":"EmojiReactionController.create","parameters":[{"description":"Status ID","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"A single character unicode emoji","in":"path","name":"emoji","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Not Found"}}},"description":"Not Found"}},"security":[{"oAuth":["write:statuses"]}],"summary":"React to a post with a unicode emoji","tags":["Emoji reactions"]}},"/api/v1/statuses/{id}/quotes":{"get":{"callbacks":{},"deprecated":false,"description":"View quotes for a given status","operationId":"StatusController.quotes","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"type":"array"}}},"description":"Array of Status"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Quoted by","tags":["Retrieve status information"]}},"/api/v1/pleroma/admin/users/approve":{"patch":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.approve","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for approving multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for approving multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for approving multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"user":{"items":{"properties":{"actor_type":{"type":"string"},"avatar":{"format":"uri","type":"string"},"display_name":{"type":"string"},"email":{"format":"email","type":"string"},"id":{"type":"string"},"is_active":{"type":"boolean"},"is_approved":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"nickname":{"type":"string"},"registration_reason":{"nullable":true,"type":"string"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"tags":{"items":{"type":"string"},"type":"array"},"url":{"format":"uri","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:accounts"]}],"summary":"Approve multiple users","tags":["User administration"]}},"/api/v1/accounts":{"post":{"callbacks":{},"deprecated":false,"description":"Creates a user and account records. Returns an account access token for the app that initiated the request. The app should save this token for later, and should wait for the user to confirm their account by clicking a link in their email inbox.","operationId":"AccountController.create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for creating an account","example":{"agreement":"true","bio":"☕️","email":"cofe@example.com","password":"secret","username":"cofe"},"properties":{"agreement":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the user agrees to the local rules, terms, and policies. These should be presented to the user in order to allow them to consent before setting this parameter to TRUE."},"bio":{"default":"","description":"Bio","nullable":true,"type":"string"},"birthday":{"anyOf":[{"format":"date","type":"string"},{"maxLength":0,"type":"string"}],"description":"User's birthday","nullable":true},"captcha_answer_data":{"description":"Provider-specific captcha data","nullable":true,"type":"string"},"captcha_solution":{"description":"Provider-specific captcha solution","nullable":true,"type":"string"},"captcha_token":{"description":"Provider-specific captcha token","nullable":true,"type":"string"},"email":{"description":"The email address to be used for login. Required when `account_activation_required` is enabled.","format":"email","nullable":true,"type":"string"},"fullname":{"description":"Full name","nullable":true,"type":"string"},"language":{"description":"User's preferred language for emails","nullable":true,"type":"string"},"locale":{"description":"The language of the confirmation email that will be sent","nullable":true,"type":"string"},"password":{"description":"The password to be used for login","format":"password","type":"string"},"reason":{"description":"Text that will be reviewed by moderators if registrations require manual approval","nullable":true,"type":"string"},"token":{"description":"Invite token required when the registrations aren't public","nullable":true,"type":"string"},"username":{"description":"The desired username for the account","type":"string"}},"required":["username","password","agreement"],"title":"AccountCreateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for creating an account","example":{"agreement":"true","bio":"☕️","email":"cofe@example.com","password":"secret","username":"cofe"},"properties":{"agreement":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the user agrees to the local rules, terms, and policies. These should be presented to the user in order to allow them to consent before setting this parameter to TRUE."},"bio":{"default":"","description":"Bio","nullable":true,"type":"string"},"birthday":{"anyOf":[{"format":"date","type":"string"},{"maxLength":0,"type":"string"}],"description":"User's birthday","nullable":true},"captcha_answer_data":{"description":"Provider-specific captcha data","nullable":true,"type":"string"},"captcha_solution":{"description":"Provider-specific captcha solution","nullable":true,"type":"string"},"captcha_token":{"description":"Provider-specific captcha token","nullable":true,"type":"string"},"email":{"description":"The email address to be used for login. Required when `account_activation_required` is enabled.","format":"email","nullable":true,"type":"string"},"fullname":{"description":"Full name","nullable":true,"type":"string"},"language":{"description":"User's preferred language for emails","nullable":true,"type":"string"},"locale":{"description":"The language of the confirmation email that will be sent","nullable":true,"type":"string"},"password":{"description":"The password to be used for login","format":"password","type":"string"},"reason":{"description":"Text that will be reviewed by moderators if registrations require manual approval","nullable":true,"type":"string"},"token":{"description":"Invite token required when the registrations aren't public","nullable":true,"type":"string"},"username":{"description":"The desired username for the account","type":"string"}},"required":["username","password","agreement"],"title":"AccountCreateRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for creating an account","example":{"agreement":"true","bio":"☕️","email":"cofe@example.com","password":"secret","username":"cofe"},"properties":{"agreement":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Whether the user agrees to the local rules, terms, and policies. These should be presented to the user in order to allow them to consent before setting this parameter to TRUE."},"bio":{"default":"","description":"Bio","nullable":true,"type":"string"},"birthday":{"anyOf":[{"format":"date","type":"string"},{"maxLength":0,"type":"string"}],"description":"User's birthday","nullable":true},"captcha_answer_data":{"description":"Provider-specific captcha data","nullable":true,"type":"string"},"captcha_solution":{"description":"Provider-specific captcha solution","nullable":true,"type":"string"},"captcha_token":{"description":"Provider-specific captcha token","nullable":true,"type":"string"},"email":{"description":"The email address to be used for login. Required when `account_activation_required` is enabled.","format":"email","nullable":true,"type":"string"},"fullname":{"description":"Full name","nullable":true,"type":"string"},"language":{"description":"User's preferred language for emails","nullable":true,"type":"string"},"locale":{"description":"The language of the confirmation email that will be sent","nullable":true,"type":"string"},"password":{"description":"The password to be used for login","format":"password","type":"string"},"reason":{"description":"Text that will be reviewed by moderators if registrations require manual approval","nullable":true,"type":"string"},"token":{"description":"Invite token required when the registrations aren't public","nullable":true,"type":"string"},"username":{"description":"The desired username for the account","type":"string"}},"required":["username","password","agreement"],"title":"AccountCreateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for an account","example":{"access_token":"i9hAVVzGld86Pl5JtLtizKoXVvtTlSCJvwaugCxvZzk","created_at":1585918714,"expires_in":600,"me":"https://gensokyo.2hu/users/raymoo","refresh_token":"i9hAVVzGld86Pl5JtLtizKoXVvtTlSCJvwaugCxvZzz","scope":"read write follow push","token_type":"Bearer"},"properties":{"access_token":{"type":"string"},"created_at":{"format":"date-time","type":"integer"},"expires_in":{"type":"integer"},"identifier":{"type":"string"},"me":{"type":"string"},"message":{"type":"string"},"refresh_token":{"type":"string"},"scope":{"type":"string"},"token_type":{"type":"string"}},"title":"AccountCreateResponse","type":"object"}}},"description":"Account"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"summary":"Register an account","tags":["Account credentials"]}},"/api/v1/pleroma/apps":{"get":{"callbacks":{},"deprecated":false,"description":"List the OAuth applications for the current user","operationId":"AppController.index","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"client_id":"TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM","client_secret":"ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw","id":"123","name":"My App","vapid_key":"BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M=","website":"https://myapp.com/"}],"items":{"$ref":"#/components/schemas/App"},"type":"array"}}},"description":"Array of App"}},"summary":"List applications","tags":["Applications"]}},"/api/v1/pleroma/healthcheck":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.healthcheck","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Healthy"},"503":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Disabled or Unhealthy"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Quick status check on the instance","tags":["Others"]}},"/api/v1/apps":{"post":{"callbacks":{},"deprecated":false,"description":"Create a new application to obtain OAuth2 credentials","operationId":"AppController.create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for creating an app","example":{"client_name":"My App","redirect_uris":"https://myapp.com/auth/callback","website":"https://myapp.com/"},"properties":{"client_name":{"description":"A name for your application.","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"default":"read","description":"Space separated list of scopes","type":"string"},"website":{"description":"A URL to the homepage of your app","nullable":true,"type":"string"}},"required":["client_name","redirect_uris"],"title":"AppCreateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for creating an app","example":{"client_name":"My App","redirect_uris":"https://myapp.com/auth/callback","website":"https://myapp.com/"},"properties":{"client_name":{"description":"A name for your application.","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"default":"read","description":"Space separated list of scopes","type":"string"},"website":{"description":"A URL to the homepage of your app","nullable":true,"type":"string"}},"required":["client_name","redirect_uris"],"title":"AppCreateRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for creating an app","example":{"client_name":"My App","redirect_uris":"https://myapp.com/auth/callback","website":"https://myapp.com/"},"properties":{"client_name":{"description":"A name for your application.","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"default":"read","description":"Space separated list of scopes","type":"string"},"website":{"description":"A URL to the homepage of your app","nullable":true,"type":"string"}},"required":["client_name","redirect_uris"],"title":"AppCreateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App"}}},"description":"App"},"422":{"content":{"application/json":{"schema":{"description":"If a required parameter is missing or improperly formatted, the request will fail.","example":{"error":"Validation failed: Redirect URI must be an absolute URI."},"properties":{"error":{"type":"string"}},"type":"object"}}},"description":"Unprocessable Entity"}},"summary":"Create an application","tags":["Applications"]}},"/api/v1/announcements/{id}/dismiss":{"post":{"callbacks":{},"deprecated":false,"operationId":"MastodonAPI.AnnouncementController.mark_read","parameters":[{"description":"announcement id","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Mark one announcement as read","tags":["Announcements"]}},"/api/v1/accounts/search":{"get":{"callbacks":{},"deprecated":false,"operationId":"SearchController.account_search","parameters":[{"description":"What to search for","in":"query","name":"q","required":true,"schema":{"type":"string"}},{"description":"Maximum number of results","in":"query","name":"limit","required":false,"schema":{"default":40,"type":"integer"}},{"description":"Attempt WebFinger lookup. Use this when `q` is an exact address.","in":"query","name":"resolve","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Only include accounts that the user is following","in":"query","name":"following","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false}},{"description":"Only include accounts with given capabilities","in":"query","name":"capabilities","required":false,"schema":{"items":{"enum":["accepts_chat_messages"],"type":"string"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"}}},"description":"Array of Account"}},"summary":"Search for matching accounts by username or display name","tags":["Search"]}},"/api/v1/accounts/{id}/unblock":{"post":{"callbacks":{},"deprecated":false,"description":"Unblock the given account.","operationId":"AccountController.unblock","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"}},"security":[{"oAuth":["follow","write:blocks"]}],"summary":"Unblock","tags":["Account actions"]}},"/api/v1/pleroma/accounts/{id}/endorsements":{"get":{"callbacks":{},"deprecated":false,"description":"Returns endorsed accounts","operationId":"AccountController.endorsements (2)","parameters":[{"description":"Embed relationships into accounts. **If this parameter is not set account's `pleroma.relationship` is going to be `null`.**","in":"query","name":"with_relationships","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"$ref":"#/components/parameters/accountIdOrNickname"}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"}}},"description":"Array of Accounts"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"summary":"Endorsements","tags":["Retrieve account information"]}},"/api/v1/pleroma/admin/statuses":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.StatusController.index","parameters":[{"description":"Allows to see private statuses","in":"query","name":"godmode","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"Excludes remote statuses","in":"query","name":"local_only","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"Allows to see reblogs","in":"query","name":"with_reblogs","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"Page","in":"query","name":"page","required":false,"schema":{"default":1,"type":"integer"}},{"description":"Number of statuses to return","in":"query","name":"page_size","required":false,"schema":{"default":50,"type":"integer"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"anyOf":[{"$ref":"#/components/schemas/Status"},{"properties":{"account":{"allOf":[{"$ref":"#/components/schemas/Account"},{"properties":{"avatar":{"type":"string"},"display_name":{"type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"is_active":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"nickname":{"type":"string"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"tags":{"type":"string"}},"type":"object"}]}},"type":"object"}]},"type":"array"}}},"description":"Array of statuses"}},"security":[{"oAuth":["admin:read:statuses"]}],"summary":"Get all statuses","tags":["Status administration"]}},"/api/v1/statuses/{id}/favourite":{"post":{"callbacks":{},"deprecated":false,"description":"Add a status to your favourites list","operationId":"StatusController.favourite","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["write:favourites"]}],"summary":"Favourite","tags":["Status actions"]}},"/api/v1/pleroma/remote_interaction":{"post":{"callbacks":{},"deprecated":false,"operationId":"RemoteInteractionController.remote_interaction","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for remote interaction","properties":{"ap_id":{"description":"Profile or status ActivityPub ID","type":"string"},"profile":{"description":"Remote profile webfinger","type":"string"}},"required":["ap_id","profile"],"title":"RemoteInteractionRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for remote interaction","properties":{"ap_id":{"description":"Profile or status ActivityPub ID","type":"string"},"profile":{"description":"Remote profile webfinger","type":"string"}},"required":["ap_id","profile"],"title":"RemoteInteractionRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for remote interaction","properties":{"ap_id":{"description":"Profile or status ActivityPub ID","type":"string"},"profile":{"description":"Remote profile webfinger","type":"string"}},"required":["ap_id","profile"],"title":"RemoteInteractionRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Remote interaction URL"}},"summary":"Remote interaction","tags":["Remote interaction"]}},"/api/v1/pleroma/admin/media_proxy_caches/purge":{"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.MediaProxyCacheController.purge","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"ban":{"default":true,"type":"boolean"},"urls":{"items":{"format":"uri","type":"string"},"type":"array"}},"required":["urls"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"ban":{"default":true,"type":"boolean"},"urls":{"items":{"format":"uri","type":"string"},"type":"array"}},"required":["urls"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"ban":{"default":true,"type":"boolean"},"urls":{"items":{"format":"uri","type":"string"},"type":"array"}},"required":["urls"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":{},"type":"object"}}},"description":"Empty object"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["admin:write:media_proxy_caches"]}],"summary":"Purge a URL from MediaProxy cache and optionally ban it","tags":["MediaProxy cache"]}},"/api/v1/pleroma/birthdays":{"get":{"callbacks":{},"deprecated":false,"description":"Birthday reminders about users you follow.","operationId":"PleromaAPI.AccountController.birthdays","parameters":[{"description":"Day of users' birthdays","in":"query","name":"day","required":false,"schema":{"type":"integer"}},{"description":"Month of users' birthdays","in":"query","name":"month","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"}}},"description":"Accounts"}},"security":[{"oAuth":["read:accounts"]}],"summary":"Birthday reminders","tags":["Retrieve account information"]}},"/api/v1/followed_tags":{"get":{"callbacks":{},"deprecated":false,"description":"View a list of hashtags the currently authenticated user is following","operationId":"TagController.show_followed","parameters":[{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"integer"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Tag"},"type":"array"}}},"description":"Hashtags"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:follows"]}],"summary":"Followed hashtags","tags":["Tags"]}},"/api/v1/pleroma/emoji/packs/download_zip":{"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.download_zip","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"file":{"description":"The uploaded ZIP file","type":"object"},"name":{"description":"Pack Name","format":"uri","type":"string"},"url":{"description":"URL of the file","format":"uri","type":"string"}},"required":["name"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"file":{"description":"The uploaded ZIP file","type":"object"},"name":{"description":"Pack Name","format":"uri","type":"string"},"url":{"description":"URL of the file","format":"uri","type":"string"}},"required":["name"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"file":{"description":"The uploaded ZIP file","type":"object"},"name":{"description":"Pack Name","format":"uri","type":"string"},"url":{"description":"URL of the file","format":"uri","type":"string"}},"required":["name"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":"ok","type":"string"}}},"description":"Ok"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"}},"security":[{"oAuth":["admin:write"]}],"summary":"Download a pack from a URL or an uploaded file","tags":["Emoji pack administration"]}},"/api/v1/pleroma/admin/reports/{report_id}/notes/{id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ReportController.notes_delete","parameters":[{"description":"Report ID","in":"path","name":"report_id","required":true,"schema":{"type":"string"}},{"description":"Note ID","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"example":"","type":"string"}}},"description":"No Content"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:write:reports"]}],"summary":"Delete note attached to the report","tags":["Report management"]}},"/api/pleroma/mutes_import":{"post":{"callbacks":{},"deprecated":false,"operationId":"UserImportController.mutes","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"list":{"anyOf":[{"format":"binary","type":"string"},{"type":"string"}],"description":"STRING or FILE containing a whitespace-separated list of accounts to import."}},"required":["list"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"list":{"anyOf":[{"format":"binary","type":"string"},{"type":"string"}],"description":"STRING or FILE containing a whitespace-separated list of accounts to import."}},"required":["list"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"list":{"anyOf":[{"format":"binary","type":"string"},{"type":"string"}],"description":"STRING or FILE containing a whitespace-separated list of accounts to import."}},"required":["list"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":"ok","type":"string"}}},"description":"Ok"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:mutes"]}],"summary":"Import mutes","tags":["Data import"]}},"/api/v1/statuses/{id}/favourited_by":{"get":{"callbacks":{},"deprecated":false,"description":"View who favourited a given status","operationId":"StatusController.favourited_by","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"}}},"description":"Array of Accounts"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:accounts"]}],"summary":"Favourited by","tags":["Retrieve status information"]}},"/api/v1/follows":{"post":{"callbacks":{},"deprecated":false,"operationId":"AccountController.follows","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for muting an account","properties":{"uri":{"format":"uri","nullable":true,"type":"string"}},"required":["uri"],"title":"AccountFollowsRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for muting an account","properties":{"uri":{"format":"uri","nullable":true,"type":"string"}},"required":["uri"],"title":"AccountFollowsRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for muting an account","properties":{"uri":{"format":"uri","nullable":true,"type":"string"}},"required":["uri"],"title":"AccountFollowsRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Account"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["follow","write:follows"]}],"summary":"Follow by URI","tags":["Account actions"]}},"/api/v1/markers":{"get":{"callbacks":{},"deprecated":false,"operationId":"MarkerController.index","parameters":[{"description":"Array of markers to fetch. If not provided, an empty object will be returned.","in":"query","name":"timeline","required":false,"schema":{"items":{"enum":["home","notifications"],"type":"string"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for markers","example":{"home":{"last_read_id":"103206604258487607","pleroma":{"unread_count":10},"updated_at":"2019-11-26T22:37:25.235Z","version":468},"notifications":{"last_read_id":"35098814","pleroma":{"unread_count":0},"updated_at":"2019-11-26T22:37:25.239Z","version":361}},"items":{"type":"string"},"properties":{"home":{"allOf":[{"description":"Schema for a marker","example":{"last_read_id":"35098814","pleroma":{"unread_count":5},"updated_at":"2019-11-26T22:37:25.239Z","version":361},"properties":{"last_read_id":{"type":"string"},"pleroma":{"properties":{"unread_count":{"type":"integer"}},"type":"object"},"updated_at":{"type":"string"},"version":{"type":"integer"}},"title":"Marker","type":"object"}],"nullable":true},"notifications":{"allOf":[{"description":"Schema for a marker","example":{"last_read_id":"35098814","pleroma":{"unread_count":5},"updated_at":"2019-11-26T22:37:25.239Z","version":361},"properties":{"last_read_id":{"type":"string"},"pleroma":{"properties":{"unread_count":{"type":"integer"}},"type":"object"},"updated_at":{"type":"string"},"version":{"type":"integer"}},"title":"Marker","type":"object"}],"nullable":true}},"title":"MarkersResponse","type":"object"}}},"description":"Marker"},"403":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"}}},"description":"Error"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Get saved timeline position","tags":["Markers"]},"post":{"callbacks":{},"deprecated":false,"operationId":"MarkerController.upsert","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"Request schema for marker upsert","example":{"home":{"last_read_id":"103194548672408537","updated_at":"2019-11-24T19:39:39.337Z","version":462}},"properties":{"home":{"nullable":true,"properties":{"last_read_id":{"nullable":true,"type":"string"}},"type":"object"},"notifications":{"nullable":true,"properties":{"last_read_id":{"nullable":true,"type":"string"}},"type":"object"}},"title":"MarkersUpsertRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"Request schema for marker upsert","example":{"home":{"last_read_id":"103194548672408537","updated_at":"2019-11-24T19:39:39.337Z","version":462}},"properties":{"home":{"nullable":true,"properties":{"last_read_id":{"nullable":true,"type":"string"}},"type":"object"},"notifications":{"nullable":true,"properties":{"last_read_id":{"nullable":true,"type":"string"}},"type":"object"}},"title":"MarkersUpsertRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"Request schema for marker upsert","example":{"home":{"last_read_id":"103194548672408537","updated_at":"2019-11-24T19:39:39.337Z","version":462}},"properties":{"home":{"nullable":true,"properties":{"last_read_id":{"nullable":true,"type":"string"}},"type":"object"},"notifications":{"nullable":true,"properties":{"last_read_id":{"nullable":true,"type":"string"}},"type":"object"}},"title":"MarkersUpsertRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for markers","example":{"home":{"last_read_id":"103206604258487607","pleroma":{"unread_count":10},"updated_at":"2019-11-26T22:37:25.235Z","version":468},"notifications":{"last_read_id":"35098814","pleroma":{"unread_count":0},"updated_at":"2019-11-26T22:37:25.239Z","version":361}},"items":{"type":"string"},"properties":{"home":{"allOf":[{"description":"Schema for a marker","example":{"last_read_id":"35098814","pleroma":{"unread_count":5},"updated_at":"2019-11-26T22:37:25.239Z","version":361},"properties":{"last_read_id":{"type":"string"},"pleroma":{"properties":{"unread_count":{"type":"integer"}},"type":"object"},"updated_at":{"type":"string"},"version":{"type":"integer"}},"title":"Marker","type":"object"}],"nullable":true},"notifications":{"allOf":[{"description":"Schema for a marker","example":{"last_read_id":"35098814","pleroma":{"unread_count":5},"updated_at":"2019-11-26T22:37:25.239Z","version":361},"properties":{"last_read_id":{"type":"string"},"pleroma":{"properties":{"unread_count":{"type":"integer"}},"type":"object"},"updated_at":{"type":"string"},"version":{"type":"integer"}},"title":"Marker","type":"object"}],"nullable":true}},"title":"MarkersResponse","type":"object"}}},"description":"Marker"},"403":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"string"}},"type":"object"}}},"description":"Error"}},"security":[{"oAuth":["follow","write:blocks"]}],"summary":"Save position in timeline","tags":["Markers"]}},"/api/v1/notifications":{"get":{"callbacks":{},"deprecated":false,"description":"Notifications concerning the user. This API returns Link headers containing links to the next/previous page. However, the links can also be constructed dynamically using query params and `id` values.","operationId":"NotificationController.index","parameters":[{"description":"Array of types to exclude","in":"query","name":"exclude_types","required":false,"schema":{"items":{"description":"The type of event that resulted in the notification.\n\n- `follow` - Someone followed you\n- `mention` - Someone mentioned you in their status\n- `reblog` - Someone boosted one of your statuses\n- `favourite` - Someone favourited one of your statuses\n- `poll` - A poll you have voted in or created has ended\n- `move` - Someone moved their account\n- `pleroma:emoji_reaction` - Someone reacted with emoji to your status\n- `pleroma:chat_mention` - Someone mentioned you in a chat message\n- `pleroma:report` - Someone was reported\n- `status` - Someone you are subscribed to created a status\n- `update` - A status you boosted has been edited\n- `admin.sign_up` - Someone signed up (optionally sent to admins)\n- `admin.report` - A new report has been filed\n","enum":["follow","favourite","reblog","mention","pleroma:emoji_reaction","pleroma:chat_mention","pleroma:report","move","follow_request","poll","status","update","admin.sign_up","admin.report"],"type":"string"},"type":"array"}},{"description":"Return only notifications received from this account","in":"query","name":"account_id","required":false,"schema":{"type":"string"}},{"description":"Exclude the notifications for activities with the given visibilities","in":"query","name":"exclude_visibilities","required":false,"schema":{"items":{"$ref":"#/components/schemas/VisibilityScope"},"type":"array"}},{"description":"Deprecated, use `types` instead","in":"query","name":"include_types","required":false,"schema":{"items":{"description":"The type of event that resulted in the notification.\n\n- `follow` - Someone followed you\n- `mention` - Someone mentioned you in their status\n- `reblog` - Someone boosted one of your statuses\n- `favourite` - Someone favourited one of your statuses\n- `poll` - A poll you have voted in or created has ended\n- `move` - Someone moved their account\n- `pleroma:emoji_reaction` - Someone reacted with emoji to your status\n- `pleroma:chat_mention` - Someone mentioned you in a chat message\n- `pleroma:report` - Someone was reported\n- `status` - Someone you are subscribed to created a status\n- `update` - A status you boosted has been edited\n- `admin.sign_up` - Someone signed up (optionally sent to admins)\n- `admin.report` - A new report has been filed\n","enum":["follow","favourite","reblog","mention","pleroma:emoji_reaction","pleroma:chat_mention","pleroma:report","move","follow_request","poll","status","update","admin.sign_up","admin.report"],"type":"string"},"type":"array"}},{"description":"Include the notifications for activities with the given types","in":"query","name":"types","required":false,"schema":{"items":{"description":"The type of event that resulted in the notification.\n\n- `follow` - Someone followed you\n- `mention` - Someone mentioned you in their status\n- `reblog` - Someone boosted one of your statuses\n- `favourite` - Someone favourited one of your statuses\n- `poll` - A poll you have voted in or created has ended\n- `move` - Someone moved their account\n- `pleroma:emoji_reaction` - Someone reacted with emoji to your status\n- `pleroma:chat_mention` - Someone mentioned you in a chat message\n- `pleroma:report` - Someone was reported\n- `status` - Someone you are subscribed to created a status\n- `update` - A status you boosted has been edited\n- `admin.sign_up` - Someone signed up (optionally sent to admins)\n- `admin.report` - A new report has been filed\n","enum":["follow","favourite","reblog","mention","pleroma:emoji_reaction","pleroma:chat_mention","pleroma:report","move","follow_request","poll","status","update","admin.sign_up","admin.report"],"type":"string"},"type":"array"}},{"description":"Include the notifications from muted users","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"description":"Response schema for a notification","example":{"account":{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"},"created_at":"2019-11-23T07:49:02.064Z","group-key":"ungrouped-34975861","id":"34975861","pleroma":{"is_muted":false,"is_seen":false},"status":{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"},"type":"mention"},"properties":{"account":{"allOf":[{"$ref":"#/components/schemas/Account"}],"description":"The account that performed the action that generated the notification."},"created_at":{"format":"date-time","type":"string"},"group_key":{"description":"Group key shared by similar notifications","type":"string"},"id":{"type":"string"},"pleroma":{"properties":{"is_muted":{"type":"boolean"},"is_seen":{"type":"boolean"}},"type":"object"},"status":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"Status that was the object of the notification, e.g. in mentions, reblogs, favourites, or polls.","nullable":true},"type":{"description":"The type of event that resulted in the notification.\n\n- `follow` - Someone followed you\n- `mention` - Someone mentioned you in their status\n- `reblog` - Someone boosted one of your statuses\n- `favourite` - Someone favourited one of your statuses\n- `poll` - A poll you have voted in or created has ended\n- `move` - Someone moved their account\n- `pleroma:emoji_reaction` - Someone reacted with emoji to your status\n- `pleroma:chat_mention` - Someone mentioned you in a chat message\n- `pleroma:report` - Someone was reported\n- `status` - Someone you are subscribed to created a status\n- `update` - A status you boosted has been edited\n- `admin.sign_up` - Someone signed up (optionally sent to admins)\n- `admin.report` - A new report has been filed\n","enum":["follow","favourite","reblog","mention","pleroma:emoji_reaction","pleroma:chat_mention","pleroma:report","move","follow_request","poll","status","update","admin.sign_up","admin.report"],"type":"string"}},"title":"Notification","type":"object"},"type":"array"}}},"description":"Array of notifications"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["read:notifications"]}],"summary":"Retrieve a list of notifications","tags":["Notifications"]}},"/api/v1/pleroma/admin/users/{nickname}":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.show","parameters":[{"description":"User nickname or ID","in":"path","name":"nickname","required":true,"schema":{"type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"actor_type":{"type":"string"},"avatar":{"format":"uri","type":"string"},"display_name":{"type":"string"},"email":{"format":"email","type":"string"},"id":{"type":"string"},"is_active":{"type":"boolean"},"is_approved":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"nickname":{"type":"string"},"registration_reason":{"nullable":true,"type":"string"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"tags":{"items":{"type":"string"},"type":"array"},"url":{"format":"uri","type":"string"}},"type":"object"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:read:accounts"]}],"summary":"Show user","tags":["User administration"]}},"/api/v1/pleroma/federation_status":{"get":{"callbacks":{},"deprecated":false,"description":"Information about instances deemed unreachable by the server","operationId":"PleromaInstances.show","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"unreachable":{"consistently-unreachable.name":"2020-10-14 22:07:58.216473"}},"properties":{"unreachable":{"properties":{"hostname":{"format":"date-time","type":"string"}},"type":"object"}},"type":"object"}}},"description":"PleromaInstances"}},"summary":"Retrieve federation status","tags":["Instance misc"]}},"/api/v1/timelines/direct":{"get":{"callbacks":{},"deprecated":false,"description":"View statuses with a “direct” scope addressed to the account. Using this endpoint is discouraged, please use [conversations](#tag/Conversations) or [chats](#tag/Chats).","operationId":"TimelineController.direct","parameters":[{"description":"Include activities by muted users","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"title":"ArrayOfStatuses","type":"array"}}},"description":"Array of Status"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Direct timeline","tags":["Timelines"]}},"/api/v1/pleroma/admin/instance_document/{name}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.InstanceDocumentController.delete","parameters":[{"description":"The document name","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"url":"https://example.com/static/terms-of-service.html"},"properties":{"url":{"type":"string"}},"title":"InstanceDocument","type":"object"}}},"description":"InstanceDocument"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:write"]}],"summary":"Delete an instance document","tags":["Instance documents"]},"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.InstanceDocumentController.show","parameters":[{"description":"The document name","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html":{"schema":{"example":"<h1>Instance panel</h1>","type":"string"}}},"description":"InstanceDocumentContent"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:read"]}],"summary":"Retrieve an instance document","tags":["Instance documents"]},"patch":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.InstanceDocumentController.update","parameters":[{"description":"The document name","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for uploading the file","properties":{"file":{"description":"The file to be uploaded, using multipart form data.","format":"binary","type":"string"}},"required":["file"],"title":"UpdateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for uploading the file","properties":{"file":{"description":"The file to be uploaded, using multipart form data.","format":"binary","type":"string"}},"required":["file"],"title":"UpdateRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for uploading the file","properties":{"file":{"description":"The file to be uploaded, using multipart form data.","format":"binary","type":"string"}},"required":["file"],"title":"UpdateRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"url":"https://example.com/static/terms-of-service.html"},"properties":{"url":{"type":"string"}},"title":"InstanceDocument","type":"object"}}},"description":"InstanceDocument"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:write"]}],"summary":"Update an instance document","tags":["Instance documents"]}},"/api/v1/accounts/{id}/unpin":{"post":{"callbacks":{},"deprecated":false,"description":"Removes the given account from endorsed accounts list.","operationId":"AccountController.unendorse","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"}},"security":[{"oAuth":["follow","write:accounts"]}],"summary":"Unendorse","tags":["Account actions"]}},"/api/v1/pleroma/notifications/read":{"post":{"callbacks":{},"deprecated":false,"description":"Query parameters are mutually exclusive.","operationId":"PleromaAPI.NotificationController.mark_as_read","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"id":{"description":"A single notification ID to read","type":"integer"},"max_id":{"description":"Read all notifications up to this ID","type":"integer"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"id":{"description":"A single notification ID to read","type":"integer"},"max_id":{"description":"Read all notifications up to this ID","type":"integer"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"id":{"description":"A single notification ID to read","type":"integer"},"max_id":{"description":"Read all notifications up to this ID","type":"integer"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"A Notification or array of Notifications"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"}},"security":[{"oAuth":["write:notifications"]}],"summary":"Mark notifications as read","tags":["Notifications"]}},"/api/v1/announcements":{"get":{"callbacks":{},"deprecated":false,"operationId":"MastodonAPI.AnnouncementController.index","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Announcement"},"type":"array"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":[]}],"summary":"Retrieve a list of announcements","tags":["Announcements"]}},"/api/v0/pleroma/reports/{id}":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.ReportController.show","parameters":[{"description":"Report ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"account":{"$ref":"#/components/schemas/Account"},"actor":{"$ref":"#/components/schemas/Account"},"content":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"state":{"enum":["open","closed","resolved"],"type":"string"},"statuses":{"items":{"$ref":"#/components/schemas/Status"},"type":"array"}},"type":"object"}}},"description":"Report"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:reports"]}],"summary":"Get an individual report","tags":["Reports"]}},"/api/v1/pleroma/emoji/packs":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.index","parameters":[{"description":"Page","in":"query","name":"page","required":false,"schema":{"default":1,"type":"integer"}},{"description":"Number of emoji packs to return","in":"query","name":"page_size","required":false,"schema":{"default":50,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"count":1,"packs":{"emojos":{"files":{"emacs":"emacs.png","guix":"guix.png"},"pack":{"can-download":true,"description":"Test description","download-sha256":"57482F30674FD3DE821FF48C81C00DA4D4AF1F300209253684ABA7075E5FC238","homepage":"https://pleroma.social","license":"Test license","share-files":true}}}},"properties":{"count":{"description":"Number of emoji packs","type":"integer"},"packs":{"additionalProperties":{"example":{"files":{"emacs":"emacs.png","guix":"guix.png"},"pack":{"can-download":true,"description":"Test description","download-sha256":"57482F30674FD3DE821FF48C81C00DA4D4AF1F300209253684ABA7075E5FC238","homepage":"https://pleroma.social","license":"Test license","share-files":true}},"properties":{"files":{"additionalProperties":{"description":"Filename","type":"string","x-additionalPropertiesName":"Emoji name"},"description":"Object with emoji names as keys and filenames as values","type":"object"},"pack":{"properties":{"can-download":{"type":"boolean"},"description":{"type":"string"},"download-sha256":{"type":"string"},"homepage":{"format":"uri","type":"string"},"license":{"type":"string"},"share-files":{"type":"boolean"}},"type":"object"}},"title":"EmojiPack","type":"object","x-additionalPropertiesName":"Pack name"},"description":"Object with pack names as keys and pack contents as values","type":"object"}},"type":"object"}}},"description":"Emoji packs and the count"}},"summary":"Lists local custom emoji packs","tags":["Emoji packs"]}},"/api/v1/pleroma/admin/frontends/install":{"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.FrontendController.install","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"build_dir":{"type":"string"},"build_url":{"type":"string"},"file":{"type":"string"},"name":{"type":"string"},"ref":{"type":"string"}},"required":["name"],"title":"FrontendInstallRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"build_dir":{"type":"string"},"build_url":{"type":"string"},"file":{"type":"string"},"name":{"type":"string"},"ref":{"type":"string"}},"required":["name"],"title":"FrontendInstallRequest","type":"object"}},"multipart/form-data":{"schema":{"properties":{"build_dir":{"type":"string"},"build_url":{"type":"string"},"file":{"type":"string"},"name":{"type":"string"},"ref":{"type":"string"}},"required":["name"],"title":"FrontendInstallRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"build_url":{"format":"uri","nullable":true,"type":"string"},"git":{"format":"uri","nullable":true,"type":"string"},"installed":{"type":"boolean"},"installed_refs":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"ref":{"nullable":true,"type":"string"}},"type":"object"},"type":"array"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:read"]}],"summary":"Install a frontend","tags":["Frontend management"]}},"/api/v1/pleroma/admin/announcements/{id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.AnnouncementController.delete","parameters":[{"description":"announcement id","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:write"]}],"summary":"Delete one announcement","tags":["Announcement management"]},"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.AnnouncementController.show","parameters":[{"description":"announcement id","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Announcement"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:read"]}],"summary":"Display one announcement","tags":["Announcement management"]},"patch":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.AnnouncementController.change","parameters":[{"description":"announcement id","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"all_day":{"type":"boolean"},"content":{"type":"string"},"ends_at":{"format":"date-time","nullable":true,"type":"string"},"starts_at":{"format":"date-time","nullable":true,"type":"string"}},"title":"AnnouncementChangeRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"all_day":{"type":"boolean"},"content":{"type":"string"},"ends_at":{"format":"date-time","nullable":true,"type":"string"},"starts_at":{"format":"date-time","nullable":true,"type":"string"}},"title":"AnnouncementChangeRequest","type":"object"}},"multipart/form-data":{"schema":{"properties":{"all_day":{"type":"boolean"},"content":{"type":"string"},"ends_at":{"format":"date-time","nullable":true,"type":"string"},"starts_at":{"format":"date-time","nullable":true,"type":"string"}},"title":"AnnouncementChangeRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Announcement"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["admin:write"]}],"summary":"Change one announcement","tags":["Announcement management"]}},"/api/v1/statuses/{id}/unmute":{"post":{"callbacks":{},"deprecated":false,"description":"Start receiving notifications again for the thread that this status is part of","operationId":"StatusController.unmute_conversation","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Not Found"}}},"description":"Not Found"}},"security":[{"oAuth":["write:mutes"]}],"summary":"Unmute conversation","tags":["Status actions"]}},"/api/v1/statuses/{id}/unreblog":{"post":{"callbacks":{},"deprecated":false,"description":"Undo a reshare of a status","operationId":"StatusController.unreblog","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["write:statuses"]}],"summary":"Undo reblog","tags":["Status actions"]}},"/api/v1/pleroma/accounts/{id}/subscribe":{"post":{"callbacks":{},"deprecated":true,"description":"Receive notifications for all statuses posted by the account. Deprecated, use `notify: true` in follow operation instead.","operationId":"PleromaAPI.AccountController.subscribe","parameters":[{"description":"Account ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["follow","write:follows"]}],"summary":"Subscribe","tags":["Account actions"]}},"/api/v1/pleroma/accounts/{id}/favourites":{"get":{"callbacks":{},"deprecated":false,"description":"Only returns data if the user has opted into sharing it. See `hide_favorites` in [Update account credentials](#operation/AccountController.update_credentials).","operationId":"PleromaAPI.AccountController.favourites","parameters":[{"description":"Account ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"type":"array"}}},"description":"Array of Statuses"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:favourites"]}],"summary":"Favorites","tags":["Retrieve account information"]}},"/api/v1/accounts/{id}/note":{"post":{"callbacks":{},"deprecated":false,"description":"Create a note for the given account.","operationId":"AccountController.note","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"},{"description":"Account note body","in":"query","name":"comment","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for adding a note for an account","example":{"comment":"Example note"},"properties":{"comment":{"description":"Account note body","type":"string"}},"title":"AccountNoteRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for adding a note for an account","example":{"comment":"Example note"},"properties":{"comment":{"description":"Account note body","type":"string"}},"title":"AccountNoteRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for adding a note for an account","example":{"comment":"Example note"},"properties":{"comment":{"description":"Account note body","type":"string"}},"title":"AccountNoteRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"}},"security":[{"oAuth":["follow","write:accounts"]}],"summary":"Set a private note about a user.","tags":["Account actions"]}},"/api/v2/pleroma/chats":{"get":{"callbacks":{},"deprecated":false,"operationId":"ChatController.index2","parameters":[{"description":"Include chats from muted users","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Include only pinned chats","in":"query","name":"pinned","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for multiple Chats","example":[{"account":{"acct":"lain@dontbulling.me","avatar":"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg","avatar_static":"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg","bot":false,"created_at":"2020-04-16T13:40:15.000Z","display_name":"lain","emojis":[],"fields":[],"followers_count":0,"following_count":0,"header":"https://originalpatchou.li/images/banner.png","header_static":"https://originalpatchou.li/images/banner.png","id":"9u6Qw6TAZANpqokMkK","locked":false,"note":"lain","pleroma":{"ap_id":"https://dontbulling.me/users/lain","background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"lain","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"https://dontbulling.me/users/lain","username":"lain"},"id":"1","unread":2}],"items":{"$ref":"#/components/schemas/Chat"},"title":"ChatsResponse","type":"array"}}},"description":"The chats of the user"}},"security":[{"oAuth":["read:chats"]}],"summary":"Retrieve list of chats","tags":["Chats"]}},"/api/v1/pleroma/mascot":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.MascotController.show","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"id":"abcdefg","pleroma":{"mime_type":"image/png"},"type":"image","url":"https://pleroma.example.org/media/abcdefg.png"},"properties":{"id":{"type":"string"},"pleroma":{"properties":{"mime_type":{"type":"string"}},"type":"object"},"type":{"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}}},"description":"Mascot"}},"security":[{"oAuth":["read:accounts"]}],"summary":"Retrieve mascot","tags":["Mascot"]},"put":{"callbacks":{},"deprecated":false,"description":"Behaves exactly the same as `POST /api/v1/upload`. Can only accept images - any attempt to upload non-image files will be met with `HTTP 415 Unsupported Media Type`.","operationId":"PleromaAPI.MascotController.update","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"id":"abcdefg","pleroma":{"mime_type":"image/png"},"type":"image","url":"https://pleroma.example.org/media/abcdefg.png"},"properties":{"id":{"type":"string"},"pleroma":{"properties":{"mime_type":{"type":"string"}},"type":"object"},"type":{"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}}},"description":"Mascot"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Unsupported Media Type"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Set or clear mascot","tags":["Mascot"]}},"/api/v1/pleroma/admin/config/descriptions":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ConfigController.descriptions","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"children":{"items":{"properties":{"description":{"type":"string"},"key":{"type":"string"},"suggestions":{"type":"array"},"type":{"oneOf":[{"type":"string"},{"type":"array"}]}},"type":"object"},"type":"array"},"description":{"type":"string"},"group":{"type":"string"},"key":{"type":"string"},"type":{"oneOf":[{"type":"string"},{"type":"array"}]}},"type":"object"},"type":"array"}}},"description":"Config Descriptions"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"}},"security":[{"oAuth":["admin:read"]}],"summary":"Retrieve config description","tags":["Instance configuration"]}},"/api/v1/tags/{id}/unfollow":{"post":{"callbacks":{},"deprecated":false,"description":"Unfollow a hashtag","operationId":"TagController.unfollow","parameters":[{"description":"Name of the hashtag","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}},"description":"Hashtag"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["write:follows"]}],"summary":"Unfollow a hashtag","tags":["Tags"]}},"/api/v1/statuses/{id}/source":{"get":{"callbacks":{},"deprecated":false,"description":"View source of a status","operationId":"StatusController.show_source","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"content_type":{"description":"The content type of the source","type":"string"},"id":{"$ref":"#/components/schemas/FlakeID"},"spoiler_text":{"description":"Subject or summary line, below which status content is collapsed until expanded","type":"string"},"text":{"description":"Raw source of status content","type":"string"}},"type":"object"}}},"description":"Status Source"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Status source","tags":["Retrieve status information"]}},"/api/v1/pleroma/admin/announcements":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.AnnouncementController.index","parameters":[{"description":"the maximum number of announcements to return","in":"query","name":"limit","required":false,"schema":{"minimum":1,"type":"integer"}},{"description":"the offset of the first announcement to return","in":"query","name":"offset","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Announcement"},"type":"array"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:read"]}],"summary":"Retrieve a list of announcements","tags":["Announcement management"]},"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.AnnouncementController.create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"all_day":{"type":"boolean"},"content":{"type":"string"},"ends_at":{"format":"date-time","nullable":true,"type":"string"},"starts_at":{"format":"date-time","nullable":true,"type":"string"}},"required":["content"],"title":"AnnouncementCreateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"all_day":{"type":"boolean"},"content":{"type":"string"},"ends_at":{"format":"date-time","nullable":true,"type":"string"},"starts_at":{"format":"date-time","nullable":true,"type":"string"}},"required":["content"],"title":"AnnouncementCreateRequest","type":"object"}},"multipart/form-data":{"schema":{"properties":{"all_day":{"type":"boolean"},"content":{"type":"string"},"ends_at":{"format":"date-time","nullable":true,"type":"string"},"starts_at":{"format":"date-time","nullable":true,"type":"string"}},"required":["content"],"title":"AnnouncementCreateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Announcement"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write"]}],"summary":"Create one announcement","tags":["Announcement management"]}},"/api/v1/statuses":{"get":{"callbacks":{},"deprecated":false,"operationId":"StatusController.index","parameters":[{"description":"Array of status IDs","in":"query","name":"id","required":false,"schema":{"items":{"$ref":"#/components/schemas/FlakeID"},"type":"array"}},{"description":"Deprecated, use `id` instead","in":"query","name":"ids","required":false,"schema":{"items":{"$ref":"#/components/schemas/FlakeID"},"type":"array"}},{"description":"Include reactions from muted acccounts.","in":"query","name":"with_muted","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"}],"items":{"$ref":"#/components/schemas/Status"},"type":"array"}}},"description":"Array of Status"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Multiple statuses","tags":["Retrieve status information"]},"post":{"callbacks":{},"deprecated":false,"description":"Post a new status","operationId":"StatusController.create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"example":{"poll":{"expires_in":420,"options":["Cofe","Adventure"]},"sensitive":"false","status":"What time is it?"},"properties":{"content_type":{"description":"The MIME type of the status, it is transformed into HTML by the backend. You can get the list of the supported MIME types with the nodeinfo endpoint.","nullable":true,"type":"string"},"expires_in":{"description":"The number of seconds the posted activity should expire in. When a posted activity expires it will be deleted from the server, and a delete request for it will be federated. This needs to be longer than an hour.","nullable":true,"type":"integer"},"in_reply_to_conversation_id":{"description":"Will reply to a given conversation, addressing only the people who are part of the recipient set of that conversation. Sets the visibility to `direct`.","nullable":true,"type":"string"},"in_reply_to_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of the status being replied to, if status is a reply","nullable":true},"language":{"description":"ISO 639 language code for this status.","nullable":true,"type":"string"},"media_ids":{"description":"Array of Attachment ids to be attached as media.","items":{"type":"string"},"nullable":true,"type":"array"},"poll":{"nullable":true,"properties":{"expires_in":{"description":"Duration the poll should be open, in seconds. Must be provided with `poll[options]`","nullable":true,"type":"integer"},"hide_totals":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Hide vote counts until the poll ends?","nullable":true},"multiple":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allow multiple choices?","nullable":true},"options":{"description":"Array of possible answers. Must be provided with `poll[expires_in]`.","items":{"type":"string"},"type":"array"}},"required":["options","expires_in"],"type":"object"},"preview":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"If set to `true` the post won't be actually posted, but the status entity would still be rendered back. This could be useful for previewing rich text/custom emoji, for example","nullable":true},"quote_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"deprecated":true,"description":"Deprecated in favor of `quoted_status_id`","nullable":true},"quoted_status_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of the status being quoted, if any","nullable":true},"scheduled_at":{"description":"ISO 8601 Datetime at which to schedule a status. Providing this parameter will cause ScheduledStatus to be returned instead of Status. Must be at least 5 minutes in the future.","format":"date-time","nullable":true,"type":"string"},"sensitive":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Mark status and attached media as sensitive?","nullable":true},"spoiler_text":{"description":"Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field.","nullable":true,"type":"string"},"status":{"description":"Text content of the status. If `media_ids` is provided, this becomes optional. Attaching a `poll` is optional while `status` is provided.","nullable":true,"type":"string"},"to":{"description":"A list of nicknames (like `lain@soykaf.club` or `lain` on the local server) that will be used to determine who is going to be addressed by this post. Using this will disable the implicit addressing by mentioned names in the `status` body, only the people in the `to` list will be addressed. The normal rules for for post visibility are not affected by this and will still apply","items":{"type":"string"},"nullable":true,"type":"array"},"visibility":{"anyOf":[{"$ref":"#/components/schemas/VisibilityScope"},{"description":"`list:LIST_ID`","example":"LIST:123","type":"string"}],"description":"Visibility of the posted status. Besides standard MastoAPI values (`direct`, `private`, `unlisted` or `public`) it can be used to address a List by setting it to `list:LIST_ID`","nullable":true}},"title":"StatusCreateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"example":{"poll":{"expires_in":420,"options":["Cofe","Adventure"]},"sensitive":"false","status":"What time is it?"},"properties":{"content_type":{"description":"The MIME type of the status, it is transformed into HTML by the backend. You can get the list of the supported MIME types with the nodeinfo endpoint.","nullable":true,"type":"string"},"expires_in":{"description":"The number of seconds the posted activity should expire in. When a posted activity expires it will be deleted from the server, and a delete request for it will be federated. This needs to be longer than an hour.","nullable":true,"type":"integer"},"in_reply_to_conversation_id":{"description":"Will reply to a given conversation, addressing only the people who are part of the recipient set of that conversation. Sets the visibility to `direct`.","nullable":true,"type":"string"},"in_reply_to_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of the status being replied to, if status is a reply","nullable":true},"language":{"description":"ISO 639 language code for this status.","nullable":true,"type":"string"},"media_ids":{"description":"Array of Attachment ids to be attached as media.","items":{"type":"string"},"nullable":true,"type":"array"},"poll":{"nullable":true,"properties":{"expires_in":{"description":"Duration the poll should be open, in seconds. Must be provided with `poll[options]`","nullable":true,"type":"integer"},"hide_totals":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Hide vote counts until the poll ends?","nullable":true},"multiple":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allow multiple choices?","nullable":true},"options":{"description":"Array of possible answers. Must be provided with `poll[expires_in]`.","items":{"type":"string"},"type":"array"}},"required":["options","expires_in"],"type":"object"},"preview":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"If set to `true` the post won't be actually posted, but the status entity would still be rendered back. This could be useful for previewing rich text/custom emoji, for example","nullable":true},"quote_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"deprecated":true,"description":"Deprecated in favor of `quoted_status_id`","nullable":true},"quoted_status_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of the status being quoted, if any","nullable":true},"scheduled_at":{"description":"ISO 8601 Datetime at which to schedule a status. Providing this parameter will cause ScheduledStatus to be returned instead of Status. Must be at least 5 minutes in the future.","format":"date-time","nullable":true,"type":"string"},"sensitive":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Mark status and attached media as sensitive?","nullable":true},"spoiler_text":{"description":"Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field.","nullable":true,"type":"string"},"status":{"description":"Text content of the status. If `media_ids` is provided, this becomes optional. Attaching a `poll` is optional while `status` is provided.","nullable":true,"type":"string"},"to":{"description":"A list of nicknames (like `lain@soykaf.club` or `lain` on the local server) that will be used to determine who is going to be addressed by this post. Using this will disable the implicit addressing by mentioned names in the `status` body, only the people in the `to` list will be addressed. The normal rules for for post visibility are not affected by this and will still apply","items":{"type":"string"},"nullable":true,"type":"array"},"visibility":{"anyOf":[{"$ref":"#/components/schemas/VisibilityScope"},{"description":"`list:LIST_ID`","example":"LIST:123","type":"string"}],"description":"Visibility of the posted status. Besides standard MastoAPI values (`direct`, `private`, `unlisted` or `public`) it can be used to address a List by setting it to `list:LIST_ID`","nullable":true}},"title":"StatusCreateRequest","type":"object"}},"multipart/form-data":{"schema":{"example":{"poll":{"expires_in":420,"options":["Cofe","Adventure"]},"sensitive":"false","status":"What time is it?"},"properties":{"content_type":{"description":"The MIME type of the status, it is transformed into HTML by the backend. You can get the list of the supported MIME types with the nodeinfo endpoint.","nullable":true,"type":"string"},"expires_in":{"description":"The number of seconds the posted activity should expire in. When a posted activity expires it will be deleted from the server, and a delete request for it will be federated. This needs to be longer than an hour.","nullable":true,"type":"integer"},"in_reply_to_conversation_id":{"description":"Will reply to a given conversation, addressing only the people who are part of the recipient set of that conversation. Sets the visibility to `direct`.","nullable":true,"type":"string"},"in_reply_to_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of the status being replied to, if status is a reply","nullable":true},"language":{"description":"ISO 639 language code for this status.","nullable":true,"type":"string"},"media_ids":{"description":"Array of Attachment ids to be attached as media.","items":{"type":"string"},"nullable":true,"type":"array"},"poll":{"nullable":true,"properties":{"expires_in":{"description":"Duration the poll should be open, in seconds. Must be provided with `poll[options]`","nullable":true,"type":"integer"},"hide_totals":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Hide vote counts until the poll ends?","nullable":true},"multiple":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Allow multiple choices?","nullable":true},"options":{"description":"Array of possible answers. Must be provided with `poll[expires_in]`.","items":{"type":"string"},"type":"array"}},"required":["options","expires_in"],"type":"object"},"preview":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"If set to `true` the post won't be actually posted, but the status entity would still be rendered back. This could be useful for previewing rich text/custom emoji, for example","nullable":true},"quote_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"deprecated":true,"description":"Deprecated in favor of `quoted_status_id`","nullable":true},"quoted_status_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of the status being quoted, if any","nullable":true},"scheduled_at":{"description":"ISO 8601 Datetime at which to schedule a status. Providing this parameter will cause ScheduledStatus to be returned instead of Status. Must be at least 5 minutes in the future.","format":"date-time","nullable":true,"type":"string"},"sensitive":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"description":"Mark status and attached media as sensitive?","nullable":true},"spoiler_text":{"description":"Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field.","nullable":true,"type":"string"},"status":{"description":"Text content of the status. If `media_ids` is provided, this becomes optional. Attaching a `poll` is optional while `status` is provided.","nullable":true,"type":"string"},"to":{"description":"A list of nicknames (like `lain@soykaf.club` or `lain` on the local server) that will be used to determine who is going to be addressed by this post. Using this will disable the implicit addressing by mentioned names in the `status` body, only the people in the `to` list will be addressed. The normal rules for for post visibility are not affected by this and will still apply","items":{"type":"string"},"nullable":true,"type":"array"},"visibility":{"anyOf":[{"$ref":"#/components/schemas/VisibilityScope"},{"description":"`list:LIST_ID`","example":"LIST:123","type":"string"}],"description":"Visibility of the posted status. Besides standard MastoAPI values (`direct`, `private`, `unlisted` or `public`) it can be used to address a List by setting it to `list:LIST_ID`","nullable":true}},"title":"StatusCreateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Status"},{"$ref":"#/components/schemas/ScheduledStatus"}]}}},"description":"Status. When `scheduled_at` is present, ScheduledStatus is returned instead"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request / MRF Rejection"}},"security":[{"oAuth":["write:statuses"]}],"summary":"Publish new status","tags":["Status actions"]}},"/api/v1/lists/{id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"ListController.delete","parameters":[{"description":"List ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Empty object"}},"security":[{"oAuth":["write:lists"]}],"summary":"Delete a list","tags":["Lists"]},"get":{"callbacks":{},"deprecated":false,"description":"Fetch the list with the given ID. Used for verifying the title of a list.","operationId":"ListController.show","parameters":[{"description":"List ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}}},"description":"List"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["read:lists"]}],"summary":"Retrieve a list","tags":["Lists"]},"put":{"callbacks":{},"deprecated":false,"description":"Change the title of a list","operationId":"ListController.update","parameters":[{"description":"List ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"PUT body for updating a List","properties":{"exclusive":{"description":"Whether members of the list should be removed from the “Home” feed","type":"boolean"},"title":{"description":"List title","type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"PUT body for updating a List","properties":{"exclusive":{"description":"Whether members of the list should be removed from the “Home” feed","type":"boolean"},"title":{"description":"List title","type":"string"}},"type":"object"}},"multipart/form-data":{"schema":{"description":"PUT body for updating a List","properties":{"exclusive":{"description":"Whether members of the list should be removed from the “Home” feed","type":"boolean"},"title":{"description":"List title","type":"string"}},"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/List"}}},"description":"List"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:lists"]}],"summary":"Update a list","tags":["Lists"]}},"/api/v1/pleroma/preferred_frontend":{"put":{"callbacks":{},"deprecated":false,"description":"Store preferred frontend in cookies","operationId":"PleromaAPI.FrontendSettingsController.update_preferred_frontend","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"frontend_name":{"description":"Frontend name","type":"string"}},"required":["frontend_name"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"frontend_name":{"description":"Frontend name","type":"string"}},"required":["frontend_name"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"frontend_name":{"description":"Frontend name","type":"string"}},"required":["frontend_name"],"type":"object"}}},"description":"Frontend","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"frontend_name":{"description":"Frontend name","type":"string"}},"type":"object"}}},"description":"Preferred frontend"}},"summary":"Update preferred frontend setting","tags":["Preferred frontends"]}},"/api/pleroma/change_email":{"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.UtilController.change_email","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for changing the account's email","properties":{"email":{"description":"New email. Set to blank to remove the user's email.","type":"string"},"password":{"description":"Current password","type":"string"}},"required":["email","password"],"title":"ChangeEmailRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for changing the account's email","properties":{"email":{"description":"New email. Set to blank to remove the user's email.","type":"string"},"password":{"description":"Current password","type":"string"}},"required":["email","password"],"title":"ChangeEmailRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for changing the account's email","properties":{"email":{"description":"New email. Set to blank to remove the user's email.","type":"string"},"password":{"description":"Current password","type":"string"}},"required":["email","password"],"title":"ChangeEmailRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"example":"success","type":"string"}},"type":"object"}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Change account email","tags":["Account credentials"]}},"/api/v1/reports":{"post":{"callbacks":{},"deprecated":false,"description":"Report problematic users to your moderators","operationId":"ReportController.create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for creating a report","example":{"account_id":"123","comment":"bad status!","forward":"false","rule_ids":["3"],"status_ids":["1337"]},"properties":{"account_id":{"description":"ID of the account to report","type":"string"},"comment":{"description":"Reason for the report","nullable":true,"type":"string"},"forward":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false,"description":"If the account is remote, should the report be forwarded to the remote admin?","nullable":true},"rule_ids":{"description":"Array of rules","items":{"type":"string"},"nullable":true,"type":"array"},"status_ids":{"description":"Array of Statuses to attach to the report, for context","items":{"type":"string"},"nullable":true,"type":"array"}},"required":["account_id"],"title":"ReportCreateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for creating a report","example":{"account_id":"123","comment":"bad status!","forward":"false","rule_ids":["3"],"status_ids":["1337"]},"properties":{"account_id":{"description":"ID of the account to report","type":"string"},"comment":{"description":"Reason for the report","nullable":true,"type":"string"},"forward":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false,"description":"If the account is remote, should the report be forwarded to the remote admin?","nullable":true},"rule_ids":{"description":"Array of rules","items":{"type":"string"},"nullable":true,"type":"array"},"status_ids":{"description":"Array of Statuses to attach to the report, for context","items":{"type":"string"},"nullable":true,"type":"array"}},"required":["account_id"],"title":"ReportCreateRequest","type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for creating a report","example":{"account_id":"123","comment":"bad status!","forward":"false","rule_ids":["3"],"status_ids":["1337"]},"properties":{"account_id":{"description":"ID of the account to report","type":"string"},"comment":{"description":"Reason for the report","nullable":true,"type":"string"},"forward":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false,"description":"If the account is remote, should the report be forwarded to the remote admin?","nullable":true},"rule_ids":{"description":"Array of rules","items":{"type":"string"},"nullable":true,"type":"array"},"status_ids":{"description":"Array of Statuses to attach to the report, for context","items":{"type":"string"},"nullable":true,"type":"array"}},"required":["account_id"],"title":"ReportCreateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"action_taken":false,"id":"123"},"properties":{"action_taken":{"description":"Is action taken?","type":"boolean"},"id":{"description":"Report ID","type":"string"}},"title":"ReportResponse","type":"object"}}},"description":"Report"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Report"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Not Found"}}},"description":"Report"}},"security":[{"oAuth":["follow","write:reports"]}],"summary":"File a report","tags":["Reports"]}},"/api/v1/pleroma/admin/users/deactivate":{"patch":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.deactivate","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for deleting multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for deleting multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for deleting multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"user":{"items":{"properties":{"actor_type":{"type":"string"},"avatar":{"format":"uri","type":"string"},"display_name":{"type":"string"},"email":{"format":"email","type":"string"},"id":{"type":"string"},"is_active":{"type":"boolean"},"is_approved":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"nickname":{"type":"string"},"registration_reason":{"nullable":true,"type":"string"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"tags":{"items":{"type":"string"},"type":"array"},"url":{"format":"uri","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:accounts"]}],"summary":"Deactivates multiple users","tags":["User administration"]}},"/api/v1/pleroma/admin/users/unfollow":{"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.unfollow","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"followed":{"description":"Followed nickname","type":"string"},"follower":{"description":"Follower nickname","type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"followed":{"description":"Followed nickname","type":"string"},"follower":{"description":"Follower nickname","type":"string"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"followed":{"description":"Followed nickname","type":"string"},"follower":{"description":"Follower nickname","type":"string"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:follows"]}],"summary":"Unfollow","tags":["User administration"]}},"/api/v1/accounts/{id}/followers":{"get":{"callbacks":{},"deprecated":false,"description":"Accounts which follow the given account, if network is not hidden by the account owner.","operationId":"AccountController.followers","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"},{"description":"ID of the resource owner","in":"query","name":"id","required":false,"schema":{"type":"string"}},{"description":"Embed relationships into accounts. **If this parameter is not set account's `pleroma.relationship` is going to be `null`.**","in":"query","name":"with_relationships","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"description":"Return items older than this ID","in":"query","name":"max_id","required":false,"schema":{"type":"string"}},{"description":"Return the oldest items newer than this ID","in":"query","name":"min_id","required":false,"schema":{"type":"string"}},{"description":"Return the newest items newer than this ID","in":"query","name":"since_id","required":false,"schema":{"type":"string"}},{"description":"Return items past this number of items","in":"query","name":"offset","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Maximum number of items to return. Will be ignored if it's more than 40","in":"query","name":"limit","required":false,"schema":{"default":20,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"}}},"description":"Accounts"}},"security":[{"oAuth":["read:accounts"]}],"summary":"Followers","tags":["Retrieve account information"]}},"/api/v1/tags/{id}":{"get":{"callbacks":{},"deprecated":false,"description":"View a hashtag","operationId":"TagController.show","parameters":[{"description":"Name of the hashtag","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}},"description":"Hashtag"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read"]}],"summary":"Hashtag","tags":["Tags"]}},"/api/v1/accounts/{id}/endorsements":{"get":{"callbacks":{},"deprecated":false,"description":"Returns endorsed accounts","operationId":"AccountController.endorsements","parameters":[{"description":"Embed relationships into accounts. **If this parameter is not set account's `pleroma.relationship` is going to be `null`.**","in":"query","name":"with_relationships","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}],"description":"The following values will be treated as `false`:\n  - false\n  - 0\n  - \"0\",\n  - \"f\",\n  - \"F\",\n  - \"false\",\n  - \"FALSE\",\n  - \"off\",\n  - \"OFF\"\n\nAll other non-null values will be treated as `true`\n","title":"BooleanLike"}},{"$ref":"#/components/parameters/accountIdOrNickname"}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"}}},"description":"Array of Accounts"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"summary":"Endorsements","tags":["Retrieve account information"]}},"/api/v1/statuses/{id}/unpin":{"post":{"callbacks":{},"deprecated":false,"description":"Unfeature a status from the top of your profile","operationId":"StatusController.unpin","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"400":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"}],"example":{"error":"You have already pinned the maximum number of statuses"},"title":"Unprocessable Entity"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Not Found"}}},"description":"Not found"},"422":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"}],"example":{"error":"Someone else's status cannot be unpinned"},"title":"Unprocessable Entity"}}},"description":"Unprocessable Entity"}},"security":[{"oAuth":["write:accounts"]}],"summary":"Unpin from profile","tags":["Status actions"]}},"/api/v1/pleroma/admin/users/unsuggest":{"patch":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.unsuggest","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for removing multiple suggested users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for removing multiple suggested users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for removing multiple suggested users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"user":{"items":{"properties":{"actor_type":{"type":"string"},"avatar":{"format":"uri","type":"string"},"display_name":{"type":"string"},"email":{"format":"email","type":"string"},"id":{"type":"string"},"is_active":{"type":"boolean"},"is_approved":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"nickname":{"type":"string"},"registration_reason":{"nullable":true,"type":"string"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"tags":{"items":{"type":"string"},"type":"array"},"url":{"format":"uri","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:accounts"]}],"summary":"Unsuggest multiple users","tags":["User administration"]}},"/api/v1/domain_blocks":{"delete":{"callbacks":{},"deprecated":false,"description":"Remove a domain block, if it exists in the user's array of blocked domains.","operationId":"DomainBlockController.delete","parameters":[{"description":"Domain name","in":"query","name":"domain","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"facebook.com"},"schema":{"properties":{"domain":{"type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"example":{"domain":"facebook.com"},"schema":{"properties":{"domain":{"type":"string"}},"type":"object"}},"multipart/form-data":{"example":{"domain":"facebook.com"},"schema":{"properties":{"domain":{"type":"string"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Empty object"}},"security":[{"oAuth":["follow","write:blocks"]}],"summary":"Unblock a domain","tags":["Domain blocks"]},"get":{"callbacks":{},"deprecated":false,"operationId":"DomainBlockController.index","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Response schema for domain blocks","example":["google.com","facebook.com"],"items":{"type":"string"},"type":"array"}}},"description":"Domain blocks"}},"security":[{"oAuth":["follow","read:blocks"]}],"summary":"Retrieve a list of blocked domains","tags":["Domain blocks"]},"post":{"callbacks":{},"deprecated":false,"description":"Block a domain to:\n\n- hide all public posts from it\n- hide all notifications from it\n- remove all followers from it\n- prevent following new users from it (but does not remove existing follows)\n","operationId":"DomainBlockController.create","parameters":[{"description":"Domain name","in":"query","name":"domain","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"example":{"domain":"facebook.com"},"schema":{"properties":{"domain":{"type":"string"}},"type":"object"}},"application/x-www-form-urlencoded":{"example":{"domain":"facebook.com"},"schema":{"properties":{"domain":{"type":"string"}},"type":"object"}},"multipart/form-data":{"example":{"domain":"facebook.com"},"schema":{"properties":{"domain":{"type":"string"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"example":{},"type":"object"}}},"description":"Empty object"}},"security":[{"oAuth":["follow","write:blocks"]}],"summary":"Block a domain","tags":["Domain blocks"]}},"/api/v1/pleroma/admin/users/suggest":{"patch":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.suggest","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for adding multiple suggested users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for adding multiple suggested users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for adding multiple suggested users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"user":{"items":{"properties":{"actor_type":{"type":"string"},"avatar":{"format":"uri","type":"string"},"display_name":{"type":"string"},"email":{"format":"email","type":"string"},"id":{"type":"string"},"is_active":{"type":"boolean"},"is_approved":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"nickname":{"type":"string"},"registration_reason":{"nullable":true,"type":"string"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"tags":{"items":{"type":"string"},"type":"array"},"url":{"format":"uri","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:accounts"]}],"summary":"Suggest multiple users","tags":["User administration"]}},"/api/v1/pleroma/accounts/{id}/unsubscribe":{"post":{"callbacks":{},"deprecated":true,"description":"Stop receiving notifications for all statuses posted by the account.  Deprecated, use `notify: false` in follow operation instead.","operationId":"PleromaAPI.AccountController.unsubscribe","parameters":[{"description":"Account ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["follow","write:follows"]}],"summary":"Unsubscribe","tags":["Account actions"]}},"/api/v1/statuses/{id}/bookmark":{"post":{"callbacks":{},"deprecated":false,"description":"Privately bookmark a status","operationId":"StatusController.bookmark","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"folder_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of bookmarks folder, if any","nullable":true}},"title":"StatusUpdateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"folder_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of bookmarks folder, if any","nullable":true}},"title":"StatusUpdateRequest","type":"object"}},"multipart/form-data":{"schema":{"properties":{"folder_id":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"ID of bookmarks folder, if any","nullable":true}},"title":"StatusUpdateRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"description":"Status"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Not Found"}}},"description":"Not found"}},"security":[{"oAuth":["write:bookmarks"]}],"summary":"Bookmark","tags":["Status actions"]}},"/api/v1/conversations/{id}/read":{"post":{"callbacks":{},"deprecated":false,"operationId":"ConversationController.mark_as_read","parameters":[{"description":"Conversation ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}},"description":"Conversation"}},"security":[{"oAuth":["write:conversations"]}],"summary":"Mark conversation as read","tags":["Conversations"]}},"/api/v1/accounts/{id}/follow":{"post":{"callbacks":{},"deprecated":false,"description":"Follow the given account","operationId":"AccountController.follow","parameters":[{"$ref":"#/components/parameters/accountIdOrNickname"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"notify":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false,"description":"Receive notifications for all statuses posted by the account? Defaults to false."},"reblogs":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Receive this account's reblogs in home timeline? Defaults to true."}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"notify":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false,"description":"Receive notifications for all statuses posted by the account? Defaults to false."},"reblogs":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Receive this account's reblogs in home timeline? Defaults to true."}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"notify":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":false,"description":"Receive notifications for all statuses posted by the account? Defaults to false."},"reblogs":{"allOf":[{"$ref":"#/components/schemas/BooleanLike"}],"default":true,"description":"Receive this account's reblogs in home timeline? Defaults to true."}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["follow","write:follows"]}],"summary":"Follow","tags":["Account actions"]}},"/api/v1/pleroma/admin/users/invite_token":{"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.InviteController.create","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"expires_at":{"example":"2020-04-20","format":"date","type":"string"},"max_use":{"type":"integer"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"expires_at":{"example":"2020-04-20","format":"date","type":"string"},"max_use":{"type":"integer"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"expires_at":{"example":"2020-04-20","format":"date","type":"string"},"max_use":{"type":"integer"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"expires_at":null,"id":123,"invite_type":"one_time","max_use":null,"token":"kSQtDj_GNy2NZsL9AQDFIsHN5qdbguB6qRg3WHw6K1U=","used":true,"uses":0},"properties":{"expires_at":{"format":"date","nullable":true,"type":"string"},"id":{"type":"integer"},"invite_type":{"enum":["one_time","reusable","date_limited","reusable_date_limited"],"type":"string"},"max_use":{"nullable":true,"type":"integer"},"token":{"type":"string"},"used":{"type":"boolean"},"uses":{"type":"integer"}},"title":"Invite","type":"object"}}},"description":"Invite"}},"security":[{"oAuth":["admin:write:invites"]}],"summary":"Create an account registration invite token","tags":["Invites"]}},"/api/v1/streaming":{"get":{"callbacks":{},"deprecated":false,"description":"Receive statuses in real-time via WebSocket.\n\nYou can specify the access token on the query string or through the `sec-websocket-protocol` header. Using\nthe query string to authenticate is considered unsafe and should not be used unless you have to (e.g. to maintain\nyour client's compatibility with Mastodon).\n\nYou may specify a stream on the query string. If you do so and you are connecting to a stream that requires logged-in users,\nyou must specify the access token at the time of the connection (i.e. via query string or header).\n\nOtherwise, you have the option to authenticate after you have established the connection through client-sent events.\n\nThe \"Request body\" section below describes what events clients can send through WebSocket, and the \"Responses\" section\ndescribes what events server will send through WebSocket.\n","operationId":"WebsocketHandler.streaming","parameters":[{"description":"connection header","in":"header","name":"connection","required":true,"schema":{"type":"string"}},{"description":"upgrade header","in":"header","name":"upgrade","required":true,"schema":{"type":"string"}},{"description":"sec-websocket-key header","in":"header","name":"sec-websocket-key","required":true,"schema":{"type":"string"}},{"description":"sec-websocket-version header","in":"header","name":"sec-websocket-version","required":true,"schema":{"type":"string"}},{"description":"The id of the list. Required when `stream` is `list`.","in":"query","name":"list","required":false,"schema":{"description":"The id of the list. Required when `stream` is `list`.","example":"some-id","title":"List id","type":"string"}},{"description":"The name of the stream.","in":"query","name":"stream","required":false,"schema":{"description":"The name of the stream.","enum":["public","public:local","public:media","public:local:media","public:remote","public:remote:media","user","user:pleroma_chat","user:notification","direct","list","hashtag"],"type":"string"}},{"description":"The name of the hashtag. Required when `stream` is `hashtag`.","in":"query","name":"tag","required":false,"schema":{"description":"The name of the hashtag. Required when `stream` is `hashtag`.","example":"mew","title":"Hashtag name","type":"string"}},{"description":"Domain name of the instance. Required when `stream` is `public:remote` or `public:remote:media`.","in":"query","name":"instance","required":false,"schema":{"description":"Domain name of the instance. Required when `stream` is `public:remote` or `public:remote:media`.","example":"example.org","title":"Domain name","type":"string"}},{"description":"An OAuth access token with corresponding permissions.","in":"query","name":"access_token","required":false,"schema":{"description":"An OAuth access token with corresponding permissions.","example":"some token","type":"string"}},{"description":"An OAuth access token with corresponding permissions.","in":"header","name":"sec-websocket-protocol","required":false,"schema":{"description":"An OAuth access token with corresponding permissions.","example":"some token","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"description":"Subscribe to a stream.","example":{"list":"1","stream":"list","type":"subscribe"},"properties":{"instance":{"description":"Domain name of the instance. Required when `stream` is `public:remote` or `public:remote:media`.","example":"example.org","title":"Domain name","type":"string"},"list":{"description":"The id of the list. Required when `stream` is `list`.","example":"some-id","title":"List id","type":"string"},"stream":{"description":"The name of the stream.","enum":["public","public:local","public:media","public:local:media","public:remote","public:remote:media","user","user:pleroma_chat","user:notification","direct","list","hashtag"],"type":"string"},"tag":{"description":"The name of the hashtag. Required when `stream` is `hashtag`.","example":"mew","title":"Hashtag name","type":"string"},"type":{"description":"Type of the event.","enum":["subscribe"],"type":"string"}},"required":["type","stream"],"title":"Subscribe","type":"object"},{"description":"Unsubscribe from a stream.","example":{"instance":"example.org","stream":"public:remote:media","type":"unsubscribe"},"properties":{"instance":{"description":"Domain name of the instance. Required when `stream` is `public:remote` or `public:remote:media`.","example":"example.org","title":"Domain name","type":"string"},"list":{"description":"The id of the list. Required when `stream` is `list`.","example":"some-id","title":"List id","type":"string"},"stream":{"description":"The name of the stream.","enum":["public","public:local","public:media","public:local:media","public:remote","public:remote:media","user","user:pleroma_chat","user:notification","direct","list","hashtag"],"type":"string"},"tag":{"description":"The name of the hashtag. Required when `stream` is `hashtag`.","example":"mew","title":"Hashtag name","type":"string"},"type":{"description":"Type of the event.","enum":["unsubscribe"],"type":"string"}},"required":["type","stream"],"title":"Unsubscribe","type":"object"},{"description":"Authenticate via an access token.","properties":{"token":{"description":"An OAuth access token with corresponding permissions.","example":"some token","type":"string"},"type":{"description":"Type of the event.","enum":["pleroma:authenticate"],"type":"string"}},"required":["type","token"],"title":"Authenticate","type":"object"}]}}},"description":"Client-sent events","required":false},"responses":{"101":{"description":"Switching protocols","headers":{"connection":{"required":true,"style":"simple"},"sec-websocket-accept":{"required":true,"style":"simple"},"upgrade":{"required":true,"style":"simple"}}},"200":{"content":{"application/json":{"schema":{"oneOf":[{"description":"A newly-posted status.","example":{"event":"update","payload":"{\"account\":{\"acct\":\"nick6\",\"avatar\":\"http://localhost:4001/images/avi.png\",\"avatar_static\":\"http://localhost:4001/images/avi.png\",\"bot\":false,\"created_at\":\"2020-04-07T19:48:51.000Z\",\"display_name\":\"Test テスト User 6\",\"emojis\":[],\"fields\":[],\"followers_count\":1,\"following_count\":0,\"header\":\"http://localhost:4001/images/banner.png\",\"header_static\":\"http://localhost:4001/images/banner.png\",\"id\":\"9toJCsKN7SmSf3aj5c\",\"is_locked\":false,\"note\":\"Tester Number 6\",\"pleroma\":{\"background_image\":null,\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":true,\"is_moderator\":false,\"relationship\":{\"blocked_by\":false,\"blocking\":false,\"domain_blocking\":false,\"endorsed\":false,\"followed_by\":false,\"following\":true,\"id\":\"9toJCsKN7SmSf3aj5c\",\"muting\":false,\"muting_notifications\":false,\"note\":\"\",\"notifying\":false,\"requested\":false,\"showing_reblogs\":true,\"subscribing\":false},\"skip_thread_containment\":false,\"tags\":[]},\"source\":{\"fields\":[],\"note\":\"Tester Number 6\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false},\"sensitive\":false},\"statuses_count\":1,\"url\":\"http://localhost:4001/users/nick6\",\"username\":\"nick6\"},\"application\":null,\"bookmarked\":false,\"card\":null,\"content\":\"foobar\",\"created_at\":\"2020-04-07T19:48:51.000Z\",\"emojis\":[],\"favourited\":false,\"favourites_count\":0,\"id\":\"9toJCu5YZW7O7gfvH6\",\"in_reply_to_account_id\":null,\"in_reply_to_id\":null,\"language\":null,\"media_attachments\":[],\"mentions\":[],\"muted\":false,\"pinned\":false,\"pleroma\":{\"content\":{\"text/plain\":\"foobar\"},\"context\":\"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa\",\"conversation_id\":345972,\"direct_conversation_id\":null,\"emoji_reactions\":[],\"expires_at\":null,\"in_reply_to_account_acct\":null,\"local\":true,\"quotes_count\":0,\"spoiler_text\":{\"text/plain\":\"\"},\"thread_muted\":false},\"poll\":null,\"quotes_count\":0,\"reblog\":null,\"reblogged\":false,\"reblogs_count\":0,\"replies_count\":0,\"sensitive\":false,\"spoiler_text\":\"\",\"tags\":[],\"uri\":\"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190\",\"url\":\"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6\",\"visibility\":\"private\"}","stream":["hashtag","mew"]},"properties":{"event":{"description":"Type of the event.","enum":["update"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"JSON-encoded string of Status","title":"Event payload"},"stream":{"description":"The stream identifier.\nThe first item is the name of the stream. If the stream needs a differentiator, the second item will be the corresponding identifier.\nCurrently, for the following stream types, there is a second element in the array:\n\n- `list`: The second element is the id of the list, as a string.\n- `hashtag`: The second element is the name of the hashtag.\n- `public:remote:media` and `public:remote`: The second element is the domain of the corresponding instance.\n","example":["hashtag","mew"],"items":{"type":"string"},"maxItems":2,"minItems":1,"title":"Stream","type":"array"}},"required":["event","payload","stream"],"title":"New status","type":"object"},{"description":"A status that was just edited","example":{"event":"status.update","payload":"{\"account\":{\"acct\":\"nick6\",\"avatar\":\"http://localhost:4001/images/avi.png\",\"avatar_static\":\"http://localhost:4001/images/avi.png\",\"bot\":false,\"created_at\":\"2020-04-07T19:48:51.000Z\",\"display_name\":\"Test テスト User 6\",\"emojis\":[],\"fields\":[],\"followers_count\":1,\"following_count\":0,\"header\":\"http://localhost:4001/images/banner.png\",\"header_static\":\"http://localhost:4001/images/banner.png\",\"id\":\"9toJCsKN7SmSf3aj5c\",\"is_locked\":false,\"note\":\"Tester Number 6\",\"pleroma\":{\"background_image\":null,\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":true,\"is_moderator\":false,\"relationship\":{\"blocked_by\":false,\"blocking\":false,\"domain_blocking\":false,\"endorsed\":false,\"followed_by\":false,\"following\":true,\"id\":\"9toJCsKN7SmSf3aj5c\",\"muting\":false,\"muting_notifications\":false,\"note\":\"\",\"notifying\":false,\"requested\":false,\"showing_reblogs\":true,\"subscribing\":false},\"skip_thread_containment\":false,\"tags\":[]},\"source\":{\"fields\":[],\"note\":\"Tester Number 6\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false},\"sensitive\":false},\"statuses_count\":1,\"url\":\"http://localhost:4001/users/nick6\",\"username\":\"nick6\"},\"application\":null,\"bookmarked\":false,\"card\":null,\"content\":\"foobar\",\"created_at\":\"2020-04-07T19:48:51.000Z\",\"emojis\":[],\"favourited\":false,\"favourites_count\":0,\"id\":\"9toJCu5YZW7O7gfvH6\",\"in_reply_to_account_id\":null,\"in_reply_to_id\":null,\"language\":null,\"media_attachments\":[],\"mentions\":[],\"muted\":false,\"pinned\":false,\"pleroma\":{\"content\":{\"text/plain\":\"foobar\"},\"context\":\"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa\",\"conversation_id\":345972,\"direct_conversation_id\":null,\"emoji_reactions\":[],\"expires_at\":null,\"in_reply_to_account_acct\":null,\"local\":true,\"quotes_count\":0,\"spoiler_text\":{\"text/plain\":\"\"},\"thread_muted\":false},\"poll\":null,\"quotes_count\":0,\"reblog\":null,\"reblogged\":false,\"reblogs_count\":0,\"replies_count\":0,\"sensitive\":false,\"spoiler_text\":\"\",\"tags\":[],\"uri\":\"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190\",\"url\":\"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6\",\"visibility\":\"private\"}","stream":["hashtag","mew"]},"properties":{"event":{"description":"Type of the event.","enum":["status.update"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"JSON-encoded string of Status","title":"Event payload"},"stream":{"description":"The stream identifier.\nThe first item is the name of the stream. If the stream needs a differentiator, the second item will be the corresponding identifier.\nCurrently, for the following stream types, there is a second element in the array:\n\n- `list`: The second element is the id of the list, as a string.\n- `hashtag`: The second element is the name of the hashtag.\n- `public:remote:media` and `public:remote`: The second element is the domain of the corresponding instance.\n","example":["hashtag","mew"],"items":{"type":"string"},"maxItems":2,"minItems":1,"title":"Stream","type":"array"}},"required":["event","payload","stream"],"title":"Edit","type":"object"},{"description":"A new notification.","example":{"event":"notification","payload":"{\"account\":{\"acct\":\"foobar\",\"avatar\":\"https://mypleroma.com/images/avi.png\",\"avatar_description\":\"\",\"avatar_static\":\"https://mypleroma.com/images/avi.png\",\"bot\":false,\"created_at\":\"2020-03-24T13:05:58.000Z\",\"display_name\":\"foobar\",\"emojis\":[],\"fields\":[],\"follow_requests_count\":0,\"followers_count\":0,\"following_count\":1,\"header\":\"https://mypleroma.com/images/banner.png\",\"header_description\":\"\",\"header_static\":\"https://mypleroma.com/images/banner.png\",\"id\":\"9tKi3esbG7OQgZ2920\",\"locked\":false,\"note\":\"cofe\",\"pleroma\":{\"accepts_chat_messages\":true,\"allow_following_move\":true,\"background_image\":null,\"birthday\":\"2001-02-12\",\"chat_token\":\"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc\",\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":false,\"is_moderator\":false,\"notification_settings\":{\"block_from_strangers\":false,\"hide_notification_contents\":false},\"relationship\":{\"blocked_by\":false,\"blocking\":false,\"domain_blocking\":false,\"endorsed\":false,\"followed_by\":false,\"following\":false,\"id\":\"9tKi3esbG7OQgZ2920\",\"muting\":false,\"muting_notifications\":false,\"note\":\"\",\"notifying\":false,\"requested\":false,\"showing_reblogs\":true,\"subscribing\":false},\"settings_store\":{\"pleroma-fe\":{}},\"skip_thread_containment\":false,\"tags\":[],\"unread_conversation_count\":0},\"source\":{\"fields\":[],\"note\":\"foobar\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false,\"no_rich_text\":false,\"show_role\":true},\"privacy\":\"public\",\"sensitive\":false},\"statuses_count\":0,\"url\":\"https://mypleroma.com/users/foobar\",\"username\":\"foobar\"},\"created_at\":\"2019-11-23T07:49:02.064Z\",\"group-key\":\"ungrouped-34975861\",\"id\":\"34975861\",\"pleroma\":{\"is_muted\":false,\"is_seen\":false},\"status\":{\"account\":{\"acct\":\"nick6\",\"avatar\":\"http://localhost:4001/images/avi.png\",\"avatar_static\":\"http://localhost:4001/images/avi.png\",\"bot\":false,\"created_at\":\"2020-04-07T19:48:51.000Z\",\"display_name\":\"Test テスト User 6\",\"emojis\":[],\"fields\":[],\"followers_count\":1,\"following_count\":0,\"header\":\"http://localhost:4001/images/banner.png\",\"header_static\":\"http://localhost:4001/images/banner.png\",\"id\":\"9toJCsKN7SmSf3aj5c\",\"is_locked\":false,\"note\":\"Tester Number 6\",\"pleroma\":{\"background_image\":null,\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":true,\"is_moderator\":false,\"relationship\":{\"blocked_by\":false,\"blocking\":false,\"domain_blocking\":false,\"endorsed\":false,\"followed_by\":false,\"following\":true,\"id\":\"9toJCsKN7SmSf3aj5c\",\"muting\":false,\"muting_notifications\":false,\"note\":\"\",\"notifying\":false,\"requested\":false,\"showing_reblogs\":true,\"subscribing\":false},\"skip_thread_containment\":false,\"tags\":[]},\"source\":{\"fields\":[],\"note\":\"Tester Number 6\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false},\"sensitive\":false},\"statuses_count\":1,\"url\":\"http://localhost:4001/users/nick6\",\"username\":\"nick6\"},\"application\":null,\"bookmarked\":false,\"card\":null,\"content\":\"foobar\",\"created_at\":\"2020-04-07T19:48:51.000Z\",\"emojis\":[],\"favourited\":false,\"favourites_count\":0,\"id\":\"9toJCu5YZW7O7gfvH6\",\"in_reply_to_account_id\":null,\"in_reply_to_id\":null,\"language\":null,\"media_attachments\":[],\"mentions\":[],\"muted\":false,\"pinned\":false,\"pleroma\":{\"content\":{\"text/plain\":\"foobar\"},\"context\":\"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa\",\"conversation_id\":345972,\"direct_conversation_id\":null,\"emoji_reactions\":[],\"expires_at\":null,\"in_reply_to_account_acct\":null,\"local\":true,\"quotes_count\":0,\"spoiler_text\":{\"text/plain\":\"\"},\"thread_muted\":false},\"poll\":null,\"quotes_count\":0,\"reblog\":null,\"reblogged\":false,\"reblogs_count\":0,\"replies_count\":0,\"sensitive\":false,\"spoiler_text\":\"\",\"tags\":[],\"uri\":\"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190\",\"url\":\"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6\",\"visibility\":\"private\"},\"type\":\"mention\"}","stream":["hashtag","mew"]},"properties":{"event":{"description":"Type of the event.","enum":["notification"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"description":"Response schema for a notification","example":{"account":{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"},"created_at":"2019-11-23T07:49:02.064Z","group-key":"ungrouped-34975861","id":"34975861","pleroma":{"is_muted":false,"is_seen":false},"status":{"account":{"acct":"nick6","avatar":"http://localhost:4001/images/avi.png","avatar_static":"http://localhost:4001/images/avi.png","bot":false,"created_at":"2020-04-07T19:48:51.000Z","display_name":"Test テスト User 6","emojis":[],"fields":[],"followers_count":1,"following_count":0,"header":"http://localhost:4001/images/banner.png","header_static":"http://localhost:4001/images/banner.png","id":"9toJCsKN7SmSf3aj5c","is_locked":false,"note":"Tester Number 6","pleroma":{"background_image":null,"hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":true,"is_moderator":false,"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":true,"id":"9toJCsKN7SmSf3aj5c","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"skip_thread_containment":false,"tags":[]},"source":{"fields":[],"note":"Tester Number 6","pleroma":{"actor_type":"Person","discoverable":false},"sensitive":false},"statuses_count":1,"url":"http://localhost:4001/users/nick6","username":"nick6"},"application":null,"bookmarked":false,"card":null,"content":"foobar","created_at":"2020-04-07T19:48:51.000Z","emojis":[],"favourited":false,"favourites_count":0,"id":"9toJCu5YZW7O7gfvH6","in_reply_to_account_id":null,"in_reply_to_id":null,"language":null,"media_attachments":[],"mentions":[],"muted":false,"pinned":false,"pleroma":{"content":{"text/plain":"foobar"},"context":"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa","conversation_id":345972,"direct_conversation_id":null,"emoji_reactions":[],"expires_at":null,"in_reply_to_account_acct":null,"local":true,"quotes_count":0,"spoiler_text":{"text/plain":""},"thread_muted":false},"poll":null,"quotes_count":0,"reblog":null,"reblogged":false,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","tags":[],"uri":"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190","url":"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6","visibility":"private"},"type":"mention"},"properties":{"account":{"allOf":[{"$ref":"#/components/schemas/Account"}],"description":"The account that performed the action that generated the notification."},"created_at":{"format":"date-time","type":"string"},"group_key":{"description":"Group key shared by similar notifications","type":"string"},"id":{"type":"string"},"pleroma":{"properties":{"is_muted":{"type":"boolean"},"is_seen":{"type":"boolean"}},"type":"object"},"status":{"allOf":[{"$ref":"#/components/schemas/Status"}],"description":"Status that was the object of the notification, e.g. in mentions, reblogs, favourites, or polls.","nullable":true},"type":{"description":"The type of event that resulted in the notification.\n\n- `follow` - Someone followed you\n- `mention` - Someone mentioned you in their status\n- `reblog` - Someone boosted one of your statuses\n- `favourite` - Someone favourited one of your statuses\n- `poll` - A poll you have voted in or created has ended\n- `move` - Someone moved their account\n- `pleroma:emoji_reaction` - Someone reacted with emoji to your status\n- `pleroma:chat_mention` - Someone mentioned you in a chat message\n- `pleroma:report` - Someone was reported\n- `status` - Someone you are subscribed to created a status\n- `update` - A status you boosted has been edited\n- `admin.sign_up` - Someone signed up (optionally sent to admins)\n- `admin.report` - A new report has been filed\n","enum":["follow","favourite","reblog","mention","pleroma:emoji_reaction","pleroma:chat_mention","pleroma:report","move","follow_request","poll","status","update","admin.sign_up","admin.report"],"type":"string"}},"title":"Notification","type":"object"}],"description":"JSON-encoded string of Notification","title":"Event payload"},"stream":{"description":"The stream identifier.\nThe first item is the name of the stream. If the stream needs a differentiator, the second item will be the corresponding identifier.\nCurrently, for the following stream types, there is a second element in the array:\n\n- `list`: The second element is the id of the list, as a string.\n- `hashtag`: The second element is the name of the hashtag.\n- `public:remote:media` and `public:remote`: The second element is the domain of the corresponding instance.\n","example":["hashtag","mew"],"items":{"type":"string"},"maxItems":2,"minItems":1,"title":"Stream","type":"array"}},"required":["event","payload","stream"],"title":"Notification","type":"object"},{"description":"A new chat message.","example":{"event":"pleroma:chat_update","payload":"{\"account\":{\"acct\":\"lain@dontbulling.me\",\"avatar\":\"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg\",\"avatar_static\":\"https://dontbulling.me/media/065a4dd3c6740dab13ff9c71ec7d240bb9f8be9205c9e7467fb2202117da1e32.jpg\",\"bot\":false,\"created_at\":\"2020-04-16T13:40:15.000Z\",\"display_name\":\"lain\",\"emojis\":[],\"fields\":[],\"followers_count\":0,\"following_count\":0,\"header\":\"https://originalpatchou.li/images/banner.png\",\"header_static\":\"https://originalpatchou.li/images/banner.png\",\"id\":\"9u6Qw6TAZANpqokMkK\",\"is_locked\":false,\"note\":\"lain\",\"pleroma\":{\"ap_id\":\"https://dontbulling.me/users/lain\",\"background_image\":null,\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":true,\"is_moderator\":false,\"relationship\":{},\"skip_thread_containment\":false,\"tags\":[]},\"source\":{\"fields\":[],\"note\":\"lain\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false},\"sensitive\":false},\"statuses_count\":1,\"url\":\"https://dontbulling.me/users/lain\",\"username\":\"lain\"},\"id\":\"1\",\"last_message\":{\"account_id\":\"someflakeid\",\"attachment\":null,\"card\":null,\"chat_id\":\"1\",\"content\":\"hey you again\",\"created_at\":\"2020-04-21T15:06:45.000Z\",\"emojis\":[{\"shortcode\":\"firefox\",\"static_url\":\"https://dontbulling.me/emoji/Firefox.gif\",\"url\":\"https://dontbulling.me/emoji/Firefox.gif\",\"visible_in_picker\":false}],\"id\":\"14\",\"unread\":false},\"pinned\":false,\"unread\":2,\"updated_at\":\"2020-04-21T15:06:45.000Z\"}","stream":["hashtag","mew"]},"properties":{"event":{"description":"Type of the event.","enum":["pleroma:chat_update"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Chat"}],"description":"JSON-encoded string of Chat","title":"Event payload"},"stream":{"description":"The stream identifier.\nThe first item is the name of the stream. If the stream needs a differentiator, the second item will be the corresponding identifier.\nCurrently, for the following stream types, there is a second element in the array:\n\n- `list`: The second element is the id of the list, as a string.\n- `hashtag`: The second element is the name of the hashtag.\n- `public:remote:media` and `public:remote`: The second element is the domain of the corresponding instance.\n","example":["hashtag","mew"],"items":{"type":"string"},"maxItems":2,"minItems":1,"title":"Stream","type":"array"}},"required":["event","payload","stream"],"title":"Chat update","type":"object"},{"description":"An update to follow relationships.","example":{"event":"pleroma:follow_relationships_update","payload":"{\"follower\":{\"follower_count\":1,\"following_count\":1,\"id\":\"someUser1\"},\"following\":{\"follower_count\":1,\"following_count\":1,\"id\":\"someUser2\"},\"state\":\"follow_pending\"}","stream":["hashtag","mew"]},"properties":{"event":{"description":"Type of the event.","enum":["pleroma:follow_relationships_update"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"example":{"follower":{"follower_count":1,"following_count":1,"id":"someUser1"},"following":{"follower_count":1,"following_count":1,"id":"someUser2"},"state":"follow_pending"},"properties":{"follower":{"description":"Information about the follower.","properties":{"follower_count":{"type":"integer"},"following_count":{"type":"integer"},"id":{"$ref":"#/components/schemas/FlakeID"}},"required":["id","follower_count","following_count"],"type":"object"},"following":{"description":"Information about the following person.","properties":{"follower_count":{"type":"integer"},"following_count":{"type":"integer"},"id":{"$ref":"#/components/schemas/FlakeID"}},"required":["id","follower_count","following_count"],"type":"object"},"state":{"description":"Follow state of the relationship.","enum":["follow_pending","follow_accept","follow_reject","unfollow"],"type":"string"}},"required":["state","follower","following"],"title":"Follow relationships update","type":"object"}],"description":"JSON-encoded string of Follow relationships update","title":"Event payload"},"stream":{"description":"The stream identifier.\nThe first item is the name of the stream. If the stream needs a differentiator, the second item will be the corresponding identifier.\nCurrently, for the following stream types, there is a second element in the array:\n\n- `list`: The second element is the id of the list, as a string.\n- `hashtag`: The second element is the name of the hashtag.\n- `public:remote:media` and `public:remote`: The second element is the domain of the corresponding instance.\n","example":["hashtag","mew"],"items":{"type":"string"},"maxItems":2,"minItems":1,"title":"Stream","type":"array"}},"required":["event","payload","stream"],"title":"Follow relationships update","type":"object"},{"description":"An update about a conversation","example":{"event":"conversation","payload":"{\"accounts\":[{\"acct\":\"foobar\",\"avatar\":\"https://mypleroma.com/images/avi.png\",\"avatar_description\":\"\",\"avatar_static\":\"https://mypleroma.com/images/avi.png\",\"bot\":false,\"created_at\":\"2020-03-24T13:05:58.000Z\",\"display_name\":\"foobar\",\"emojis\":[],\"fields\":[],\"follow_requests_count\":0,\"followers_count\":0,\"following_count\":1,\"header\":\"https://mypleroma.com/images/banner.png\",\"header_description\":\"\",\"header_static\":\"https://mypleroma.com/images/banner.png\",\"id\":\"9tKi3esbG7OQgZ2920\",\"locked\":false,\"note\":\"cofe\",\"pleroma\":{\"accepts_chat_messages\":true,\"allow_following_move\":true,\"background_image\":null,\"birthday\":\"2001-02-12\",\"chat_token\":\"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc\",\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":false,\"is_moderator\":false,\"notification_settings\":{\"block_from_strangers\":false,\"hide_notification_contents\":false},\"relationship\":{\"blocked_by\":false,\"blocking\":false,\"domain_blocking\":false,\"endorsed\":false,\"followed_by\":false,\"following\":false,\"id\":\"9tKi3esbG7OQgZ2920\",\"muting\":false,\"muting_notifications\":false,\"note\":\"\",\"notifying\":false,\"requested\":false,\"showing_reblogs\":true,\"subscribing\":false},\"settings_store\":{\"pleroma-fe\":{}},\"skip_thread_containment\":false,\"tags\":[],\"unread_conversation_count\":0},\"source\":{\"fields\":[],\"note\":\"foobar\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false,\"no_rich_text\":false,\"show_role\":true},\"privacy\":\"public\",\"sensitive\":false},\"statuses_count\":0,\"url\":\"https://mypleroma.com/users/foobar\",\"username\":\"foobar\"}],\"id\":\"418450\",\"last_status\":{\"account\":{\"acct\":\"nick6\",\"avatar\":\"http://localhost:4001/images/avi.png\",\"avatar_static\":\"http://localhost:4001/images/avi.png\",\"bot\":false,\"created_at\":\"2020-04-07T19:48:51.000Z\",\"display_name\":\"Test テスト User 6\",\"emojis\":[],\"fields\":[],\"followers_count\":1,\"following_count\":0,\"header\":\"http://localhost:4001/images/banner.png\",\"header_static\":\"http://localhost:4001/images/banner.png\",\"id\":\"9toJCsKN7SmSf3aj5c\",\"is_locked\":false,\"note\":\"Tester Number 6\",\"pleroma\":{\"background_image\":null,\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":true,\"is_moderator\":false,\"relationship\":{\"blocked_by\":false,\"blocking\":false,\"domain_blocking\":false,\"endorsed\":false,\"followed_by\":false,\"following\":true,\"id\":\"9toJCsKN7SmSf3aj5c\",\"muting\":false,\"muting_notifications\":false,\"note\":\"\",\"notifying\":false,\"requested\":false,\"showing_reblogs\":true,\"subscribing\":false},\"skip_thread_containment\":false,\"tags\":[]},\"source\":{\"fields\":[],\"note\":\"Tester Number 6\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false},\"sensitive\":false},\"statuses_count\":1,\"url\":\"http://localhost:4001/users/nick6\",\"username\":\"nick6\"},\"application\":null,\"bookmarked\":false,\"card\":null,\"content\":\"foobar\",\"created_at\":\"2020-04-07T19:48:51.000Z\",\"emojis\":[],\"favourited\":false,\"favourites_count\":0,\"id\":\"9toJCu5YZW7O7gfvH6\",\"in_reply_to_account_id\":null,\"in_reply_to_id\":null,\"language\":null,\"media_attachments\":[],\"mentions\":[],\"muted\":false,\"pinned\":false,\"pleroma\":{\"content\":{\"text/plain\":\"foobar\"},\"context\":\"http://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa\",\"conversation_id\":345972,\"direct_conversation_id\":null,\"emoji_reactions\":[],\"expires_at\":null,\"in_reply_to_account_acct\":null,\"local\":true,\"quotes_count\":0,\"spoiler_text\":{\"text/plain\":\"\"},\"thread_muted\":false},\"poll\":null,\"quotes_count\":0,\"reblog\":null,\"reblogged\":false,\"reblogs_count\":0,\"replies_count\":0,\"sensitive\":false,\"spoiler_text\":\"\",\"tags\":[],\"uri\":\"http://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190\",\"url\":\"http://localhost:4001/notice/9toJCu5YZW7O7gfvH6\",\"visibility\":\"private\"},\"unread\":true}","stream":["hashtag","mew"]},"properties":{"event":{"description":"Type of the event.","enum":["conversation"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/Conversation"}],"description":"JSON-encoded string of Conversation","title":"Event payload"},"stream":{"description":"The stream identifier.\nThe first item is the name of the stream. If the stream needs a differentiator, the second item will be the corresponding identifier.\nCurrently, for the following stream types, there is a second element in the array:\n\n- `list`: The second element is the id of the list, as a string.\n- `hashtag`: The second element is the name of the hashtag.\n- `public:remote:media` and `public:remote`: The second element is the domain of the corresponding instance.\n","example":["hashtag","mew"],"items":{"type":"string"},"maxItems":2,"minItems":1,"title":"Stream","type":"array"}},"required":["event","payload","stream"],"title":"Conversation update","type":"object"},{"description":"A status that was just deleted.","example":{"event":"delete","payload":"some-opaque-id"},"properties":{"event":{"description":"Type of the event.","enum":["delete"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"$ref":"#/components/schemas/FlakeID"}],"description":"Id of the deleted status","example":"some-opaque-id","title":"Status id","type":"string"}},"required":["event","payload"],"title":"Delete","type":"object"},{"description":"A response to a client-sent event.","example":{"event":"pleroma:respond","payload":"{\"result\":\"success\",\"type\":\"pleroma:authenticate\"}"},"properties":{"event":{"description":"Type of the event.","enum":["pleroma:respond"],"required":true,"title":"Event type","type":"string"},"payload":{"allOf":[{"example":{"result":"success","type":"pleroma:authenticate"},"properties":{"error":{"description":"An error identifier. Only appears if `result` is `error`.","title":"Error code","type":"string"},"result":{"enum":["success","error","ignored"],"title":"Result of the request","type":"string"},"type":{"description":"Type of the request.","type":"string"}},"required":["result","type"],"title":"Results","type":"object"}],"description":"JSON-encoded string of Results","title":"Event payload"}},"required":["event","payload"],"title":"Server response","type":"object"}]}}},"description":"Server-sent events"}},"security":[{"oAuth":["read:statuses","read:notifications"]}],"summary":"Establish streaming connection","tags":["Timelines"]}},"/api/v1/pleroma/admin/rules":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.RuleController.index","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"hint":{"nullable":true,"type":"string"},"id":{"type":"string"},"priority":{"type":"integer"},"text":{"type":"string"}},"type":"object"},"type":"array"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:read"]}],"summary":"Retrieve list of instance rules","tags":["Instance rule management"]},"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.RuleController.create","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"hint":{"type":"string"},"priority":{"type":"integer"},"text":{"type":"string"}},"required":["text"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"hint":{"type":"string"},"priority":{"type":"integer"},"text":{"type":"string"}},"required":["text"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"hint":{"type":"string"},"priority":{"type":"integer"},"text":{"type":"string"}},"required":["text"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"hint":{"nullable":true,"type":"string"},"id":{"type":"string"},"priority":{"type":"integer"},"text":{"type":"string"}},"type":"object"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write"]}],"summary":"Create new rule","tags":["Instance rule management"]}},"/api/v1/pleroma/statuses/{id}/reactions":{"get":{"callbacks":{},"deprecated":false,"operationId":"EmojiReactionController.index","parameters":[{"description":"Status ID","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}},{"description":"Filter by a single unicode emoji","in":"path","name":"emoji","schema":{"type":"string"}},{"description":"Include reactions from muted acccounts.","in":"query","name":"with_muted","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"accounts":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"count":1,"me":false,"name":"😱"}],"items":{"example":{"accounts":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"count":1,"me":false,"name":"😱"},"properties":{"accounts":{"description":"Array of accounts reacted with this emoji","items":{"$ref":"#/components/schemas/Account"},"type":"array"},"count":{"description":"Count of reactions with this emoji","type":"integer"},"me":{"description":"Did I react with this emoji?","type":"boolean"},"name":{"description":"Emoji","type":"string"}},"title":"EmojiReaction","type":"object"},"type":"array"}}},"description":"Array of Emoji reactions"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Not Found"}}},"description":"Access denied"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Get an object of emoji to account mappings with accounts that reacted to the post","tags":["Emoji reactions"]}},"/api/v1/pleroma/emoji/pack":{"delete":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.delete","parameters":[{"description":"Pack Name","example":"cofe","in":"query","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":"ok","type":"string"}}},"description":"Ok"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["admin:write"]}],"summary":"Delete a custom emoji pack","tags":["Emoji pack administration"]},"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.show","parameters":[{"description":"Pack Name","example":"cofe","in":"query","name":"name","required":true,"schema":{"type":"string"}},{"description":"Page","in":"query","name":"page","required":false,"schema":{"default":1,"type":"integer"}},{"description":"Number of emoji to return","in":"query","name":"page_size","required":false,"schema":{"default":30,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"files":{"emacs":"emacs.png","guix":"guix.png"},"pack":{"can-download":true,"description":"Test description","download-sha256":"57482F30674FD3DE821FF48C81C00DA4D4AF1F300209253684ABA7075E5FC238","homepage":"https://pleroma.social","license":"Test license","share-files":true}},"properties":{"files":{"additionalProperties":{"description":"Filename","type":"string","x-additionalPropertiesName":"Emoji name"},"description":"Object with emoji names as keys and filenames as values","type":"object"},"pack":{"properties":{"can-download":{"type":"boolean"},"description":{"type":"string"},"download-sha256":{"type":"string"},"homepage":{"format":"uri","type":"string"},"license":{"type":"string"},"share-files":{"type":"boolean"}},"type":"object"}},"title":"EmojiPack","type":"object"}}},"description":"Emoji Pack"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"summary":"Show emoji pack","tags":["Emoji packs"]},"patch":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.update","parameters":[{"description":"Pack Name","example":"cofe","in":"query","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"metadata":{"description":"Metadata to replace the old one","properties":{"description":{"type":"string"},"fallback-src":{"description":"Fallback url to download pack from","format":"uri","type":"string"},"fallback-src-sha256":{"description":"SHA256 encoded for fallback pack archive","type":"string"},"homepage":{"format":"uri","type":"string"},"license":{"type":"string"},"share-files":{"description":"Is pack allowed for sharing?","type":"boolean"}},"type":"object"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"metadata":{"description":"Metadata to replace the old one","properties":{"description":{"type":"string"},"fallback-src":{"description":"Fallback url to download pack from","format":"uri","type":"string"},"fallback-src-sha256":{"description":"SHA256 encoded for fallback pack archive","type":"string"},"homepage":{"format":"uri","type":"string"},"license":{"type":"string"},"share-files":{"description":"Is pack allowed for sharing?","type":"boolean"}},"type":"object"}},"type":"object"}},"multipart/form-data":{"schema":{"properties":{"metadata":{"description":"Metadata to replace the old one","properties":{"description":{"type":"string"},"fallback-src":{"description":"Fallback url to download pack from","format":"uri","type":"string"},"fallback-src-sha256":{"description":"SHA256 encoded for fallback pack archive","type":"string"},"homepage":{"format":"uri","type":"string"},"license":{"type":"string"},"share-files":{"description":"Is pack allowed for sharing?","type":"boolean"}},"type":"object"}},"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"},"fallback-src":{"description":"Fallback url to download pack from","format":"uri","type":"string"},"fallback-src-sha256":{"description":"SHA256 encoded for fallback pack archive","type":"string"},"homepage":{"format":"uri","type":"string"},"license":{"type":"string"},"share-files":{"description":"Is pack allowed for sharing?","type":"boolean"}},"type":"object"}}},"description":"Metadata"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["admin:write"]}],"summary":"Updates (replaces) pack metadata","tags":["Emoji pack administration"]},"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.create","parameters":[{"description":"Pack Name","example":"cofe","in":"query","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":"ok","type":"string"}}},"description":"Ok"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Conflict"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["admin:write"]}],"summary":"Create an empty pack","tags":["Emoji pack administration"]}},"/api/v1/pleroma/admin/chats/{id}":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.ChatController.show","parameters":[{"description":"The id of the chat","example":"1234","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat"}}},"description":"The existing chat"}},"security":[{"oAuth":["admin:read"]}],"summary":"Create a chat","tags":["Chat administration"]}},"/api/v1/statuses/{id}/reblogged_by":{"get":{"callbacks":{},"deprecated":false,"description":"View who reblogged a given status","operationId":"StatusController.reblogged_by","parameters":[{"description":"Status ID","example":"9umDrYheeY451cQnEe","in":"path","name":"id","required":true,"schema":{"description":"Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings","title":"FlakeID","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":[{"acct":"foobar","avatar":"https://mypleroma.com/images/avi.png","avatar_description":"","avatar_static":"https://mypleroma.com/images/avi.png","bot":false,"created_at":"2020-03-24T13:05:58.000Z","display_name":"foobar","emojis":[],"fields":[],"follow_requests_count":0,"followers_count":0,"following_count":1,"header":"https://mypleroma.com/images/banner.png","header_description":"","header_static":"https://mypleroma.com/images/banner.png","id":"9tKi3esbG7OQgZ2920","locked":false,"note":"cofe","pleroma":{"accepts_chat_messages":true,"allow_following_move":true,"background_image":null,"birthday":"2001-02-12","chat_token":"SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc","hide_favorites":true,"hide_followers":false,"hide_followers_count":false,"hide_follows":false,"hide_follows_count":false,"is_admin":false,"is_confirmed":false,"is_moderator":false,"notification_settings":{"block_from_strangers":false,"hide_notification_contents":false},"relationship":{"blocked_by":false,"blocking":false,"domain_blocking":false,"endorsed":false,"followed_by":false,"following":false,"id":"9tKi3esbG7OQgZ2920","muting":false,"muting_notifications":false,"note":"","notifying":false,"requested":false,"showing_reblogs":true,"subscribing":false},"settings_store":{"pleroma-fe":{}},"skip_thread_containment":false,"tags":[],"unread_conversation_count":0},"source":{"fields":[],"note":"foobar","pleroma":{"actor_type":"Person","discoverable":false,"no_rich_text":false,"show_role":true},"privacy":"public","sensitive":false},"statuses_count":0,"url":"https://mypleroma.com/users/foobar","username":"foobar"}],"items":{"$ref":"#/components/schemas/Account"},"title":"ArrayOfAccounts","type":"array"}}},"description":"Array of Accounts"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"}},"security":[{"oAuth":["read:accounts"]}],"summary":"Reblogged by","tags":["Retrieve status information"]}},"/api/v1/pleroma/conversations/{id}":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.ConversationController.show","parameters":[{"description":"Conversation ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}},"description":"Conversation"}},"security":[{"oAuth":["read:statuses"]}],"summary":"Conversation","tags":["Conversations"]},"patch":{"callbacks":{},"deprecated":false,"description":"Change set of recipients for the conversation.","operationId":"PleromaAPI.ConversationController.update","parameters":[{"description":"Conversation ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"A list of ids of users that should receive posts to this conversation. This will replace the current list of recipients, so submit the full list. The owner of owner of the conversation will always be part of the set of recipients, though.","in":"query","name":"recipients","required":true,"schema":{"items":{"$ref":"#/components/schemas/FlakeID"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}},"description":"Conversation"}},"security":[{"oAuth":["write:conversations"]}],"summary":"Update conversation","tags":["Conversations"]}},"/api/v1/pleroma/admin/oauth_app":{"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.OAuthAppController.index","parameters":[{"description":"App name","in":"query","name":"name","required":false,"schema":{"type":"string"}},{"description":"Client ID","in":"query","name":"client_id","required":false,"schema":{"type":"string"}},{"description":"Page","in":"query","name":"page","required":false,"schema":{"default":1,"type":"integer"}},{"description":"Trusted apps","in":"query","name":"trusted","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"Number of apps to return","in":"query","name":"page_size","required":false,"schema":{"default":50,"type":"integer"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":{"apps":[{"client_id":"yHoDSiWYp5mPV6AfsaVOWjdOyt5PhWRiafi6MRd1lSk","client_secret":"nLmis486Vqrv2o65eM9mLQx_m_4gH-Q6PcDpGIMl6FY","id":1,"name":"App name","redirect_uri":"https://example.com/oauth-callback","trusted":true,"website":"https://example.com"}],"count":1,"page_size":50},"properties":{"apps":{"items":{"example":{"client_id":"TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM","client_secret":"ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw","id":123,"name":"My App","redirect_uri":"https://myapp.com/oauth-callback","trusted":false,"website":"https://myapp.com/"},"properties":{"client_id":{"type":"string"},"client_secret":{"type":"string"},"id":{"type":"integer"},"name":{"type":"string"},"redirect_uri":{"type":"string"},"trusted":{"type":"boolean"},"website":{"nullable":true,"type":"string"}},"title":"oAuthApp","type":"object"},"type":"array"},"count":{"type":"integer"},"page_size":{"type":"integer"}},"type":"object"}}},"description":"List of apps"}},"security":[{"oAuth":["admin:write"]}],"summary":"Retrieve a list of OAuth applications","tags":["OAuth application management"]},"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.OAuthAppController.create","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"example":{"name":"My App","redirect_uris":["https://myapp.com/auth/callback"],"scopes":["read","write"],"trusted":true,"website":"https://myapp.com/"},"properties":{"name":{"description":"Application Name","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"description":"oAuth scopes","items":{"type":"string"},"type":"array"},"trusted":{"default":false,"description":"Is the app trusted?","nullable":true,"type":"boolean"},"website":{"description":"A URL to the homepage of the app","nullable":true,"type":"string"}},"required":["name","redirect_uris"],"title":"oAuthAppCreateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"example":{"name":"My App","redirect_uris":["https://myapp.com/auth/callback"],"scopes":["read","write"],"trusted":true,"website":"https://myapp.com/"},"properties":{"name":{"description":"Application Name","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"description":"oAuth scopes","items":{"type":"string"},"type":"array"},"trusted":{"default":false,"description":"Is the app trusted?","nullable":true,"type":"boolean"},"website":{"description":"A URL to the homepage of the app","nullable":true,"type":"string"}},"required":["name","redirect_uris"],"title":"oAuthAppCreateRequest","type":"object"}},"multipart/form-data":{"schema":{"example":{"name":"My App","redirect_uris":["https://myapp.com/auth/callback"],"scopes":["read","write"],"trusted":true,"website":"https://myapp.com/"},"properties":{"name":{"description":"Application Name","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"description":"oAuth scopes","items":{"type":"string"},"type":"array"},"trusted":{"default":false,"description":"Is the app trusted?","nullable":true,"type":"boolean"},"website":{"description":"A URL to the homepage of the app","nullable":true,"type":"string"}},"required":["name","redirect_uris"],"title":"oAuthAppCreateRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"client_id":"TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM","client_secret":"ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw","id":123,"name":"My App","redirect_uri":"https://myapp.com/oauth-callback","trusted":false,"website":"https://myapp.com/"},"properties":{"client_id":{"type":"string"},"client_secret":{"type":"string"},"id":{"type":"integer"},"name":{"type":"string"},"redirect_uri":{"type":"string"},"trusted":{"type":"boolean"},"website":{"nullable":true,"type":"string"}},"title":"oAuthApp","type":"object"}}},"description":"App"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"}},"security":[{"oAuth":["admin:write"]}],"summary":"Create an OAuth application","tags":["OAuth application management"]}},"/api/v1/notifications/clear":{"post":{"callbacks":{},"deprecated":false,"description":"Clear all notifications from the server.","operationId":"NotificationController.clear","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"example":{},"type":"object"}}},"description":"Empty object"}},"security":[{"oAuth":["write:notifications"]}],"summary":"Dismiss all notifications","tags":["Notifications"]}},"/api/v1/pleroma/admin/oauth_app/{id}":{"delete":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.OAuthAppController.delete","parameters":[{"description":"App ID","example":1337,"in":"path","name":"id","required":true,"schema":{"type":"integer"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"204":{"content":{"application/json":{"schema":{"example":"","type":"string"}}},"description":"No Content"},"400":{"content":{"application/json":{"schema":{"example":"","type":"string"}}},"description":"No Content"}},"security":[{"oAuth":["admin:write"]}],"summary":"Delete OAuth application","tags":["OAuth application management"]},"patch":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.OAuthAppController.update","parameters":[{"description":"App ID","example":1337,"in":"path","name":"id","required":true,"schema":{"type":"integer"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"example":{"name":"My App","redirect_uris":["https://myapp.com/auth/callback"],"scopes":["read","write"],"trusted":true,"website":"https://myapp.com/"},"properties":{"name":{"description":"Application Name","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"description":"oAuth scopes","items":{"type":"string"},"type":"array"},"trusted":{"default":false,"description":"Is the app trusted?","nullable":true,"type":"boolean"},"website":{"description":"A URL to the homepage of the app","nullable":true,"type":"string"}},"title":"oAuthAppUpdateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"example":{"name":"My App","redirect_uris":["https://myapp.com/auth/callback"],"scopes":["read","write"],"trusted":true,"website":"https://myapp.com/"},"properties":{"name":{"description":"Application Name","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"description":"oAuth scopes","items":{"type":"string"},"type":"array"},"trusted":{"default":false,"description":"Is the app trusted?","nullable":true,"type":"boolean"},"website":{"description":"A URL to the homepage of the app","nullable":true,"type":"string"}},"title":"oAuthAppUpdateRequest","type":"object"}},"multipart/form-data":{"schema":{"example":{"name":"My App","redirect_uris":["https://myapp.com/auth/callback"],"scopes":["read","write"],"trusted":true,"website":"https://myapp.com/"},"properties":{"name":{"description":"Application Name","type":"string"},"redirect_uris":{"description":"Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.","oneOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"scopes":{"description":"oAuth scopes","items":{"type":"string"},"type":"array"},"trusted":{"default":false,"description":"Is the app trusted?","nullable":true,"type":"boolean"},"website":{"description":"A URL to the homepage of the app","nullable":true,"type":"string"}},"title":"oAuthAppUpdateRequest","type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"example":{"client_id":"TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM","client_secret":"ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw","id":123,"name":"My App","redirect_uri":"https://myapp.com/oauth-callback","trusted":false,"website":"https://myapp.com/"},"properties":{"client_id":{"type":"string"},"client_secret":{"type":"string"},"id":{"type":"integer"},"name":{"type":"string"},"redirect_uri":{"type":"string"},"trusted":{"type":"boolean"},"website":{"nullable":true,"type":"string"}},"title":"oAuthApp","type":"object"}}},"description":"App"},"400":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ApiError"},{"type":"string"}]}}},"description":"Bad Request"}},"security":[{"oAuth":["admin:write"]}],"summary":"Update OAuth application","tags":["OAuth application management"]}},"/api/v1/pleroma/admin/users":{"delete":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.delete","parameters":[{"description":"User nickname","in":"query","name":"nickname","required":false,"schema":{"type":"string"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for deleting multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for deleting multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for deleting multiple users","properties":{"nicknames":{"items":{"type":"string"},"type":"array"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Array of nicknames","items":{"type":"string"},"type":"array"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:write:accounts"]}],"summary":"Removes a single or multiple users","tags":["User administration"]},"get":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.index","parameters":[{"description":"Comma separated list of filters","in":"query","name":"filters","required":false,"schema":{"type":"string"}},{"description":"Search users query","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"Search by display name","in":"query","name":"name","required":false,"schema":{"type":"string"}},{"description":"Search by email","in":"query","name":"email","required":false,"schema":{"type":"string"}},{"description":"Page Number","in":"query","name":"page","required":false,"schema":{"type":"integer"}},{"description":"Number of users to return per page","in":"query","name":"page_size","required":false,"schema":{"type":"integer"}},{"description":"Filter by actor type","in":"query","name":"actor_types","required":false,"schema":{"items":{"$ref":"#/components/schemas/ActorType"},"type":"array"}},{"description":"Filter by tags","in":"query","name":"tags","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"count":{"type":"integer"},"page_size":{"type":"integer"},"users":{"items":{"properties":{"actor_type":{"type":"string"},"avatar":{"format":"uri","type":"string"},"display_name":{"type":"string"},"email":{"format":"email","type":"string"},"id":{"type":"string"},"is_active":{"type":"boolean"},"is_approved":{"type":"boolean"},"is_confirmed":{"type":"boolean"},"local":{"type":"boolean"},"nickname":{"type":"string"},"registration_reason":{"nullable":true,"type":"string"},"roles":{"properties":{"admin":{"type":"boolean"},"moderator":{"type":"boolean"}},"type":"object"},"tags":{"items":{"type":"string"},"type":"array"},"url":{"format":"uri","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"}},"security":[{"oAuth":["admin:read:accounts"]}],"summary":"List users","tags":["User administration"]},"post":{"callbacks":{},"deprecated":false,"operationId":"AdminAPI.UserController.create","parameters":[{"description":"Allows authorization via admin token.","in":"query","name":"admin_token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"POST body for creating users","properties":{"users":{"items":{"properties":{"email":{"type":"string"},"nickname":{"type":"string"},"password":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"description":"POST body for creating users","properties":{"users":{"items":{"properties":{"email":{"type":"string"},"nickname":{"type":"string"},"password":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"}},"multipart/form-data":{"schema":{"description":"POST body for creating users","properties":{"users":{"items":{"properties":{"email":{"type":"string"},"nickname":{"type":"string"},"password":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Parameters","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"code":{"type":"integer"},"data":{"properties":{"email":{"format":"email","type":"string"},"nickname":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"type":"object"},"type":"array"}}},"description":"Response"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Forbidden"},"409":{"content":{"application/json":{"schema":{"items":{"properties":{"code":{"type":"integer"},"data":{"properties":{"email":{"format":"email","type":"string"},"nickname":{"type":"string"}},"type":"object"},"error":{"type":"string"},"type":{"type":"string"}},"type":"object"},"type":"array"}}},"description":"Conflict"}},"security":[{"oAuth":["admin:write:accounts"]}],"summary":"Create a single or multiple users","tags":["User administration"]}},"/api/v1/pleroma/emoji/packs/files":{"delete":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.delete_file","parameters":[{"description":"Pack Name","example":"cofe","in":"query","name":"name","required":true,"schema":{"type":"string"}},{"description":"File shortcode","example":"cofe","in":"query","name":"shortcode","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":{"description":"Filename of the emoji","type":"string","x-additionalPropertiesName":"Emoji name"},"description":"Object with emoji names as keys and filenames as values","type":"object"}}},"description":"Files Object"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Unprocessable Entity"}},"security":[{"oAuth":["admin:write"]}],"summary":"Delete emoji file from pack","tags":["Emoji pack administration"]},"patch":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.update_file","parameters":[{"description":"Pack Name","example":"cofe","in":"query","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"force":{"default":false,"description":"With true value to overwrite existing emoji with new shortcode","type":"boolean"},"new_filename":{"description":"New filename for emoji file","type":"string"},"new_shortcode":{"description":"New emoji file shortcode","type":"string"},"shortcode":{"description":"Emoji file shortcode","type":"string"}},"required":["shortcode","new_shortcode","new_filename"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"force":{"default":false,"description":"With true value to overwrite existing emoji with new shortcode","type":"boolean"},"new_filename":{"description":"New filename for emoji file","type":"string"},"new_shortcode":{"description":"New emoji file shortcode","type":"string"},"shortcode":{"description":"Emoji file shortcode","type":"string"}},"required":["shortcode","new_shortcode","new_filename"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"force":{"default":false,"description":"With true value to overwrite existing emoji with new shortcode","type":"boolean"},"new_filename":{"description":"New filename for emoji file","type":"string"},"new_shortcode":{"description":"New emoji file shortcode","type":"string"},"shortcode":{"description":"Emoji file shortcode","type":"string"}},"required":["shortcode","new_shortcode","new_filename"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":{"description":"Filename of the emoji","type":"string","x-additionalPropertiesName":"Emoji name"},"description":"Object with emoji names as keys and filenames as values","type":"object"}}},"description":"Files Object"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Conflict"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Unprocessable Entity"}},"security":[{"oAuth":["admin:write"]}],"summary":"Add new file to the pack","tags":["Emoji pack administration"]},"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.EmojiPackController.add_file","parameters":[{"description":"Pack Name","example":"cofe","in":"query","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"file":{"anyOf":[{"format":"binary","type":"string"},{"format":"uri","type":"string"}],"description":"File needs to be uploaded with the multipart request or link to remote file"},"filename":{"description":"New emoji file name. If not specified will be taken from original filename.","type":"string"},"shortcode":{"description":"Shortcode for new emoji, must be unique for all emoji. If not sended, shortcode will be taken from original filename.","type":"string"}},"required":["file"],"type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"file":{"anyOf":[{"format":"binary","type":"string"},{"format":"uri","type":"string"}],"description":"File needs to be uploaded with the multipart request or link to remote file"},"filename":{"description":"New emoji file name. If not specified will be taken from original filename.","type":"string"},"shortcode":{"description":"Shortcode for new emoji, must be unique for all emoji. If not sended, shortcode will be taken from original filename.","type":"string"}},"required":["file"],"type":"object"}},"multipart/form-data":{"schema":{"properties":{"file":{"anyOf":[{"format":"binary","type":"string"},{"format":"uri","type":"string"}],"description":"File needs to be uploaded with the multipart request or link to remote file"},"filename":{"description":"New emoji file name. If not specified will be taken from original filename.","type":"string"},"shortcode":{"description":"Shortcode for new emoji, must be unique for all emoji. If not sended, shortcode will be taken from original filename.","type":"string"}},"required":["file"],"type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":{"description":"Filename of the emoji","type":"string","x-additionalPropertiesName":"Emoji name"},"description":"Object with emoji names as keys and filenames as values","type":"object"}}},"description":"Files Object"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Conflict"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["admin:write"]}],"summary":"Add new file to the pack","tags":["Emoji pack administration"]}},"/api/v1/instance/domain_blocks":{"get":{"callbacks":{},"deprecated":false,"operationId":"InstanceController.domain_blocks","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"comment":{"type":"string"},"digest":{"type":"string"},"domain":{"type":"string"},"severity":{"type":"string"}},"type":"object"},"type":"array"}}},"description":"Array of domain blocks"}},"summary":"Retrieve instance domain blocks","tags":["Instance misc"]}},"/api/v1/pleroma/bookmark_folders":{"get":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.BookmarkFolderController.index","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BookmarkFolder"},"type":"array"}}},"description":"Array of Bookmark Folders"}},"security":[{"oAuth":["read:bookmarks"]}],"summary":"All bookmark folders","tags":["Bookmark folders"]},"post":{"callbacks":{},"deprecated":false,"operationId":"PleromaAPI.BookmarkFolderController.create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"emoji":{"description":"Folder emoji","nullable":true,"type":"string"},"name":{"description":"Folder name","type":"string"}},"title":"BookmarkFolderCreateRequest","type":"object"}},"application/x-www-form-urlencoded":{"schema":{"properties":{"emoji":{"description":"Folder emoji","nullable":true,"type":"string"},"name":{"description":"Folder name","type":"string"}},"title":"BookmarkFolderCreateRequest","type":"object"}},"multipart/form-data":{"schema":{"properties":{"emoji":{"description":"Folder emoji","nullable":true,"type":"string"},"name":{"description":"Folder name","type":"string"}},"title":"BookmarkFolderCreateRequest","type":"object"}}},"description":"Parameters","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookmarkFolder"}}},"description":"Bookmark Folder"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}},"description":"Error"}},"security":[{"oAuth":["write:bookmarks"]}],"summary":"Create a bookmark folder","tags":["Bookmark folders"]}},"/api/v1/follow_requests/{id}/reject":{"post":{"callbacks":{},"deprecated":false,"operationId":"FollowRequestController.reject","parameters":[{"description":"Conversation ID","example":"123","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRelationship"}}},"description":"Relationship"}},"security":[{"oAuth":["follow","write:follows"]}],"summary":"Reject follow request","tags":["Follow requests"]}}},"security":[],"servers":[],"tags":[],"x-tagGroups":[{"name":"Accounts","tags":["Account actions","Retrieve account information","Scrobbles"]},{"name":"Administration","tags":["Chat administration","Emoji pack administration","Frontend management","Instance configuration","Instance documents","Instance rule management","Invites","MediaProxy cache","OAuth application management","Relays","Report management","Status administration","User administration","Announcement management"]},{"name":"Applications","tags":["Applications","Push subscriptions"]},{"name":"Current account","tags":["Account credentials","Backups","Blocks and mutes","Data import","Domain blocks","Follow requests","Mascot","Markers","Notifications","Filters","Settings"]},{"name":"Instance","tags":["Custom emojis","Instance misc"]},{"name":"Messaging","tags":["Chats","Conversations"]},{"name":"Statuses","tags":["Emoji reactions","Lists","Polls","Timelines","Retrieve status information","Scheduled statuses","Search","Status actions","Media attachments","Bookmark folders","Tags"]},{"name":"Miscellaneous","tags":["Emoji packs","Reports","Suggestions","Announcements","Remote interaction","Others","Preferred frontends"]}]}