Skip to content

Commit fdb969b

Browse files
authored
Merge pull request #402 from abraham/update-schema
Update docs SHA and regenerate OpenAPI schema
2 parents 3606350 + 9e0bf30 commit fdb969b

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"mastodonDocsCommit": "19c65dea422735362622f3c9cbb0eef2532c5d83",
2+
"mastodonDocsCommit": "062ecddd3783ec237cbad1ff0bc9d003b2decaa0",
33
"mastodonVersion": "4.4.0"
44
}

dist/schema.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "Mastodon API",
55
"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).",
77
"license": {
88
"name": "GFDL-1.3",
99
"url": "https://www.gnu.org/licenses/fdl-1.3.en.html"
@@ -5151,7 +5151,7 @@
51515151
"post": {
51525152
"operationId": "createApp",
51535153
"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`",
51555155
"tags": [
51565156
"apps"
51575157
],
@@ -33083,7 +33083,7 @@
3308333083
"type": "string"
3308433084
},
3308533085
"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 `",
3308733087
"deprecated": true,
3308833088
"type": [
3308933089
"string",
@@ -33181,7 +33181,7 @@
3318133181
]
3318233182
},
3318333183
"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 `",
3318533185
"deprecated": true,
3318633186
"type": [
3318733187
"string",
@@ -38945,23 +38945,27 @@
3894538945
"urn:ietf:wg:oauth:2.0:oob"
3894638946
],
3894738947
"client_id": "TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM",
38948-
"client_secret": "ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw"
38948+
"client_secret": "ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw",
38949+
"client_secret_expires_at": 0
3894938950
}
3895038951
},
3895138952
"Application200Example": {
3895238953
"summary": "Example for Application",
3895338954
"value": {
38955+
"id": "563419",
3895438956
"name": "Test Application",
3895538957
"website": "https://app.example",
3895638958
"scopes": [
3895738959
"read",
3895838960
"write",
3895938961
"push"
3896038962
],
38963+
"redirect_uri": "https://app.example/callback\nhttps://app.example/register",
3896138964
"redirect_uris": [
3896238965
"https://app.example/callback",
3896338966
"https://app.example/register"
38964-
]
38967+
],
38968+
"vapid_key": "BMAIjoaMYTDbJtfrfocuzO8pzDHI47dzmw0rha6Y="
3896538969
}
3896638970
},
3896738971
"Conversation200Example": {

0 commit comments

Comments
 (0)