2022-02-18 11:03:09 +00:00
|
|
|
module.exports = class Endpoints {
|
|
|
|
static confirm = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/authentication/confirm.json"],
|
|
|
|
method: "POST",
|
|
|
|
baseDir: "user",
|
|
|
|
};
|
2022-02-18 14:53:35 +00:00
|
|
|
|
|
|
|
static settings = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings.json"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
2022-02-21 19:12:16 +00:00
|
|
|
|
2022-03-30 13:25:29 +00:00
|
|
|
static timeandlanguage = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/timeandlanguage.json"],
|
|
|
|
method: "PUT",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
|
|
|
|
2022-04-04 12:52:41 +00:00
|
|
|
static restore = {
|
|
|
|
url: [
|
|
|
|
"http://localhost:8092/api/2.0/settings/greetingsettings/restore.json",
|
|
|
|
],
|
|
|
|
method: "POST",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
|
|
|
|
|
|
|
static greetingsettings = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/greetingsettings.json"],
|
|
|
|
method: "POST",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
|
|
|
|
2022-03-29 18:45:21 +00:00
|
|
|
static common = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/customschemas/Common.json"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
|
|
|
|
2022-02-21 19:12:16 +00:00
|
|
|
static build = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/version/build.json"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
|
|
|
|
|
|
|
static password = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/security/password"],
|
2022-04-01 13:20:24 +00:00
|
|
|
method: ["GET", "PUT"],
|
2022-02-21 19:12:16 +00:00
|
|
|
baseDir: "settings",
|
|
|
|
};
|
|
|
|
|
|
|
|
static providers = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/people/thirdparty/providers"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "people",
|
|
|
|
};
|
2022-02-22 13:25:38 +00:00
|
|
|
|
|
|
|
static code = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/authentication/123456"],
|
|
|
|
method: "POST",
|
|
|
|
baseDir: "auth",
|
|
|
|
};
|
|
|
|
|
|
|
|
static self = {
|
|
|
|
url: [
|
|
|
|
"http://localhost:8092/api/2.0/people/@self.json",
|
|
|
|
"http://localhost:8092/api/2.0/people/%40self.json",
|
|
|
|
],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "people",
|
|
|
|
};
|
|
|
|
|
|
|
|
static info = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/modules/info"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "modules",
|
|
|
|
};
|
2022-02-24 19:44:54 +00:00
|
|
|
|
|
|
|
static setup = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/tfaapp/setup"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
2022-02-24 20:01:52 +00:00
|
|
|
|
|
|
|
static validation = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/tfaapp/validate"],
|
|
|
|
method: "POST",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
|
|
|
|
|
|
|
static cultures = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/cultures.json"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
2022-03-18 20:40:24 +00:00
|
|
|
|
2022-03-29 18:45:21 +00:00
|
|
|
static timezones = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/timezones.json"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
|
|
|
|
2022-03-18 20:40:24 +00:00
|
|
|
static capabilities = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/capabilities"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
|
|
|
|
|
|
|
static user = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/people/user.json"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "people",
|
|
|
|
};
|
2022-04-01 10:11:18 +00:00
|
|
|
|
|
|
|
static tfaapp = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/tfaapp"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
|
|
|
|
|
|
|
static settfaapp = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/tfaapp"],
|
|
|
|
method: "PUT",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
|
|
|
|
|
|
|
static tfaconfirm = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/tfaapp/confirm"],
|
|
|
|
method: "GET",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
2022-04-04 08:36:01 +00:00
|
|
|
|
|
|
|
static passwordError = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/password"],
|
|
|
|
method: "PUT",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
2022-04-08 09:09:12 +00:00
|
|
|
|
|
|
|
static maildomainsettings = {
|
|
|
|
url: ["http://localhost:8092/api/2.0/settings/maildomainsettings.json"],
|
|
|
|
method: "POST",
|
|
|
|
baseDir: "settings",
|
|
|
|
};
|
2022-02-18 11:03:09 +00:00
|
|
|
};
|