Skip to content

Commit bfe904f

Browse files
abrahamgithub-actions[bot]
authored andcommitted
Update docs SHA and regenerate OpenAPI schema
1 parent 862b5fa commit bfe904f

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"mastodonDocsCommit": "3584c39b9cea3ffde27c21f9a5000a8735794578",
2+
"mastodonDocsCommit": "5c8597039a7ce1acb0941a5331d34d412e2613fd",
33
"mastodonVersion": "4.5.0",
44
"minimumMastodonVersion": "4.3.0",
55
"blockedFiles": ["methods/notifications_alpha.md"],

dist/schema.json

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "Mastodon API",
55
"version": "4.5.0",
6-
"description": "Unofficial documentation for the Mastodon API. Generated with [mastodon-openapi](https://github.com/abraham/mastodon-openapi) from [3584c39](https://github.com/mastodon/documentation/commit/3584c39b9cea3ffde27c21f9a5000a8735794578). Targets [supported](https://github.com/mastodon/mastodon/security/policy#supported-versions) Mastodon versions.",
6+
"description": "Unofficial documentation for the Mastodon API. Generated with [mastodon-openapi](https://github.com/abraham/mastodon-openapi) from [5c85970](https://github.com/mastodon/documentation/commit/5c8597039a7ce1acb0941a5331d34d412e2613fd). Targets [supported](https://github.com/mastodon/mastodon/security/policy#supported-versions) Mastodon versions.",
77
"license": {
88
"name": "GFDL-1.3",
99
"url": "https://www.gnu.org/licenses/fdl-1.3.en.html"
@@ -12689,7 +12689,7 @@
1268912689
"get": {
1269012690
"operationId": "getInstanceV2",
1269112691
"summary": "View server information",
12692-
"description": "Obtain general information about the server.\n\nVersion history:\n\n4.0.0 - added\\\n4.1.0 - added `configuration.urls.status`\\\n4.2.0 - added `registrations.url`\n4.3.0 - added `configuration.vapid.public_key`, `api_versions`, `configuration.accounts.max_pinned_statuses`, `icon`\n4.4.0 - added `configuration.urls.about`, `configuration.urls.privacy_policy`, `configuration.urls.terms_of_service`, `registrations.min_age`, `registrations.reason_required`, `configuration.limited_federation`",
12692+
"description": "Obtain general information about the server.\n\nVersion history:\n\n4.0.0 - added\\\n4.1.0 - added `configuration.urls.status`\\\n4.2.0 - added `registrations.url`\\\n4.3.0 - added `configuration.vapid.public_key`, `api_versions`, `configuration.accounts.max_pinned_statuses`, `icon`\\\n4.4.0 - added `configuration.urls.about`, `configuration.urls.privacy_policy`, `configuration.urls.terms_of_service`, `registrations.min_age`, `registrations.reason_required`, `configuration.limited_federation`",
1269312693
"tags": [
1269412694
"instance"
1269512695
],
@@ -15135,7 +15135,7 @@
1513515135
],
1513615136
"responses": {
1513715137
"200": {
15138-
"description": "Array of [Account]",
15138+
"description": "Array of [MutedAccount]",
1513915139
"headers": {
1514015140
"X-RateLimit-Limit": {
1514115141
"$ref": "#/components/headers/X-RateLimit-Limit"
@@ -15155,12 +15155,12 @@
1515515155
"schema": {
1515615156
"type": "array",
1515715157
"items": {
15158-
"$ref": "#/components/schemas/Account"
15158+
"$ref": "#/components/schemas/MutedAccount"
1515915159
}
1516015160
},
1516115161
"examples": {
15162-
"Account200Example": {
15163-
"$ref": "#/components/examples/Account200Example"
15162+
"MutedAccount200Example": {
15163+
"$ref": "#/components/examples/MutedAccount200Example"
1516415164
}
1516515165
}
1516615166
}
@@ -39538,6 +39538,23 @@
3953839538
"blurhash": "UFBWY:8_0Jxv4mx]t8t64.%M-:IUWGWAt6M}"
3953939539
}
3954039540
},
39541+
"MutedAccount200Example": {
39542+
"summary": "Example for MutedAccount",
39543+
"value": [
39544+
{
39545+
"id": "963076",
39546+
"username": "Simia91",
39547+
"acct": "Simia91",
39548+
"display_name": ""
39549+
},
39550+
{
39551+
"id": "1001524",
39552+
"username": "hakogamae",
39553+
"acct": "hakogamae",
39554+
"display_name": "Hakogamae 🔞"
39555+
}
39556+
]
39557+
},
3954139558
"Notification200Example": {
3954239559
"summary": "Example for Notification",
3954339560
"value": [

0 commit comments

Comments
 (0)