Wikidata:Property proposal/Discord server numeric ID

From Wikidata
Jump to navigation Jump to search

Discord server numeric ID[edit]

Originally proposed at Wikidata:Property proposal/Person

Descriptionnumeric identifier for a Discord server; use as qualifier for P9078 "Discord invite ID"
RepresentsDiscord server (Q63198389)
Data typeExternal identifier
Allowed values[1-9][0-9]{16,19}
Example 1Running with Scissors (Q498812) → 245206313070493696
Example 2Destructive Creations (Q33255668) → 644862467171680257
Example 3SiIvaGunner (Q96419348) → 220275955329925120
Sourcehttps://discord.com (https://discord.com/api/v8/invites/$id?with_counts=true, where $id is the invite ID)
Planned useAdditional information for items with Discord invite ID (P9078)
Expected completenessalways incomplete (Q21873886)
Formatter URLhttps://discord.com/widget?id=$1 (only works for servers with widget enabled), https://discord.com/channels/$1 (only works for users who are already in a particular server), there may be others
See alsoDiscord user numeric ID (proposal)

Motivation[edit]

Discord invite IDs are unstable, but the server that each invite is for has a permanent ID that can't be changed. This property would be similar to Twitter user numeric ID (P6552).

The server ID can be taken from URLs/message links in Discord, the JSON data page for each invite ID, and images from the server (including the icon and the banner). Turning on Developer Mode (Settings > Appearance > Advanced) allows IDs to be copied from the context menu. Third-party websites that advertise Discord servers also use these IDs. Overcast07 (talk) 11:37, 24 February 2021 (UTC)[reply]

Discussion[edit]