- Home
- Skills
- Yuyz0112
- Public Api Skills
- Discord Http Api Preview
discord-http-api-preview_skill
4
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill yuyz0112/public-api-skills --skill discord-http-api-preview- SKILL.md2.3 KB
Overview
This skill provides a preview of the Discord v10 HTTP API specification for quick reference while building integrations. It exposes the API base URL, authentication methods, and a navigable set of resource, operation, and schema files for on-demand lookup. Use it to find operation details, request/response shapes, and authentication requirements without browsing the official docs manually.
How this skill works
The skill organizes the API spec into three folders: resource indexes, detailed operation files, and reusable schema files. Start by selecting a resource to see its available operations, open an operation file for parameters and examples, and consult referenced schemas for object shapes. It also surfaces the base URL and supported authentication flows for immediate use in clients or curl calls.
When to use it
- Designing or implementing Discord bot or OAuth2 integrations that call the HTTP API
- Looking up exact endpoint paths, HTTP methods, parameters, and expected status codes
- Verifying JSON request or response schemas referenced by operations
- Confirming supported authentication types and token usage
- Exploring available resources and operation counts for planning API usage
Best practices
- Start from the resource index to find relevant operations before opening specific files
- Validate request payloads against referenced schemas to reduce runtime errors
- Use the documented authentication methods (BotToken or OAuth2) and follow least-privilege scope practices
- Cache static schema or resource metadata locally to reduce repeated lookups
- Respect rate limits and consult operation details for status codes and retry guidance
Example use cases
- Create a bot flow: find channels resource → read create message operation → check message schema for allowed fields
- Implement OAuth2: inspect oauth2 resource for token exchange endpoints and scopes
- Automate moderation: review guilds and bans operations to script ban/unban flows with correct parameters
- Build webhook integrations: read webhooks operations for creating and executing incoming webhooks with example payloads
- Prototype voice or stage features by referencing voice and stage-instances resource operations
FAQ
No. This preview provides a structured local view of v10 HTTP endpoints and schemas for quick lookup, but you should consult the official Discord developer site for policy, rate limit updates, and long-form guides.
What authentication methods are supported?
The preview documents BotToken and OAuth2 as supported authentication methods. Refer to operation details to see required scopes and header formats for specific endpoints.