@@ -59,33 +59,7 @@ Parameters
5959Response
6060~~~~~~~~
6161
62- .. code-block :: json
63-
64- {
65- "max_age" : 86400 ,
66- "code" : " 0cFbBdvaQwLBiyyI" ,
67- "guild" : {
68- "id" : " 110451980584914944" ,
69- "name" : " Guild Name"
70- },
71- "revoked" : false ,
72- "created_at" : " 2015-11-01T19:23:29.137000+00:00" ,
73- "temporary" : false ,
74- "uses" : 0 ,
75- "max_uses" : 0 ,
76- "inviter" : {
77- "username" : " Person" ,
78- "discriminator" : " 1849" ,
79- "id" : " 112462135683509820" ,
80- "avatar" : null
81- },
82- "xkcdpass" : null ,
83- "channel" : {
84- "type" : " text" ,
85- "id" : " 110453227215937536" ,
86- "name" : " Channel Name"
87- }
88- }
62+ See `Rich Invite Format `_.
8963
9064
9165
@@ -107,7 +81,7 @@ See `Basic Invite Format`_.
10781
10882
10983Get Guild Invites
110- -------------
84+ -----------------
11185
11286Request
11387~~~~~~~
@@ -119,7 +93,24 @@ Request
11993 Response
12094~~~~~~~~
12195
122- An array of invite objects. See `Basic Invite Format `_.
96+ An array of invite objects. See `Rich Invite Format `_.
97+
98+
99+
100+ Get Channel Invites
101+ -----------------
102+
103+ Request
104+ ~~~~~~~
105+
106+ .. code-block :: http
107+
108+ GET https://discordapp.com/api/channels/:channel_id/invites
109+
110+ Response
111+ ~~~~~~~~
112+
113+ An array of invite objects. See `Rich Invite Format `_.
123114
124115
125116
@@ -141,3 +132,34 @@ Basic Invite Format
141132 "name" : " Channel Name"
142133 }
143134 }
135+
136+ Rich Invite Format
137+ ------------------
138+
139+ .. code-block :: json
140+
141+ {
142+ "max_age" : 86400 ,
143+ "code" : " 0cFbBdvaQwLBiyyI" ,
144+ "guild" : {
145+ "id" : " 110451980584914944" ,
146+ "name" : " Guild Name"
147+ },
148+ "revoked" : false ,
149+ "created_at" : " 2015-11-01T19:23:29.137000+00:00" ,
150+ "temporary" : false ,
151+ "uses" : 0 ,
152+ "max_uses" : 0 ,
153+ "inviter" : {
154+ "username" : " Person" ,
155+ "discriminator" : " 1849" ,
156+ "id" : " 112462135683509820" ,
157+ "avatar" : null
158+ },
159+ "xkcdpass" : null ,
160+ "channel" : {
161+ "type" : " text" ,
162+ "id" : " 110453227215937536" ,
163+ "name" : " Channel Name"
164+ }
165+ }
0 commit comments