-
Notifications
You must be signed in to change notification settings - Fork 0
/
organizations-api.html
293 lines (290 loc) · 18 KB
/
organizations-api.html
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<html data-navbar="navbar.html">
<head>
<title>Organizations module API index</title>
<link rel="stylesheet" href="/public/style.css" integrity="sha384-XmYAsTgQ0mGje5sxXJRryYc/mmaL3bnA+Hn9kHkpyRTgdpgM220bOzj5BgWZ41jo" crossorigin="anonymous" />
<script async="" src="/public/highlight.min.js" integrity="sha384-YicwDnP9OMQKl5DfX4/eDA3oUGqPTcuyq0+eFbwv595VqixFKEgoO/T8TxD0tjB8" crossorigin="anonymous"></script>
<script src="/public/browser.js" integrity="sha384-pNXFiUIAMNO/S1fGF4GF3fq8OV5x2fZdicewcpuMG/2EOOJ7+HH3no0GDKTePhCD" crossorigin="anonymous"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="UTF-8" />
<body><a name="top" id="top"></a>
<div class="body-container">
<header>
<h1 id="dashboard">Organizations module API index</h1>
<section id="navigation" class="navigation">
<menu id="navbar-handle" class="super-navbar" style="display: none">
<li><a href="#" title="Show menu">Show navigation menu</a></li>
</menu>
<ul id="navbar-menu" style="display: block">
<li>
<h2>Dashboard</h2>
<ul>
<li><a href="/dashboard">Documentation</a></li>
<li><a href="/dashboard-configuration">Configuration variables</a></li>
<li><a href="/dashboard-sitemap">Visual sitemap</a></li>
<li><a href="/dashboard-ui">UI index</a></li>
<li><a href="/dashboard-api">API index</a></li>
</ul>
</li>
<li>
<h2>MaxMind GeoIP</h2>
<ul>
<li><a href="/maxmind-geoip-module">Documentation</a></li>
<li><a href="/maxmind-geoip-api">API index</a></li>
</ul>
</li>
<li>
<h2>Organizations</h2>
<ul>
<li><a href="/organizations-module">Documentation</a></li>
<li><a href="/organizations-configuration">Configuration variables</a></li>
<li><a href="/organizations-sitemap">Visual sitemap</a></li>
<li><a href="/organizations-ui">UI index</a></li>
<li><a href="/organizations-api">API index</a></li>
</ul>
</li>
<li>
<h2>Stripe Connect</h2>
<ul>
<li><a href="/stripe-connect-module">Documentation</a></li>
<li><a href="/stripe-connect-configuration">Configuration variables</a></li>
<li><a href="/stripe-connect-sitemap">Visual sitemap</a></li>
<li><a href="/stripe-connect-ui">UI index</a></li>
<li><a href="/stripe-connect-api">API index</a></li>
</ul>
</li>
<li>
<h2>Stripe Subscriptions</h2>
<ul>
<li><a href="/stripe-subscriptions-module">Documentation</a></li>
<li><a href="/stripe-subscriptions-configuration">Configuration variables</a></li>
<li><a href="/stripe-subscriptions-sitemap">Visual sitemap</a></li>
<li><a href="/stripe-subscriptions-ui">UI index</a></li>
<li><a href="/stripe-subscriptions-api">API index</a></li>
</ul>
</li>
<li>
<h2>Example app</h2>
<ul>
<li><a href="/example-web-app">Documentation</a></li>
<li><a href="/example-web-app-sitemap">Visual sitemap</a></li>
<li><a href="/example-web-app-ui">UI index</a></li>
</ul>
</li>
<li>
<h2>Example subscription app</h2>
<ul>
<li><a href="/example-subscription-web-app">Documentation</a></li>
<li><a href="/example-subscription-web-app-sitemap">Visual sitemap</a></li>
<li><a href="/example-subscription-web-app-ui">UI index</a></li>
</ul>
</li>
</ul>
<style>
.reveal,
.reveal ul {
display: block
}
</style>
<script>
var menu = document.getElementById("navbar-menu")
menu.style.display = "none"
var handle = document.getElementById("navbar-handle")
handle.style.display = "block"
handle.onclick = function(e) {
if (menu.style.display === "block") {
menu.style.display = "none"
menu.className = ""
handle.firstElementChild.firstElementChild.innerHTML = "Show navigation menu"
} else {
menu.style.display = "block"
menu.className = "reveal"
handle.firstElementChild.firstElementChild.innerHTML = "Hide navigation menu"
}
}
</script>
</section>
</header>
<div class="section-container">
<section class="full"><a name="content" id="content"></a>
<div class="content">
<div id="user-container">
<h2 id="user-api">User API</h2>
<ul id="user-routes-table" class="api">
<li id="route-0"><a href="/api/user/organizations/create-invitation">/api/user/organizations/create-invitation</a><span class="method POST">POST</span><span class="nodejs">await global.api.user.organizations.CreateInvitation.post(req)</span>
<ul id="url-parameters-0"></ul><span id="post-container-0"> POST </span>
<ul id="post-parameters-0">
<li>secret-code</li>
</ul>
</li>
<li id="route-1"><a href="/api/user/organizations/create-membership">/api/user/organizations/create-membership</a><span class="method POST">POST</span><span class="nodejs">await global.api.user.organizations.CreateMembership.post(req)</span>
<ul id="url-parameters-1"></ul><span id="post-container-1"> POST </span>
<ul id="post-parameters-1">
<li>profileid</li>
<li>secret-code</li>
</ul>
</li>
<li id="route-2"><a href="/api/user/organizations/create-organization">/api/user/organizations/create-organization</a><span class="method POST">POST</span><span class="nodejs">await global.api.user.organizations.CreateOrganization.post(req)</span>
<ul id="url-parameters-2"></ul><span id="post-container-2"> POST </span>
<ul id="post-parameters-2">
<li>organization-email</li>
<li>organization-name</li>
<li>profileid</li>
</ul>
</li>
<li id="route-3"><a href="/api/user/organizations/delete-invitation">/api/user/organizations/delete-invitation</a><span class="method DELETE">DELETE</span><span class="nodejs">await global.api.user.organizations.DeleteInvitation.delete(req)</span>
<ul id="url-parameters-3"></ul>
<ul id="post-parameters-3"></ul>
</li>
<li id="route-4"><a href="/api/user/organizations/delete-membership">/api/user/organizations/delete-membership</a><span class="method DELETE">DELETE</span><span class="nodejs">await global.api.user.organizations.DeleteMembership.delete(req)</span>
<ul id="url-parameters-4"></ul>
<ul id="post-parameters-4"></ul>
</li>
<li id="route-5"><a href="/api/user/organizations/delete-organization">/api/user/organizations/delete-organization</a><span class="method DELETE">DELETE</span><span class="nodejs">await global.api.user.organizations.DeleteOrganization.delete(req)</span>
<ul id="url-parameters-5"></ul>
<ul id="post-parameters-5"></ul>
</li>
<li id="route-6"><a href="/api/user/organizations/invitation">/api/user/organizations/invitation</a><span class="method GET">GET</span><span class="nodejs">await global.api.user.organizations.Invitation.get(req)</span>
<ul id="url-parameters-6"></ul>
<ul id="post-parameters-6"></ul>
</li>
<li id="route-7"><a href="/api/user/organizations/invitations-count">/api/user/organizations/invitations-count</a><span class="method GET">GET</span><span class="nodejs">await global.api.user.organizations.InvitationsCount.get(req)</span>
<ul id="url-parameters-7"></ul>
<ul id="post-parameters-7"></ul>
</li>
<li id="route-8"><a href="/api/user/organizations/invitations">/api/user/organizations/invitations</a><span class="method GET">GET</span><span class="nodejs">await global.api.user.organizations.Invitations.get(req)</span><span id="url-container-8"> URL </span>
<ul id="url-parameters-8">
<li>all</li>
<li>limit</li>
<li>offset</li>
<li>organizationid</li>
</ul>
<ul id="post-parameters-8"></ul>
</li>
<li id="route-9"><a href="/api/user/organizations/membership">/api/user/organizations/membership</a><span class="method GET">GET</span><span class="nodejs">await global.api.user.organizations.Membership.get(req)</span>
<ul id="url-parameters-9"></ul>
<ul id="post-parameters-9"></ul>
</li>
<li id="route-10"><a href="/api/user/organizations/memberships-count">/api/user/organizations/memberships-count</a><span class="method GET">GET</span><span class="nodejs">await global.api.user.organizations.MembershipsCount.get(req)</span>
<ul id="url-parameters-10"></ul>
<ul id="post-parameters-10"></ul>
</li>
<li id="route-11"><a href="/api/user/organizations/memberships">/api/user/organizations/memberships</a><span class="method GET">GET</span><span class="nodejs">await global.api.user.organizations.Memberships.get(req)</span><span id="url-container-11"> URL </span>
<ul id="url-parameters-11">
<li>all</li>
<li>limit</li>
<li>offset</li>
<li>organizationid</li>
</ul>
<ul id="post-parameters-11"></ul>
</li>
<li id="route-12"><a href="/api/user/organizations/open-invitation">/api/user/organizations/open-invitation</a><span class="method GET">GET</span><span class="nodejs">await global.api.user.organizations.OpenInvitation.get(req)</span>
<ul id="url-parameters-12"></ul>
<ul id="post-parameters-12"></ul>
</li>
<li id="route-13"><a href="/api/user/organizations/organization-membership">/api/user/organizations/organization-membership</a><span class="method GET">GET</span><span class="nodejs">await global.api.user.organizations.OrganizationMembership.get(req)</span>
<ul id="url-parameters-13"></ul>
<ul id="post-parameters-13"></ul>
</li>
<li id="route-14"><a href="/api/user/organizations/organization">/api/user/organizations/organization</a><span class="method GET">GET</span><span class="nodejs">await global.api.user.organizations.Organization.get(req)</span>
<ul id="url-parameters-14"></ul>
<ul id="post-parameters-14"></ul>
</li>
<li id="route-15"><a href="/api/user/organizations/organizations-count">/api/user/organizations/organizations-count</a><span class="method GET">GET</span><span class="nodejs">await global.api.user.organizations.OrganizationsCount.get(req)</span>
<ul id="url-parameters-15"></ul>
<ul id="post-parameters-15"></ul>
</li>
<li id="route-16"><a href="/api/user/organizations/organizations">/api/user/organizations/organizations</a><span class="method GET">GET</span><span class="nodejs">await global.api.user.organizations.Organizations.get(req)</span><span id="url-container-16"> URL </span>
<ul id="url-parameters-16">
<li>all</li>
<li>limit</li>
<li>offset</li>
</ul>
<ul id="post-parameters-16"></ul>
</li>
<li id="route-17"><a href="/api/user/organizations/set-organization-owner">/api/user/organizations/set-organization-owner</a><span class="method PATCH">PATCH</span><span class="nodejs">await global.api.user.organizations.SetOrganizationOwner.patch(req)</span>
<ul id="url-parameters-17"></ul>
<ul id="post-parameters-17"></ul>
</li>
<li id="route-18"><a href="/api/user/organizations/update-organization">/api/user/organizations/update-organization</a><span class="method PATCH">PATCH</span><span class="nodejs">await global.api.user.organizations.UpdateOrganization.patch(req)</span>
<ul id="url-parameters-18"></ul><span id="post-container-18"> POST </span>
<ul id="post-parameters-18">
<li>email</li>
<li>name</li>
</ul>
</li>
</ul>
</div>
<div id="administrator-container">
<h2 id="administrator-api">Administrator API</h2>
<ul id="administrator-routes-table" class="api">
<tbody>
<li id="route-19"><a href="/api/administrator/organizations/invitation">/api/administrator/organizations/invitation</a><span class="method GET">GET</span><span class="nodejs">await global.api.administrator.organizations.Invitation.get(req)</span>
<ul id="url-parameters-19"></ul>
<ul id="post-parameters-19"></ul>
</li>
<li id="route-20"><a href="/api/administrator/organizations/invitations-count">/api/administrator/organizations/invitations-count</a><span class="method GET">GET</span><span class="nodejs">await global.api.administrator.organizations.InvitationsCount.get(req)</span>
<ul id="url-parameters-20"></ul>
<ul id="post-parameters-20"></ul>
</li>
<li id="route-21"><a href="/api/administrator/organizations/invitations">/api/administrator/organizations/invitations</a><span class="method GET">GET</span><span class="nodejs">await global.api.administrator.organizations.Invitations.get(req)</span><span id="url-container-21"> URL </span>
<ul id="url-parameters-21">
<li>accountid</li>
<li>all</li>
<li>limit</li>
<li>offset</li>
<li>organizationid</li>
</ul>
<ul id="post-parameters-21"></ul>
</li>
<li id="route-22"><a href="/api/administrator/organizations/membership">/api/administrator/organizations/membership</a><span class="method GET">GET</span><span class="nodejs">await global.api.administrator.organizations.Membership.get(req)</span>
<ul id="url-parameters-22"></ul>
<ul id="post-parameters-22"></ul>
</li>
<li id="route-23"><a href="/api/administrator/organizations/memberships-count">/api/administrator/organizations/memberships-count</a><span class="method GET">GET</span><span class="nodejs">await global.api.administrator.organizations.MembershipsCount.get(req)</span>
<ul id="url-parameters-23"></ul>
<ul id="post-parameters-23"></ul>
</li>
<li id="route-24"><a href="/api/administrator/organizations/memberships">/api/administrator/organizations/memberships</a><span class="method GET">GET</span><span class="nodejs">await global.api.administrator.organizations.Memberships.get(req)</span><span id="url-container-24"> URL </span>
<ul id="url-parameters-24">
<li>accountid</li>
<li>all</li>
<li>limit</li>
<li>offset</li>
<li>organizationid</li>
</ul>
<ul id="post-parameters-24"></ul>
</li>
<li id="route-25"><a href="/api/administrator/organizations/organization">/api/administrator/organizations/organization</a><span class="method GET">GET</span><span class="nodejs">await global.api.administrator.organizations.Organization.get(req)</span>
<ul id="url-parameters-25"></ul>
<ul id="post-parameters-25"></ul>
</li>
<li id="route-26"><a href="/api/administrator/organizations/organizations-count">/api/administrator/organizations/organizations-count</a><span class="method GET">GET</span><span class="nodejs">await global.api.administrator.organizations.OrganizationsCount.get(req)</span>
<ul id="url-parameters-26"></ul>
<ul id="post-parameters-26"></ul>
</li>
<li id="route-27"><a href="/api/administrator/organizations/organizations">/api/administrator/organizations/organizations</a><span class="method GET">GET</span><span class="nodejs">await global.api.administrator.organizations.Organizations.get(req)</span><span id="url-container-27"> URL </span>
<ul id="url-parameters-27">
<li>accountid</li>
<li>all</li>
<li>limit</li>
<li>offset</li>
</ul>
<ul id="post-parameters-27"></ul>
</li>
</tbody>
</ul>
</div>
</div>
</section>
</div>
</div><template id="parameter-item-template" template="parameter-item-template">
<li>${parameter.name}</li>
</template><template id="route-row-template" template="route-row-template">
<li id="route-${route.id}"><a href="${route.url}">${route.url}</a><span class="method ${route.verb}">${route.verb}</span><span class="nodejs">await ${route.nodejs}.${route.verb.toLowerCase()}(req)</span><span id="url-container-${route.id}"> URL </span>
<ul id="url-parameters-${route.id}"></ul><span id="post-container-${route.id}"> POST </span>
<ul id="post-parameters-${route.id}"></ul>
</li>
</template>
</body>
</head>
</html>