Skip to content

Commit d0d18a3

Browse files
committed
chore: generate OpenAPI specification
1 parent 533bd54 commit d0d18a3

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

‎OpenAPI.json‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,23 @@
842842
"schema": {
843843
"$ref": "#/components/schemas/Id"
844844
}
845+
},
846+
{
847+
"name": "permissions",
848+
"in": "query",
849+
"schema": {
850+
"type": "integer",
851+
"format": "int64",
852+
"nullable": true
853+
}
854+
},
855+
{
856+
"name": "X-Audit-Log-Reason",
857+
"in": "header",
858+
"description": "Reason for action which is stored in the audit log.",
859+
"schema": {
860+
"type": "string"
861+
}
845862
}
846863
],
847864
"requestBody": {
@@ -9383,6 +9400,12 @@
93839400
"description": "Whether the bot is public (may be invited by anyone)",
93849401
"type": "boolean"
93859402
},
9403+
"default_permissions": {
9404+
"description": "The permissions the bot will ask to have upon being invited to a server,",
9405+
"type": "integer",
9406+
"format": "int64",
9407+
"nullable": true
9408+
},
93869409
"analytics": {
93879410
"description": "Whether to enable analytics",
93889411
"type": "boolean"
@@ -9536,6 +9559,12 @@
95369559
"description": "Whether the bot is public (may be invited by anyone)",
95379560
"type": "boolean"
95389561
},
9562+
"default_permissions": {
9563+
"description": "The permissions the bot will ask to have upon being invited to a server,",
9564+
"type": "integer",
9565+
"format": "int64",
9566+
"nullable": true
9567+
},
95399568
"analytics": {
95409569
"description": "Whether to enable analytics",
95419570
"type": "boolean"
@@ -9605,6 +9634,12 @@
96059634
"type": "boolean",
96069635
"nullable": true
96079636
},
9637+
"default_permissions": {
9638+
"description": "The permissions the bot will ask to have upon being invited to a server,",
9639+
"type": "integer",
9640+
"format": "int64",
9641+
"nullable": true
9642+
},
96089643
"analytics": {
96099644
"description": "Whether analytics should be gathered for this bot\n\nMust be enabled in order to show up on [Revolt Discover](https://rvlt.gg).",
96109645
"type": "boolean",
@@ -11777,6 +11812,11 @@
1177711812
}
1177811813
],
1177911814
"nullable": true
11815+
},
11816+
"owner": {
11817+
"description": "Id of the bot that owns this role, if it is a managed role",
11818+
"type": "string",
11819+
"nullable": true
1178011820
}
1178111821
}
1178211822
},
@@ -13454,6 +13494,10 @@
1345413494
}
1345513495
],
1345613496
"nullable": true
13497+
},
13498+
"owner": {
13499+
"type": "string",
13500+
"nullable": true
1345713501
}
1345813502
}
1345913503
},

0 commit comments

Comments
 (0)