-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathapi.js
More file actions
53 lines (51 loc) · 2.36 KB
/
api.js
File metadata and controls
53 lines (51 loc) · 2.36 KB
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
/*!
* Copyright 2014 Apereo Foundation (AF) Licensed under the
* Educational Community License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may
* obtain a copy of the License at
*
* http://opensource.org/licenses/ECL-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an "AS IS"
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*!
* Define the REST API wrappers for the different modules of the application.
*
* Note: Most of the REST wrappers will take a RestContext (ctx) object as the first parameter. This context
* parameter specifies the tenant URL we're working on, as well as the user making the request and his password.
*
* It will be of the following form:
*
* `{'host': http://oae.oaeproject.org, 'userId': 'janedoe', 'password': 'foo'}`
*
* For anonymous users, `userId` and `password` will be `null`.
*/
module.exports.Activity = require('./api.activity');
module.exports.Admin = require('./api.admin');
module.exports.Authentication = require('./api.authentication');
module.exports.Config = require('./api.config');
module.exports.Content = require('./api.content');
module.exports.Crop = require('./api.crop');
module.exports.Discussions = require('./api.discussions');
module.exports.Doc = require('./api.doc');
module.exports.Folders = require('./api.folders');
module.exports.Following = require('./api.following');
module.exports.Group = require('./api.group');
module.exports.Invitations = require('./api.invitations');
module.exports.LtiTool = require('./api.lti');
module.exports.MediaCore = require('./api.mediacore');
module.exports.MeetingsJitsi = require('./api.meetings-jitsi');
module.exports.OAuth = require('./api.oauth');
module.exports.Previews = require('./api.previews');
module.exports.Search = require('./api.search');
module.exports.Telemetry = require('./api.telemetry');
module.exports.Tenants = require('./api.tenants');
module.exports.Transfer = require('./api.transfer');
module.exports.UI = require('./api.ui');
module.exports.User = require('./api.user');
module.exports.Uservoice = require('./api.uservoice');
module.exports.Version = require('./api.version');