|
88 | 88 | "gateway.connect", |
89 | 89 | "account.global_name.update", |
90 | 90 | "payment_sources.country_code", |
91 | | - "sdk.social_layer" |
| 91 | + "sdk.social_layer", |
| 92 | + "lobbies.write" |
92 | 93 | ] |
93 | 94 | } |
94 | 95 | }, |
|
355 | 356 | "additionalProperties": false |
356 | 357 | }, |
357 | 358 | "response": null |
| 359 | + }, |
| 360 | + "GET_USER": { |
| 361 | + "request": { |
| 362 | + "type": "object", |
| 363 | + "properties": {"id": {"type": "string", "maxLength": 64}}, |
| 364 | + "required": ["id"], |
| 365 | + "additionalProperties": false |
| 366 | + }, |
| 367 | + "response": { |
| 368 | + "type": ["object", "null"], |
| 369 | + "description": "Discord User", |
| 370 | + "properties": { |
| 371 | + "id": {"type": "string", "description": "User ID"}, |
| 372 | + "username": {"type": "string"}, |
| 373 | + "global_name": {"type": ["string", "null"], "description": "Global Discord name. Not unique."}, |
| 374 | + "discriminator": {"type": "string", "description": "Global name discriminator. Will be 0 if a unique username"}, |
| 375 | + "avatar": {"type": ["string", "null"], "description": "User Avatar ID"}, |
| 376 | + "flags": {"type": "number", "description": "Public user flags"}, |
| 377 | + "bot": {"type": "boolean", "description": "If a bot user."}, |
| 378 | + "avatar_decoration_data": { |
| 379 | + "type": ["object", "null"], |
| 380 | + "description": "Details about avatar decoration", |
| 381 | + "properties": {"asset": {"type": "string"}, "skuId": {"type": "string"}, "expiresAt": {"type": "number"}}, |
| 382 | + "required": ["asset"], |
| 383 | + "additionalProperties": false |
| 384 | + }, |
| 385 | + "premium_type": {"type": ["number", "null"], "description": "Nitro premium type"} |
| 386 | + }, |
| 387 | + "required": ["id", "username", "discriminator", "flags", "bot"], |
| 388 | + "additionalProperties": false |
| 389 | + } |
358 | 390 | } |
359 | 391 | } |
0 commit comments