|
3 | 3 | "info": { |
4 | 4 | "title": "Mastodon API", |
5 | 5 | "version": "4.4.0", |
6 | | - "description": "Unofficial documentation for the Mastodon API. Generated with [mastodon-openapi](https://github.com/abraham/mastodon-openapi) from [19c65de](https://github.com/mastodon/documentation/commit/19c65dea422735362622f3c9cbb0eef2532c5d83).", |
| 6 | + "description": "Unofficial documentation for the Mastodon API. Generated with [mastodon-openapi](https://github.com/abraham/mastodon-openapi) from [062ecdd](https://github.com/mastodon/documentation/commit/062ecddd3783ec237cbad1ff0bc9d003b2decaa0).", |
7 | 7 | "license": { |
8 | 8 | "name": "GFDL-1.3", |
9 | 9 | "url": "https://www.gnu.org/licenses/fdl-1.3.en.html" |
|
5151 | 5151 | "post": { |
5152 | 5152 | "operationId": "createApp", |
5153 | 5153 | "summary": "Create an application", |
5154 | | - "description": "Create a new application to obtain OAuth2 credentials.\n\nVersion history:\n\n0.0.0 - added\\\n2.7.2 - now returns `vapid_key`\\\n4.3.0 - deprecated `vapid_key`, please see [api/v2/instance]\\\n4.3.0 - added support for multiple `redirect_uris` in Form data parameters\\\n4.3.0 - added `redirect_uris` response property\\\n4.3.0 - deprecated `redirect_uri` response property, since this can be a non-URI if multiple `redirect_uris` are registered, use `redirect_uris` instead\\\n4.3.0 - changed entity type from [Application] to [CredentialApplication]", |
| 5154 | + "description": "Create a new application to obtain OAuth2 credentials.\n\nVersion history:\n\n0.0.0 - added\\\n2.7.2 - now returns `vapid_key`\\\n4.3.0 - deprecated `vapid_key`, please see [api/v2/instance]\\\n4.3.0 - added support for multiple `redirect_uris` in Form data parameters\\\n4.3.0 - added `redirect_uris` response property\\\n4.3.0 - deprecated `redirect_uri` response property, since this can be a non-URI if multiple `redirect_uris` are registered, use `redirect_uris` instead\\\n4.3.0 - changed entity type from [Application] to [CredentialApplication]\n4.4.0 - added `client_secret_expires_at`", |
5155 | 5155 | "tags": [ |
5156 | 5156 | "apps" |
5157 | 5157 | ], |
|
33083 | 33083 | "type": "string" |
33084 | 33084 | }, |
33085 | 33085 | "redirect_uri": { |
33086 | | - "description": "The registered redirection URI(s) for the application.", |
| 33086 | + "description": "The registered redirection URI(s) for the application stored as a single string. Multiple URIs are separated by whitespace characters. May contain `", |
33087 | 33087 | "deprecated": true, |
33088 | 33088 | "type": [ |
33089 | 33089 | "string", |
|
33181 | 33181 | ] |
33182 | 33182 | }, |
33183 | 33183 | "redirect_uri": { |
33184 | | - "description": "The registered redirection URI(s) for the application.", |
| 33184 | + "description": "The registered redirection URI(s) for the application stored as a single string. Multiple URIs are separated by whitespace characters. May contain `", |
33185 | 33185 | "deprecated": true, |
33186 | 33186 | "type": [ |
33187 | 33187 | "string", |
@@ -38945,23 +38945,27 @@ |
38945 | 38945 | "urn:ietf:wg:oauth:2.0:oob" |
38946 | 38946 | ], |
38947 | 38947 | "client_id": "TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM", |
38948 | | - "client_secret": "ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw" |
| 38948 | + "client_secret": "ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw", |
| 38949 | + "client_secret_expires_at": 0 |
38949 | 38950 | } |
38950 | 38951 | }, |
38951 | 38952 | "Application200Example": { |
38952 | 38953 | "summary": "Example for Application", |
38953 | 38954 | "value": { |
| 38955 | + "id": "563419", |
38954 | 38956 | "name": "Test Application", |
38955 | 38957 | "website": "https://app.example", |
38956 | 38958 | "scopes": [ |
38957 | 38959 | "read", |
38958 | 38960 | "write", |
38959 | 38961 | "push" |
38960 | 38962 | ], |
| 38963 | + "redirect_uri": "https://app.example/callback\nhttps://app.example/register", |
38961 | 38964 | "redirect_uris": [ |
38962 | 38965 | "https://app.example/callback", |
38963 | 38966 | "https://app.example/register" |
38964 | | - ] |
| 38967 | + ], |
| 38968 | + "vapid_key": "BMAIjoaMYTDbJtfrfocuzO8pzDHI47dzmw0rha6Y=" |
38965 | 38969 | } |
38966 | 38970 | }, |
38967 | 38971 | "Conversation200Example": { |
|
0 commit comments