Авторизация
Содержит методы работы с авторизацией пользователей
auth.login
Метод производит авторизацию пользователя внутри системы, создает специальную сессию и возвращет токен авторизации для доступа к остальным методам
Параметры запроса
Атрибут |
Тип |
Описание |
email* |
string |
E-mail пользователя |
password* |
string |
Пароль пользователя |
policy* |
boolean |
Принятие политики конфиденциальности |
remember |
boolean |
Запомнить сессию - продление сессии до 7 дней |
keycloak |
boolean |
Отметка об авторизации через Keycloak |
noip |
boolean |
Запомнить IP адрес пользователя |
ttl |
int |
Время жизни сессии |
Ошибки
Код |
Описание |
40301 |
Неверный логин или пароль |
40302 |
Аккаунт пользователя отключён |
40303 |
Аккаунт пользователя не активирован |
Пользователи
accounts.index
Метод выведет список пользователей на основе указанных фильтров.
users.contacts.create
users.contacts.delete
v2.accounts.{n}.update
v2.accounts.{n}.charge
v2.accounts.{n}.delete
v2.accounts.create
v2.accounts.simpleList
v2.accounts.simpleList
Отделы
departments.create
departments.delete
departments.get
departments.getTree
departments.setUsers
departments.structure
departments.update
Должности
Warning: Undefined array key 25 in
/opt/api/api.php on line
75
Нет методов в данной группе
Warning: Undefined array key 25 in /opt/api/api.php on line 80
Warning: foreach() argument must be of type array|object, null given in /opt/api/api.php on line 80
Достижения
achievements.assignUsers
achievements.create
achievements.delete
achievements.fetchAssignUsers
achievements.get
achievements.getEvents
achievements.getList
achievements.getUsers
achievements.read
achievements.removeAssignUser
achievements.removeAssignUsersAll
achievements.simpleList
achievements.update
achievements.updateAccessList
Герой
v2.hero.{n}.invite
v2.hero.{n}.levels.{n}.update
v2.hero.{n}.levels.{n}.delete
v2.hero.{n}.levels.add
v2.hero.{n}.users.{n}.delete
v2.hero.user
sdfsdfsd
Магазин
shop.addAtributes
shop.addCategory
shop.addProductCategory
shop.addUserCategory
shop.adminListOrders
shop.adminListOrders
shop.cancelOrder
shop.createOrder
shop.createProduct
shop.deleteProduct
shop.dellAtributes
shop.dellCategory
shop.editAtributes
shop.editCategory
shop.getAtributes
shop.getCategory
shop.listOrders
shop.listProducts
Магазин. Список продуктов.
shop.setOrderStatus
shop.simpleList
shop.updateProduct
shop.upsortCategory
Галерея
media.createAlbum
media.deleteAlbum
media.deleteMedia
media.listAlbums
Галерея. Список альбомов.
media.updateAlbum
media.updateMedia
Рейтинг
games.addUsersGameGift
games.listUsers
games.simpleList
rating.getRatingUser
Опросы
polls.getPollResult
Задания
tasks.deleteList
tasks.historyTask
tasks.indexTaskUsers
tasks.moderateIndex
tasks.moderationHistory
tasks.removeUsersAll
tasks.simpleList
tasks.userIndex
tasks.userStatus
Конкурсы
contests.create
contests.delete
contests.historyContest
contests.indexContestUsers
contests.invite
contests.moderateIndex
contests.moderationHistory
contests.removeUsersAll
contests.simpleList
contests.update
contests.userIndex
contests.userIndex
contests.userStatus
Квесты
quests.acceptQuest
quests.checkTask
quests.createTask
quests.deleteTask
quests.doneTask
quests.historyTask
quests.indexCheck
quests.indexQuestUserTasks
quests.indexTasks
quests.indexUsersQuests
quests.moderationHistory
quests.removeUser
quests.removeUsersAll
quests.simpleListQuests
quests.startTask
quests.updateTask
Обучение
professions.create
professions.delete
professions.index
professions.update
programs.changeProgram
programs.cloneProgram
programs.create
programs.create
programs.createNode
programs.delete
programs.deleteNode
programs.indexNodes
programs.invite
programs.kickAll
programs.moveNode
programs.relations
programs.update
programs.updateNode
training.available
training.current
training.progress
training.setcurrent
training.status
Заявки
forms.getApplication
forms.indexApplications
forms.setApplicationStatus
forms.simpleList
Тесты
testing.cloneQuestion
testing.cloneQuestion
testing.createAnswer
testing.createQuestion
testing.createTest
testing.deleteAnswer
testing.deleteQuestion
testing.deleteTest
testing.indexAnswers
testing.indexQuestions
testing.results
testing.simpleList
testing.updateAnswer
testing.updateQuestion
testing.updateTest
Календарь
events.calendar
Слайды
Warning: Undefined array key 16 in
/opt/api/api.php on line
75
Нет методов в данной группе
Warning: Undefined array key 16 in /opt/api/api.php on line 80
Warning: foreach() argument must be of type array|object, null given in /opt/api/api.php on line 80
Документы
docs.createFile
docs.createFolder
docs.createFolder
docs.updateFile
docs.updateFolder
Интеграции
Warning: Undefined array key 20 in
/opt/api/api.php on line
75
Нет методов в данной группе
Warning: Undefined array key 20 in /opt/api/api.php on line 80
Warning: foreach() argument must be of type array|object, null given in /opt/api/api.php on line 80
Лог
v2.transactions.full
v2.transactions.full
Мои документы
Warning: Undefined array key 26 in
/opt/api/api.php on line
75
Нет методов в данной группе
Warning: Undefined array key 26 in /opt/api/api.php on line 80
Warning: foreach() argument must be of type array|object, null given in /opt/api/api.php on line 80
Диалоговый тренажер
Warning: Undefined array key 27 in
/opt/api/api.php on line
75
Нет методов в данной группе
Warning: Undefined array key 27 in /opt/api/api.php on line 80
Warning: foreach() argument must be of type array|object, null given in /opt/api/api.php on line 80