1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
@UpstreamApi_HostAddress = https://api.rory.server.spacebar.chat
@GatewayOffload_HostAddress = http://localhost:5019
GET {{UpstreamApi_HostAddress}}/api/v10/users/@me/guilds
Accept: application/json
Authorization: Bearer {{AccessToken}}
###
POST {{GatewayOffload_HostAddress}}/_spacebar/offload/gateway/GuildSync
Accept: application/json
Authorization: Bearer {{AccessToken}}
Content-Type: application/json
[
"1006649183970562092",
"1006688661691001233",
"1006724118650845953",
"1006725777779159397",
"1006929437075185067",
"1064985958721777984",
"1069727354182414384",
"1244318971698665103",
"1294758139447835873",
"1370456872691392086",
"1391838091291000099",
"1412646927261544598",
"1425141280262418979",
"1429366715866774152",
"1430867450484749537",
"1439953071347150967"
]
###
POST {{GatewayOffload_HostAddress}}/_spacebar/offload/gateway/LazyRequest
Accept: application/json
Authorization: Bearer {{AccessToken}}
Content-Type: application/json
{
"guild_id": "1006649183970562092",
"channels": {
"1006649184062836783": [[1,2]]
}
}
|