{ "opencollection": "1.0.0", "info": { "name": "Discord Interactions Application Commands Roles API", "version": "10" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Roles", "type": "folder" }, "items": [ { "info": { "name": "Discord List guild roles", "type": "http" }, "http": { "method": "GET", "url": "https://discord.com/api/v10/guilds/:guild_id/roles", "params": [ { "name": "guild_id", "value": "", "type": "path", "description": "The ID of the guild (Snowflake)" } ] }, "docs": "Returns a list of role objects for the guild." }, { "info": { "name": "Discord Create guild role", "type": "http" }, "http": { "method": "POST", "url": "https://discord.com/api/v10/guilds/:guild_id/roles", "params": [ { "name": "guild_id", "value": "", "type": "path", "description": "The ID of the guild (Snowflake)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new role for the guild." }, { "info": { "name": "Discord Modify guild role", "type": "http" }, "http": { "method": "PATCH", "url": "https://discord.com/api/v10/guilds/:guild_id/roles/:role_id", "params": [ { "name": "guild_id", "value": "", "type": "path", "description": "The ID of the guild (Snowflake)" }, { "name": "role_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Modify a guild role. Returns the updated role." }, { "info": { "name": "Discord Delete guild role", "type": "http" }, "http": { "method": "DELETE", "url": "https://discord.com/api/v10/guilds/:guild_id/roles/:role_id", "params": [ { "name": "guild_id", "value": "", "type": "path", "description": "The ID of the guild (Snowflake)" }, { "name": "role_id", "value": "", "type": "path" } ] }, "docs": "Delete a guild role." } ] } ], "bundled": true }