Skip to content

Commit 1a1427a

Browse files
authored
Merge pull request #608 from abraham/update-schema
Update docs SHA and regenerate OpenAPI schema
2 parents 220689e + efac63c commit 1a1427a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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": "edfa1732ff2206410520a9e6559f4f9321540a59",
2+
"mastodonDocsCommit": "4f4dc07606580042a725fc43c62434b520789d6e",
33
"mastodonVersion": "4.5.0",
44
"minimumMastodonVersion": "4.3.0",
55
"blockedFiles": ["methods/notifications_alpha.md"],

dist/schema.json

Lines changed: 4 additions & 4 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 [edfa173](https://github.com/mastodon/documentation/commit/edfa1732ff2206410520a9e6559f4f9321540a59). 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 [4f4dc07](https://github.com/mastodon/documentation/commit/4f4dc07606580042a725fc43c62434b520789d6e). 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"
@@ -3713,7 +3713,7 @@
37133713
"get": {
37143714
"operationId": "getAccountRelationships",
37153715
"summary": "Check relationships to other accounts",
3716-
"description": "Find out whether a given account is followed, blocked, muted, etc.\n\nVersion history:\n\n0.0.0 - added\\\n4.3.0 - added `with_suspended` parameter",
3716+
"description": "Find out whether a given account is followed, blocked, muted, etc.\n\nVersion history:\n\n0.0.0 - added\\\n4.3.0 - added `with_suspended` parameter\n4.6.0 - added `muting_expires_at`",
37173717
"tags": [
37183718
"accounts"
37193719
],
@@ -20603,7 +20603,7 @@
2060320603
"get": {
2060420604
"operationId": "getSearchV2",
2060520605
"summary": "Perform a search",
20606-
"description": "Perform a search for content in accounts, statuses and hashtags with the given parameters. Note that the availability of results depends on the specific backend search configuration of the server being queried. By default, accounts and hashtags are always searchable, while statuses depend on an ElasticSearch backend being present.\n\nVersion history:\n\n2.4.1 - added, limit hardcoded to 5\\\n2.8.0 - add `type`, `limit`, `offset`, `min_id`, `max_id`, `account_id`\\\n3.0.0 - add `exclude_unreviewed` param\\\n3.3.0 - `min_id` and `max_id` can be used together\\\n4.0.0 - no longer requires a user token. Without a valid user token, you cannot use the `resolve` or `offset` parameters.",
20606+
"description": "Perform a search for content in accounts, statuses and hashtags with the given parameters. Note that the availability of results depends on the specific backend search configuration of the server being queried. By default, accounts and hashtags are always searchable, while statuses depend on an ElasticSearch backend being present and the API request being authenticated (full text search is not available to unauthenticated users).\n\nVersion history:\n\n2.4.1 - added, limit hardcoded to 5\\\n2.8.0 - add `type`, `limit`, `offset`, `min_id`, `max_id`, `account_id`\\\n3.0.0 - add `exclude_unreviewed` param\\\n3.3.0 - `min_id` and `max_id` can be used together\\\n4.0.0 - no longer requires a user token. Without a valid user token, you cannot use the `resolve` or `offset` parameters.",
2060720607
"tags": [
2060820608
"search"
2060920609
],
@@ -34527,7 +34527,7 @@
3452734527
"type": "string"
3452834528
},
3452934529
"permissions": {
34530-
"description": "A bitmask that represents the sum of all permissions granted to the role.",
34530+
"description": "A bitmask that represents the sum of all permissions granted to the role. This is a potentially large integer in decimal representation. The absence of special permissions is denoted by `'0'`.",
3453134531
"type": "string"
3453234532
}
3453334533
},

0 commit comments

Comments
 (0)