Skip to content

Commit a68b947

Browse files
authored
Merge pull request #354 from abraham/update-schema
Update docs SHA and regenerate OpenAPI schema
2 parents d9bdd9e + 36c5990 commit a68b947

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-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": "cae24a64155b75631b5ad37029c2d9747ffc1c43",
2+
"mastodonDocsCommit": "c00b651ce42fb4ed3cb098099c89dfb7d1f157bd",
33
"mastodonVersion": "4.4.0"
44
}

dist/schema.json

Lines changed: 6 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 [cae24a6](https://github.com/mastodon/documentation/commit/cae24a64155b75631b5ad37029c2d9747ffc1c43).",
6+
"description": "Unofficial documentation for the Mastodon API. Generated with [mastodon-openapi](https://github.com/abraham/mastodon-openapi) from [c00b651](https://github.com/mastodon/documentation/commit/c00b651ce42fb4ed3cb098099c89dfb7d1f157bd).",
77
"license": {
88
"name": "GFDL-1.3",
99
"url": "https://www.gnu.org/licenses/fdl-1.3.en.html"
@@ -4436,7 +4436,7 @@
44364436
},
44374437
"language": {
44384438
"type": "string",
4439-
"description": "Default language to use for authored statuses (ISO 6391)"
4439+
"description": "Default language to use for authored statuses (ISO 639-1)"
44404440
}
44414441
}
44424442
}
@@ -23228,7 +23228,7 @@
2322823228
"put": {
2322923229
"operationId": "updateStatus",
2323023230
"summary": "Edit a status",
23231-
"description": "Edit a given status to change its text, sensitivity, media attachments, or poll. Note that editing a poll's options will reset the votes.\n\nVersion history:\n\n3.5.0 - added\\\n4.0.0 - add `language`",
23231+
"description": "Edit a given status to change its text, sensitivity, media attachments, or poll. Note that editing a polls options or changing whether it is multiple choice will reset the votes.\n\nVersion history:\n\n3.5.0 - added\\\n4.0.0 - add `language`",
2323223232
"tags": [
2323323233
"statuses"
2323423234
],
@@ -23380,7 +23380,7 @@
2338023380
"properties": {
2338123381
"language": {
2338223382
"type": "string",
23383-
"description": "ISO 639 language code for the status."
23383+
"description": "ISO 639-1 language code for the status."
2338423384
},
2338523385
"media_attributes[]": {
2338623386
"type": "array",
@@ -25630,7 +25630,7 @@
2563025630
"properties": {
2563125631
"lang": {
2563225632
"type": "string",
25633-
"description": "String (ISO 639 language code). The status content will be translated into this language. Defaults to the user's current locale."
25633+
"description": "String (ISO 639-1 language code). The status content will be translated into this language. Defaults to the user's current locale."
2563425634
}
2563525635
}
2563625636
}
@@ -37870,7 +37870,7 @@
3787037870
},
3787137871
"language": {
3787237872
"type": "string",
37873-
"description": "ISO 639 language code for this status."
37873+
"description": "ISO 639-1 language code for this status."
3787437874
},
3787537875
"scheduled_at": {
3787637876
"type": "string",

0 commit comments

Comments
 (0)