Resources Overview
The Floodilka REST API is organised around several key resources. This page is an index for quick navigation.
Basics
Section titled “Basics”- Base URL:
https://floodilka.com/api/v1 - Format: JSON in request bodies and responses
- Authentication:
Authorization: Bot <token>orBearer <access_token>— see Authentication - Limits: global + bucket, 429 with
Retry-After— see Rate limits - Errors:
{ "code": "...", "message": "..." }— see Error codes
Resources
Section titled “Resources” Users User object, @me, profile management.
Guilds Guilds, members, roles, bans.
Channels Channel types, permission overwrites, settings.
Messages Messages, reactions, attachments, embeds.
OAuth2 Applications, scopes, tokens.
Invites Invite codes and metadata.
Webhooks Incoming and outgoing webhooks.
Gateway Fetch the WebSocket URL before connecting.
Snowflake IDs
Section titled “Snowflake IDs”Every resource ID is a 64-bit snowflake. Never parse them as numbers in JavaScript (precision loss) — use BigInt or treat them as strings. Details: Snowflakes.