Skip to content

Instantly share code, notes, and snippets.

@potatoqualitee
Created November 28, 2022 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save potatoqualitee/a5007ff11f6f05f0db081402144be780 to your computer and use it in GitHub Desktop.
Save potatoqualitee/a5007ff11f6f05f0db081402144be780 to your computer and use it in GitHub Desktop.
swagger.json
{
"openapi": "3.0.0",
"info": {
"title": "Mastodon API",
"description": "This an attempt to document Mastodon's API based on the code in https://github.com/mastodon/mastodon",
"contact": {
"name": "Malcolm VanOrder",
"email": "mvanorder1390@gmail.com"
},
"license": {
"name": "2-Clause BSD",
"url": "https://opensource.org/licenses/BSD-2-Clause"
},
"version": "1.0.0"
},
"servers": [
{
"url": "https://virtserver.swaggerhub.com/mvanorder/Mastodon/1.0.0",
"description": "SwaggerHub API Auto Mocking"
}
],
"tags": [
{
"name": "well-known",
"description": "well-known documented URLs"
}
],
"paths": {
"/": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/health": {
"get": {
"summary": "",
"description": "Returns ok to indicate server is up",
"operationId": "",
"responses": {
"200": {
"description": "search results matching criteria",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
},
"400": {
"description": "bad input parameter"
}
}
}
},
"/oauth/authorize/native": {
"get": {
"tags": [
"oauth",
"todo"
],
"responses": {
"200": {
"description": "Prefix: native_oauth_authorization Controller#Action oauth/authorizations#show"
}
}
}
},
"/oauth/authorize": {
"description": "Displays an authorization form to the user. If approved, it will create and return an authorization code, then redirect to the desired redirect_uri, or show the authorization code if urn:ietf:wg:oauth:2.0:oob was requested. The authorization code can be used while requesting a token to obtain access to user-level methods.",
"get": {
"tags": [
"oauth",
"todo"
],
"parameters": [
{
"name": "response_type",
"in": "query",
"description": "Should be set equal to code.",
"required": true,
"style": "form",
"explode": true,
"schema": {
"type": "string",
"enum": [
"code"
]
}
},
{
"name": "client_id",
"in": "query",
"description": "Client ID, obtained during app registration.",
"required": true,
"style": "form",
"explode": true,
"schema": {
"type": "string"
}
},
{
"name": "redirect_uri",
"in": "query",
"description": "Set a URI to redirect the user to. If this parameter is set to urn:ietf:wg:oauth:2.0:oob then the authorization code will be shown instead. Must match one of the redirect URIs declared during app registration.",
"required": true,
"style": "form",
"explode": true,
"schema": {
"type": "string"
}
},
{
"name": "scope",
"in": "query",
"description": "List of requested OAuth scopes, separated by spaces (or by pluses, if using query parameters). Must be a subset of scopes declared during app registration. If not provided, defaults to read.",
"required": false,
"style": "form",
"explode": true,
"schema": {
"type": "string"
}
},
{
"name": "force_login",
"in": "query",
"description": "Added in 2.6.0. Forces the user to re-login, which is necessary for authorizing with multiple accounts from the same instance.",
"required": false,
"style": "form",
"explode": true,
"schema": {
"type": "boolean"
}
}
],
"responses": {
"200": {
"description": "Prefix: oauth_authorization Controller#Action oauth/authorizations#new"
}
}
},
"post": {
"tags": [
"oauth",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action oauth/authorizations#create"
}
}
},
"delete": {
"tags": [
"oauth",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action oauth/authorizations#destroy"
}
}
}
},
"/oauth/token": {
"post": {
"tags": [
"oauth"
],
"description": "Obtain an oauth token for API requests.",
"requestBody": {
"content": {
"application/form-data": {
"schema": {
"$ref": "#/components/schemas/oauth_token_body"
},
"examples": {
"app token": {
"value": {
"client_id": "3N5yVaa_d8TJozehuHAHGXrgAWQstWb1W03efWoDNsM",
"client_secret": "Hl6FKbQZ2BE4T2i-MqKVRvEqqzzidsy-h9K3612VFyY",
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob",
"grant_type": "client_credentials"
}
},
"user token": {
"value": {
"client_id": "QfxXkqC6WLbhs4HyjH3oM1nMetdLot0mSK2Bp9KoZbk",
"client_secret": "3q-V6Gc85VzQIlXKgsT21IYHgSC2KKxap4tvTkj_24w",
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob",
"grant_type": "authorization_code",
"code": "NiYRkKURwiU6zMMoRFkcTXPwSr_jLWhMDvY-bZCzxJM",
"scope": "read write follow push"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Prefix: oauth_token Controller#Action oauth/tokens#create",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inline_response_200"
}
}
}
}
}
}
},
"/oauth/revoke": {
"post": {
"tags": [
"oauth",
"todo"
],
"responses": {
"200": {
"description": "Prefix: oauth_revoke Controller#Action oauth/tokens#revoke"
}
}
}
},
"/oauth/introspect": {
"post": {
"tags": [
"oauth",
"todo"
],
"responses": {
"200": {
"description": "Prefix: oauth_introspect Controller#Action oauth/tokens#introspect"
}
}
}
},
"/oauth/applications": {
"get": {
"tags": [
"oauth",
"todo"
],
"responses": {
"200": {
"description": "Prefix: oauth_applications Controller#Action doorkeeper/applications#index"
}
}
},
"post": {
"tags": [
"oauth",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action doorkeeper/applications#create"
}
}
}
},
"/oauth/applications/new": {
"get": {
"tags": [
"oauth",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_oauth_application Controller#Action doorkeeper/applications#new"
}
}
}
},
"/oauth/applications/{id}/edit": {
"get": {
"tags": [
"oauth",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: edit_oauth_application Controller#Action doorkeeper/applications#edit"
}
}
}
},
"/oauth/applications/{id}": {
"get": {
"tags": [
"oauth",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: oauth_application Controller#Action doorkeeper/applications#show"
}
}
},
"put": {
"tags": [
"oauth",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action doorkeeper/applications#update"
}
}
},
"delete": {
"tags": [
"oauth",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action doorkeeper/applications#destroy"
}
}
},
"patch": {
"tags": [
"oauth",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action doorkeeper/applications#update"
}
}
}
},
"/oauth/authorized_applications": {
"get": {
"tags": [
"oauth",
"todo"
],
"responses": {
"200": {
"description": "Prefix: oauth_authorized_applications Controller#Action oauth/authorized_applications#index"
}
}
}
},
"/oauth/authorized_applications/{id}": {
"delete": {
"tags": [
"oauth",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: oauth_authorized_application Controller#Action oauth/authorized_applications#destroy"
}
}
}
},
"/.well-known/host-meta": {
"get": {
"tags": [
"well-known"
],
"responses": {
"200": {
"description": "Prefix host_meta Controller#Action well_known/host_meta#show {:format=>\"xml\"}",
"content": {
"application/xrd+xml": {
"example": "<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?> <XRD xmlns=\\\"http://docs.oasis-open.org/ns/xri/xrd-1.0\\\"> <Link rel=\\\"lrdd\\\" template=\\\"https://hostux.social/.well-known/webfinger?resource={uri}\\\"/> </XRD>"
}
}
}
}
}
},
"/.well-known/nodeinfo": {
"get": {
"tags": [
"well-known"
],
"responses": {
"200": {
"description": "Prefix nodeinfo Controller#Action well_known/nodeinfo#index {:format=>\"json\"}",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WellKnownNodeInfo"
}
}
}
}
}
}
},
"/.well-known/webfinger": {
"get": {
"tags": [
"well-known",
"jrd"
],
"parameters": [
{
"name": "resource",
"in": "query",
"description": "query target (URI)",
"required": true,
"style": "form",
"explode": true,
"schema": {
"type": "string"
}
},
{
"name": "rel",
"in": "query",
"required": false,
"style": "form",
"explode": true,
"schema": {
"type": "string",
"format": "uri"
}
}
],
"responses": {
"200": {
"description": "Prefix webfinger Controller#Action well_known/webfinger#show",
"content": {
"application/jrd+json": {
"schema": {
"$ref": "#/components/schemas/WebFinger"
}
}
}
}
}
}
},
"/.well-known/change-password": {
"get": {
"tags": [
"well-known"
],
"responses": {
"301": {
"description": "Controller#Action redirect(301, /auth/edit)",
"headers": {
"location": {
"style": "simple",
"explode": false,
"schema": {
"type": "string",
"example": "https://hostux.social/auth/edit"
}
}
},
"content": {
"text/html": {
"example": ""
}
}
}
}
}
},
"/.well-known/keybase-proof-config": {
"get": {
"tags": [
"well-known"
],
"responses": {
"200": {
"description": "Controller#Action well_known/keybase_proof_config#show",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/KeybaseProofConfig"
}
}
}
}
}
}
},
"/nodeinfo/2.0": {
"get": {
"responses": {
"200": {
"description": "Prefix nodeinfo_schema Controller#Action well_known/nodeinfo#show",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NodeInfo"
}
}
}
}
}
}
},
"/manifest": {
"get": {
"responses": {
"200": {
"description": "Prefix manifest Controller#Action manifests#show {:format=>\"json\"}",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Manifest"
}
}
}
}
}
}
},
"/intent": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix intent Controller#Action intents#show"
}
}
}
},
"/actor/inbox": {
"post": {
"tags": [
"ActivityPub",
"todo"
],
"responses": {
"200": {
"description": "Prefix instance_actor_inbox Controller#Action activitypub/inboxes#create"
}
}
}
},
"/actor/outbox": {
"get": {
"tags": [
"ActivityPub"
],
"responses": {
"200": {
"description": "Prefix instance_actor_outbox Controller#Action activitypub/outboxes#show",
"content": {
"application/activity+json": {
"schema": {
"$ref": "#/components/schemas/inline_response_200_1"
}
}
}
}
}
}
},
"/actor": {
"get": {
"tags": [
"ActivityPub",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/invite/invite_code": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/setup": {
"get": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
},
"put": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
},
"patch": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/challenge": {
"post": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/sessions/security_key_options": {
"get": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/sign_in": {
"get": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
},
"post": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/sign_out": {
"delete": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/password/new": {
"get": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/password/edit": {
"get": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/password": {
"put": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
},
"post": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
},
"patch": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/cancel": {
"get": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/sign_up": {
"get": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/edit": {
"get": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth": {
"put": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
},
"post": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
},
"delete": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
},
"patch": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/confirmation/new": {
"get": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/auth/confirmation": {
"get": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
},
"post": {
"tags": [
"auth",
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/authorize_follow": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/remote_follow": {
"get": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
},
"post": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/statuses/{id}/activity": {
"get": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
},
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/statuses/{id}/embed": {
"get": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
},
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/statuses/{status_id}/replies": {
"get": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
},
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/statuses/{id}": {
"get": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
},
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/followers": {
"get": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/following": {
"get": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/follow": {
"post": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/unfollow": {
"post": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/outbox": {
"get": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/inbox": {
"post": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/claim": {
"post": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/users/{account_username}/collections/{id}": {
"get": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
},
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/users/{account_username}/followers_synchronization": {
"get": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/users/{username}": {
"get": {
"tags": [
"users",
"todo"
],
"parameters": [
{
"name": "username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/inbox": {
"post": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/@{username}": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/@{username}/with_replies": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/@{username}/media": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/@{username}/tagged/{tag}": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
},
{
"name": "tag",
"in": "path",
"description": "",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/@{account_username}/{id}": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
},
{
"name": "id",
"in": "path",
"description": "",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/@{account_username}/{id}/embed": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "account_username",
"in": "path",
"description": "username of an account",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
},
{
"name": "id",
"in": "path",
"description": "",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/interact/{id}": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": ""
}
}
},
"post": {
"tags": [
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/explore": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": ""
}
}
}
},
"/settings": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings Controller#Action : redirect(301, /settings/profile)"
}
}
}
},
"/settings/profile/pictures/{id}": {
"delete": {
"tags": [
"settings",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: settings_profile_picture Controller#Action settings/pictures#destroy"
}
}
}
},
"/settings/profile": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_profile Controller#Action settings/profiles#show"
}
}
},
"put": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/profiles#update"
}
}
},
"patch": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/profiles#update"
}
}
}
},
"/settings/preferences": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_preferences Controller#Action redirect(301, /settings/preferences/appearance)"
}
}
}
},
"/settings/preferences/appearance": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_preferences_appearance Controller#Action settings/preferences/appearance#show"
}
}
},
"put": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/preferences/appearance#update"
}
}
},
"patch": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/preferences/appearance#update"
}
}
}
},
"/settings/preferences/notifications": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_preferences_notifications Controller#Action settings/preferences/notifications#show"
}
}
},
"put": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/preferences/notifications#update"
}
}
},
"patch": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/preferences/notifications#update"
}
}
}
},
"/settings/preferences/other": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_preferences_other Controller#Action settings/preferences/other#show"
}
}
},
"put": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/preferences/other#update"
}
}
},
"patch": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/preferences/other#update"
}
}
}
},
"/settings/import": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_import Controller#Action settings/imports#show"
}
}
},
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/imports#create"
}
}
}
},
"/settings/export": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_export Controller#Action settings/exports#show"
}
}
},
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/exports#create"
}
}
}
},
"/settings/exports/follows": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_exports_follows Controller#Action settings/exports/following_accounts#index {:format=>:csv}"
}
}
}
},
"/settings/exports/blocks": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_exports_blocks Controller#Action settings/exports/blocked_accounts#index {:format=>:csv}"
}
}
}
},
"/settings/exports/mutes": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_exports_mutes Controller#Action settings/exports/muted_accounts#index {:format=>:csv}"
}
}
}
},
"/settings/exports/lists": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_exports_lists Controller#Action settings/exports/lists#index {:format=>:csv}"
}
}
}
},
"/settings/exports/domain_blocks": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_exports_domain_blocks Controller#Action settings/exports/blocked_domains#index {:format=>:csv}"
}
}
}
},
"/settings/exports/bookmarks": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_exports_bookmarks Controller#Action settings/exports/bookmarks#index {:format=>:csv}"
}
}
}
},
"/settings/two_factor_authentication_methods/disable": {
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: disable_settings_two_factor_authentication_methods Controller#Action settings/two_factor_authentication_methods#disable"
}
}
}
},
"/settings/two_factor_authentication_methods": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_two_factor_authentication_methods Controller#Action settings/two_factor_authentication_methods#index"
}
}
}
},
"/settings/otp_authentication": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_otp_authentication Controller#Action settings/two_factor_authentication/otp_authentication#show"
}
}
},
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/two_factor_authentication/otp_authentication#create"
}
}
}
},
"/settings/security_keys/options": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: options_settings_webauthn_credentials Controller#Action settings/two_factor_authentication/webauthn_credentials#options"
}
}
}
},
"/settings/security_keys": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_webauthn_credentials Controller#Action settings/two_factor_authentication/webauthn_credentials#index"
}
}
},
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/two_factor_authentication/webauthn_credentials#create"
}
}
}
},
"/settings/security_keys/new": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_settings_webauthn_credential Controller#Action settings/two_factor_authentication/webauthn_credentials#new"
}
}
}
},
"/settings/security_keys/{id}": {
"delete": {
"tags": [
"settings",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: settings_webauthn_credential Controller#Action settings/two_factor_authentication/webauthn_credentials#destroy"
}
}
}
},
"/settings/two_factor_authentication/recovery_codes": {
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_two_factor_authentication_recovery_codes Controller#Action settings/two_factor_authentication/recovery_codes#create"
}
}
}
},
"/settings/two_factor_authentication/confirmation/new": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_settings_two_factor_authentication_confirmation Controller#Action settings/two_factor_authentication/confirmations#new"
}
}
}
},
"/settings/two_factor_authentication/confirmation": {
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_two_factor_authentication_confirmation Controller#Action settings/two_factor_authentication/confirmations#create"
}
}
}
},
"/settings/identity_proofs": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_identity_proofs Controller#Action settings/identity_proofs#index"
}
}
},
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/identity_proofs#create"
}
}
}
},
"/settings/identity_proofs/new": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_settings_identity_proof Controller#Action settings/identity_proofs#new"
}
}
}
},
"/settings/identity_proofs/{id}": {
"delete": {
"tags": [
"settings",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: settings_identity_proof Controller#Action settings/identity_proofs#destroy"
}
}
}
},
"/settings/applications/{id}/regenerate": {
"post": {
"tags": [
"settings",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: regenerate_settings_application Controller#Action settings/applications#regenerate"
}
}
}
},
"/settings/applications": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_applications Controller#Action settings/applications#index"
}
}
},
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/applications#create"
}
}
}
},
"/settings/applications/new": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_settings_application Controller#Action settings/applications#new"
}
}
}
},
"/settings/applications/{id}": {
"get": {
"tags": [
"settings",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: settings_application Controller#Action settings/applications#show"
}
}
},
"put": {
"tags": [
"settings",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/applications#update"
}
}
},
"delete": {
"tags": [
"settings",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/applications#destroy"
}
}
},
"patch": {
"tags": [
"settings",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/applications#update"
}
}
}
},
"/settings/delete": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_delete Controller#Action settings/deletes#show"
}
}
},
"delete": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/deletes#destroy"
}
}
}
},
"/settings/migration": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_migration Controller#Action settings/migrations#show"
}
}
},
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/migrations#create"
}
}
}
},
"/settings/migration/redirect/new": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_settings_migration_redirect Controller#Action settings/migration/redirects#new"
}
}
}
},
"/settings/migration/redirect": {
"post": {
"tags": [
"settings"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/migration/redirects#create"
}
}
},
"delete": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_migration_redirect Controller#Action settings/migration/redirects#destroy"
}
}
}
},
"/settings/aliases": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_aliases Controller#Action settings/aliases#index"
}
}
},
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/aliases#create"
}
}
}
},
"/settings/aliases/{id}": {
"delete": {
"tags": [
"settings",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: settings_alias Controller#Action settings/aliases#destroy"
}
}
}
},
"/settings/sessions/{id}": {
"delete": {
"tags": [
"settings",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: settings_session Controller#Action settings/sessions#destroy"
}
}
}
},
"/settings/featured_tags": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_featured_tags Controller#Action settings/featured_tags#index"
}
}
},
"post": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action settings/featured_tags#create"
}
}
}
},
"/settings/featured_tags/{id}": {
"delete": {
"tags": [
"settings",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: settings_featured_tag Controller#Action settings/featured_tags#destroy"
}
}
}
},
"/settings/login_activities": {
"get": {
"tags": [
"settings",
"todo"
],
"responses": {
"200": {
"description": "Prefix: settings_login_activities Controller#Action settings/login_activities#index"
}
}
}
},
"/media/{medium_id}/player": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "medium_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Prefix: medium_player Controller#Action media#player"
}
}
}
},
"/media/{id}": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: medium Controller#Action media#show"
}
}
}
},
"/tags/{id}": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: tag Controller#Action tags#show"
}
}
}
},
"/emojis/{id}": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: emoji Controller#Action emojis#show"
}
}
}
},
"/invites": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: invites Controller#Action invites#index"
}
}
},
"post": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action invites#create"
}
}
}
},
"/invites/{id}": {
"delete": {
"tags": [
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: invite Controller#Action invites#destroy"
}
}
}
},
"/filters": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: filters Controller#Action filters#index"
}
}
},
"post": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action filters#create"
}
}
}
},
"/filters/new": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_filter Controller#Action filters#new"
}
}
}
},
"/filters/{id}/edit": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: edit_filter Controller#Action filters#edit"
}
}
}
},
"/filters/{id}": {
"put": {
"tags": [
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action filters#update"
}
}
},
"delete": {
"tags": [
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action filters#destroy"
}
}
},
"patch": {
"tags": [
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: filter Controller#Action filters#update"
}
}
}
},
"/relationships": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: relationships Controller#Action relationships#show"
}
}
},
"put": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action relationships#update"
}
}
},
"patch": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action relationships#update"
}
}
}
},
"/statuses_cleanup": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: statuses_cleanup Controller#Action statuses_cleanup#show"
}
}
},
"put": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action statuses_cleanup#update"
}
}
},
"patch": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action statuses_cleanup#update"
}
}
}
},
"/public": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: public_timeline Controller#Action public_timelines#show"
}
}
}
},
"/media_proxy/{id}": {
"get": {
"tags": [
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: media_proxy Controller#Action media_proxy#show"
}
}
}
},
"/authorize_interaction": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: authorize_interaction Controller#Action authorize_interactions#show"
}
}
},
"post": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action authorize_interactions#create"
}
}
}
},
"/share": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: share Controller#Action shares#show"
}
}
},
"post": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action shares#create"
}
}
}
},
"/admin/dashboard": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_dashboard Controller#Action admin/dashboard#index"
}
}
}
},
"/admin/domain_allows": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_domain_allows Controller#Action admin/domain_allows#create"
}
}
}
},
"/admin/domain_allows/new": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_admin_domain_allow Controller#Action admin/domain_allows#new"
}
}
}
},
"/admin/domain_allows/{id}": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_domain_allow Controller#Action admin/domain_allows#show"
}
}
},
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/domain_allows#destroy"
}
}
}
},
"/admin/domain_blocks": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_domain_blocks Controller#Action admin/domain_blocks#create"
}
}
}
},
"/admin/domain_blocks/new": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_admin_domain_block Controller#Action admin/domain_blocks#new"
}
}
}
},
"/admin/domain_blocks/{id}/edit": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: edit_admin_domain_block Controller#Action admin/domain_blocks#edit"
}
}
}
},
"/admin/domain_blocks/{id}": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_domain_block Controller#Action admin/domain_blocks#show"
}
}
},
"put": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/domain_blocks#update"
}
}
},
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/domain_blocks#destroy"
}
}
},
"patch": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/domain_blocks#update"
}
}
}
},
"/admin/email_domain_blocks": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_email_domain_blocks Controller#Action admin/email_domain_blocks#index"
}
}
},
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/email_domain_blocks#create"
}
}
}
},
"/admin/email_domain_blocks/new": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_admin_email_domain_block Controller#Action admin/email_domain_blocks#new"
}
}
}
},
"/admin/email_domain_blocks/{id}": {
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_email_domain_block Controller#Action admin/email_domain_blocks#destroy"
}
}
}
},
"/admin/action_logs": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_action_logs Controller#Action admin/action_logs#index"
}
}
}
},
"/admin/warning_presets": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_warning_presets Controller#Action admin/warning_presets#index"
}
}
},
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/warning_presets#create"
}
}
}
},
"/admin/warning_presets/{id}/edit": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: edit_admin_warning_preset Controller#Action admin/warning_presets#edit"
}
}
}
},
"/admin/warning_presets/{id}": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_warning_preset Controller#Action admin/warning_presets#show"
}
}
},
"put": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/warning_presets#update"
}
}
},
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/warning_presets#destroy"
}
}
},
"patch": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/warning_presets#update"
}
}
}
},
"/admin/announcements/{id}/publish": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: publish_admin_announcement Controller#Action admin/announcements#publish"
}
}
}
},
"/admin/announcements/{id}/unpublish": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unpublish_admin_announcement Controller#Action admin/announcements#unpublish"
}
}
}
},
"/admin/announcements": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_announcements Controller#Action admin/announcements#index"
}
}
},
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/announcements#create"
}
}
}
},
"/admin/announcements/new": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_admin_announcement Controller#Action admin/announcements#new"
}
}
}
},
"/admin/announcements/{id}/edit": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: edit_admin_announcement Controller#Action admin/announcements#edit"
}
}
}
},
"/admin/announcements/{id}": {
"put": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/announcements#update"
}
}
},
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/announcements#destroy"
}
}
},
"patch": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_announcement Controller#Action admin/announcements#update"
}
}
}
},
"/admin/settings/edit": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: edit_admin_settings Controller#Action admin/settings#edit"
}
}
}
},
"/admin/settings": {
"put": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/settings#update"
}
}
},
"patch": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_settings Controller#Action admin/settings#update"
}
}
}
},
"/admin/site_uploads/{id}": {
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_site_upload Controller#Action admin/site_uploads#destroy"
}
}
}
},
"/admin/invites/deactivate_all": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: deactivate_all_admin_invites Controller#Action admin/invites#deactivate_all"
}
}
}
},
"/admin/invites": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_invites Controller#Action admin/invites#index"
}
}
},
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/invites#create"
}
}
}
},
"/admin/invites/{id}": {
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_invite Controller#Action admin/invites#destroy"
}
}
}
},
"/admin/relays/{id}/enable": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: enable_admin_relay Controller#Action admin/relays#enable"
}
}
}
},
"/admin/relays/{id}/disable": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: disable_admin_relay Controller#Action admin/relays#disable"
}
}
}
},
"/admin/relays": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_relays Controller#Action admin/relays#index"
}
}
},
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/relays#create"
}
}
}
},
"/admin/relays/new": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_admin_relay Controller#Action admin/relays#new"
}
}
}
},
"/admin/relays/{id}": {
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_relay Controller#Action admin/relays#destroy"
}
}
}
},
"/admin/instances/{id}/clear_delivery_errors": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: clear_delivery_errors_admin_instance Controller#Action admin/instances#clear_delivery_errors {:id=>/[^\\/]+/}"
}
}
}
},
"/admin/instances/{id}/restart_delivery": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: restart_delivery_admin_instance Controller#Action admin/instances#restart_delivery {:id=>/[^\\/]+/}"
}
}
}
},
"/admin/instances/{id}/stop_delivery": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: stop_delivery_admin_instance Controller#Action admin/instances#stop_delivery {:id=>/[^\\/]+/}"
}
}
}
},
"/admin/instances": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_instances Controller#Action admin/instances#index"
}
}
}
},
"/admin/instances/{id}": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_instance Controller#Action admin/instances#show {:id=>/[^\\/]+/}"
}
}
}
},
"/admin/rules": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_rules Controller#Action admin/rules#index"
}
}
},
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/rules#create"
}
}
}
},
"/admin/rules/new": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_admin_rule Controller#Action admin/rules#new"
}
}
}
},
"/admin/rules/{id}/edit": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: edit_admin_rule Controller#Action admin/rules#edit"
}
}
}
},
"/admin/rules/{id}": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_rule Controller#Action admin/rules#show"
}
}
},
"put": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/rules#update"
}
}
},
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/rules#destroy"
}
}
},
"patch": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/rules#update"
}
}
}
},
"/admin/reports/{id}/assign_to_self": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: assign_to_self_admin_report Controller#Action admin/reports#assign_to_self"
}
}
}
},
"/admin/reports/{id}/unassign": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unassign_admin_report Controller#Action admin/reports#unassign"
}
}
}
},
"/admin/reports/{id}/reopen": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: reopen_admin_report Controller#Action admin/reports#reopen"
}
}
}
},
"/admin/reports/{id}/resolve": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: resolve_admin_report Controller#Action admin/reports#resolve"
}
}
}
},
"/admin/reports/{report_id}/reported_statuses": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "report_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_report_reported_statuses Controller#Action admin/reported_statuses#create"
}
}
}
},
"/admin/reports": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_reports Controller#Action admin/reports#index"
}
}
}
},
"/admin/reports/{id}": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_report Controller#Action admin/reports#show"
}
}
}
},
"/admin/report_notes": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_report_notes Controller#Action admin/report_notes#create"
}
}
}
},
"/admin/report_notes/{id}": {
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_report_note Controller#Action admin/report_notes#destroy"
}
}
}
},
"/admin/accounts/{id}/enable": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: enable_admin_account Controller#Action admin/accounts#enable"
}
}
}
},
"/admin/accounts/{id}/unsensitive": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unsensitive_admin_account Controller#Action admin/accounts#unsensitive"
}
}
}
},
"/admin/accounts/{id}/unsilence": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unsilence_admin_account Controller#Action admin/accounts#unsilence"
}
}
}
},
"/admin/accounts/{id}/unsuspend": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unsuspend_admin_account Controller#Action admin/accounts#unsuspend"
}
}
}
},
"/admin/accounts/{id}/redownload": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: redownload_admin_account Controller#Action admin/accounts#redownload"
}
}
}
},
"/admin/accounts/{id}/remove_avatar": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: remove_avatar_admin_account Controller#Action admin/accounts#remove_avatar"
}
}
}
},
"/admin/accounts/{id}/remove_header": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: remove_header_admin_account Controller#Action admin/accounts#remove_header"
}
}
}
},
"/admin/accounts/{id}/memorialize": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: memorialize_admin_account Controller#Action admin/accounts#memorialize"
}
}
}
},
"/admin/accounts/{id}/approve": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: approve_admin_account Controller#Action admin/accounts#approve"
}
}
}
},
"/admin/accounts/{id}/reject": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: reject_admin_account Controller#Action admin/accounts#reject"
}
}
}
},
"/admin/accounts/{account_id}/change_email": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_account_change_email Controller#Action admin/change_emails#show"
}
}
},
"put": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/change_emails#update"
}
}
},
"patch": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/change_emails#update"
}
}
}
},
"/admin/accounts/{account_id}/reset": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_account_reset Controller#Action admin/resets#create"
}
}
}
},
"/admin/accounts/{account_id}/action/new": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: new_admin_account_action Controller#Action admin/account_actions#new"
}
}
}
},
"/admin/accounts/{account_id}/action": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_account_action Controller#Action admin/account_actions#create"
}
}
}
},
"/admin/accounts/{account_id}/statuses": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_account_statuses Controller#Action admin/statuses#index"
}
}
},
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/statuses#create"
}
}
}
},
"/admin/accounts/{account_id}/statuses/{id}": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
},
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_account_status Controller#Action admin/statuses#show"
}
}
},
"put": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
},
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/statuses#update"
}
}
},
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
},
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/statuses#destroy"
}
}
},
"patch": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
},
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/statuses#update"
}
}
}
},
"/admin/accounts/{account_id}/relationships": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_account_relationships Controller#Action admin/relationships#index"
}
}
}
},
"/admin/accounts/{account_id}/confirmation/resend": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: resend_admin_account_confirmation Controller#Action admin/confirmations#resend"
}
}
}
},
"/admin/accounts/{account_id}/confirmation": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_account_confirmation Controller#Action admin/confirmations#create"
}
}
}
},
"/admin/accounts/{account_id}/role/promote": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: promote_admin_account_role Controller#Action admin/roles#promote"
}
}
}
},
"/admin/accounts/{account_id}/role/demote": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: demote_admin_account_role Controller#Action admin/roles#demote"
}
}
}
},
"/admin/accounts": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_accounts Controller#Action admin/accounts#index"
}
}
}
},
"/admin/accounts/{id}": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_account Controller#Action admin/accounts#show"
}
}
},
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/accounts#destroy"
}
}
}
},
"/admin/pending_accounts/approve_all": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: approve_all_admin_pending_accounts Controller#Action admin/pending_accounts#approve_all"
}
}
}
},
"/admin/pending_accounts/reject_all": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: reject_all_admin_pending_accounts Controller#Action admin/pending_accounts#reject_all"
}
}
}
},
"/admin/pending_accounts/batch": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: batch_admin_pending_accounts Controller#Action admin/pending_accounts#batch"
}
}
}
},
"/admin/pending_accounts": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_pending_accounts Controller#Action admin/pending_accounts#index"
}
}
}
},
"/admin/users/{user_id}/two_factor_authentication": {
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "user_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_user_two_factor_authentication Controller#Action admin/two_factor_authentications#destroy"
}
}
}
},
"/admin/users/{user_id}/sign_in_token_authentication": {
"post": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "user_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/sign_in_token_authentications#create"
}
}
},
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "user_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_user_sign_in_token_authentication Controller#Action admin/sign_in_token_authentications#destroy"
}
}
}
},
"/admin/custom_emojis/batch": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: batch_admin_custom_emojis Controller#Action admin/custom_emojis#batch"
}
}
}
},
"/admin/custom_emojis": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_custom_emojis Controller#Action admin/custom_emojis#index"
}
}
},
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/custom_emojis#create"
}
}
}
},
"/admin/custom_emojis/new": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_admin_custom_emoji Controller#Action admin/custom_emojis#new"
}
}
}
},
"/admin/ip_blocks/batch": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: batch_admin_ip_blocks Controller#Action admin/ip_blocks#batch"
}
}
}
},
"/admin/ip_blocks": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_ip_blocks Controller#Action admin/ip_blocks#index"
}
}
},
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/ip_blocks#create"
}
}
}
},
"/admin/ip_blocks/new": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: new_admin_ip_block Controller#Action admin/ip_blocks#new"
}
}
}
},
"/admin/account_moderation_notes": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_account_moderation_notes Controller#Action admin/account_moderation_notes#create"
}
}
}
},
"/admin/account_moderation_notes/{id}": {
"delete": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_account_moderation_note Controller#Action admin/account_moderation_notes#destroy"
}
}
}
},
"/admin/follow_recommendations": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_follow_recommendations Controller#Action admin/follow_recommendations#show"
}
}
},
"put": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/follow_recommendations#update"
}
}
},
"patch": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/follow_recommendations#update"
}
}
}
},
"/admin/tags/approve_all": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: approve_all_admin_tags Controller#Action admin/tags#approve_all"
}
}
}
},
"/admin/tags/reject_all": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: reject_all_admin_tags Controller#Action admin/tags#reject_all"
}
}
}
},
"/admin/tags/batch": {
"post": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: batch_admin_tags Controller#Action admin/tags#batch"
}
}
}
},
"/admin/tags": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin_tags Controller#Action admin/tags#index"
}
}
}
},
"/admin/tags/{id}": {
"get": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: admin_tag Controller#Action admin/tags#show"
}
}
},
"put": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/tags#update"
}
}
},
"patch": {
"tags": [
"admin",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action admin/tags#update"
}
}
}
},
"/admin": {
"get": {
"tags": [
"admin",
"todo"
],
"responses": {
"200": {
"description": "Prefix: admin Controller#Action redirect(302, /admin/dashboard)"
}
}
}
},
"/api/oembed": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_oembed Controller#Action api/oembed#show"
}
}
}
},
"/api/proofs": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_proofs Controller#Action api/proofs#index"
}
}
}
},
"/api/v1/statuses/{status_id}/reblogged_by": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_reblogged_by_index Controller#Action api/v1/statuses/reblogged_by_accounts#index"
}
}
}
},
"/api/v1/statuses/{status_id}/favourited_by": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_favourited_by_index Controller#Action api/v1/statuses/favourited_by_accounts#index"
}
}
}
},
"/api/v1/statuses/{status_id}/reblog": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_reblog Controller#Action api/v1/statuses/reblogs#create"
}
}
}
},
"/api/v1/statuses/{status_id}/unreblog": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_unreblog Controller#Action api/v1/statuses/reblogs#destroy"
}
}
}
},
"/api/v1/statuses/{status_id}/favourite": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_favourite Controller#Action api/v1/statuses/favourites#create"
}
}
}
},
"/api/v1/statuses/{status_id}/unfavourite": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_unfavourite Controller#Action api/v1/statuses/favourites#destroy"
}
}
}
},
"/api/v1/statuses/{status_id}/bookmark": {
"post": {
"tags": [
"todo",
"api"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_bookmark Controller#Action api/v1/statuses/bookmarks#create"
}
}
}
},
"/api/v1/statuses/{status_id}/unbookmark": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_unbookmark Controller#Action api/v1/statuses/bookmarks#destroy"
}
}
}
},
"/api/v1/statuses/{status_id}/mute": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_mute Controller#Action api/v1/statuses/mutes#create"
}
}
}
},
"/api/v1/statuses/{status_id}/unmute": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_unmute Controller#Action api/v1/statuses/mutes#destroy"
}
}
}
},
"/api/v1/statuses/{status_id}/pin": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_pin Controller#Action api/v1/statuses/pins#create"
}
}
}
},
"/api/v1/statuses/{status_id}/unpin": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "status_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status_unpin Controller#Action api/v1/statuses/pins#destroy"
}
}
}
},
"/api/v1/statuses/{id}/context": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: context_api_v1_status Controller#Action api/v1/statuses#context"
}
}
}
},
"/api/v1/statuses": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_statuses Controller#Action api/v1/statuses#create"
}
}
}
},
"/api/v1/statuses/{id}": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_status Controller#Action api/v1/statuses#show"
}
}
},
"delete": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/statuses#destroy"
}
}
}
},
"/api/v1/timelines/home": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_timelines_home Controller#Action api/v1/timelines/home#show"
}
}
}
},
"/api/v1/timelines/public": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_timelines_public Controller#Action api/v1/timelines/public#show"
}
}
}
},
"/api/v1/timelines/tag/{id}": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_timelines_tag Controller#Action api/v1/timelines/tag#show"
}
}
}
},
"/api/v1/timelines/list/{id}": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_timelines_list Controller#Action api/v1/timelines/list#show"
}
}
}
},
"/api/v1/streaming": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_streaming_index Controller#Action api/v1/streaming#index"
}
}
}
},
"/api/v1/custom_emojis": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_custom_emojis Controller#Action api/v1/custom_emojis#index"
}
}
}
},
"/api/v1/suggestions": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_suggestions Controller#Action api/v1/suggestions#index"
}
}
}
},
"/api/v1/suggestions/{id}": {
"delete": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_suggestion Controller#Action api/v1/suggestions#destroy"
}
}
}
},
"/api/v1/scheduled_statuses": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_scheduled_statuses Controller#Action api/v1/scheduled_statuses#index"
}
}
}
},
"/api/v1/scheduled_statuses/{id}": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_scheduled_status Controller#Action api/v1/scheduled_statuses#show"
}
}
},
"put": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/scheduled_statuses#update"
}
}
},
"delete": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/scheduled_statuses#destroy"
}
}
},
"patch": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/scheduled_statuses#update"
}
}
}
},
"/api/v1/preferences": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_preferences Controller#Action api/v1/preferences#index"
}
}
}
},
"/api/v1/announcements/{announcement_id}/reactions/{id}": {
"put": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "announcement_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
},
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/announcements/reactions#update"
}
}
},
"delete": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "announcement_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
},
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/announcements/reactions#destroy"
}
}
},
"patch": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "announcement_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
},
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_announcement_reaction Controller#Action api/v1/announcements/reactions#update"
}
}
}
},
"/api/v1/announcements/{id}/dismiss": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: dismiss_api_v1_announcement Controller#Action api/v1/announcements#dismiss"
}
}
}
},
"/api/v1/announcements": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_announcements Controller#Action api/v1/announcements#index"
}
}
}
},
"/api/v1/conversations/{id}/read": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: read_api_v1_conversation Controller#Action api/v1/conversations#read"
}
}
}
},
"/api/v1/conversations": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_conversations Controller#Action api/v1/conversations#index"
}
}
}
},
"/api/v1/conversations/{id}": {
"delete": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_conversation Controller#Action api/v1/conversations#destroy"
}
}
}
},
"/api/v1/media": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_media Controller#Action api/v1/media#create"
}
}
}
},
"/api/v1/media/{id}": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_medium Controller#Action api/v1/media#show"
}
}
},
"put": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/media#update"
}
}
},
"patch": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/media#update"
}
}
}
},
"/api/v1/blocks": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_blocks Controller#Action api/v1/blocks#index"
}
}
}
},
"/api/v1/mutes": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_mutes Controller#Action api/v1/mutes#index"
}
}
}
},
"/api/v1/favourites": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_favourites Controller#Action api/v1/favourites#index"
}
}
}
},
"/api/v1/bookmarks": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_bookmarks Controller#Action api/v1/bookmarks#index"
}
}
}
},
"/api/v1/reports": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_reports Controller#Action api/v1/reports#create"
}
}
}
},
"/api/v1/trends": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_trends Controller#Action api/v1/trends#index"
}
}
}
},
"/api/v1/filters": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_filters Controller#Action api/v1/filters#index"
}
}
},
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/filters#create"
}
}
}
},
"/api/v1/filters/{id}": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_filter Controller#Action api/v1/filters#show"
}
}
},
"put": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/filters#update"
}
}
},
"delete": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/filters#destroy"
}
}
},
"patch": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/filters#update"
}
}
}
},
"/api/v1/endorsements": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_endorsements Controller#Action api/v1/endorsements#index"
}
}
}
},
"/api/v1/markers": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_markers Controller#Action api/v1/markers#index"
}
}
},
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/markers#create"
}
}
}
},
"/api/v1/apps/verify_credentials": {
"get": {
"tags": [
"api"
],
"description": "Confirm that the app's OAuth2 credentials work.",
"responses": {
"200": {
"description": "If the Authorization header was provided with a valid token, you should see your app returned as an Application entity.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inline_response_200_2"
}
}
}
},
"401": {
"description": "If the Authorization header contains an invalid token, is malformed, or is not present, an error will be returned indicating an authorization failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inline_response_401"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/v1/apps": {
"post": {
"tags": [
"api"
],
"requestBody": {
"content": {
"application/form-data": {
"schema": {
"$ref": "#/components/schemas/v1_apps_body"
},
"example": {
"client_id": "3N5yVaa_d8TJozehuHAHGXrgAWQstWb1W03efWoDNsM",
"client_secret": "Hl6FKbQZ2BE4T2i-MqKVRvEqqzzidsy-h9K3612VFyY",
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob",
"grant_type": "client_credentials"
}
}
}
},
"responses": {
"200": {
"description": "Prefix: api_v1_apps Controller#Action api/v1/apps#create",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inline_response_200_3"
}
}
}
}
}
}
},
"/api/v1/emails/confirmations": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_emails_confirmations Controller#Action api/v1/emails/confirmations#create"
}
}
}
},
"/api/v1/instance/peers": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_instance_peers Controller#Action api/v1/instances/peers#index"
}
}
}
},
"/api/v1/instance/activity": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_instance_activity Controller#Action api/v1/instances/activity#show"
}
}
}
},
"/api/v1/instance/rules": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_instance_rules Controller#Action api/v1/instances/rules#index"
}
}
}
},
"/api/v1/instance": {
"get": {
"tags": [
"api"
],
"responses": {
"200": {
"description": "Prefix: api_v1_instance Controller#Action api/v1/instances#show"
}
}
}
},
"/api/v1/domain_blocks": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_domain_blocks Controller#Action api/v1/domain_blocks#show"
}
}
},
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/domain_blocks#create"
}
}
},
"delete": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/domain_blocks#destroy"
}
}
}
},
"/api/v1/directory": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_directory Controller#Action api/v1/directories#show"
}
}
}
},
"/api/v1/follow_requests/{id}/authorize": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: authorize_api_v1_follow_request Controller#Action api/v1/follow_requests#authorize"
}
}
}
},
"/api/v1/follow_requests/{id}/reject": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: reject_api_v1_follow_request Controller#Action api/v1/follow_requests#reject"
}
}
}
},
"/api/v1/follow_requests": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_follow_requests Controller#Action api/v1/follow_requests#index"
}
}
}
},
"/api/v1/notifications/clear": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: clear_api_v1_notifications Controller#Action api/v1/notifications#clear"
}
}
}
},
"/api/v1/notifications/{id}/dismiss": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: dismiss_api_v1_notification Controller#Action api/v1/notifications#dismiss"
}
}
}
},
"/api/v1/notifications": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_notifications Controller#Action api/v1/notifications#index"
}
}
}
},
"/api/v1/notifications/{id}": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_notification Controller#Action api/v1/notifications#show"
}
}
}
},
"/api/v1/accounts/verify_credentials": {
"get": {
"tags": [
"api"
],
"description": "Test to make sure that the user token works.",
"responses": {
"200": {
"description": "Note the extra source property, which is not visible on accounts other than your own. Also note that plain-text is used within source and HTML is used for their corresponding properties such as note and fields.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AccountSerializer"
},
"example": {
"id": "14715",
"username": "trwnh",
"acct": "trwnh",
"display_name": "infinite love ⴳ",
"locked": false,
"bot": false,
"created_at": "2016-11-24T10:02:12.085Z",
"note": "<p>i have approximate knowledge of many things. perpetual student. (nb/ace/they)</p><p>xmpp/email: a@trwnh.com<br /><a href=\"https://trwnh.com\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">trwnh.com</span><span class=\"invisible\"></span></a><br />help me live: <a href=\"https://liberapay.com/at\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">liberapay.com/at</span><span class=\"invisible\"></span></a> or <a href=\"https://paypal.me/trwnh\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">paypal.me/trwnh</span><span class=\"invisible\"></span></a></p><p>- my triggers are moths and glitter<br />- i have all notifs except mentions turned off, so please interact if you wanna be friends! i literally will not notice otherwise<br />- dm me if i did something wrong, so i can improve<br />- purest person on fedi, do not lewd in my presence<br />- #1 ami cole fan account</p><p>:fatyoshi:</p>",
"url": "https://mastodon.social/@trwnh",
"avatar": "https://files.mastodon.social/accounts/avatars/000/014/715/original/34aa222f4ae2e0a9.png",
"avatar_static": "https://files.mastodon.social/accounts/avatars/000/014/715/original/34aa222f4ae2e0a9.png",
"header": "https://files.mastodon.social/accounts/headers/000/014/715/original/5c6fc24edb3bb873.jpg",
"header_static": "https://files.mastodon.social/accounts/headers/000/014/715/original/5c6fc24edb3bb873.jpg",
"followers_count": 821,
"following_count": 178,
"statuses_count": 33120,
"last_status_at": "2019-11-24T15:49:42.251Z",
"source": {
"privacy": "public",
"sensitive": false,
"language": "",
"note": "i have approximate knowledge of many things. perpetual student. (nb/ace/they)\r\n\r\nxmpp/email: a@trwnh.com\r\nhttps://trwnh.com\r\nhelp me live: https://liberapay.com/at or https://paypal.me/trwnh\r\n\r\n- my triggers are moths and glitter\r\n- i have all notifs except mentions turned off, so please interact if you wanna be friends! i literally will not notice otherwise\r\n- dm me if i did something wrong, so i can improve\r\n- purest person on fedi, do not lewd in my presence\r\n- #1 ami cole fan account\r\n\r\n:fatyoshi:",
"fields": [
{
"name": "Website",
"value": "https://trwnh.com",
"verified_at": "2019-08-29T04:14:55.571+00:00"
},
{
"name": "Sponsor",
"value": "https://liberapay.com/at",
"verified_at": "2019-11-15T10:06:15.557+00:00"
},
{
"name": "Fan of:",
"value": "Punk-rock and post-hardcore (Circa Survive, letlive., La Dispute, THE FEVER 333)Manga (Yu-Gi-Oh!, One Piece, JoJo's Bizarre Adventure, Death Note, Shaman King)Platformers and RPGs (Banjo-Kazooie, Boktai, Final Fantasy Crystal Chronicles)"
},
{
"name": "Main topics:",
"value": "systemic analysis, design patterns, anticapitalism, info/tech freedom, theory and philosophy, and otherwise being a genuine and decent wholesome poster. i'm just here to hang out and talk to cool people!"
}
],
"follow_requests_count": 0
},
"emojis": [
{
"shortcode": "fatyoshi",
"url": "https://files.mastodon.social/custom_emojis/images/000/023/920/original/e57ecb623faa0dc9.png",
"static_url": "https://files.mastodon.social/custom_emojis/images/000/023/920/static/e57ecb623faa0dc9.png",
"visible_in_picker": true
}
],
"fields": [
{
"name": "Website",
"value": "<a href=\"https://trwnh.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">trwnh.com</span><span class=\"invisible\"></span></a>",
"verified_at": "2019-08-29T04:14:55.571+00:00"
},
{
"name": "Sponsor",
"value": "<a href=\"https://liberapay.com/at\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">liberapay.com/at</span><span class=\"invisible\"></span></a>",
"verified_at": "2019-11-15T10:06:15.557+00:00"
},
{
"name": "Fan of:",
"value": "Punk-rock and post-hardcore (Circa Survive, letlive., La Dispute, THE FEVER 333)Manga (Yu-Gi-Oh!, One Piece, JoJo&apos;s Bizarre Adventure, Death Note, Shaman King)Platformers and RPGs (Banjo-Kazooie, Boktai, Final Fantasy Crystal Chronicles)"
},
{
"name": "Main topics:",
"value": "systemic analysis, design patterns, anticapitalism, info/tech freedom, theory and philosophy, and otherwise being a genuine and decent wholesome poster. i&apos;m just here to hang out and talk to cool people!"
}
]
}
}
}
},
"401": {
"description": "Your credential verification will fail if the token is invalid or incorrect.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inline_response_401"
}
}
}
},
"403": {
"description": "Your user account is currently disabled, missing a confirmed email address, or pending approval.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inline_response_403"
},
"examples": {
"Desabled account": {
"value": {
"error": "Your login is currently disabled"
}
},
"Unconfirmed account": {
"value": {
"error": "Your login is missing a confirmed e-mail address"
}
},
"Pending approval": {
"value": {
"error": "Your login is currently pending approval"
}
}
}
}
}
},
"422": {
"description": "Unprocessable Entity",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inline_response_422"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/v1/accounts/update_credentials": {
"patch": {
"tags": [
"api"
],
"description": "Update the user's display and preferences.",
"requestBody": {
"content": {
"application/form-data": {
"schema": {
"$ref": "#/components/schemas/user_settings"
}
}
}
},
"responses": {
"200": {
"description": "You should use accounts/verify_credentials to first obtain plaintext representations from within the source parameter, then allow the user to edit these plaintext representations before submitting them through this API. The server will generate the corresponding HTML.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AccountSerializer"
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inline_response_401"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/v1/accounts/search": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_accounts_search Controller#Action api/v1/accounts/search#show"
}
}
}
},
"/api/v1/accounts/lookup": {
"get": {
"tags": [
"api"
],
"responses": {
"200": {
"description": "Prefix: api_v1_accounts_lookup Controller#Action api/v1/accounts/lookup#show"
}
}
}
},
"/api/v1/accounts/relationships": {
"get": {
"tags": [
"api"
],
"responses": {
"200": {
"description": "Prefix: api_v1_accounts_relationships Controller#Action api/v1/accounts/relationships#index"
}
}
}
},
"/api/v1/accounts/{id}/statuses": {
"get": {
"tags": [
"api",
"todo"
],
"description": "Statuses posted to the given account.",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the account in the database",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_account_statuses Controller#Action api/v1/accounts/statuses#index",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StatusSerializer"
}
},
"example": [
{
"id": "107170686145614323",
"created_at": "2021-10-27T00:34:53.641Z",
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": "en",
"uri": "http://mastodon.local/users/testuser/statuses/107170686145614323",
"url": "http://mastodon.local/@testuser/107170686145614323",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "<p>test #2</p>",
"application": {
"name": "Web"
},
"account": {
"id": "107165126327986458",
"username": "testuser",
"acct": "testuser",
"display_name": "",
"locked": false,
"bot": false,
"group": false,
"created_at": "2021-10-26T00:00:00.000Z",
"note": "<p></p>",
"url": "http://mastodon.local/@testuser",
"avatar": "http://mastodon.local/avatars/original/missing.png",
"avatar_static": "http://mastodon.local/avatars/original/missing.png",
"header": "http://mastodon.local/headers/original/missing.png",
"header_static": "http://mastodon.local/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 2,
"last_status_at": "2021-10-27",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": []
},
{
"id": "107170680758911005",
"created_at": "2021-10-27T00:33:31.552Z",
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": "en",
"uri": "http://mastodon.local/users/testuser/statuses/107170680758911005",
"url": "http://mastodon.local/@testuser/107170680758911005",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "<p>Creating a test status</p>",
"application": {
"name": "Web"
},
"account": {
"id": "107165126327986458",
"username": "testuser",
"acct": "testuser",
"display_name": "",
"locked": false,
"bot": false,
"group": false,
"created_at": "2021-10-26T00:00:00.000Z",
"note": "<p></p>",
"url": "http://mastodon.local/@testuser",
"avatar": "http://mastodon.local/avatars/original/missing.png",
"avatar_static": "http://mastodon.local/avatars/original/missing.png",
"header": "http://mastodon.local/headers/original/missing.png",
"header_static": "http://mastodon.local/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 2,
"last_status_at": "2021-10-27",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [],
"tags": [],
"emojis": []
}
]
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/v1/accounts/{id}/followers": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the account in the database",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
},
{
"name": "max_id",
"in": "query",
"description": "Internal parameter. Use HTTP Link header for pagination.",
"required": false,
"style": "form",
"explode": true,
"schema": {
"type": "string"
}
},
{
"name": "since_id",
"in": "query",
"description": "Internal parameter. Use HTTP Link header for pagination.",
"required": false,
"style": "form",
"explode": true,
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"description": "Maximum number of results to return. Defaults to 40.",
"required": false,
"style": "form",
"explode": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_account_followers Controller#Action api/v1/accounts/follower_accounts#index"
}
}
}
},
"/api/v1/accounts/{account_id}/following": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_account_following_index Controller#Action api/v1/accounts/following_accounts#index"
}
}
}
},
"/api/v1/accounts/{account_id}/lists": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_account_lists Controller#Action api/v1/accounts/lists#index"
}
}
}
},
"/api/v1/accounts/{account_id}/identity_proofs": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_account_identity_proofs Controller#Action api/v1/accounts/identity_proofs#index"
}
}
}
},
"/api/v1/accounts/{account_id}/featured_tags": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_account_featured_tags Controller#Action api/v1/accounts/featured_tags#index"
}
}
}
},
"/api/v1/accounts/{id}/follow": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: follow_api_v1_account Controller#Action api/v1/accounts#follow"
}
}
}
},
"/api/v1/accounts/{id}/unfollow": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unfollow_api_v1_account Controller#Action api/v1/accounts#unfollow"
}
}
}
},
"/api/v1/accounts/{id}/remove_from_followers": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: remove_from_followers_api_v1_account Controller#Action api/v1/accounts#remove_from_followers"
}
}
}
},
"/api/v1/accounts/{id}/block": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: block_api_v1_account Controller#Action api/v1/accounts#block"
}
}
}
},
"/api/v1/accounts/{id}/unblock": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unblock_api_v1_account Controller#Action api/v1/accounts#unblock"
}
}
}
},
"/api/v1/accounts/{id}/mute": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: mute_api_v1_account Controller#Action api/v1/accounts#mute"
}
}
}
},
"/api/v1/accounts/{id}/unmute": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unmute_api_v1_account Controller#Action api/v1/accounts#unmute"
}
}
}
},
"/api/v1/accounts/{account_id}/pin": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_account_pin Controller#Action api/v1/accounts/pins#create"
}
}
}
},
"/api/v1/accounts/{account_id}/unpin": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_account_unpin Controller#Action api/v1/accounts/pins#destroy"
}
}
}
},
"/api/v1/accounts/{account_id}/note": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_account_note Controller#Action api/v1/accounts/notes#create"
}
}
}
},
"/api/v1/accounts": {
"post": {
"tags": [
"api"
],
"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.",
"requestBody": {
"content": {
"application/form-data": {
"schema": {
"$ref": "#/components/schemas/v1_accounts_body"
}
}
}
},
"responses": {
"200": {
"description": "Prefix: api_v1_accounts Controller#Action api/v1/accounts#create"
},
"401": {
"description": "Authorization failed",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inline_response_401_1"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/v1/accounts/{id}": {
"description": "View information about a profile.",
"get": {
"tags": [
"api"
],
"description": "View information about a profile.",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the account in the database",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Account record will be returned. Note that acct of local users does not include the domain name.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AccountSerializer"
},
"examples": {
"local user": {
"value": {
"id": "1",
"username": "Gargron",
"acct": "Gargron",
"display_name": "Eugen",
"locked": false,
"bot": false,
"created_at": "2016-03-16T14:34:26.392Z",
"note": "<p>Developer of Mastodon and administrator of mastodon.social. I post service announcements, development updates, and personal stuff.</p>",
"url": "https://mastodon.social/@Gargron",
"avatar": "https://files.mastodon.social/accounts/avatars/000/000/001/original/d96d39a0abb45b92.jpg",
"avatar_static": "https://files.mastodon.social/accounts/avatars/000/000/001/original/d96d39a0abb45b92.jpg",
"header": "https://files.mastodon.social/accounts/headers/000/000/001/original/c91b871f294ea63e.png",
"header_static": "https://files.mastodon.social/accounts/headers/000/000/001/original/c91b871f294ea63e.png",
"followers_count": 318699,
"following_count": 453,
"statuses_count": 61013,
"last_status_at": "2019-11-30T20:02:08.277Z",
"emojis": [],
"fields": [
{
"name": "Patreon",
"value": "<a href=\"https://www.patreon.com/mastodon\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://www.</span><span class=\"\">patreon.com/mastodon</span><span class=\"invisible\"></span></a>"
},
{
"name": "Homepage",
"value": "<a href=\"https://zeonfederated.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">zeonfederated.com</span><span class=\"invisible\"></span></a>",
"verified_at": "2019-07-15T18:29:57.191+00:00"
}
]
}
},
"remote user": {
"value": {
"id": "23634",
"username": "noiob",
"acct": "noiob@awoo.space",
"display_name": "shork",
"locked": false,
"bot": false,
"created_at": "2017-02-08T02:00:53.274Z",
"note": "<p>:ms_rainbow_flag: :ms_bisexual_flag: :ms_nonbinary_flag: <a href=\"https://awoo.space/tags/awoo\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>awoo</span></a>.space <a href=\"https://awoo.space/tags/admin\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>admin</span></a> ~ <a href=\"https://awoo.space/tags/bi\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>bi</span></a> ~ <a href=\"https://awoo.space/tags/nonbinary\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>nonbinary</span></a> ~ compsci student ~ likes video <a href=\"https://awoo.space/tags/games\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>games</span></a> and weird/ old electronics and will post obsessively about both ~ avatar by <span class=\"h-card\"><a href=\"https://weirder.earth/@dzuk\" class=\"u-url mention\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">@<span>dzuk</span></a></span></p>",
"url": "https://awoo.space/@noiob",
"avatar": "https://files.mastodon.social/accounts/avatars/000/023/634/original/6ca8804dc46800ad.png",
"avatar_static": "https://files.mastodon.social/accounts/avatars/000/023/634/original/6ca8804dc46800ad.png",
"header": "https://files.mastodon.social/accounts/headers/000/023/634/original/256eb8d7ac40f49a.png",
"header_static": "https://files.mastodon.social/accounts/headers/000/023/634/original/256eb8d7ac40f49a.png",
"followers_count": 553,
"following_count": 405,
"statuses_count": 28982,
"last_status_at": "2019-12-01T00:39:57.264Z",
"emojis": [
{
"shortcode": "ms_rainbow_flag",
"url": "https://files.mastodon.social/custom_emojis/images/000/028/691/original/6de008d6281f4f59.png",
"static_url": "https://files.mastodon.social/custom_emojis/images/000/028/691/static/6de008d6281f4f59.png",
"visible_in_picker": true
},
{
"shortcode": "ms_bisexual_flag",
"url": "https://files.mastodon.social/custom_emojis/images/000/050/744/original/02f94a5fca7eaf78.png",
"static_url": "https://files.mastodon.social/custom_emojis/images/000/050/744/static/02f94a5fca7eaf78.png",
"visible_in_picker": true
},
{
"shortcode": "ms_nonbinary_flag",
"url": "https://files.mastodon.social/custom_emojis/images/000/105/099/original/8106088bd4782072.png",
"static_url": "https://files.mastodon.social/custom_emojis/images/000/105/099/static/8106088bd4782072.png",
"visible_in_picker": true
}
],
"fields": [
{
"name": "Pronouns",
"value": "they/them"
},
{
"name": "Alt",
"value": "<span class=\"h-card\"><a href=\"https://cybre.space/@noiob\" class=\"u-url mention\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">@<span>noiob</span></a></span>"
},
{
"name": "Bots",
"value": "<span class=\"h-card\"><a href=\"https://botsin.space/@darksouls\" class=\"u-url mention\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">@<span>darksouls</span></a></span>, <span class=\"h-card\"><a href=\"https://botsin.space/@nierautomata\" class=\"u-url mention\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">@<span>nierautomata</span></a></span>, code for <span class=\"h-card\"><a href=\"https://botsin.space/@awoobot\" class=\"u-url mention\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">@<span>awoobot</span></a></span>"
},
{
"name": "Website",
"value": "<a href=\"http://shork.xyz\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">http://</span><span class=\"\">shork.xyz</span><span class=\"invisible\"></span></a>",
"verified_at": "2019-11-23T20:25:47.907+00:00"
}
]
}
},
"suspended user": {
"value": {
"id": "14",
"username": "stigatle",
"acct": "stigatle@quitter.no",
"display_name": "",
"locked": false,
"bot": false,
"discoverable": false,
"group": false,
"created_at": "2016-03-18T10:04:51.700Z",
"note": "",
"url": "https://quitter.no/stigatle",
"avatar": "https://mastodon.social/avatars/original/missing.png",
"avatar_static": "https://mastodon.social/avatars/original/missing.png",
"header": "https://mastodon.social/headers/original/missing.png",
"header_static": "https://mastodon.social/headers/original/missing.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 0,
"suspended": true,
"emojis": [],
"fields": []
}
}
}
}
}
},
"401": {
"description": "If the instance is in whitelist mode and the Authorization header is missing or invalid",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inline_response_401_2"
}
}
}
},
"404": {
"description": "Account does not exist",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/inline_response_404"
}
}
}
},
"410": {
"description": "Account is suspended"
}
}
}
},
"/api/v1/lists/{list_id}/accounts": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "list_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_list_accounts Controller#Action api/v1/lists/accounts#show"
}
}
},
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "list_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/lists/accounts#create"
}
}
},
"delete": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "list_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/lists/accounts#destroy"
}
}
}
},
"/api/v1/lists": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_lists Controller#Action api/v1/lists#index"
}
}
},
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/lists#create"
}
}
}
},
"/api/v1/lists/{id}": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_list Controller#Action api/v1/lists#show"
}
}
},
"put": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/lists#update"
}
}
},
"delete": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/lists#destroy"
}
}
},
"patch": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/lists#update"
}
}
}
},
"/api/v1/featured_tags/suggestions": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_featured_tags_suggestions Controller#Action api/v1/featured_tags/suggestions#index"
}
}
}
},
"/api/v1/featured_tags": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_featured_tags Controller#Action api/v1/featured_tags#index"
}
}
},
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/featured_tags#create"
}
}
}
},
"/api/v1/featured_tags/{id}": {
"delete": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_featured_tag Controller#Action api/v1/featured_tags#destroy"
}
}
}
},
"/api/v1/polls/{poll_id}/votes": {
"post": {
"tags": [
"todo",
"api"
],
"parameters": [
{
"name": "poll_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_poll_votes Controller#Action api/v1/polls/votes#create"
}
}
}
},
"/api/v1/polls": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_polls Controller#Action api/v1/polls#create"
}
}
}
},
"/api/v1/polls/{id}": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_poll Controller#Action api/v1/polls#show"
}
}
}
},
"/api/v1/push/subscription": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_push_subscription Controller#Action api/v1/push/subscriptions#show"
}
}
},
"put": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/push/subscriptions#update"
}
}
},
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/push/subscriptions#create"
}
}
},
"delete": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/push/subscriptions#destroy"
}
}
},
"patch": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/push/subscriptions#update"
}
}
}
},
"/api/v1/admin/accounts/{id}/enable": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: enable_api_v1_admin_account Controller#Action api/v1/admin/accounts#enable"
}
}
}
},
"/api/v1/admin/accounts/{id}/unsensitive": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unsensitive_api_v1_admin_account Controller#Action api/v1/admin/accounts#unsensitive"
}
}
}
},
"/api/v1/admin/accounts/{id}/unsilence": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unsilence_api_v1_admin_account Controller#Action api/v1/admin/accounts#unsilence"
}
}
}
},
"/api/v1/admin/accounts/{id}/unsuspend": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unsuspend_api_v1_admin_account Controller#Action api/v1/admin/accounts#unsuspend"
}
}
}
},
"/api/v1/admin/accounts/{id}/approve": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: approve_api_v1_admin_account Controller#Action api/v1/admin/accounts#approve"
}
}
}
},
"/api/v1/admin/accounts/{id}/reject": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: reject_api_v1_admin_account Controller#Action api/v1/admin/accounts#reject"
}
}
}
},
"/api/v1/admin/accounts/{account_id}/action": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "account_id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_admin_account_action Controller#Action api/v1/admin/account_actions#create"
}
}
}
},
"/api/v1/admin/accounts": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_admin_accounts Controller#Action api/v1/admin/accounts#index"
}
}
}
},
"/api/v1/admin/accounts/{id}": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_admin_account Controller#Action api/v1/admin/accounts#show"
}
}
},
"delete": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/v1/admin/accounts#destroy"
}
}
}
},
"/api/v1/admin/reports/{id}/assign_to_self": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: assign_to_self_api_v1_admin_report Controller#Action api/v1/admin/reports#assign_to_self"
}
}
}
},
"/api/v1/admin/reports/{id}/unassign": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: unassign_api_v1_admin_report Controller#Action api/v1/admin/reports#unassign"
}
}
}
},
"/api/v1/admin/reports/{id}/reopen": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: reopen_api_v1_admin_report Controller#Action api/v1/admin/reports#reopen"
}
}
}
},
"/api/v1/admin/reports/{id}/resolve": {
"post": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: resolve_api_v1_admin_report Controller#Action api/v1/admin/reports#resolve"
}
}
}
},
"/api/v1/admin/reports": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_admin_reports Controller#Action api/v1/admin/reports#index"
}
}
}
},
"/api/v1/admin/reports/{id}": {
"get": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_v1_admin_report Controller#Action api/v1/admin/reports#show"
}
}
}
},
"/api/v1/admin/trends": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_admin_trends Controller#Action api/v1/admin/trends#index"
}
}
}
},
"/api/v1/admin/measures": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_admin_measures Controller#Action api/v1/admin/measures#create"
}
}
}
},
"/api/v1/admin/dimensions": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_admin_dimensions Controller#Action api/v1/admin/dimensions#create"
}
}
}
},
"/api/v1/admin/retention": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v1_admin_retention Controller#Action api/v1/admin/retention#create"
}
}
}
},
"/api/v2/media": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v2_media Controller#Action api/v2/media#create"
}
}
}
},
"/api/v2/search": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v2_search Controller#Action api/v2/search#index"
}
}
}
},
"/api/v2/suggestions": {
"get": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_v2_suggestions Controller#Action api/v2/suggestions#index"
}
}
}
},
"/api/web/settings": {
"put": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: Controller#Action api/web/settings#update"
}
}
},
"patch": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_web_settings Controller#Action api/web/settings#update"
}
}
}
},
"/api/web/embed": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_web_embed Controller#Action api/web/embeds#create"
}
}
}
},
"/api/web/push_subscriptions/{id}": {
"put": {
"tags": [
"api",
"todo"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Prefix: api_web_push_subscription Controller#Action api/web/push_subscriptions#update"
}
}
}
},
"/api/web/push_subscriptions": {
"post": {
"tags": [
"api",
"todo"
],
"responses": {
"200": {
"description": "Prefix: api_web_push_subscriptions Controller#Action api/web/push_subscriptions#create"
}
}
}
},
"/web(/*any)": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: web Controller#Action home#index"
}
}
}
},
"/about": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: about Controller#Action about#show"
}
}
}
},
"/about/more": {
"get": {
"responses": {
"200": {
"description": "Prefix: about_more Controller#Action about#more"
}
}
}
},
"/terms": {
"get": {
"tags": [
"todo"
],
"responses": {
"200": {
"description": "Prefix: terms Controller#Action about#terms"
}
}
}
}
},
"components": {
"schemas": {
"Link": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"description": "A string representing the link's relation type"
},
"type": {
"type": "string",
"description": "Content type"
},
"href": {
"type": "string",
"description": "A string representing the link's target URI"
}
},
"example": {
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html",
"href": "https://hostux.social/@someuser"
}
},
"WellKnownNodeInfo": {
"type": "object",
"properties": {
"links": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Link"
}
}
},
"example": {
"links": [
{
"rel": "http://nodeinfo.diaspora.software/ns/schema/2.0",
"href": "https://hostux.social/nodeinfo/2.0"
}
]
}
},
"WebFinger": {
"required": [
"aliases",
"links",
"properties",
"subject"
],
"type": "object",
"properties": {
"subject": {
"pattern": "^acct:[0-9a-zA-Z._-]+@[0-9a-zA-Z._-]+$",
"type": "string",
"description": "A URI that identifies the entity that the JRD describes."
},
"aliases": {
"type": "array",
"description": "An array of zero or more URI strings that identify the same entity as the \\\"subject\\\" URI.",
"items": {
"type": "string"
}
},
"links": {
"type": "array",
"description": "any number of member objects, each of which represents a link.",
"items": {
"$ref": "#/components/schemas/Link"
}
}
},
"description": "Mastodon's implementation of the RFC 7033(WebFinger) https://datatracker.ietf.org/doc/html/rfc7033#section-4",
"example": {
"subject": "acct:someuser@hostux.social",
"aliases": [
"https://hostux.social/@someuser",
"https://hostux.social/users/someuser"
],
"links": [
{
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html",
"href": "https://hostux.social/@someuser"
},
{
"rel": "self",
"type": "application/activity+json",
"href": "https://hostux.social/users/someuser"
},
{
"rel": "http://ostatus.org/schema/1.0/subscribe",
"template": "https://hostux.social/authorize_interaction?uri={uri}"
}
]
}
},
"KeybaseProofConfig": {
"type": "object",
"properties": {
"version": {
"type": "integer"
},
"domain": {
"type": "string"
},
"display_name": {
"type": "string"
},
"username": {
"$ref": "#/components/schemas/KeybaseProofConfig_username"
},
"brand_color": {
"type": "string",
"enum": [
"#282c37"
]
},
"logo": {
"$ref": "#/components/schemas/KeybaseProofConfig_logo"
},
"description": {
"type": "string",
"description": "Site short description from settings or about mastodon html from about"
},
"prefill_url": {
"type": "string"
},
"profile_url": {
"type": "string"
},
"check_url": {
"type": "string"
},
"check_path": {
"type": "array",
"items": {
"type": "string",
"enum": [
"signatures"
]
}
},
"avatar_path": {
"type": "array",
"items": {
"type": "string",
"enum": [
"avatar"
]
}
},
"contact": {
"type": "string",
"description": "Site contact email or \\\"unknown\\\"",
"format": "email"
}
},
"example": {
"version": 1,
"domain": "hostux.social",
"display_name": "Hostux.social",
"username": {
"min": 1,
"max": 30,
"re": "[a-z0-9_]+([a-z0-9_.-]+[a-z0-9_]+)?"
},
"brand_color": "#282c37",
"logo": {
"svg_black": "https://hostux.social/packs/media/images/logo_transparent_black-06693e3c4efed59096243b4c3912977b.svg",
"svg_white": "https://hostux.social/packs/media/images/logo_transparent_white-2c6cf5e48945c4b38dcf8987f7919c20.svg",
"svg_full": "https://hostux.social/packs/media/images/logo-33a0fb4c065a0ccb90b51fcfdea6b3cf.svg",
"svg_full_darkmode": "https://hostux.social/packs/media/images/logo-33a0fb4c065a0ccb90b51fcfdea6b3cf.svg"
},
"description": "This service is offered by alarig.\r\nBeer, privacy and free software lovers. Join us!",
"prefill_url": "https://hostux.social/settings/identity_proofs/new?provider=keybase&provider_username=%{kb_username}&token=%{sig_hash}&user_agent=%{kb_ua}&username=%{username}",
"profile_url": "https://hostux.social/@%{username}",
"check_url": "https://hostux.social/api/proofs?provider=keybase&username=%{username}",
"check_path": [
"signatures"
],
"avatar_path": [
"avatar"
],
"contact": [
"contact@hostux.social"
]
}
},
"NodeInfo": {
"required": [
"protocols",
"software",
"usage",
"version"
],
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "The schema version, must be 2.0.",
"enum": [
"2.0"
]
},
"software": {
"$ref": "#/components/schemas/NodeInfo_software"
},
"protocols": {
"minItems": 1,
"type": "array",
"description": "The protocols supported on this server.",
"items": {
"type": "string",
"enum": [
"activitypub",
"buddycloud",
"dfrn",
"diaspora",
"libertree",
"ostatus",
"pumpio",
"tent",
"xmpp",
"zot"
]
}
},
"openRegistrations": {
"type": "boolean",
"description": "Whether this server allows open self-registration."
},
"usage": {
"$ref": "#/components/schemas/NodeInfo_usage"
},
"metadata": {
"minProperties": 0,
"type": "object",
"additionalProperties": true,
"description": "Free form key value pairs for software specific values. Clients should not rely on any specific key present."
}
},
"additionalProperties": false,
"description": "NodeInfo schema version 2.0 (http://nodeinfo.diaspora.software/ns/schema/2.0) as implemented by Mastodon.",
"example": {
"version": "2.0",
"software": {
"name": "mastodon",
"version": "3.4.0"
},
"protocols": "activitypub",
"usage": {
"users": {
"total": 5129,
"activeMonth": 236,
"activeHalfyear": 567
},
"localPosts": 370341
},
"openRegistrations": true
}
},
"Manifest": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"short_name": {
"type": "string"
},
"description": {
"type": "string"
},
"icons": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Icon"
}
},
"theme_color": {
"type": "string"
},
"background_color": {
"type": "string"
},
"display": {
"type": "string"
},
"start_url": {
"type": "string"
},
"scope": {
"type": "string"
},
"share_target": {
"$ref": "#/components/schemas/Manifest_share_target"
},
"shortcuts": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Shortcut"
}
}
},
"example": {
"name": "Hostux.social",
"short_name": "Hostux.social",
"description": "This service is offered by alarig.\r\nBeer, privacy and free software lovers. Join us!",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
}
],
"theme_color": "#282c37",
"background_color": "#191b22",
"display": "standalone",
"start_url": "/web/timelines/home",
"scope": "https://hostux.social/",
"share_target": {
"url_template": "share?title={title}&text={text}&url={url}",
"action": "share",
"method": "GET",
"enctype": "application/x-www-form-urlencoded",
"params": {
"title": "title",
"text": "text",
"url": "url"
}
},
"shortcuts": [
{
"name": "New toot",
"url": "/web/statuses/new",
"icons": [
{
"src": "/shortcuts/new-status.png",
"type": "image/png",
"sizes": "192x192"
}
]
},
{
"name": "Notifications",
"url": "/web/notifications",
"icons": [
{
"src": "/shortcuts/notifications.png",
"type": "image/png",
"sizes": "192x192"
}
]
},
{
"name": "Direct messages",
"url": "/web/timelines/direct",
"icons": [
{
"src": "/shortcuts/direct.png",
"type": "image/png",
"sizes": "192x192"
}
]
}
]
}
},
"Icon": {
"type": "object",
"properties": {
"src": {
"type": "string"
},
"sizes": {
"type": "string"
},
"type": {
"type": "string"
}
},
"example": {
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
}
},
"Shortcut": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"icons": {
"$ref": "#/components/schemas/Icon"
}
},
"example": {
"name": "New toot",
"url": "/web/statuses/new",
"icons": [
{
"src": "/shortcuts/new-status.png",
"type": "image/png",
"sizes": "192x192"
}
]
}
},
"AccountSerializer": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "integer"
},
"username": {
"type": "string"
},
"acct": {
"type": "string"
},
"display_name": {
"type": "string"
},
"locked": {
"type": "boolean"
},
"bot": {
"type": "boolean"
},
"discoverable": {
"type": "boolean"
},
"group": {
"type": "boolean"
},
"created_at": {
"type": "string",
"format": "timestamp"
},
"note": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"avatar": {
"type": "string",
"format": "uri"
},
"avatar_static": {
"type": "string",
"format": "uri"
},
"header": {
"type": "string",
"format": "uri"
},
"header_static": {
"type": "string",
"format": "uri"
},
"followers_count": {
"type": "integer"
},
"following_count": {
"type": "integer"
},
"statuses_count": {
"type": "integer"
},
"last_status_at": {
"type": "string",
"format": "timestamp"
},
"moved": {
"$ref": "#/components/schemas/AccountSerializer"
},
"source": {
"$ref": "#/components/schemas/AccountSerializer_source"
},
"emojis": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CustomEmojiSerializer"
}
}
},
"description": "REST::CredentialAccountSerializer",
"example": {
"id": "14715",
"username": "trwnh",
"acct": "trwnh",
"display_name": "infinite love ⴳ",
"locked": false,
"bot": false,
"created_at": "2016-11-24T10:02:12.085Z",
"note": "<p>i have approximate knowledge of many things. perpetual student. (nb/ace/they)</p><p>xmpp/email: a@trwnh.com<br /><a href=\"https://trwnh.com\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">trwnh.com</span><span class=\"invisible\"></span></a><br />help me live: <a href=\"https://liberapay.com/at\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">liberapay.com/at</span><span class=\"invisible\"></span></a> or <a href=\"https://paypal.me/trwnh\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">paypal.me/trwnh</span><span class=\"invisible\"></span></a></p><p>- my triggers are moths and glitter<br />- i have all notifs except mentions turned off, so please interact if you wanna be friends! i literally will not notice otherwise<br />- dm me if i did something wrong, so i can improve<br />- purest person on fedi, do not lewd in my presence<br />- #1 ami cole fan account</p><p>:fatyoshi:</p>",
"url": "https://mastodon.social/@trwnh",
"avatar": "https://files.mastodon.social/accounts/avatars/000/014/715/original/34aa222f4ae2e0a9.png",
"avatar_static": "https://files.mastodon.social/accounts/avatars/000/014/715/original/34aa222f4ae2e0a9.png",
"header": "https://files.mastodon.social/accounts/headers/000/014/715/original/5c6fc24edb3bb873.jpg",
"header_static": "https://files.mastodon.social/accounts/headers/000/014/715/original/5c6fc24edb3bb873.jpg",
"followers_count": 821,
"following_count": 178,
"statuses_count": 33120,
"last_status_at": "2019-11-24T15:49:42.251Z",
"source": {
"privacy": "public",
"sensitive": false,
"language": "",
"note": "i have approximate knowledge of many things. perpetual student. (nb/ace/they)\r\n\r\nxmpp/email: a@trwnh.com\r\nhttps://trwnh.com\r\nhelp me live: https://liberapay.com/at or https://paypal.me/trwnh\r\n\r\n- my triggers are moths and glitter\r\n- i have all notifs except mentions turned off, so please interact if you wanna be friends! i literally will not notice otherwise\r\n- dm me if i did something wrong, so i can improve\r\n- purest person on fedi, do not lewd in my presence\r\n- #1 ami cole fan account\r\n\r\n:fatyoshi:",
"fields": [
{
"name": "Website",
"value": "https://trwnh.com",
"verified_at": "2019-08-29T04:14:55.571+00:00"
},
{
"name": "Sponsor",
"value": "https://liberapay.com/at",
"verified_at": "2019-11-15T10:06:15.557+00:00"
},
{
"name": "Fan of:",
"value": "Punk-rock and post-hardcore (Circa Survive, letlive., La Dispute, THE FEVER 333)Manga (Yu-Gi-Oh!, One Piece, JoJo's Bizarre Adventure, Death Note, Shaman King)Platformers and RPGs (Banjo-Kazooie, Boktai, Final Fantasy Crystal Chronicles)"
},
{
"name": "Main topics:",
"value": "systemic analysis, design patterns, anticapitalism, info/tech freedom, theory and philosophy, and otherwise being a genuine and decent wholesome poster. i'm just here to hang out and talk to cool people!"
}
],
"follow_requests_count": 0
},
"emojis": [
{
"shortcode": "fatyoshi",
"url": "https://files.mastodon.social/custom_emojis/images/000/023/920/original/e57ecb623faa0dc9.png",
"static_url": "https://files.mastodon.social/custom_emojis/images/000/023/920/static/e57ecb623faa0dc9.png",
"visible_in_picker": true
}
],
"fields": [
{
"name": "Website",
"value": "<a href=\"https://trwnh.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">trwnh.com</span><span class=\"invisible\"></span></a>",
"verified_at": "2019-08-29T04:14:55.571+00:00"
},
{
"name": "Sponsor",
"value": "<a href=\"https://liberapay.com/at\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">liberapay.com/at</span><span class=\"invisible\"></span></a>",
"verified_at": "2019-11-15T10:06:15.557+00:00"
},
{
"name": "Fan of:",
"value": "Punk-rock and post-hardcore (Circa Survive, letlive., La Dispute, THE FEVER 333)Manga (Yu-Gi-Oh!, One Piece, JoJo&apos;s Bizarre Adventure, Death Note, Shaman King)Platformers and RPGs (Banjo-Kazooie, Boktai, Final Fantasy Crystal Chronicles)"
},
{
"name": "Main topics:",
"value": "systemic analysis, design patterns, anticapitalism, info/tech freedom, theory and philosophy, and otherwise being a genuine and decent wholesome poster. i&apos;m just here to hang out and talk to cool people!"
}
]
}
},
"StatusSerializer": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"created_at": {
"type": "string"
},
"in_reply_to_id": {
"type": "string"
},
"in_reply_to_account_id": {
"type": "string"
},
"sensitive": {
"type": "boolean"
},
"spoiler_text": {
"type": "string"
},
"visibility": {
"type": "string"
},
"language": {
"type": "string"
},
"uri": {
"type": "string"
},
"url": {
"type": "string"
},
"replies_count": {
"type": "integer"
},
"reblogs_count": {
"type": "integer"
},
"favourites_count": {
"type": "integer"
},
"favourited": {
"type": "boolean"
},
"reblogged": {
"type": "boolean"
},
"muted": {
"type": "boolean"
},
"bookmarked": {
"type": "boolean"
},
"pinned": {
"type": "boolean"
},
"content": {
"type": "string"
},
"text": {
"type": "string"
},
"reblog": {
"$ref": "#/components/schemas/StatusSerializer"
},
"application": {
"$ref": "#/components/schemas/StatusSerializer_application"
},
"account": {
"$ref": "#/components/schemas/AccountSerializer"
},
"media_attachments": {
"$ref": "#/components/schemas/MediaAttachmentSerializer"
},
"mentions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MentionSerializer"
}
},
"emojis": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CustomEmojiSerializer"
}
},
"card": {
"$ref": "#/components/schemas/PreviewCardSerializer"
},
"poll": {
"$ref": "#/components/schemas/PollSerializer"
}
}
},
"MediaAttachmentSerializer": {
"type": "object"
},
"MentionSerializer": {
"type": "object"
},
"PreviewCardSerializer": {
"type": "object"
},
"PollSerializer": {
"type": "object"
},
"account_field": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"verified_at": {
"type": "string",
"format": "timestamp"
}
}
},
"CustomEmojiSerializer": {
"type": "object",
"properties": {
"shortcode": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"static_url": {
"type": "string",
"format": "uri"
},
"visible_in_picker": {
"type": "boolean"
},
"category": {
"type": "string"
}
}
},
"user_settings": {
"type": "object",
"properties": {
"discoverable": {
"type": "string",
"description": "Whether the account should be shown in the profile directory."
},
"bot": {
"type": "boolean",
"description": "Whether the account has a bot flag."
},
"display_name": {
"type": "string",
"description": "The display name to use for the profile."
},
"note": {
"type": "string",
"description": "The account bio."
},
"avatar": {
"type": "string",
"description": "Avatar image encoded using multipart/form-data"
},
"header": {
"type": "string",
"description": "Header image encoded using multipart/form-data"
},
"locked": {
"type": "boolean",
"description": "Whether manual approval of follow requests is required."
},
"source[privacy]": {
"type": "string",
"description": "Default post privacy for authored statuses."
},
"source[sensitive]": {
"type": "boolean",
"description": "Whether to mark authored statuses as sensitive by default."
},
"source[language]": {
"type": "string",
"description": "Default language to use for authored statuses. (ISO 6391)"
},
"fields_attributes": {
"type": "array",
"description": "Profile metadata name and value. (By default, max 4 fields and 255 characters per property/value)",
"items": {
"type": "string"
}
}
}
},
"oauth_token_body": {
"required": [
"client_id",
"client_secret",
"grant_type",
"redirect_uri"
],
"type": "object",
"properties": {
"grant_type": {
"type": "string",
"description": "Set equal to authorization_code if code is provided in order to gain user-level access. Otherwise, set equal to client_credentials to obtain app-level access only."
},
"client_id": {
"type": "string",
"description": "Client ID, obtained during app registration"
},
"client_secret": {
"type": "string",
"description": "Client secret, obtained during app registration"
},
"redirect_uri": {
"type": "string",
"description": "Set a URI to redirect the user to. If this parameter is set to urn:ietf:wg:oauth:2.0:oob then the token will be shown instead. Must match one of the redirect URIs declared during app registration."
},
"scope": {
"type": "string",
"description": "List of requested OAuth scopes, separated by spaces. Must be a subset of scopes declared during app registration. If not provided, defaults to read."
},
"code": {
"type": "string",
"description": "A user authorization code, obtained via /oauth/authorize"
}
}
},
"inline_response_200": {
"type": "object",
"properties": {
"access_token": {
"type": "string"
},
"token_type": {
"type": "string"
},
"scope": {
"type": "string"
},
"created_at": {
"type": "integer"
}
},
"example": {
"access_token": "OUcurTZOz-vNHUWz4UME1-jPTimIxRnNBFcZDG7IoVk",
"token_type": "Bearer",
"scope": "read",
"created_at": 1635107910
}
},
"inline_response_200_1": {
"type": "object",
"properties": {
"@context": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"totalItems": {
"type": "integer"
},
"first": {
"type": "string"
},
"last": {
"type": "string"
}
},
"example": {
"@context": "https://www.w3.org/ns/activitystreams",
"id": "http://localhost:3000/actor/outbox",
"type": "OrderedCollection",
"totalItems": 0,
"first": "http://localhost:3000/actor/outbox?page=true",
"last": "http://localhost:3000/actor/outbox?min_id=0&page=true"
}
},
"inline_response_200_2": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"website": {
"type": "string"
},
"vapid_key": {
"type": "string"
}
},
"example": {
"name": "test app",
"vapid_key": "BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M="
}
},
"inline_response_401": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
},
"example": {
"error": "The access token is invalid"
}
},
"v1_apps_body": {
"type": "object",
"properties": {
"client_name": {
"type": "string"
},
"redirect_uris": {
"type": "string"
},
"scopes": {
"type": "string"
},
"website": {
"type": "string"
}
}
},
"inline_response_200_3": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "number"
},
"name": {
"type": "string"
},
"website": {
"type": "string",
"format": "url"
},
"redirect_uri": {
"type": "string"
},
"client_id": {
"type": "string"
},
"client_secret": {
"type": "string"
},
"vapid_key": {
"type": "string"
}
},
"example": {
"id": "2",
"name": "Test Application",
"website": "https://myapp.example",
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob",
"client_id": "3N5yVaa_d8TJozehuHAHGXrgAWQstWb1W03efWoDNsM",
"client_secret": "Hl6FKbQZ2BE4T2i-MqKVRvEqqzzidsy-h9K3612VFyY",
"vapid_key": "BHwSbZEeYoSSZiHjzb7I7H8MBSDxcXbJI39t5buSVID-QOpqGEK0DYXNgplgJ0rcd4Jvy-nkSPQ0dOIT67V85ms="
}
},
"inline_response_403": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
}
},
"inline_response_422": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
},
"example": {
"error": "This method requires an authenticated user"
}
},
"v1_accounts_body": {
"required": [
"agreement",
"email",
"locale",
"password",
"username"
],
"type": "object",
"properties": {
"username": {
"type": "string",
"description": "The desired username for the account"
},
"email": {
"type": "string",
"description": "The email address to be used for login"
},
"password": {
"type": "string",
"description": "The password to be used for login"
},
"agreement": {
"type": "boolean",
"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."
},
"locale": {
"type": "string",
"description": "The language of the confirmation email that will be sent"
},
"reason": {
"type": "string",
"description": "Text that will be reviewed by moderators if registrations require manual approval."
}
},
"example": {
"username": "test_user",
"email": "test@email.address",
"password": "Sup3rS3cur3P@ssw0rd",
"agreement": true,
"locale": "en-US",
"reason": "Test account creation"
}
},
"inline_response_401_1": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
},
"example": {
"error": "This action is outside the authorized scopes"
}
},
"inline_response_401_2": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
},
"example": {
"error": "This API requires an authenticated user"
}
},
"inline_response_404": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
},
"example": {
"error": "Record not found"
}
},
"KeybaseProofConfig_username": {
"type": "object",
"properties": {
"min": {
"type": "integer",
"enum": [
1
]
},
"max": {
"type": "integer",
"enum": [
30
]
},
"re": {
"type": "string",
"enum": [
"[a-z0-9_]+([a-z0-9_.-]+[a-z0-9_]+)?"
]
}
}
},
"KeybaseProofConfig_logo": {
"type": "object",
"properties": {
"svg_black": {
"type": "string"
},
"svg_white": {
"type": "string"
},
"svg_full": {
"type": "string"
},
"svg_full_darkmode": {
"type": "string"
}
}
},
"NodeInfo_software": {
"required": [
"name",
"version"
],
"type": "object",
"properties": {
"name": {
"pattern": "^[a-z0-9-]+$",
"type": "string",
"description": "The canonical name of this server software."
},
"version": {
"type": "string",
"description": "The version of this server software."
}
},
"additionalProperties": false,
"description": "Metadata about server software in use."
},
"NodeInfo_usage_users": {
"type": "object",
"properties": {
"total": {
"minimum": 0,
"type": "integer",
"description": "The total amount of on this server registered users."
},
"activeHalfyear": {
"minimum": 0,
"type": "integer",
"description": "The amount of users that signed in at least once in the last 180 days."
},
"activeMonth": {
"minimum": 0,
"type": "integer",
"description": "The amount of users that signed in at least once in the last 30 days."
}
},
"additionalProperties": false,
"description": "statistics about the users of this server."
},
"NodeInfo_usage": {
"required": [
"users"
],
"type": "object",
"properties": {
"users": {
"$ref": "#/components/schemas/NodeInfo_usage_users"
},
"localPosts": {
"minimum": 0,
"type": "integer",
"description": "The amount of posts that were made by users that are registered on this server."
}
},
"additionalProperties": false,
"description": "Usage statistics for this server."
},
"Manifest_share_target_params": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"text": {
"type": "string"
},
"url": {
"type": "string"
}
}
},
"Manifest_share_target": {
"type": "object",
"properties": {
"url_template": {
"type": "string"
},
"action": {
"type": "string"
},
"method": {
"type": "string"
},
"enctype": {
"type": "string"
},
"params": {
"$ref": "#/components/schemas/Manifest_share_target_params"
}
}
},
"AccountSerializer_source": {
"type": "object",
"properties": {
"privacy": {
"type": "string"
},
"sensitive": {
"type": "boolean"
},
"language": {
"type": "string"
},
"note": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"$ref": "#/components/schemas/account_field"
}
},
"follow_requests_count": {
"type": "integer"
}
}
},
"StatusSerializer_application": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"website": {
"type": "string"
}
}
}
},
"securitySchemes": {
"bearerAuth": {
"type": "http",
"scheme": "bearer"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment