Updated endpoints description
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
b71e7440b3
commit
3512e287ae
|
@ -2,7 +2,7 @@ const axios = require('axios');
|
||||||
const tokenLifespan = 10;
|
const tokenLifespan = 10;
|
||||||
module.exports = Self => {
|
module.exports = Self => {
|
||||||
Self.remoteMethodCtx('getServiceAuth', {
|
Self.remoteMethodCtx('getServiceAuth', {
|
||||||
description: 'Send a RocketChat message',
|
description: 'Authenticates with the service and request a new token',
|
||||||
accessType: 'READ',
|
accessType: 'READ',
|
||||||
accepts: [],
|
accepts: [],
|
||||||
returns: {
|
returns: {
|
||||||
|
|
|
@ -2,7 +2,7 @@ const axios = require('axios');
|
||||||
|
|
||||||
module.exports = Self => {
|
module.exports = Self => {
|
||||||
Self.remoteMethodCtx('sendCheckingPresence', {
|
Self.remoteMethodCtx('sendCheckingPresence', {
|
||||||
description: 'Sends a RocketChat message to a working worker or department channel',
|
description: 'Sends a RocketChat message to a connected user or department channel',
|
||||||
accessType: 'WRITE',
|
accessType: 'WRITE',
|
||||||
accepts: [{
|
accepts: [{
|
||||||
arg: 'recipientId',
|
arg: 'recipientId',
|
||||||
|
|
Loading…
Reference in New Issue