{"info":{"title":"InTouch-backend","description":"InTouch vNext backend project","version":"1.131.0","x-logo":{"url":"https://www.keephub.io/hs-fs/hubfs/Keephub%20new%20logo.png?width=200&height=100&name=Keephub%20new%20logo.png","altText":"Keephub","backgroundColor":"#FFFFFF","href":"https://www.keephub.io"}},"schemes":["http","https"],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"apiKey","name":"Authorization","scheme":"bearer","in":"header","description":"Bearer token to access api endpoints"}},"schemas":{"tasktemplates":{"type":"object","required":["type","template"],"properties":{"orgchartSelection":{"type":"array","description":"Frontend selection array","items":{"type":"string"}},"orgchartAttrSelection":{"type":"array","description":"Array of arrays for org unit attributes that additionaly filter orgchartSelection, Top level array is interpreted as AND, Second level array is interpreted as OR","items":{"type":"array","items":{"type":"string"}}},"groups":{"type":"array","description":"Array of user groups that can read this content","items":{"type":"string"}},"orgunits":{"type":"array","description":"Array of organisation units this template belongs to, filled by server based on orgchartSelection,orgchartAttrSelection and current state of orgchart","items":{"type":"string"}},"type":{"type":"string","description":"Type of template, daily,weekly,monthly1,monthly2,monthly3,monthly4,monthlyLast,monthly,yearly,child,single,custom"},"repeatEvery":{"type":"integer","description":"Parameter for repating tasks, e.g. \"repeat every 5 days\" skip 4 days and then makes repeating child template of 5th day. Default is 1 which means repeat every day,week ..."},"parentRef":{"type":"string","description":"Filled by backend server for child task templates"},"status":{"type":"string","description":"Tempalte status can be empty,pending,partial,complete,ongoing. This is updated on actions, For periodical parent tasks status is [ongoing]"},"template":{"type":"object","description":"Template for task or task template child","properties":{"title":{"type":"object","description":"title for task, at least provide title for originLanguage e.g. {\"en\": \"Do some stuff\"}, possible to other langages as well"},"originLanguage":{"type":"string","description":"Language in which group was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators that worked on translation","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"images":{"type":"array","description":"Array of attached images","items":{"type":"string"}},"videos":{"type":"array","description":"Array of video links","items":{"type":"string"}},"embeddedVideos":{"type":"array","description":"Array of embeddedVideos","items":{"type":"object","properties":{"lang":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"}}}},"attachments":{"type":"array","description":"Array of attachments links","items":{"type":"object","properties":{"name":{"type":"string"},"storageId":{"type":"string"},"fileType":{"type":"string"}}}},"form":{"type":"object","description":"Form related data","properties":{"fields":{"type":"array","description":"Form fields","items":{"type":"object","description":"Form field"}}}},"startDate":{"type":"string","description":"Date when content goes live"},"dueDate":{"type":"string","description":"Date when content goes offline"},"allDayStart":{"type":"boolean","description":"Indicate that StartDate is provided without time component"},"allDayDue":{"type":"boolean","description":"Indicate that DueDate is provided without time component"},"completionType":{"type":"string","description":"Determines does all users need to complete task (personal) or any user in orgunit can do that (group)"},"approveAnswers":{"type":"boolean","description":"Enable approwal flow for this task, and his chlidren if "},"relatedTags":{"type":"array","description":"Array of tags related to this task, in order to submit new relevant tag, just provide new object without _id e.g. {text:TagName}","items":{"type":"string"}}}},"videoProcessing":{"type":"boolean","description":"Indicate that video is still processing"},"lastTaskUserCount":{"type":"integer","description":"Number of users tasked by this single template/child template in last run"},"originalStartDate":{"type":"string","description":"For periodic state that will have their StartDate progressing in templete this is original start date"},"originalAllDayStart":{"type":"boolean","description":"For periodic state that will have their StartDate progressing in templete this is boolean for addDay"},"originalDueDate":{"type":"string","description":"For periodic state that will have their dueDate progressing in templete this is original start date"},"originalAllDayDue":{"type":"boolean","description":"For periodic state that will have their dueDate progressing in templete this is boolean for addDay"},"templateEndDate":{"type":"string","description":"A date when a repeating task should stop/end"},"sendPushNotification":{"type":"boolean","description":"Enable sending push notifications for this template when task becomes active"},"lastReminderAt":{"type":"string","description":"For task reminder function this is time of last reminder for this task"},"edited":{"type":"boolean","description":"marks if relevant fields were changed. Used by frontend"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created content"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated content"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"tasktemplatesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/tasktemplates"}}}},"tasks":{"type":"object","required":["answers","_id"],"properties":{"templateRef":{"type":"string","description":"Reference to task template"},"type":{"type":"string","description":"Task type, based on template type, this field is read only"},"status":{"type":"string","description":"Task status can be open,rejected,pendingApproval,othersPendingApproval,done,draft. This field is updated by backend"},"template":{"type":"object","description":"Template for task","properties":{"title":{"type":"object","description":"title for task, at least provide title for originLanguage e.g. {\"en\": \"Do some stuff\"}, possible to other langages as well"},"originLanguage":{"type":"string","description":"Language in which group was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators that worked on translation","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"images":{"type":"array","description":"Array of attached images","items":{"type":"string"}},"videos":{"type":"array","description":"Array of video links","items":{"type":"string"}},"videoProcessing":{"type":"boolean","description":"Indicate that Video attach to this record is still in processing"},"attachments":{"type":"array","description":"Array of attachments links","items":{"type":"object","properties":{"name":{"type":"string"},"storageId":{"type":"string"},"fileType":{"type":"string"}}}},"form":{"type":"object","description":"Form related data","properties":{"fields":{"type":"array","description":"Form fields","items":{"type":"object","description":"Form field"}}}},"startDate":{"type":"string","description":"Date when content goes live"},"dueDate":{"type":"string","description":"Date when content goes offline"},"completionType":{"type":"string","description":"Determines does all users need to complete task (personal) or any user in orgunit can do that (group)"},"relatedTags":{"type":"array","description":"Array of tags related to this task, in order to submit new relevant tag, just provide new object without _id e.g. {text:TagName}","items":{"type":"string"}}}},"userId":{"type":"string","description":"User to whom this personal task is assigned"},"orgunits":{"type":"array","description":"Orgunits in which this task should be performed","items":{"type":"string"}},"answers":{"type":"array","description":"Answer from user","items":{"type":"object"}},"submissionDate":{"type":"string","description":"Time when task has been submitted"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created content"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated content"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"tasksList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/tasks"}}}},"groups":{"type":"object","required":["_id","name"],"properties":{"_id":{"type":"string","description":"Id of group"},"name":{"type":"object","description":"Name of user group, at least provide name for originLanguage e.g. {\"en\": \"Regional Mangers\"}, possible to other languages as well"},"imported":{"type":"boolean","description":"Type of group. Used to separate user made groups from imported groups. Default value is manual"},"originLanguage":{"type":"string","description":"Language in which group was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators that worked on translation","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"excludeFromContent":{"type":"boolean","description":"Exclude from content placement"},"orgunitsForAdditionalContacts":{"type":"array","description":"Additional orgunits that users assign to this group will be able to find in contacts. Orgunits are expanded with their descendence","items":{"type":"string"}}}},"groupsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/groups"}}}},"groupsPagination":{"title":"groups pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/groupsList"}}},"authentication":{"type":"object","required":["loginName","password"],"properties":{"loginName":{"type":"string","example":"ard@kega.com","description":"Email for login"},"password":{"type":"string","example":"pass","description":"Password for login"}}},"users":{"type":"object","required":["name","loginName","email","password","groups","regions"],"properties":{"name":{"type":"string","description":"User full name"},"firstName":{"type":"string","description":"User first name"},"insertion":{"type":"string","description":"User insertion"},"lastName":{"type":"string","description":"User last name"},"email":{"type":"string","description":"Email for user, must be unique"},"loginName":{"type":"string","description":"Login name for user. It is lowercase value of email field. It is automatically assigned"},"loginMethod":{"type":"string","description":"Login method for user. only system user can change this"},"personalInfo":{"type":"string","description":"Personal information that user puts for himself"},"password":{"type":"string","description":"Hashed password for user, for create password is sent in pain text form"},"passwordExpires":{"type":"string","description":"Date when password expires"},"permanentPassword":{"type":"boolean","description":"Flag that password is expiration mechinsm is disabled for this project"},"firstLoginDone":{"type":"boolean","description":"Flag that tells us if user has logged in system for the first time"},"profilePicture":{"type":"string","format":"byte","description":"User profile picture S3 path"},"organisation":{"type":"string","description":"Organisation name"},"position":{"type":"string","description":"Position (function) in organisation"},"preferredLanguage":{"type":"string","description":"User's prefred language"},"employeeID":{"type":"string","description":"User's employeeID"},"level":{"type":"string","description":"User's current level"},"dob":{"type":"string","description":"Date of birth"},"phone":{"type":"string","description":"Phone number"},"active":{"type":"boolean","description":"Is this account active or not"},"privateEmail":{"type":"string","description":"Private email, this field is only vissible to profile owner and system"},"privatePhone":{"type":"string","description":"Private phone number, this field is only vissible to profile owner and system"},"orgunits":{"type":"array","description":"Array of orgunits user belongs to","items":{"type":"string"}},"groups":{"type":"array","description":"Array of groups user belongs to","items":{"type":"string"}},"roles":{"type":"array","description":"Array of roles user belongs to","items":{"type":"string"}},"excludeFromContacts":{"type":"boolean","description":"Should this user be excluded from search results in contacts"},"excludeFromTasks":{"type":"boolean","description":"Should this user be excluded from task creation"},"ghost":{"type":"boolean","description":"Should this user be excluded from reach and view content count"},"subdomain":{"type":"string","description":"subdomain for request, in case there are multiple configs please match based on current subdomain"},"customAttributes":{"type":"object","description":"Custom attributes"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created user"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated user"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"usersList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/users"}}}},"usersPagination":{"title":"users pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/usersList"}}},"contentpools":{"type":"object","required":["name","createRights","originLanguage"],"properties":{"name":{"type":"object","description":"Object with names of content pool in different languages. At least should have one for originLanguage e.g. {\"en\": \"English Content Pool name\"}"},"originLanguage":{"type":"string","description":"Language in which contentpool was created. Used as default translation"},"createRights":{"type":"array","description":"Array of groups ID that are allowed to write in content pool","items":{"type":"string"}},"limitToOrgtype":{"type":"string","description":"orgunits Type that is forced for this CP"},"rightsConfiguration":{"type":"object","description":"State of rights tab with default configuration for new content, only disable option is supported for now"},"optionsConfiguration":{"type":"object","description":"State of  options tab with default configuration for new content, only disable option is supported for now"},"translationConfiguration":{"type":"object","description":"State of translations tab with default configuration for new content, only disable option is supported for now"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created pool"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated pool"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"},"translators":{"type":"array","description":"Array of translators that worked on content pool","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}}}},"contentpoolsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/contentpools"}}}},"contentpoolsPagination":{"title":"contentpools pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/contentpoolsList"}}},"contents":{"type":"object","required":["title","message","originLanguage","private","orgchartSelection","orgchartAttrSelection","contentPool","contentType","images","attachments","form","event"],"properties":{"orgchartSelection":{"type":"array","description":"Array of organisation units selected on frontend, this is state of selection for edit of content","items":{"type":"string"}},"orgchartAttrSelection":{"type":"object","description":"Object that contains include and exclude properties. Both are Array of arrays for org unit attributes that additionally filter orgchartSelection, Top level array is interpreted as AND, Second level array is interpreted as OR","properties":{"include":{"type":"array","description":"List of inclusion filters for organizational attributes, represented as nested arrays.","items":{"type":"array","items":{"type":"string","format":"objectId","description":"ObjectId reference to an organizational attribute."}}},"exclude":{"type":"array","description":"List of exclusion filters for organizational attributes, represented as nested arrays.","items":{"type":"array","items":{"type":"string","format":"objectId","description":"ObjectId reference to an organizational attribute."}}}}},"groups":{"type":"object","properties":{"exclude":{"type":"boolean","description":"Flag to exclude groups, defaults to false","default":false},"selection":{"type":"array","description":"Array of selected group IDs","items":{"type":"string","description":"Reference to a group ID"}}},"required":["exclude"],"description":"Group field containing exclusion flag and selection of group references"},"orgunits":{"type":"array","description":"Array of organisation units this message belongs to, this array is populated by server based on orgchartSelection","items":{"type":"string"}},"recipient":{"type":"string","description":"Reference to user for whom this content is created"},"notificationsCreated":{"type":"boolean","description":"Tells if notifications for content are created"},"edited":{"type":"boolean","description":"If content data (title, message, poll data) were changed."},"notifyNew":{"type":"boolean","description":"Flag that marks to send notification that new content has been added"},"notifyUpdated":{"type":"boolean","description":"Flag that marks to send notification that the content has been updated"},"event":{"type":"object","description":"Event related data","properties":{"startDate":{"type":"string","description":"Date when event is about to start"},"endDate":{"type":"string","description":"Date when event is about to end"},"widgets":{"type":"array","description":"What mini widgets should be shown on event detail page","items":{"type":"string"}}}},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created content"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated content"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"},"originLanguage":{"type":"string","description":"Language in which content was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators (users) that worked on content","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"title":{"type":"object","description":"At least provide title for originLanguage e.g. {\"en\": \"English Title\"}, possible to other langages as well"},"message":{"type":"object","description":"At least provide message for originLanguage e.g. {\"en\": \"English Message\"}, possible to other langages as well"},"private":{"type":"boolean","description":"Indicate that content is private and that it needs to be addressed to you in order to access it"},"contentPool":{"type":"string","description":"Content pools where message belongs to"},"contentType":{"type":"string","description":"Type of content"},"onlineDate":{"type":"string","description":"Date when content goes live"},"offlineDate":{"type":"string","description":"Date when content goes offline"},"sendPushNotification":{"type":"boolean","description":"Enable sending push notifications for this content"},"images":{"type":"object","description":"At least provide images for originLanguage e.g. {\"en\": [\"local/path/x/y/z\"]}, possible to other langages as well"},"videos":{"type":"array","description":"Array of video references as ObjectIds","items":{"type":"string"}},"embeddedVideos":{"type":"array","description":"Array of embeddedVideos","items":{"type":"object","properties":{"lang":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"}}}},"videoProcessing":{"type":"boolean","description":"Indicate that Video attach to this record is still in processing"},"attachments":{"type":"object","description":"At least provide attachments for originLanguage e.g. {\"en\": []}, possible to other langages as well"},"tags":{"type":"array","description":"Array of tags, assign by content","items":{"type":"object","properties":{"_id":{"type":"string"},"text":{"type":"string"}}}},"relatedTags":{"type":"array","description":"Array of tags related to this content, used for Event to pull taged content to the page, in order to submit new relevant tag, just provide new object without _id e.g. {text:TagName}","items":{"type":"object","properties":{"_id":{"type":"string"},"text":{"type":"string"}}}},"mentions":{"type":"array","description":"Array of yours that are mentioned using @ in message section of contents","items":{"type":"string"}},"social":{"type":"object","description":"Social data","properties":{"reactionsEnabled":{"type":"boolean","description":"Enable reactions on this message"},"commentsEnabled":{"type":"boolean","description":"Enable comments on this message"},"reactionCounts":{"type":"object","description":"Count per reaction on content (Managed by server and can not be changed from client)"},"commentCount":{"type":"integer","description":"Number of L1 comments on content (Managed by server and can not be changed from client)"},"comments":{"type":"array","description":"List of L1 comments on content (Managed by server and can not be changed from client)","items":{"type":"object"}}}},"viewsCount":{"type":"integer","description":"Number of views on content (Managed by server and can not be changed from client)"},"originalReach":{"type":"integer","description":"Original reach number when content was created (Unchangable)"},"poll":{"type":"object","description":"Poll data","properties":{"options":{"type":"array","description":"Poll options","items":{"type":"object","description":"Poll option","properties":{"optId":{"type":"string"},"index":{"type":"integer"},"text":{"type":"string"},"image":{"type":"string"}}}}}},"form":{"type":"object","description":"Form related data","properties":{"active":{"type":"boolean","description":"Flag that marks if form is active or not"},"confidential":{"type":"boolean","description":"Flag that marks if form is confidential"},"confidants":{"type":"array","description":"List of confidants, only confidants can access form results if form is confidental","items":{"type":"string"}},"emails":{"type":"array","description":"Array of emails to send this form to","items":{"type":"string"}},"hookurl":{"type":"string","description":"URL of the webhook which will be called when user submits the form values"},"fields":{"type":"array","description":"Form fields","items":{"type":"object","description":"Form field"}}}},"folder":{"type":"string","description":"Id of folder to which this content may belong to -> applicable only for manuals and faq content types"},"approval":{"type":"object","description":"Approval Flow related data","properties":{"status":{"type":"string","description":"Status of approval"},"reviewedAt":{"type":"string","description":"Field populated by system, timestamp of review"},"reviewedBy":{"type":"string","description":"Field populated by system, reference to user who did review of content (approved or rejected)"}}},"training":{"type":"object","description":"Training related data","properties":{"lessons":{"type":"array","description":"List of lessons for this tnings","items":{"type":"string"}},"ownCompleted":{"type":"array","description":"Populated by backend, no need to send it, list of lessons that current user has completed","items":{"type":"string"}}}}}},"contentsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/contents"}}}},"contentsPagination":{"title":"contents pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/contentsList"}}},"orgchart":{"type":"object","required":["_id","name","parent"],"properties":{"_id":{"type":"string","description":"ID of orgchart node, must be unique"},"name":{"type":"string","description":"Name of orgchartnode, doesn't need to be unique but there shoul'd be two siblings with same name"},"type":{"type":"string","description":"OrgchartType for node"},"profilePicture":{"type":"string","description":"Path reference to orgunit profile image"},"generalInformation":{"type":"object","description":"Object with textual description of org chart node separated into languages present in the app. At least should have one for originLanguage e.g. {\"en\": \"English All stores\"}"},"contactInformation":{"type":"object","properties":{"phone1":{"type":"string","description":"Contact phone 1"},"phone2":{"type":"string","description":"Contact phone 2"},"email1":{"type":"string","description":"Contact email 1"},"email2":{"type":"string","description":"Contact email 2"},"address1":{"type":"string","description":"Address line 1"},"address2":{"type":"string","description":"Address line 2"},"city":{"type":"string"},"zipcode":{"type":"string"},"country":{"type":"string"}}},"additionalInformation":{"type":"object","description":"Additional information in Key/Val"},"openingTimes":{"type":"array","description":"Array opening times for orgunit, there can be none or more then one opening time per week day. week days are in ISO format","items":{"type":"object","properties":{"isoweekday":{"type":"integer","description":"Week day in ISO representation"},"open":{"type":"integer","description":"Start time in minutes from beginning of a day"},"close":{"type":"integer","description":"End time in minutes from beginning of a day"}}}},"excludeFromContacts":{"type":"boolean","description":"Exclude from contacts search"},"namepath":{"type":"string","description":"Comma separated path of names for all nodes from the root to current node, field will be generated from system"},"idpath":{"type":"string","description":"Comma separated path of IDs for all nodes from the root to current node, field will be generated from system"},"parent":{"type":"string","description":"Reference to parent node, every node needs to have parent, root node can't be created or deleted it is generated from start"},"ancestors":{"type":"array","description":"List of all ancestor IDs to current node","items":{"type":"string"}},"children":{"type":"array","description":"List of all direct children IDs of current node","items":{"type":"string"}},"attributes":{"type":"object","description":"Additional attributes for node, every attribute can have one or more values, referencing orgattributes"},"externalRef":{"type":"string","description":"External reference to the node, if exists"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created node"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated node"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"},"originLanguage":{"type":"string","description":"Language in which orgchart was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators that worked on orgChart","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}}}},"orgchartList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/orgchart"}}}},"authManagement":{"type":"object","required":["action","value"],"properties":{"action":{"type":"string","description":"Name of action to execute, please read instrcutions above"},"value":{"type":"object","description":"Values of action to execute, based on action strcture is different"}}},"translations":{"type":"object","required":["cid"],"properties":{"lang":{"type":"string","description":"Requested language code"},"cid":{"type":"integer","description":"Requested client id"},"translations":{"type":"object","description":"Client specific translations overrides"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created translation"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated translation"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"translationsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/translations"}}}},"translationsPagination":{"title":"translations pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/translationsList"}}},"orgtypes":{"type":"object","required":["_id","name"],"properties":{"_id":{"type":"string","description":"ID of orgtype node, must be unique"},"name":{"type":"string","description":"Name of org type"},"imported":{"type":"boolean","description":"Type of attribute. Depending on how it was created, can be \"manual\" or \"imported\""},"description":{"type":"string","description":"Textual description of org type node"},"orderIndex":{"type":"integer","description":"used to sort order types in response since we can not sort by hierarchie"},"parent":{"type":"string","description":"In case we have hierarchie of types this is parent type for this type"}}},"orgtypesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/orgtypes"}}}},"orgtypesPagination":{"title":"orgtypes pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/orgtypesList"}}},"reactions":{"type":"object","required":["message","orgunits","contentPools"],"properties":{"type":{"type":"string","description":"Type of reaction, can be messageReaction or commentReaction"},"contentsref":{"type":"string","description":"Reference to contents instance this reaction belongs to"},"commentref":{"type":"string","description":"Reference to comment instance this reaction belongs to"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created reaction"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated reaction"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"reactionsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/reactions"}}}},"comments":{"type":"object","required":["text","refId"],"properties":{"originLanguage":{"type":"string","description":"Language in which comment was created."},"text":{"type":"string","description":"Text of comment"},"refId":{"type":"string","description":"Reference to contents, formvalues or parent comments instance this comment belongs to"},"type":{"type":"string","description":"One of 4 values: onContent, onCommentOnContent, onCommentOnFormvalue or onFormvalue"},"images":{"type":"array","description":"Array of attached images","items":{"type":"string"}},"level":{"type":"integer","description":"Level of comment e.g. 1 => Level 1, 2 => Level 2 etc"},"edited":{"type":"boolean","description":"If comment is changed."},"social":{"type":"object","description":"Social data","properties":{"reactionCount":{"type":"integer","description":"Managed by server and can not be changed from client"},"replyCount":{"type":"integer","description":"Count of replies on current comment (Managed by server and can not be changed from client)"},"replies":{"type":"array","description":"List of replies on current comment (Managed by server and can not be changed from client)","items":{"type":"object"}}}},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created reaction"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated reaction"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"commentsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/comments"}}}},"notifications":{"type":"object","required":["notificationType","recipient"],"properties":{"notificationType":{"type":"string","description":"Type of notification"},"recipient":{"type":"string","description":"Reference to user that will receive notification"},"read":{"type":"boolean","description":"Flag used for checking if recipient has read notification"},"new":{"type":"boolean","description":"Flag used for checking if recipient has new notification"},"notificationData":{"type":"object","description":"Notification data"},"otherUsers":{"type":"number","description":"Number of other users (other then creator of this notification) that participate in notification. E.g. number of likes"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created notification"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated notification"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"action":{"type":"object","required":["action"],"properties":{"action":{"type":"string","description":"Name of one custom action to execute (markAllRead or markAllNonNew)"}}},"notificationsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/notifications"}}}},"notificationsPagination":{"title":"notifications pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/notificationsList"}}},"votes":{"type":"object","properties":{"contentRef":{"type":"string","description":"Reference to contents instance this vote belongs to"},"pollOptId":{"type":"string","description":"Reference to poll option that vote reffers to"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created vote"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated vote"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"votesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/votes"}}}},"version":{"type":"object","required":["loginName","password"],"properties":{"version":{"type":"string","description":"Version of app"},"env":{"type":"string","description":"Environment string for app"},"cpus":{"type":"string","description":"CPU data"},"totalmem":{"type":"string","description":"Memory data"},"freemem":{"type":"string","description":"Free memory data"}}},"versionList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/version"}}}},"configs":{"type":"object","required":["cid","configType"],"properties":{"configType":{"type":"string","description":"Requested configuration type"},"subdomain":{"type":"string","description":"config for specific subdomain, in case there are multiple configs please match based on current subdomain"},"environment":{"type":"string","description":"Envirnoment name"},"data":{"type":"object","description":"Client specific configuration"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created configuration"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated configuration"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"configsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/configs"}}}},"configsPagination":{"title":"configs pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/configsList"}}},"pushsubscriptions":{"type":"object","required":["udid","pushPermission","platform"],"properties":{"udid":{"type":"string","description":"Universally device identifier of device, or some other identificator for web"},"pushPermission":{"type":"boolean","description":"If user has granted push permission. False is only for web and it is default"},"lastRequest":{"type":"string","description":"Last date and time user was presented with question set by server if pushPermission=false on create"},"platform":{"type":"string","description":"Type of device platform that user uses, options are ios,android,web"},"pushToken":{"type":"string","description":"FCM push token sent from device, used by Android and Web"},"apnsPushToken":{"type":"string","description":"Apns push token sent from device. Optional, sent in the case IOS device"},"subscriptionId":{"type":"string","description":"Deprecated do not use this attribute, left for backward compatibility"},"loggedOn":{"type":"boolean","description":"Flag that marks if user is logged in app on corresponding device"},"update":{"type":"boolean","description":"Deprecated do not use this attribute, left for backward compatibility"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created pushsubscription"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated pushsubscription"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"pushsubscriptionsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/pushsubscriptions"}}}},"pushsubscriptionsPagination":{"title":"pushsubscriptions pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/pushsubscriptionsList"}}},"authchat":{"type":"object","properties":{}},"authchatList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/authchat"}}}},"authchatPagination":{"title":"authchat pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/authchatList"}}},"pushmessages":{"type":"object","required":["message"],"properties":{"status":{"type":"string","description":"Status of the message (new, converted, processed)"},"sendTime":{"type":"string","description":"Time the push needs to be sended."},"message":{"type":"string","description":"Text of the message"},"origin":{"type":"string","description":"For what event is the push message sent? for now we have message."},"originId":{"type":"string","description":"This is the reference to the entity that caused the push."},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created pushsubscription"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated pushsubscription"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"pushmessagesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/pushmessages"}}}},"pushmessagesPagination":{"title":"pushmessages pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/pushmessagesList"}}},"pushmessagesqueue":{"type":"object","required":["pushMessage","message"],"properties":{"pushMessage":{"type":"string","description":"Reference to corresponding push message ."},"status":{"type":"string","description":"Status of the message queue entry (pending, sent)"},"sentAt":{"type":"string","description":"Time the push queue entry was sent"},"message":{"type":"string","description":"Text of the message"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created pushsubscription"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated pushsubscription"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"pushmessagesqueueList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/pushmessagesqueue"}}}},"pushmessagesqueuePagination":{"title":"pushmessagesqueue pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/pushmessagesqueueList"}}},"formvalues":{"type":"object","required":["value, contentRef"],"properties":{"contentRef":{"type":"string","description":"Reference to contents instance this formValue belongs to"},"contentType":{"type":"string","description":"Type of content, will be polupated based on contentRef, you should use it as filter"},"confidential":{"type":"boolean","description":"Flag that marks if form is confidential"},"confidants":{"type":"array","description":"List of confidants, only confidants can access form results if form is confidental","items":{"type":"string"}},"values":{"type":"array","description":"Form values filled by user","items":{"type":"object"}},"orgunitsOfCreator":{"type":"array","description":"Orgunits of original creator, form values are filtered to zone of influence based on those, this can be different that placement of content on which this values are based.","items":{"type":"object"}},"videoProcessing":{"type":"boolean","description":"Indicate that Video attach to this record is still in processing"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created formvalues"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated formvalues"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"formvaluesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/formvalues"}}}},"formvaluesPagination":{"title":"formvalues pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/formvaluesList"}}},"permissions":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"Permission value"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created permissions"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated permissions"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"permissionsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/permissions"}}}},"permissionsPagination":{"title":"permissions pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/permissionsList"}}},"roles":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Role name"},"level":{"type":"string","description":"Level of fole name, e.g. user, supervisor, admin, system"},"permissions":{"type":"array","description":"Array of permissions that role has","items":{"type":"string"}},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created roles"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated roles"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"rolesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/roles"}}}},"rolesPagination":{"title":"roles pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/rolesList"}}},"signurl":{"properties":{"signType":{"type":"string","description":"type of signing action. Possible values getObject and putObject"},"origin":{"type":"string","description":"type of origin of url. Possible values are: contentAttachment,contentTemplateAttachment,tasktemplateAttachment,taskAttachment,formValuesAttachment,externalAttachment,contentVideo,tasktemplateVideo,formValuesVideo,taskFormAnswer,externalPluginUrl,externalPluginProfile,lessonAttachment. Used with getObject"},"originId":{"type":"string","description":"Id of origin (entity Id on which this URL is added). Used with getObject"},"storageId":{"type":"string","description":"Id on storageId that needs to be signed"},"contentType":{"type":"string","description":"Content type of attachment. Used with putObject"},"fileType":{"type":"string","description":"Used and lambda hint when generating storageId. Possible values are: image,video,attachment,other. Used with putObject"},"subFolder":{"type":"string","description":"Used as additional folder (optional) when generating storageId. Used with putObject"},"textractDisable":{"type":"string","description":"Used to override pdf text extraction lambda (optional). Used with putObject"},"fileName":{"type":"string","description":"Will be appended to path that is configured.  Used with putObject"},"attachment":{"type":"boolean","description":"Used in getObject, If true content-disposition will be attachment"},"url":{"type":"string","description":"url to sign for externalPluginUrl"}}},"contentviews":{"type":"object","properties":{"contentRef":{"type":"string","description":"Reference to contents instance this vote belongs to"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created vote"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated vote"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"contentviewsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/contentviews"}}}},"blacklisttoken":{"type":"object","properties":{"token":{"type":"string","description":"Token that needs to be blacklisted"}}},"blacklisttokenList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/blacklisttoken"}}}},"search":{"type":"object","properties":{"searchData":{"type":"object","description":"Search result"}}},"searchList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/search"}}}},"searchPagination":{"title":"search pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/searchList"}}},"levels":{"type":"object","required":["levels"],"properties":{"name":{"type":"string","description":"Level name"},"range":{"type":"array","description":"Array of numbers of level range with values FROM - TO","items":{"type":"number"}},"reward":{"type":"object","properties":{"amount":{"type":"number","description":"Amount of coins or some other type of award to be given"},"title":{"type":"string","description":"Name of the title that goes with this level"},"icon":{"type":"string","description":"mdi icon name to be displayed on app for this level"}}}}},"levelsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/levels"}}}},"rewards":{"type":"object","required":["query"],"properties":{"rewardType":{"type":"string","description":"Rewart type"},"points":{"type":"number","description":"Number of points awarded to user"},"coins":{"type":"number","description":"Number of coins awarded to user"},"pipeline":{"type":"string","description":"pipeline executed to retrieve list of users on which reward will be aplied"},"collectionName":{"type":"string","description":"collection on which pipeline query will be executed"},"description":{"type":"string","description":"Reward description"},"title":{"type":"string","description":"Reward title"},"oneTimeReward":{"type":"boolean","description":"Is reward given only once per user or every time condition is meat"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created rewards"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated rewards"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"rewardsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/rewards"}}}},"rewardsPagination":{"title":"rewards pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/rewardsList"}}},"badges":{"type":"object","required":["query"],"properties":{"name":{"type":"string","description":"Badge name"},"image":{"type":"string","description":"Badge image"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created badges"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated badges"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"badgesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/badges"}}}},"badgesPagination":{"title":"badges pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/badgesList"}}},"usersrewards":{"type":"object","required":["query"],"properties":{"userRef":{"type":"string","description":"Reference to user who received reward"},"entityRef":{"type":"string","description":"Reference to entity which is relevant to reward"},"rewardRef":{"type":"string","description":"Reference to reward"},"points":{"type":"number","description":"Number of points awarded to user"},"coins":{"type":"number","description":"Number of coins awarded to user"},"description":{"type":"string","description":"User reward description"},"title":{"type":"string","description":"Reward title"},"originLanguage":{"type":"string","description":"Language in which reward was created. Used as default translation"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created usersrewards"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated usersrewards"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"usersrewardsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/usersrewards"}}}},"usersrewardsPagination":{"title":"usersrewards pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/usersrewardsList"}}},"translate":{"type":"object","properties":{"text":{"type":"array","description":"Text for translation","items":{"type":"string"}},"source":{"type":"string","description":"Source language"},"target":{"type":"string","description":"Target language"}}},"translateList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/translate"}}}},"translatePagination":{"title":"translate pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/translateList"}}},"userspointsbalances":{"type":"object","required":["query"],"properties":{"userRef":{"type":"string","description":"Reference to user who received points"},"usersRewardRef":{"type":"string","description":"Reference to user reward"},"points":{"type":"number","description":"Number of points awarded to user"},"description":{"type":"string","description":"User points description"},"title":{"type":"string","description":"Reward title"},"originLanguage":{"type":"string","description":"Language in which reward was created. Used as default translation"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created usersrewards"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated usersrewards"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"userspointsbalancesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/userspointsbalances"}}}},"userspointsbalancesPagination":{"title":"userspointsbalances pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/userspointsbalancesList"}}},"attachmentdetails":{"type":"object","properties":{}},"attachmentdetailsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/attachmentdetails"}}}},"attachmentdetailsPagination":{"title":"attachmentdetails pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/attachmentdetailsList"}}},"awstrigger":{"type":"object","properties":{"type":{"type":"string","description":"Type of trigger, allowed values are [pdfConvertedToTxt,videoResized]"},"value":{"type":"string","description":"value from trigger, point to new content. For pdfConvertedToTxt it is location of TXT file that will later be deleted, for videoResized it points to new converted video (original one from processing will be deleted)"},"poster":{"type":"array","description":"Array of two poster image URLs","items":{"type":"string"},"minItems":2,"maxItems":2},"ref":{"type":"string","description":"Reference to original content. For pdfConvertedToTxt it points to original PDF in processing folder, for videoResized it points to original video in processing folder"}}},"awstriggerList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/awstrigger"}}}},"chatgroups":{"type":"object","required":["name","type","users"],"properties":{"name":{"type":"string","description":"Name of the group, non translatable"},"type":{"type":"string","description":"Type of group, options are external and auto, Use external unless you are sure"},"users":{"type":"array","description":"Array of users that belong to the group","items":{"type":"string"}},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created group"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated group"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"chatgroupsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/chatgroups"}}}},"chatgroupsPagination":{"title":"chatgroups pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/chatgroupsList"}}},"tags":{"type":"object","required":["text","_id"],"properties":{"text":{"type":"string","description":"Text of the tag, hashtags start with hash symbol"},"type":{"type":"string","description":"Type of task, default is \"content\""},"useCount":{"type":"integer","description":"Number of times certain tag is used in content, system will generate this field"},"relevanceScore":{"type":"integer","description":"Score of document that will be used for sorting, system will generate this field and Sam needs to expain how to populate this"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created tag"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated tag"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"tagsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/tags"}}}},"exports":{"properties":{}},"contentpooltypes":{"type":"object","required":["name","createRights","limitToOrgtype","rightsConfiguration","optionsConfiguration","translationConfiguration"],"properties":{"name":{"type":"string","description":"Name of content pool type"},"type":{"type":"string","description":"Type of content in this pool, new content can by only of this type"},"createRights":{"type":"array","description":"Initial value for groups ID that are allowed to write in content pool","items":{"type":"string"}},"limitToOrgtype":{"type":"string","description":"Initial value for orgunits Type that is forced for CP of this type"},"rightsConfiguration":{"type":"object","description":"Initial state of rights tab, only disable option is supported for now"},"optionsConfiguration":{"type":"object","description":"Initial state of options tab, only disable option is supported for now"},"translationConfiguration":{"type":"object","description":"Initial state of translations tab, only disable option is supported for now"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created pool type"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated pool type"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"contentpooltypesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/contentpooltypes"}}}},"contentpooltypesPagination":{"title":"contentpooltypes pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/contentpooltypesList"}}},"orgattributes":{"type":"object","required":["_id","name","originLanguage","category"],"properties":{"_id":{"type":"string","description":"Id of attribute"},"name":{"type":"object","description":"Name of attribute, at least provide name for originLanguage e.g. {\"en\": \"Second floor\"}, possible to other langages as well"},"originLanguage":{"type":"string","description":"Language in which attribute was created. Used as default translation"},"imported":{"type":"boolean","description":"Type of attribute. Depending on how it was created, can be \"manual\" or \"imported\""},"translators":{"type":"array","description":"Array of translators that worked on translation","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"category":{"type":"string","description":"Id of orgattbibute category"}}},"orgattributesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/orgattributes"}}}},"orgattributesPagination":{"title":"orgattributes pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/orgattributesList"}}},"orgattributecategories":{"type":"object","required":["_id","name","originLanguage"],"properties":{"_id":{"type":"string","description":"Id of attribute category"},"name":{"type":"object","description":"Name of attribute category, at least provide name for originLanguage e.g. {\"en\": \"Department attributes\"}, possible to other langages as well"},"originLanguage":{"type":"string","description":"Language in which attribute category was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators that worked on translation","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}}}},"orgattributecategoriesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/orgattributecategories"}}}},"orgattributecategoriesPagination":{"title":"orgattributecategories pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/orgattributecategoriesList"}}},"talkjshook":{},"folders":{"type":"object","required":["name","originLanguage","parent"],"properties":{"_id":{"type":"string","description":"Id of folder"},"name":{"type":"object","description":"Name of folder, at least provide name for originLanguage e.g. {\"en\": \"Table of Contents\"}, possible to other langages as well"},"originLanguage":{"type":"string","description":"Language in which folder was created. Used as default translation"},"contentPool":{"type":"string","description":"Content pools where message belongs to"},"orgchartSelection":{"type":"array","description":"Array of organisation units selected on frontend, this is state of selection for edit of folder","items":{"type":"string"}},"orgchartAttrSelection":{"type":"array","description":"Array of arrays for org unit attributes that additionaly filter orgchartSelection, Top level array is interpreted as AND, Second level array is interpreted as OR","items":{"type":"array","items":{"type":"string"}}},"groups":{"type":"array","description":"Array of user groups that can read this folder","items":{"type":"string"}},"orgunits":{"type":"array","description":"Array of organisation units this folder belongs to, this array is populated by server based on orgchartSelection","items":{"type":"string"}},"translators":{"type":"array","description":"Array of translators that worked on translation","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"count":{"type":"integer","description":"Number of documents in the folder"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created file"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated file"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"foldersList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/folders"}}}},"loginoptions":{"type":"object","properties":{"loginMethod":{"type":"string","description":"String that returned allowed login method for user, options are [local,oauth]"},"oAuthURL":{"type":"string","description":"URL that needs to be called in order to redirect user to IDP portal, only present if loginMethod is oauth"},"magicLink":{"type":"boolean","description":"Flag that tells if magic link (Email Sign-in) login is possible for user, user needs to have valid email and magic link needs to be enabled."}}},"loginoptionsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/loginoptions"}}}},"impersonate":{"type":"object","properties":{"value":{"type":"object","properties":{"loginName":{"type":"string","description":"Login name of user to impersonate"},"_id":{"type":"string","description":"_id of user to impersonate"}}},"method":{"type":"string","description":"Method of impersonate (magiclink,jwt), if not stated magiclink is used"}}},"impersonateList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/impersonate"}}}},"reach":{"type":"object","required":["type","contentPool","orgchartSelection","orgchartAttrSelection","groups"],"properties":{"type":{"type":"string","description":"Used to determine type of reach query, options are [orgUnitBelong,relevantParams,calculateReach]"},"contentPool":{"type":"string","description":"Limit by contentPool (only one), this makes sense only for content and folders, orgtype is taken from CP if it exists.\n          if orgchartSelection is sent when orgtype is present in CP it will be ignored since orgType is relative to user orgchart position."},"orgchartSelection":{"type":"array","items":{"type":"string"},"description":"Limit query to certain orgchart selection (if nothing is provided users orgunits will be taken)"},"orgchartAttrSelection":{"type":"array","items":{"type":"string"},"description":"Limit query orgunits by attributes orgchart selection (if nothing is provided users orgunits will be taken)"},"groups":{"type":"array","items":{"type":"string"},"description":"Limit query to specific group(s), if nothing is selected all groups are considered."},"onlyActiveUsers":{"type":"boolean","description":"Limit query to users that have active status, default is FALSE"},"firstLoginDone":{"type":"boolean","description":"Limit query to users that have done first login (NOT USED ON calculateReach), default is FALSE"},"excludeFromTasks":{"type":"boolean","description":"Limit query to users that are not excluded from tasks, default is FALSE"}}},"reachList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/reach"}}}},"workflow":{"type":"object","properties":{"action":{"type":"string","description":"Type of action to be taken on object, allowed values are approveContent,rejectContent,approveTaskAnswer,rejectTaskAnswer"},"value":{"type":"string","description":"value for action, optional."},"ref":{"type":"string","description":"Reference to original document (for now only content)."}}},"workflowList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/workflow"}}}},"drive":{"type":"object","properties":{"name":{"type":"string","description":"Name of file/folder/orgunit"},"lastModified":{"type":"string","description":"Date when file was last modified, not present for folders and orgunits"},"size":{"type":"number","description":"Size of file, not present for folders and orgunits"},"storageId":{"type":"string","description":"Reference for download in case of file or path that should be entered into filter in order to browse folder/orgunit"},"type":{"type":"string","description":"Type of result, can be file,folder or orgunit"}}},"drive_sign":{"type":"object","properties":{"storageId":{"type":"string","description":"Reference for download in case of file or path that should be entered into filter in order to browse folder/orgunit"}}},"driveList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/drive"}}}},"drive_signList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/drive_sign"}}}},"marketplace":{"type":"object","properties":{"name":{"type":"string","description":"Name of the possible plugin to be used inside app"},"description":{"type":"object","description":"Description of the plugin separated by different languages"},"originLanguage":{"type":"string","description":"Language in which page was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators that worked on content","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"url":{"type":"string","description":""},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created navigation"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated navigation"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"},"active":{"type":"boolean","description":"Is this marketplace plugin switched on or off"}}},"marketplaceList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/marketplace"}}}},"marketplacePagination":{"title":"marketplace pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/marketplaceList"}}},"reports":{"properties":{"reportType":{"type":"string","description":"type of report to make. Possible values are: activeUsersBasedOnLastActivity,contentWeeklyReport,taskMonthlyReport,usersForUsageReport,turnoverRate,adoptionRate,userActivityHeatMap,searchResults,averageResults,averageUseStats."},"pointType":{"type":"string","description":"point type (quant of time) for report to make. Possible values are: all,ever,24h,7d,30d,month,never,last12weeks."},"startDate":{"type":"string","description":"Start date of time period for report"},"endDate":{"type":"string","description":"End date of time period for report, can be in future"}}},"reportsList":{"properties":{"_id":{"type":"string","description":"Id of record."},"date":{"type":"date","description":"Date of record."},"ref":{"type":"string","description":"Reference for record, it can be orgunit, or group or category etc."},"meta":{"type":"object","description":"Metadata, those are information related to the reference in order to denormalise this record"},"data":{"type":"object","description":"Data for all available datapoints that exist"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"chat":{"properties":{"action":{"type":"string","description":"Type of action to be taken on object, allowed values are authenticate,removeFromGroup"},"value":{"type":"string","description":"value for action, optional."},"ref":{"type":"string","description":"Reference to e.g. chat group"}}},"externalcontacts":{"type":"object","required":["name","shortDescription","originLanguage"],"properties":{"profilePicture":{"type":"string","description":"Path reference to Contact logo image"},"name":{"type":"string","description":"Name of contact"},"nameCI":{"type":"string","description":"Field populated by system, for search"},"nameASCII":{"type":"string","description":"Field populated by system, ascii conversion"},"shortDescription":{"type":"string","description":"Contact description"},"email":{"type":"string","description":"Contact email"},"phone":{"type":"string","description":"Contact phone"},"website":{"type":"string","description":"Contact website"},"address1":{"type":"string","description":"Address line 1"},"address2":{"type":"string","description":"Address line 2"},"postalCode":{"type":"string","description":"Contact postalCode"},"city":{"type":"string","description":"Contact city"},"country":{"type":"string","description":"Contact country"},"generalInformation":{"type":"string","description":"General information about contact"},"originLanguage":{"type":"string","description":"Language in which contacts generalInformation was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators that worked on translation","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"attachments":{"type":"array","description":"Array of attachments links","items":{"type":"object","properties":{"name":{"type":"string"},"storageId":{"type":"string"},"fileType":{"type":"string"}}}},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated contact"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created contact"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"externalcontactsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/externalcontacts"}}}},"externalcontactsPagination":{"title":"externalcontacts pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/externalcontactsList"}}},"lessons":{"type":"object","required":["_id","originLanguage","contentsRef","title","questions","neededScore","passedMessage","failedMessage"],"properties":{"_id":{"type":"string","description":"Id of lesson"},"originLanguage":{"type":"string","description":"Language in which lesson was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators that worked on translation","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"contentsRef":{"type":"string","description":"Training of the lesson"},"title":{"type":"object","description":"At least provide title for originLanguage e.g. {\"en\": \"English Title\"}, possible to other langages as well"},"description":{"type":"object","description":"At least provide description for originLanguage e.g. {\"en\": \"English Message\"}, possible to other langages as well"},"questions":{"type":"object","description":"List of questions for the lesson"},"neededScore":{"type":"number","description":"Scopre needed to pass the lesson"},"maxScore":{"type":"number","description":"Maximum score of the lesson"},"passedMessage":{"type":"object","description":"Message for passing the lesson"},"failedMessage":{"type":"object","description":"Message for failing the lesson"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created the lesson"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated the lesson"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"lessonsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/lessons"}}}},"lessonsPagination":{"title":"lessons pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/lessonsList"}}},"lessonsubmissions":{"type":"object","required":["_id","lessonRef","userId"],"properties":{"_id":{"type":"string","description":"Id of lessonsubmission"},"lessonRef":{"type":"string","description":"Lesson that the submission is for"},"userId":{"type":"string","description":"User that submitted the lesson"},"orgunitsOfCreator":{"type":"array","description":"Array of user's orgUnits","items":{"type":"string"}},"status":{"type":"string","description":"Submission's status"},"answers":{"type":"array","description":"List of answers for the lesson","items":{"type":"object"}},"currentScore":{"type":"number","description":"How many points the user scored"},"maxScore":{"type":"number","description":"Maximum score of the lesson"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created the lesson submission"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated the lesson submission"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"lessonsubmissionsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/lessonsubmissions"}}}},"lessonsubmissionsPagination":{"title":"lessonsubmissions pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/lessonsubmissionsList"}}},"themes":{"type":"object","required":["name","themeData"],"properties":{"name":{"type":"string","description":"Name of theme"},"themeData":{"type":"object","description":"All relevant data for a theme"},"default":{"type":"boolean","description":"Is this the default theme"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created the theme"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"themesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/themes"}}}},"themesPagination":{"title":"themes pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/themesList"}}},"maintenance":{"type":"object","properties":{"maintenance":{"type":"boolean","description":"True if maintenance is On"}}},"maintenanceList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/maintenance"}}}},"trainingprogress":{"type":"object","required":["_id","contentsRef","userRef","orgunitsOfCreator","totalLessons","passedLessons"],"properties":{"_id":{"type":"string","description":"Id of trainingprogress"},"contentsRef":{"type":"string","description":"Training's id"},"userRef":{"type":"string","description":"Id of user who is taking the training"},"orgunitsOfCreator":{"type":"array","description":"Orgunits of user who is taking the training","items":{"type":"string"}},"completed":{"type":"boolean","description":"Is training completed"},"totalLessons":{"type":"number","description":"Total number of lessons"},"passedLessons":{"type":"number","description":"Number of lessons passed"},"completedAt":{"type":"string","description":"Last change => When user has completed All lessons"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"trainingprogressList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/trainingprogress"}}}},"videos":{"type":"object","properties":{"refId":{"type":"string","description":"ObjectId reference of entity (based on type) that referes to Video, for now there should be only one reference"},"lang":{"type":"string","description":"Langauge where this video belongs to"},"type":{"type":"string","description":"Type of video, name of collection that referes to video,options are contents,flowtemplates,tasktemplates,lessons"},"status":{"type":"string","description":"Status of video, no need to setit up from frontend,options are draft,new,done"},"storageId":{"type":"string","description":"Unique reference to storageId generated from frontend"},"fileType":{"type":"string","description":"Type of file that is uploaded, needed by frontned"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created video"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated video"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"videosList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/videos"}}}},"videosPagination":{"title":"videos pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/videosList"}}},"automaticflows":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Name is a string, no translations"},"orderOfTemplates":{"type":"array","description":"Order index for frontend in organisation of flow, please update on every change","items":{"type":"string"}},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created flow"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated flow"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"automaticflowsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/automaticflows"}}}},"automaticflowsPagination":{"title":"automaticflows pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/automaticflowsList"}}},"flowtemplates":{"type":"object","required":[],"properties":{"orgchartSelection":{"type":"array","description":"Array of organisation units selected on frontend, this is state of selection for edit of content template","items":{"type":"string"}},"orgchartAttrSelection":{"type":"array","description":"Array of arrays for org unit attributes that additionaly filter orgchartSelection, Top level array is interpreted as AND, Second level array is interpreted as OR","items":{"type":"array","items":{"type":"string"}}},"groups":{"type":"array","description":"Array of user groups for selecting users for template/ and addressing to them","items":{"type":"string"}},"template":{"type":"object","properties":{"originLanguage":{"type":"string","description":"Language in which content was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators (users) that worked on content","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"title":{"type":"object","description":"At least provide title for originLanguage e.g. {\"en\": \"English Title\"}, possible to other langages as well"},"message":{"type":"object","description":"At least provide message for originLanguage e.g. {\"en\": \"English Message\"}, possible to other langages as well"},"private":{"type":"boolean","description":"Indicate that content is private and that it needs to be addressed to you in order to access it"},"contentPool":{"type":"string","description":"Content pools where message belongs to"},"contentType":{"type":"string","description":"Type of content"},"onlineDate":{"type":"string","description":"Date when content goes live"},"offlineDate":{"type":"string","description":"Date when content goes offline"},"sendPushNotification":{"type":"boolean","description":"Enable sending push notifications for this content"},"images":{"type":"object","description":"At least provide images for originLanguage e.g. {\"en\": [\"local/path/x/y/z\"]}, possible to other langages as well"},"videos":{"type":"array","description":"Array of video references as ObjectIds","items":{"type":"string"}},"embeddedVideos":{"type":"array","description":"Array of embeddedVideos","items":{"type":"object","properties":{"lang":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"}}}},"videoProcessing":{"type":"boolean","description":"Indicate that Video attach to this record is still in processing"},"attachments":{"type":"object","description":"At least provide attachments for originLanguage e.g. {\"en\": []}, possible to other langages as well"},"tags":{"type":"array","description":"Array of tags, assign by content","items":{"type":"object","properties":{"_id":{"type":"string"},"text":{"type":"string"}}}},"relatedTags":{"type":"array","description":"Array of tags related to this content, used for Event to pull taged content to the page, in order to submit new relevant tag, just provide new object without _id e.g. {text:TagName}","items":{"type":"object","properties":{"_id":{"type":"string"},"text":{"type":"string"}}}},"mentions":{"type":"array","description":"Array of yours that are mentioned using @ in message section of contents","items":{"type":"string"}},"social":{"type":"object","description":"Social data","properties":{"reactionsEnabled":{"type":"boolean","description":"Enable reactions on this message"},"commentsEnabled":{"type":"boolean","description":"Enable comments on this message"},"reactionCounts":{"type":"object","description":"Count per reaction on content (Managed by server and can not be changed from client)"},"commentCount":{"type":"integer","description":"Number of L1 comments on content (Managed by server and can not be changed from client)"},"comments":{"type":"array","description":"List of L1 comments on content (Managed by server and can not be changed from client)","items":{"type":"object"}}}},"viewsCount":{"type":"integer","description":"Number of views on content (Managed by server and can not be changed from client)"},"originalReach":{"type":"integer","description":"Original reach number when content was created (Unchangable)"},"poll":{"type":"object","description":"Poll data","properties":{"options":{"type":"array","description":"Poll options","items":{"type":"object","description":"Poll option","properties":{"optId":{"type":"string"},"index":{"type":"integer"},"text":{"type":"string"},"image":{"type":"string"}}}}}},"form":{"type":"object","description":"Form related data","properties":{"active":{"type":"boolean","description":"Flag that marks if form is active or not"},"confidential":{"type":"boolean","description":"Flag that marks if form is confidential"},"confidants":{"type":"array","description":"List of confidants, only confidants can access form results if form is confidental","items":{"type":"string"}},"emails":{"type":"array","description":"Array of emails to send this form to","items":{"type":"string"}},"hookurl":{"type":"string","description":"URL of the webhook which will be called when user submits the form values"},"fields":{"type":"array","description":"Form fields","items":{"type":"object","description":"Form field"}}}},"folder":{"type":"string","description":"Id of folder to which this content may belong to -> applicable only for manuals and faq content types"},"event":{"type":"object","description":"Event related data","properties":{"startDate":{"type":"string","description":"Date when event is about to start"},"endDate":{"type":"string","description":"Date when event is about to end"},"widgets":{"type":"array","description":"What mini widgets should be shown on event detail page","items":{"type":"string"}}}},"approval":{"type":"object","description":"Approval Flow related data","properties":{"status":{"type":"string","description":"Status of approval"},"reviewedAt":{"type":"string","description":"Field populated by system, timestamp of review"},"reviewedBy":{"type":"string","description":"Field populated by system, reference to user who did review of content (approved or rejected)"}}},"training":{"type":"object","description":"Training related data","properties":{"lessons":{"type":"array","description":"List of lessons for this tnings","items":{"type":"string"}},"ownCompleted":{"type":"array","description":"Populated by backend, no need to send it, list of lessons that current user has completed","items":{"type":"string"}}}}}},"interval":{"type":"object","properties":{"direction":{"type":"string","description":"Direction of offset, can be before or after"},"period":{"type":"string","description":"Period of offset, can be day, month or year"},"offset":{"type":"integer","description":"Offset in period units"},"dateType":{"type":"string","description":"Offset type, can be dateOfBirth or contractStartDate for now"}}},"visibleFor":{"type":"string","description":"How targeting orgunits/groups (selection users) are trasfered to addression orgunits groups (ones on created content). Options are all/sameOrgUnit/user"},"active":{"type":"boolean","description":"If false this template will be skipped by cron"},"flowRef":{"type":"string","description":"Reference to flow that this template belongs"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created content"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated content"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"flowtemplatesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/flowtemplates"}}}},"flowtemplatesPagination":{"title":"flowtemplates pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/flowtemplatesList"}}},"translationservice":{"type":"object","required":["type","contentPool","orgchartSelection","orgchartAttrSelection","groups"],"properties":{"type":{"type":"string","description":"Used to determine type of reach query, options are [orgUnitBelong,relevantParams,calculateReach]"},"contentPool":{"type":"string","description":"Limit by contentPool (only one), this makes sense only for content and folders, orgtype is taken from CP if it exists.\n          if orgchartSelection is sent when orgtype is present in CP it will be ignored since orgType is relative to user orgchart position."},"orgchartSelection":{"type":"array","items":{"type":"string"},"description":"Limit query to certain orgchart selection (if nothing is provided users orgunits will be taken)"},"orgchartAttrSelection":{"type":"array","items":{"type":"string"},"description":"Limit query orgunits by attributes orgchart selection (if nothing is provided users orgunits will be taken)"},"groups":{"type":"array","items":{"type":"string"},"description":"Limit query to specific group(s), if nothing is selected all groups are considered."},"onlyActiveUsers":{"type":"boolean","description":"Limit query to users that have active status, default is FALSE"},"firstLoginDone":{"type":"boolean","description":"Limit query to users that have done first login (NOT USED ON calculateReach), default is FALSE"},"excludeFromTasks":{"type":"boolean","description":"Limit query to users that are not excluded from tasks, default is FALSE"}}},"translationserviceList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/translationservice"}}}},"feed":{"type":"string","description":"News contents in RSS feed format"},"feedList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/feed"}}}},"feedPagination":{"title":"feed pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/feedList"}}},"eventattendees":{"type":"object","properties":{"contentRef":{"type":"string","description":"Reference to contents instance this event attendence record belongs to"},"status":{"type":"string","description":"Status of attendence, can be: going,notgoing,maybe "},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created attendence record "},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated attendence record "},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"eventattendeesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/eventattendees"}}}},"eventattendeesPagination":{"title":"eventattendees pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/eventattendeesList"}}},"systemtasks":{"type":"object","required":["title"],"properties":{"title":{"type":"string","description":"System task title"},"query":{"type":"string","description":"Query that will be executed against DB. It should be an aggregation query that finds contents, minimum set of fields is (_id,title,originLanguage,translationRequest,contentPool). Currently default query will display not yet translated content and content that was translated in past 7 days. Any string value in JSON structure equals to \"REPLACE_DATE\" will be replaced with date object 7 days in past e.g. (\"date\": {\"$gte\": \"REPLACE_DATE\"})."},"resultType":{"type":"string","description":"Model that will be returned in result"},"groups":{"type":"array","description":"List of groups that will receive the task","items":{"type":"string"}},"orgchartSelection":{"type":"array","description":"List of org nodes that will receive the task","items":{"type":"string"}},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created system tasks"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated system tasks"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"systemtasksList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/systemtasks"}}}},"systemtasksPagination":{"title":"systemtasks pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/systemtasksList"}}},"keymetrics":{"type":"object","properties":{"userResults":{"type":"object","description":"Key metrics regarding users","properties":{"activeUsers":{"type":"number","description":"Active users, all users with active flag"},"activeUsersWithFirstLogin":{"type":"number","description":"Active users that logged into system at least once"},"inactiveUsers":{"type":"number","description":"Inactive users, all users with active flag set to false"},"activeWithActivityInLast30Days":{"type":"number","description":"Active users with last activity in past 30 days"},"acountTypes":{"type":"object","description":"Key metrics regarding account types","properties":{"personal":{"type":"number","description":"Personal account type"},"group":{"type":"number","description":"Group account type"},"keephub":{"type":"number","description":"Keephub account type"},"none":{"type":"number","description":"No account type set"}}}}},"orgChartNodes":{"type":"number","description":"Number of org chart nodes"},"orgChartLevels":{"type":"number","description":"Number of org chart levels"},"languages":{"type":"number","description":"Number of languages"},"userRoles":{"type":"number","description":"Number of user roles"},"orgAttributesCategories":{"type":"number","description":"Number of org attributes categories"},"userGroups":{"type":"number","description":"Number of user groups"},"contentPools":{"type":"number","description":"Number of content pools"},"themes":{"type":"number","description":"Number of themes"},"automaticFlows":{"type":"number","description":"Number of content flows"},"contentFlowTemplates":{"type":"number","description":"Number of content flow templates"},"orgAttributes":{"type":"number","description":"number of org attributes"},"activePlugins":{"type":"number","description":"Number of active plugins"}}},"keymetricsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/keymetrics"}}}},"keymetricsPagination":{"title":"keymetrics pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/keymetricsList"}}},"healthcheck":{"type":"object","properties":{"redisStatus":{"type":"string","description":"Redis Client status"},"dbStatus":{"type":"string","description":"MongoDB status"}}},"healthcheckList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/healthcheck"}}}},"sentimentanalysis":{"type":"object","properties":{"text":{"type":"string","description":"Text that will be analyzed"},"originLanguage":{"type":"string","description":"Language of supplied text"}}},"sentimentanalysisList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/sentimentanalysis"}}}},"contentsview":{"type":"object","required":["_id","name"],"properties":{"_id":{"type":"string","description":"Id of group"}}},"contentsviewList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/contentsview"}}}},"contentsviewPagination":{"title":"contentsview pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/contentsviewList"}}},"pages":{"type":"object","required":["pages"],"properties":{"pages":{"type":"array","description":"Array of pages in navigation","items":{"type":"object","properties":{"orderIndex":{"type":"integer","description":"Position of page in navigation, based on this pages will be sorted on GET request"},"originLanguage":{"type":"string","description":"Language in which page was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators that worked on content","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"title":{"type":"object","description":"At least provide title for originLanguage e.g. {\"en\": \"English Title\"}, possible to other langages as well"},"mobile":{"type":"boolean","description":"Flag if this page is available on mobile"},"desktop":{"type":"boolean","description":"Flag if this page is avilable on desktop"},"permaUrl":{"type":"string","description":"Optional Permalink to the page, used as alternative to _id reference"},"openOn":{"type":"boolean","description":"Should external page open in new tab or inside iframe in application"},"icon":{"type":"string","description":"UTF8 icon for page"},"type":{"type":"string","description":"Type of page, for now dashboard (has widgets) and external (has externalUrl) are supported"},"externalUrl":{"type":"string","description":"Url to external page, used only for pages of type \"external\""},"orgchartSelection":{"type":"array","description":"Frontend selstion of orgunits that can see this page, this is exact user selection.","items":{"type":"string"}},"orgchartAttrSelection":{"type":"object","description":"Object that contains include and exclude properties. Both are Array of arrays for org unit attributes that additionaly filter orgchartSelection, Top level array is interpreted as AND, Second level array is interpreted as OR","properties":{"include":{"type":"array","description":"List of inclusion filters for organizational attributes, represented as nested arrays.","items":{"type":"array","items":{"type":"string","format":"objectId","description":"ObjectId reference to an organizational attribute."}}},"exclude":{"type":"array","description":"List of exclusion filters for organizational attributes, represented as nested arrays.","items":{"type":"array","items":{"type":"string","format":"objectId","description":"ObjectId reference to an organizational attribute."}}}}},"orgunits":{"type":"array","description":"Recursive expansion of orgunits that can see this page based on user frontend selection, this will be generated on backend","items":{"type":"string"}},"groups":{"type":"array","description":"List of user groups that can see this page, if left empty this page is visible by all users.","items":{"type":"string"}}}}},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created navigation"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated navigation"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"pagesList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/pages"}}}},"widgets":{"type":"object","required":["pages"],"properties":{"pages":{"type":"array","description":"Array of pages in navigation","items":{"type":"object","properties":{"orderIndex":{"type":"integer","description":"Position of page in navigation, based on this pages will be sorted on GET request"},"originLanguage":{"type":"string","description":"Language in which page was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators that worked on content","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"title":{"type":"object","description":"At least provide title for originLanguage e.g. {\"en\": \"English Title\"}, possible to other langages as well"},"mobile":{"type":"boolean","description":"Flag if this page is available on mobile"},"desktop":{"type":"boolean","description":"Flag if this page is avilable on desktop"},"permaUrl":{"type":"string","description":"Optional Permalink to the page, used as alternative to _id reference"},"openOn":{"type":"boolean","description":"Should external page open in new tab or inside iframe in application"},"icon":{"type":"string","description":"UTF8 icon for page"},"type":{"type":"string","description":"Type of page, for now dashboard (has widgets) and external (has externalUrl) are supported"},"externalUrl":{"type":"string","description":"Url to external page, used only for pages of type \"external\""},"orgchartSelection":{"type":"array","description":"Frontend selstion of orgunits that can see this page, this is exact user selection.","items":{"type":"string"}},"orgchartAttrSelection":{"type":"array","description":"Array of arrays for org unit attributes that additionaly filter orgchartSelection, Top level array is interpreted as AND, Second level array is interpreted as OR","items":{"type":"array","items":{"type":"string"}}},"orgunits":{"type":"array","description":"Recursive expansion of orgunits that can see this page based on user frontend selection, this will be generated on backend","items":{"type":"string"}},"groups":{"type":"array","description":"List of user groups that can see this page, if left empty this page is visible by all users.","items":{"type":"string"}}}}},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created navigation"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated navigation"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"widgetsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/widgets"}}}},"welcomewidget":{"type":"object","properties":{"widgetType":{"type":"string","example":"welcomewidget"},"unseen":{"type":"boolean","example":true},"skip":{"type":"integer","example":0},"limit":{"type":"integer","example":100}}},"download":{"type":"object","properties":{"path":{"properties":{"type":"string","unique":true,"required":true,"description":"Path on downloadPageUrl, based on this pages will be searched and redirected on GET request"}},"tittle":{"properties":{"type":"object","required":true,"description":"Tittle of download page, possible on other languages as well"},"faq":{"properties":{"type":"object","description":"FAQ that will be presented on page,possible on other languages as well"},"originLanguage":{"type":"string","description":"Language in which page was created. Used as default translation"},"translators":{"type":"array","description":"Array of translators that worked on content","items":{"type":"object","properties":{"lang":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}}}},"downloadPageUrl":{"type":"string","description":"Download page url to external page"},"iosUrl":{"type":"string","description":"Url to external page, used only for download ios links"},"androidUrl":{"type":"string","description":"Url to external page, used only for download android links"},"desktopUrl":{"type":"string","description":"Url to external page, used only for download desktop links"},"textTop":{"type":"string","description":"Text field that will be presented as header"},"textBottom":{"type":"string","description":"Text field that will be presented as footer"},"clientLogo":{"type":"string","description":"Client logo"},"backgroundImage":{"type":"string","description":"Background image that will be used for donwload page"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created navigation"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated navigation"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}}}},"downloadList":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/download"}},"activitylogs":{"type":"object","required":["_id","orgunits"],"properties":{"_id":{"type":"string","description":"Id of activitylog, this is auto generated by db"},"userId":{"type":"ObjectId","description":"Reference to the user whose lastActivity should be updated"},"connectionOrigin":{"type":"String","description":"String representing IP address from where the call was made"},"orgunits":{"type":"String","description":"Orgunits"}}},"activitylogsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/activitylogs"}}}},"pushnotificationsettings":{"type":"object","required":["cid"],"properties":{"type":{"type":"string","description":"Specific types of push notifications"},"title":{"type":"object","description":"Client specific translations overrides for push notifications"},"createdBy":{"type":"string","description":"Field populated by system, reference to user who created translation for one of the push notifications"},"createdAt":{"type":"string","description":"Field populated by system, timestamp of creation"},"updatedBy":{"type":"string","description":"Field populated by system, reference to user who updated translation for one of the push notifications"},"updatedAt":{"type":"string","description":"Field populated by system, timestamp of last update"}}},"pushnotificationsettingsList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/pushnotificationsettings"}}}},"pushnotificationsettingsPagination":{"title":"pushnotificationsettings pagination result","type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"skip":{"type":"integer"},"data":{"$ref":"#/components/schemas/pushnotificationsettingsList"}}},"audittrail":{"type":"object","properties":{"userId":{"type":"string","description":"ID of the user who performed the action. This is a reference to the user document in the system.","example":"60c72b2f9b1d8c001c8e4f3a"},"objectId":{"type":"string","description":"ID of the object that was changed. This could be a content, task, user, etc. It is a reference to the specific document that was modified.","example":"60c72b2f9b1d8c001c8e4f3b"},"objectType":{"type":"string","description":"Type of object that was changed. This indicates what kind of object the action was performed on, such as \"content\", \"task\", \"user\", etc.","example":"contents"},"changeType":{"type":"string","description":"Type of change that was made. This could be \"create\", \"update\", \"patch\", or \"remove\". It indicates the nature of the action performed on the object.","example":"Patch"},"changeData":{"type":"string","description":"Data representing the changes made. This is a JSON string that contains the details of what was changed in the object. It can include before and after states of the object or specific fields that were modified.","example":"[{\"kind\":\"E\",\"path\":[\"message\"],\"lhs\":\"{\"en\": \"<p>Test 123</p> \"}\",\"rhs\":\"{\"en\":\"<p>Test 123456</p>\"}\"}]"}}},"audittrailList":{"type":"object","properties":{"total":{"type":"number","description":"Pagination respons, total number of results"},"limit":{"type":"number","description":"Pagination respons, result set is limited to"},"skip":{"type":"number","description":"Pagination respons, results skipped"},"data":{"type":"array","description":"Actual data","items":{"$ref":"#/components/schemas/audittrail"}}}}}},"paths":{"/authentication":{"post":{"parameters":[{"in":"body","name":"body","schema":{"type":"object","required":["loginName","password"],"properties":{"strategy":{"type":"string","example":"local"},"loginName":{"type":"string","example":""},"password":{"type":"string","example":""}}}}],"responses":{"201":{"description":"Succesfuly generated token","schema":{"type":"object","properties":{"accessToken":{"type":"string"},"authentication":{"type":"object"},"user":{"type":"object"}}}},"401":{"description":"Unauthorized","schema":{"type":"object","properties":{"name":{"type":"string"},"message":{"type":"string"},"code":{"type":"string"}}}}},"description":"Provide email and password in order to receive token","summary":"","tags":["authentication"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/authentication"}}}}}},"/authentication/{id}":{"delete":{"parameters":[{"in":"path","name":"id","type":"string","required":true,"description":"Token to invalidate, IMPORTANT same token needs to be in header and ID param !!!"}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/authentication"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Invalidate token, use API key mechanism","summary":"","tags":["authentication"],"security":[{"bearerAuth":[]}]}},"/tasktemplates":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"header","description":"Language for task title","name":"lang","type":"string","required":false},{"in":"query","description":"String to search in title for requested langugage","name":"searchTerm","type":"string","required":false},{"in":"query","description":"Parent Tasktemplate reference, in case you want to see all child taskstemplates related to that tasktemplate","name":"parentRef","type":"string","required":false}],"responses":{"200":{"description":"List of all tasktemplates","schema":{"$ref":"#/components/schemas/tasktemplates_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["tasktemplates"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasktemplates"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["tasktemplates"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasktemplates"}}}}}},"/tasktemplates/{id}":{"get":{"parameters":[{"in":"path","description":"Id of template to get","name":"id","type":"string","required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasktemplates"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["tasktemplates"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","description":"Id of template to get","name":"id","type":"string","required":true},{"in":"query","description":"Name of custom action to execute","name":"action","type":"string","required":false},{"in":"query","description":"Indicates if only one iteration should be updated or all active ones","name":"iteration","type":"string","required":false}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasktemplates"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["tasktemplates"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasktemplates"}}}}},"patch":{"parameters":[{"in":"path","name":"id","description":"ID of tasktemplates to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasktemplates"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["tasktemplates"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasktemplates"}}}}},"delete":{"parameters":[{"in":"path","name":"id","description":"ID of tasktemplates to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasktemplates"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["tasktemplates"],"security":[{"bearerAuth":[]}]}},"/tasktemplatesview":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"header","description":"Language for task title","name":"lang","type":"string","required":false},{"in":"query","description":"String to search in title for requested langugage","name":"searchTerm","type":"string","required":false},{"in":"query","description":"Parent Tasktemplate reference, in case you want to see all child taskstemplates related to that tasktemplate","name":"parentRef","type":"string","required":false}],"responses":{"200":{"description":"List of all tasktemplates","schema":{"$ref":"#/components/schemas/tasktemplates_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["tasktemplatesview"],"security":[{"bearerAuth":[]}]}},"/tasks":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"header","description":"Language for task title","name":"lang","type":"string","required":false},{"in":"query","description":"Start of time interval for task filter","name":"fromDateTime","type":"string","required":false},{"in":"query","description":"End of time interval for task filter","name":"toDateTime","type":"string","required":false},{"in":"query","description":"Status","name":"status","type":"string","required":false},{"in":"query","description":"Tag reference for relatedTags, comma separated (only used when there is no templateRef)","name":"relatedTags","type":"string","required":false},{"in":"query","description":"Tasktemplate reference, in case you want to see all personal tasks related to this template","name":"templateRef","type":"string","required":false},{"in":"query","description":"User Id for filtering of tasks, non admins can filter only for personal tasks","name":"userId","type":"string","required":false}],"responses":{"200":{"description":"List of all tasks","schema":{"$ref":"#/components/schemas/tasks_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["tasks"],"security":[{"bearerAuth":[]}]}},"/tasks/{id}":{"get":{"parameters":[{"in":"path","name":"id","description":"ID of tasks to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasks"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["tasks"],"security":[{"bearerAuth":[]}]},"patch":{"parameters":[{"in":"path","name":"id","description":"ID of tasks to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasks"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["tasks"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tasks"}}}}}},"/groups":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"header","description":"Language for group name","name":"lang","type":"string","required":false},{"in":"query","description":"Filter by excludeFromContent boolean flag","name":"excludeFromContent","type":"boolean","required":false}],"responses":{"200":{"description":"List of all groups","schema":{"$ref":"#/components/schemas/groups_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all user groups in system","summary":"","tags":["groups"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/groups"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["groups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/groups"}}}}}},"/groups/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of groups to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/groups"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Get single user groups in system by id","summary":"","tags":["groups"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of groups to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/groups"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["groups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/groups"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of groups to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/groups"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["groups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/groups"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of groups to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/groups"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["groups"],"security":[{"bearerAuth":[]}]}},"/users":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Indicates this is count query not object query","name":"count","type":"boolean","required":false},{"in":"query","description":"Used only for count query to determine type of count.\n\n           contentReach count of users that will be reached by content placement, possible filters are (orgunits for expansion, groups, orgtype, attributes and firstLoginDone) \n\n\n           orgUnitBelong - count users belonging directly to selected orgunit(s) (filter based on current user and preset), rest of filters are ignored","name":"countType","type":"string","required":false},{"in":"query","description":"Limit serch for certain user groups","name":"groups","type":"string","required":false},{"in":"query","description":"Limit serch for certain user orgunit","name":"orgunits","type":"string","required":false},{"in":"query","description":"Filter by orgunit attributes","name":"attributes","required":false,"type":"array","collectionFormat":"multi","items":{"oneOf":[{"type":"array","collectionFormat":"csv","items":{"type":"string"}},{"type":"string"}]}},{"in":"query","description":"Filter by orgtype","name":"orgtype","type":"string","required":false},{"in":"query","description":"Limit serch for users that logged in at least once","name":"firstLoginDone","type":"string","required":false},{"in":"query","description":"management flag for Admin panel","name":"management","type":"boolean","required":false},{"in":"query","description":"Used only for finding users inside orgunit. This parameter - usersInOrgUnit first finds preset for searchable org units in order to see if user who triggered call with this parameter has rights to see users of this org chart position. Then, query is executed. Before we return any user data, every user data is scrapped in order to remove unneded data","name":"usersInOrgUnit","type":"boolean","required":false},{"in":"query","description":"This param is used if you want to search for users that have active status in find call for count and usersInOrgUnits","name":"searchForActiveUsers","type":"boolean","required":false}],"responses":{"200":{"description":"List of all users","schema":{"$ref":"#/components/schemas/users_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["users"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/users"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["users"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/users"}}}}}},"/users/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of users to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/users"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["users"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of users to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/users"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["users"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/users"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of users to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/users"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["users"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/users"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of users to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/users"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["users"],"security":[{"bearerAuth":[]}]}},"/contentpools":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Start of name in specific language, for other language just change lang","name":"name.en[$search]","type":"string","required":false}],"responses":{"200":{"description":"List of all contentpools","schema":{"$ref":"#/components/schemas/contentpools_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all content pools in system","summary":"","tags":["contentpools"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpools"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["contentpools"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpools"}}}}}},"/contentpools/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of contentpools to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpools"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["contentpools"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of contentpools to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpools"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["contentpools"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpools"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of contentpools to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpools"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["contentpools"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpools"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of contentpools to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpools"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["contentpools"],"security":[{"bearerAuth":[]}]}},"/contents":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by cp ID","name":"contentPool","type":"string","required":false},{"in":"query","description":"Filter by folder","name":"folder","type":"string","required":false},{"in":"query","description":"Filter by TAG IDs","name":"tags","type":"string","required":false},{"in":"query","description":"Management flag, signal to backend this is call from content management page","name":"management","type":"boolean","required":false},{"in":"query","description":"Planning status for call, those are synthetic statuses, there is no such filed in document. Options are:  inactive (offlinedate in past) and planned (online date in future)","name":"planningStatus","type":"string","required":false},{"in":"query","description":"Approved status for a call, this is existing field in document. Options are: n/a, pending, approved, rejected","name":"approvedStatus","type":"string","required":false},{"in":"query","description":"Filter by creator","name":"createdBy","type":"string","required":false},{"in":"query","description":"Filter by planningStatus on management options are [all,planned,inactive]. planned status filters FROM onlineDate that defatuls to today if not provided, inactive status works TO offlineDate that defatuls to today if not provided. All option disables filter.","name":"planningStatus","type":"string","required":false},{"in":"query","description":"May be used in combination with planningStatus, when used without planing status it filters FROM this onlineDate if it is provided","name":"onlineDate","type":"string","required":false},{"in":"query","description":"May be used in combination with planningStatus, when used without planing status it filters TO this offlineDate if it is provided","name":"offlineDate","type":"string","required":false},{"in":"query","description":"May be used to fetch all content which is in status draft and not yet published","name":"status","type":"string","required":false},{"in":"header","description":"Language for content title and message","name":"lang","type":"string","required":false}],"responses":{"200":{"description":"List of all contents","schema":{"$ref":"#/components/schemas/contents_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["contents"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contents"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["contents"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contents"}}}}}},"/contents/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of contents to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contents"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["contents"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of contents to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contents"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["contents"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contents"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of contents to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contents"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["contents"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contents"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of contents to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contents"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["contents"],"security":[{"bearerAuth":[]}]}},"/orgchart":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by parent","name":"parent","type":"string","required":false},{"in":"query","description":"Filter by ancestor","name":"ancestors","type":"string","required":false},{"in":"query","description":"Filter by user","name":"filterByUser","type":"string","required":false},{"in":"query","description":"Filter by type","name":"type","type":"string","required":false},{"in":"query","description":"Show all fields of node","name":"allFields","type":"boolean","required":false}],"responses":{"200":{"description":"List of all orgchart","schema":{"$ref":"#/components/schemas/orgchart_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["orgchart"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgchart"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["orgchart"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgchart"}}}}}},"/orgchart/{id}":{"get":{"parameters":[{"in":"path","name":"id","description":"ID of orgchart to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgchart"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["orgchart"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","description":"This parameter is not used since this call is only for multi operations","name":"id","type":"string","required":false}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgchart"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Used to execute multi update(s) by API user in order to avoid multiple trigger of structure rebuild afterwards. <br> Please provide _id in every object that you want to update. Update process is for now limited to 100 nodes in single call.","summary":"","tags":["orgchart"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgchart"}}}}},"patch":{"parameters":[{"in":"path","name":"id","description":"ID of orgchart to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgchart"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Used edit information fields of node, used by admin/supervisors","summary":"","tags":["orgchart"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgchart"}}}}},"delete":{"parameters":[{"in":"path","description":"ID of orgchart to delete","name":"id","type":"string","required":true},{"in":"query","description":"Force node deletion even if there are referencing documents (e.g. news users tasks...)","name":"force","type":"boolean","required":false},{"in":"query","description":"Dry run - check to see if node can be deleted without force param, provide report. NO ACTUAL CHANGE IS MADE","name":"dryrun","type":"boolean","required":false}],"responses":{"200":{"description":"List of all orgchart","schema":{"$ref":"#/components/schemas/orgchart_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Removes the resource with id.","summary":"","tags":["orgchart"],"security":[{"bearerAuth":[]}]}},"/authManagement":{"post":{"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/components/schemas/authManagement"}}],"responses":{"200":{"description":"If all is good response is JSON with value=Success"},"400":{"description":"Request validation failed, payload is not in specified parameters"},"403":{"description":"There is no user with that credentials, or user is not Active, or user has no valid email or "},"500":{"description":"System error, consult server log"}},"description":"\n    Check if user name exists on system, used before new user is created\n    {\n        \"action\": \"checkUnique\",\n        \"value\": {\"loginName\": \"ivan\"}\n    }\n    Send or resent verification info for account, later on users made by admin will be auto verified.\n    {\n        \"action\": \"resendVerifySignup\",\n        \"value\": {\"loginName\":\"ivan\"}\n    }\n    Send reset password request, token will be generated and sent to \n    {\n       \"action\": \"sendResetPwd\",\n        \"value\": {\"loginName\":\"ivan\"}\n    },\n    Send Email Sign-in request request, token will be generated and sent to user email \n    {\n       \"action\": \"magicLink\",\n        \"value\": {\"loginName\":\"ivan\"}\n    }\n    Finish reset of password and provide new one.\n    {\n        \"action\": \"resetPwdLong\",\n        \"value\": {\n           \"token\": \"[TOKEN_FROM_EMAIL]\",\n            \"password\": \"[NEW_PASS_FROM_USER]\"\n       }\n    }\n    Password change.\n    {\n       \"action\": \"passwordChange\",\n       \"value\": {\n            \"user\": {\"loginName\": \"[EMAIL]\"},\n           \"oldPassword\": \"[CURRENT_PASS]\",\n           \"password\": \"[NEW_PASS]\"\n        }\n    }","summary":"","tags":["authManagement"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/authManagement"}}}}}},"/translations":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Client ID","name":"cid","type":"integer","required":false}],"responses":{"200":{"description":"List of all translations","schema":{"$ref":"#/components/schemas/translations_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get client specific translations overrides","summary":"","tags":["translations"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/translations"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["translations"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/translations"}}}}}},"/translations/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of translations to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/translations"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["translations"],"security":[]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of translations to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/translations"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["translations"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/translations"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of translations to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/translations"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["translations"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/translations"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of translations to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/translations"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["translations"],"security":[{"bearerAuth":[]}]}},"/orgtypes":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all orgtypes","schema":{"$ref":"#/components/schemas/orgtypes_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["orgtypes"],"security":[]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgtypes"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["orgtypes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgtypes"}}}}}},"/orgtypes/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of orgtypes to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgtypes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["orgtypes"],"security":[]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of orgtypes to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgtypes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["orgtypes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgtypes"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of orgtypes to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgtypes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["orgtypes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgtypes"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of orgtypes to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgtypes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["orgtypes"],"security":[{"bearerAuth":[]}]}},"/reactions":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by contents Ref ID","name":"contentsref","type":"string","required":false},{"in":"query","description":"Filter by comment Ref ID","name":"commentref","type":"string","required":false},{"in":"query","description":"Filter by type, can be messageReaction or commentReaction","name":"type","type":"string","required":false},{"in":"query","description":"Filter by creator","name":"createdBy","type":"string","required":false},{"in":"header","description":"Language for content title and message","name":"lang","type":"string","required":false}],"responses":{"200":{"description":"List of all reactions","schema":{"$ref":"#/components/schemas/reactions_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Provides list of all reactions for single message or comment, you need to provide type and reference (conent ID or comment ID)","summary":"","tags":["reactions"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/reactions"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Make new reaction for comment, for which content needs to be reactable, user should not have previous reaction on that contant and type of reaction and reference should be walid.","summary":"","tags":["reactions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/reactions"}}}}}},"/reactions/{id}":{"patch":{"parameters":[{"in":"path","name":"id","description":"ID of reactions to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/reactions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["reactions"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/reactions"}}}}},"delete":{"parameters":[{"in":"path","name":"id","description":"ID of reactions to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/reactions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes reaction by reaction ID, (not a content reference), user needs to be original creator of reaction or administrator of the system.","summary":"","tags":["reactions"],"security":[{"bearerAuth":[]}]}},"/comments":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by contents Ref ID or by parent comment ID","name":"refId","type":"string","required":false},{"in":"query","description":"Filter by creator","name":"createdBy","type":"string","required":false},{"in":"header","description":"Language for content title and message","name":"lang","type":"string","required":false}],"responses":{"200":{"description":"List of all comments","schema":{"$ref":"#/components/schemas/comments_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Provides list of all comments for single content, all levels of comments are provided flat","summary":"","tags":["comments"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[{"in":"header","description":"Language for comment","name":"lang","type":"string","required":true},{"in":"body","description":"Comment JSON","name":"body","required":true,"schema":{"$ref":"#/components/schemas/comments"}}],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/comments"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Make new comment on specified content","summary":"","tags":["comments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/comments"}}}}}},"/comments/{id}":{"patch":{"parameters":[{"in":"path","name":"id","description":"ID of comments to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/comments"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["comments"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/comments"}}}}},"delete":{"parameters":[{"in":"path","name":"id","description":"ID of comments to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/comments"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["comments"],"security":[{"bearerAuth":[]}]}},"/notifications":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all notifications","schema":{"$ref":"#/components/schemas/notifications_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all files","summary":"","tags":["notifications"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/notifications"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["notifications"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/notifications"}}}}}},"/notifications/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of notifications to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/notifications"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["notifications"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"body","description":"Name of one custom action to execute (markAllRead or markAllNonNew)","name":"action","required":true,"schema":{"$ref":"#/components/schemas/action"}}],"responses":{"200":{"description":"List of all notifications","schema":{"$ref":"#/components/schemas/notifications_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Update statuses of all notification for current user to READ or NOT NEW","summary":"","tags":["notifications"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/notifications"}}}}},"patch":{"parameters":[{"in":"path","name":"id","type":"string","required":true,"description":"id of notification that will be edited"}],"responses":{"200":{"description":"List of all notifications","schema":{"$ref":"#/components/schemas/notifications_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Change status of single notification","summary":"","tags":["notifications"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/notifications"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of notifications to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/notifications"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["notifications"],"security":[{"bearerAuth":[]}]}},"/votes":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by contents Ref ID","name":"contentRef","type":"string","required":false}],"responses":{"200":{"description":"List of all votes","schema":{"$ref":"#/components/schemas/votes_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Provides list of all votes for single poll, you need to provide content reference ","summary":"","tags":["votes"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/votes"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Make new vote for poll. User should not have previous vote on that poll. Content reference and poll option reference should be walid.","summary":"","tags":["votes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/votes"}}}}}},"/votes/{id}":{"delete":{"parameters":[{"in":"path","name":"id","description":"ID of votes to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/votes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes vode by vote id. User needs to be original creator of vote or administrator of the system.","summary":"","tags":["votes"],"security":[{"bearerAuth":[]}]}},"/version":{"get":{"parameters":[{"description":"Number of results to return","in":"query","name":"$limit","schema":{"type":"integer"}},{"description":"Number of results to skip","in":"query","name":"$skip","schema":{"type":"integer"}},{"description":"Property to sort results","in":"query","name":"$sort","style":"deepObject","schema":{"type":"object"}},{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/version"}}],"responses":{"200":{"description":"List of all version","schema":{"$ref":"#/components/schemas/version_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["version"],"security":[{"bearerAuth":[]}]}},"/configs":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Type of config you are requesting","name":"configType","type":"string","required":true},{"in":"query","description":"Subdomain filter","name":"subdomain","type":"string","required":false}],"responses":{"200":{"description":"List of all translations","schema":{"$ref":"#/components/schemas/translations_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get client specific configuration","summary":"","tags":["configs"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/configs"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["configs"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/configs"}}}}}},"/configs/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of configs to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/configs"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["configs"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of configs to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/configs"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["configs"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/configs"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of configs to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/configs"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["configs"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/configs"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of configs to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/configs"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["configs"],"security":[{"bearerAuth":[]}]}},"/pushsubscriptions":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by createdBy, you can use only current user","name":"createdBy","type":"string","required":false}],"responses":{"200":{"description":"List of all pushsubscriptions","schema":{"$ref":"#/components/schemas/pushsubscriptions_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all pushsubscriptions","summary":"","tags":["pushsubscriptions"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushsubscriptions"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["pushsubscriptions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushsubscriptions"}}}}}},"/pushsubscriptions/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of pushsubscriptions to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushsubscriptions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["pushsubscriptions"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of pushsubscriptions to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushsubscriptions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["pushsubscriptions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushsubscriptions"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of pushsubscriptions to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushsubscriptions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["pushsubscriptions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushsubscriptions"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of pushsubscriptions to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushsubscriptions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["pushsubscriptions"],"security":[{"bearerAuth":[]}]}},"/authchat":{"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/authchat"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Authenticate user to chat service, just send empty object since we only need jwt token","summary":"","tags":["authchat"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/authchat"}}}}}},"/pushmessages":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all pushmessages","schema":{"$ref":"#/components/schemas/pushmessages_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all pushmessages","summary":"","tags":["pushmessages"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/pushmessages"},{"$ref":"#/components/schemas/pushmessagesList"}]}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["pushmessages"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/pushmessages"},{"$ref":"#/components/schemas/pushmessagesList"}]}}}}},"put":{"parameters":[],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesList"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Updates multiple resources.","summary":"","tags":["pushmessages"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesList"}}}}},"patch":{"parameters":[{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/pushmessages"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesList"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Updates multiple resources queried by given filters.","summary":"","tags":["pushmessages"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessages"}}}}},"delete":{"parameters":[{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/pushmessages"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesList"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Removes multiple resources queried by given filters.","summary":"","tags":["pushmessages"],"security":[]}},"/pushmessages/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of pushmessages to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessages"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["pushmessages"],"security":[]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of pushmessages to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessages"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["pushmessages"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessages"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of pushmessages to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessages"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["pushmessages"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessages"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of pushmessages to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessages"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["pushmessages"],"security":[{"bearerAuth":[]}]}},"/pushmessagesqueue":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all pushmessagesqueue","schema":{"$ref":"#/components/schemas/pushmessagesqueue_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all pushmessagesqueue","summary":"","tags":["pushmessagesqueue"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesqueue"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["pushmessagesqueue"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesqueue"}}}}}},"/pushmessagesqueue/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of pushmessagesqueue to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesqueue"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["pushmessagesqueue"],"security":[]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of pushmessagesqueue to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesqueue"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["pushmessagesqueue"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesqueue"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of pushmessagesqueue to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesqueue"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["pushmessagesqueue"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesqueue"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of pushmessagesqueue to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushmessagesqueue"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["pushmessagesqueue"],"security":[{"bearerAuth":[]}]}},"/formvalues":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by createdBy","name":"createdBy","type":"string","required":false},{"in":"query","description":"Filter by contentType","name":"contentType","type":"string","required":false},{"in":"query","description":"Filter by confidential flag","name":"confidential","type":"boolean","required":false}],"responses":{"200":{"description":"List of all formvalues","schema":{"$ref":"#/components/schemas/formvalues_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all formvalues","summary":"","tags":["formvalues"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/formvalues"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["formvalues"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/formvalues"}}}}}},"/formvalues/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of formvalues to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/formvalues"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["formvalues"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of formvalues to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/formvalues"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["formvalues"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/formvalues"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of formvalues to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/formvalues"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["formvalues"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/formvalues"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of formvalues to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/formvalues"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["formvalues"],"security":[{"bearerAuth":[]}]}},"/permissions":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all permissions","schema":{"$ref":"#/components/schemas/permissions_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all permissions","summary":"","tags":["permissions"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/permissions"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["permissions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/permissions"}}}}}},"/permissions/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of permissions to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/permissions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["permissions"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of permissions to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/permissions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["permissions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/permissions"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of permissions to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/permissions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["permissions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/permissions"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of permissions to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/permissions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["permissions"],"security":[{"bearerAuth":[]}]}},"/roles":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"In regular call service fill filter roles based on current user level, equivalent to drop down, show all roles give option that in some rear cases frontend get list of all roles","name":"showAll","type":"boolean","required":false}],"responses":{"200":{"description":"List of all roles","schema":{"$ref":"#/components/schemas/roles_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all permissions","summary":"","tags":["roles"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/roles"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["roles"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/roles"}}}}}},"/roles/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of roles to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/roles"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["roles"],"security":[]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of roles to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/roles"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["roles"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/roles"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of roles to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/roles"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["roles"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/roles"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of roles to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/roles"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["roles"],"security":[{"bearerAuth":[]}]}},"/signurl":{"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/signurl"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Please use appropriate origin based on place where url is located for getObject, it is used to verifie that user have access to the content/form/template/task access.\n\n        signType=putObject\n         * contentType - Needed for signurl \n\n         * fileType - Needed in order to generate storageId,Possible values are: image,video,attachment,other ' \n\n         * subFolder - Optional used as subfolder in storageId \n\n         * textractDisable - Optional used to override pdf text extraction lambda \n\n         * fileName - Appended to configured s3 path in order to get storageId \n\n        signType=getObject\n          * origin - Needed for access verification\n          * originId - Needed for access verification (related to origin)\n            * contentAttachment, contentVideo - For attachment or Video in content (attachments videos arrays inside content), originId reference content. \n\n            * tasktemplateAttachment, tasktemplateVideo - For attachment or Video on task templates, originId reference template. \n\n            * taskAttachment, taskVideo - For attachment or Video on tasks, (template attribute of task), originId reference task. \n\n            * externalcontactAttachment - For attachment on externalcontacts, originId reference externalcontact. \n\n            * taskFormAnswer - For attachment or Video on tasks Answer (answers attribute of task), originId reference task. \n\n            * formValuesVideo, formValuesAttachment - For uploaded files inside formvalues collection, OriginId reference form value \n\n\n          * storageId - Storage Id to be signed, need to be present in origin referred by originId, otherwise can be rejected.\n        signType=externalPlugin\n         * origin - Can be externalPluginUrl, externalPluginProfile for this signType - One is for generating signature for url and other profile data","summary":"","tags":["signurl"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/signurl"}}}}}},"/contentviews":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by contents Ref ID","name":"contentRef","type":"string","required":false}],"responses":{"200":{"description":"List of all contentviews","schema":{"$ref":"#/components/schemas/contentviews_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Provides list of all content views for single content, you need to provide content reference ","summary":"","tags":["contentviews"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentviews"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Make new view for content. User should not have previous view on that content. Content reference and poll option reference should be walid.","summary":"","tags":["contentviews"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentviews"}}}}}},"/contentviews/{id}":{"delete":{"parameters":[{"in":"path","name":"id","description":"ID of contentviews to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentviews"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes vode by vote id. User needs to be original creator of vote or administrator of the system.","summary":"","tags":["contentviews"],"security":[{"bearerAuth":[]}]}},"/blacklisttoken":{"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/blacklisttoken"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Puts valid token on blacklist","summary":"","tags":["blacklisttoken"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/blacklisttoken"}}}}}},"/search":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Search term","name":"searchTerm","type":"string","required":false},{"in":"query","description":"Search type [contents,contacts,anniversary,externalcontents,folders,all]","name":"searchType","type":"string","required":true},{"in":"query","description":"Contact types [users,orgunits,externalcontacts,all], only valid for contacts search! More types supplied as array, eg. type1,type2","name":"contactTypes","type":"string","required":false},{"in":"query","description":"Anniversary type [birthdays], only valid for anniversary search! Only one type can be used","name":"anniversaryType","type":"string","required":false},{"in":"query","description":"Type of content,only valid for contents search","name":"contentType","type":"string","required":false},{"in":"header","description":"Language for search","name":"lang","type":"string","required":false},{"in":"query","description":"Skip current user (if this search includes users)","name":"skipCurrentUser","type":"boolean","required":false}],"responses":{"200":{"description":"List of all search","schema":{"$ref":"#/components/schemas/search_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["search"],"security":[{"bearerAuth":[]}]}},"/levels":{"get":{"parameters":[],"responses":{"200":{"description":"List of all levels","schema":{"$ref":"#/components/schemas/levels_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all levels","summary":"","tags":["levels"],"security":[{"bearerAuth":[]}]}},"/rewards":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all rewards","schema":{"$ref":"#/components/schemas/rewards_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all rewards","summary":"","tags":["rewards"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rewards"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["rewards"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/rewards"}}}}}},"/rewards/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of rewards to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rewards"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["rewards"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of rewards to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rewards"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["rewards"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/rewards"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of rewards to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rewards"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["rewards"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/rewards"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of rewards to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rewards"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["rewards"],"security":[{"bearerAuth":[]}]}},"/badges":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all badges","schema":{"$ref":"#/components/schemas/badges_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all rewards","summary":"","tags":["badges"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/badges"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["badges"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/badges"}}}}}},"/badges/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of badges to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/badges"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["badges"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of badges to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/badges"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["badges"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/badges"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of badges to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/badges"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["badges"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/badges"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of badges to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/badges"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["badges"],"security":[{"bearerAuth":[]}]}},"/usersrewards":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all usersrewards","schema":{"$ref":"#/components/schemas/usersrewards_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all usersrewards","summary":"","tags":["usersrewards"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/usersrewards"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["usersrewards"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/usersrewards"}}}}}},"/usersrewards/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of usersrewards to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/usersrewards"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["usersrewards"],"security":[]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of usersrewards to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/usersrewards"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["usersrewards"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/usersrewards"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of usersrewards to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/usersrewards"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["usersrewards"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/usersrewards"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of usersrewards to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/usersrewards"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["usersrewards"],"security":[{"bearerAuth":[]}]}},"/translate":{"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/translate"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Translate text","summary":"","tags":["translate"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/translate"}}}}}},"/userspointsbalances":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Reference of user","name":"userRef","type":"string","required":false}],"responses":{"200":{"description":"List of all userspointsbalances","schema":{"$ref":"#/components/schemas/userspointsbalances_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all usersrewards","summary":"","tags":["userspointsbalances"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/userspointsbalances"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["userspointsbalances"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/userspointsbalances"}}}}}},"/userspointsbalances/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of userspointsbalances to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/userspointsbalances"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["userspointsbalances"],"security":[]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of userspointsbalances to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/userspointsbalances"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["userspointsbalances"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/userspointsbalances"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of userspointsbalances to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/userspointsbalances"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["userspointsbalances"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/userspointsbalances"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of userspointsbalances to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/userspointsbalances"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["userspointsbalances"],"security":[{"bearerAuth":[]}]}},"/attachmentdetails":{"get":{"parameters":[{"description":"Number of results to return","in":"query","name":"$limit","schema":{"type":"integer"}},{"description":"Number of results to skip","in":"query","name":"$skip","schema":{"type":"integer"}},{"description":"Property to sort results","in":"query","name":"$sort","style":"deepObject","schema":{"type":"object"}},{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/attachmentdetails"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/attachmentdetailsPagination"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["attachmentdetails"],"security":[]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/attachmentdetails"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Used by Lambda trigger to make text version of PDF attachments","summary":"","tags":["attachmentdetails"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/attachmentdetails"}}}}}},"/attachmentdetails/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of attachmentdetails to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/attachmentdetails"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["attachmentdetails"],"security":[]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of attachmentdetails to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/attachmentdetails"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["attachmentdetails"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/attachmentdetails"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of attachmentdetails to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/attachmentdetails"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["attachmentdetails"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/attachmentdetails"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of attachmentdetails to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/attachmentdetails"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["attachmentdetails"],"security":[]}},"/awstrigger":{"post":{"parameters":[],"responses":{"200":{"description":"List of all awstrigger","schema":{"$ref":"#/components/schemas/awstrigger_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Execute trigger","summary":"","tags":["awstrigger"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/awstrigger"}}}}}},"/chatgroups":{"get":{"parameters":[{"description":"Number of results to return","in":"query","name":"$limit","schema":{"type":"integer"}},{"description":"Number of results to skip","in":"query","name":"$skip","schema":{"type":"integer"}},{"description":"Property to sort results","in":"query","name":"$sort","style":"deepObject","schema":{"type":"object"}},{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/chatgroups"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/chatgroupsPagination"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["chatgroups"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/chatgroups"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Make new chat group, only name, type=external and users are mandatory filed","summary":"","tags":["chatgroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chatgroups"}}}}}},"/chatgroups/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of chatgroups to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/chatgroups"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["chatgroups"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of chatgroups to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/chatgroups"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["chatgroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chatgroups"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of chatgroups to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/chatgroups"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["chatgroups"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chatgroups"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of chatgroups to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/chatgroups"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["chatgroups"],"security":[{"bearerAuth":[]}]}},"/tags":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Start of tag text, hashtag is mandatory as first character","name":"text[$search]","type":"string","required":true},{"in":"query","description":"Limit serch for certain type of tag, if not provided content type is default","name":"type","type":"string","required":false}],"responses":{"200":{"description":"List of all tags","schema":{"$ref":"#/components/schemas/tags_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["tags"],"security":[{"bearerAuth":[]}]}},"/tags/{id}":{"get":{"parameters":[{"in":"path","name":"id","description":"ID of tags to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tags"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["tags"],"security":[{"bearerAuth":[]}]}},"/exports":{"post":{"parameters":[{"in":"query","description":"Filter by type, types are poll,form,tasktemplate","name":"type","type":"string","required":true},{"in":"query","description":"Export file type, types are csv or xlsx","name":"exportFileType","type":"string","required":false},{"in":"query","description":"Is export done with direct API call","name":"apiExport","type":"boolean","required":false},{"in":"query","description":"Reference to object to export, i.e. ObjectID","name":"ref","type":"string","required":true},{"in":"body","name":"body","required":false,"schema":{}}],"responses":{"200":{"description":"Generated file"}},"description":"Post without body, that starts export of data. Every creator can export it's own content. ExportAdmin and Admins can export any content.","summary":"","tags":["exports"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/exports"}}}}}},"/contentpooltypes":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all contentpooltypes","schema":{"$ref":"#/components/schemas/contentpooltypes_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all content pool types in system","summary":"","tags":["contentpooltypes"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpooltypes"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["contentpooltypes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpooltypes"}}}}}},"/contentpooltypes/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of contentpooltypes to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpooltypes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["contentpooltypes"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of contentpooltypes to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpooltypes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["contentpooltypes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpooltypes"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of contentpooltypes to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpooltypes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["contentpooltypes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpooltypes"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of contentpooltypes to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentpooltypes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["contentpooltypes"],"security":[{"bearerAuth":[]}]}},"/orgattributes":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"header","description":"Language for attribute name","name":"lang","type":"string","required":false}],"responses":{"200":{"description":"List of all orgattributes","schema":{"$ref":"#/components/schemas/orgattributes_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all attributes in system","summary":"","tags":["orgattributes"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributes"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["orgattributes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributes"}}}}}},"/orgattributes/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of orgattributes to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["orgattributes"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of orgattributes to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["orgattributes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributes"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of orgattributes to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["orgattributes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributes"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of orgattributes to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["orgattributes"],"security":[{"bearerAuth":[]}]}},"/orgattributecategories":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"header","description":"Language for attribute name","name":"lang","type":"string","required":false}],"responses":{"200":{"description":"List of all orgattributecategories","schema":{"$ref":"#/components/schemas/orgattributecategories_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all attributes in system","summary":"","tags":["orgattributecategories"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributecategories"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["orgattributecategories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributecategories"}}}}}},"/orgattributecategories/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of orgattributecategories to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributecategories"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["orgattributecategories"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of orgattributecategories to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributecategories"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["orgattributecategories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributecategories"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of orgattributecategories to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributecategories"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["orgattributecategories"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributecategories"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of orgattributecategories to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/orgattributecategories"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["orgattributecategories"],"security":[{"bearerAuth":[]}]}},"/talkjshook":{"post":{"parameters":[{"in":"header","description":"Talkjs-Signature","name":"X-Talkjs-Signature","type":"string","required":true},{"in":"header","description":"TalkJS-Timestamp","name":"X-TalkJS-Timestamp","type":"string","required":true},{"in":"body","name":"body","schema":{"type":"object","required":["type","createdAt","data"],"properties":{"type":{"type":"string","description":"Type of webhook, only notification.triggered is handled"},"createdAt":{"type":"string","description":"UnixMilliseconds of trigger"},"data":{"type":"object","description":"Payload for hook","required":["notificationId","recipient","sender","conversation","messages"],"properties":{"notificationId":{"type":"string","description":"TalkJs Id for this notification"},"recipient":{"type":"string","description":"Our objectId reference for recipient of notification"},"sender":{"type":"string","description":"Our objectId reference for sender of notification"},"conversation":{"type":"string","description":"Conversation Id, generated by us, for this conversation reference"},"messages":{"type":"array","description":"Messages that triggered the push","items":{"type":"string"}}}}}}}],"responses":{"200":{"description":"Payload is if trigger is executed successfully {value: \"Success\"}"},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"Hook credentials not provided, or signature is invalid"},"405":{"description":"Method not allowed, If you try to execute any other method except POST"},"500":{"description":"System error, consult server log"}},"description":"Creates a new resource with data.","summary":"","tags":["talkjshook"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/talkjshook"}}}}}},"/folders":{"get":{"parameters":[{"in":"header","description":"Language for folder name","name":"lang","type":"string","required":false},{"in":"query","description":"Filter by cp ID","name":"contentPool","type":"string","required":false}],"responses":{"200":{"description":"List of all folders","schema":{"$ref":"#/components/schemas/folders_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all folders","summary":"","tags":["folders"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/folders"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["folders"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/folders"}}}}}},"/folders/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of folders to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/folders"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["folders"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of folders to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/folders"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["folders"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/folders"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of folders to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/folders"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["folders"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/folders"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of folders to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/folders"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["folders"],"security":[{"bearerAuth":[]}]}},"/loginoptions/{id}":{"get":{"parameters":[{"in":"path","description":"login name of user for whom we request login options","name":"id","type":"string","required":true}],"responses":{"200":{"description":"List of all loginoptions","schema":{"$ref":"#/components/schemas/loginoptions_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["loginoptions"],"security":[{"bearerAuth":[]}]}},"/impersonate":{"post":{"parameters":[],"responses":{"200":{"description":"List of all impersonate","schema":{"$ref":"#/components/schemas/impersonate_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Impersonate user","summary":"","tags":["impersonate"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/impersonate"}}}}}},"/reach":{"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/reach"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Call to one of reach service queries","summary":"","tags":["reach"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/reach"}}}}}},"/workflow":{"post":{"parameters":[],"responses":{"200":{"description":"List of all awstrigger","schema":{"$ref":"#/components/schemas/awstrigger_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Execute workflow action","summary":"","tags":["workflow"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/workflow"}}}}}},"/drive":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"continuationToken for results","name":"continuationToken","type":"string","required":false},{"in":"query","description":"Filter by orgunit","name":"orgunit","type":"string","required":true},{"in":"query","description":"Path to open, in not provided list of users orgunits will be returned","name":"path","type":"string","required":false}],"responses":{"200":{"description":"List of all drive","schema":{"$ref":"#/components/schemas/drive_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["drive"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"200":{"description":"List of all drive_sign","schema":{"$ref":"#/components/schemas/drive_sign_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Make signurl for drive single entry","summary":"","tags":["drive"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/drive"}}}}}},"/marketplace":{"get":{"parameters":[{"description":"Number of results to return","in":"query","name":"$limit","schema":{"type":"integer"}},{"description":"Number of results to skip","in":"query","name":"$skip","schema":{"type":"integer"}},{"description":"Property to sort results","in":"query","name":"$sort","style":"deepObject","schema":{"type":"object"}},{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/marketplace"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/marketplacePagination"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["marketplace"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/marketplace"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["marketplace"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/marketplace"}}}}}},"/marketplace/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of marketplace to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/marketplace"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["marketplace"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of marketplace to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/marketplace"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["marketplace"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/marketplace"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of marketplace to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/marketplace"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["marketplace"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/marketplace"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of marketplace to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/marketplace"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["marketplace"],"security":[{"bearerAuth":[]}]}},"/reports":{"post":{"parameters":[{"in":"body","name":"body","required":true,"schema":{"$ref":"#/components/schemas/reports"}}],"responses":{"200":{"description":"List of all reports","schema":{"$ref":"#/components/schemas/reports_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"\n         * activeUsersBasedOnLastActivity - Used of calculation of percentage of users that logged in to the system, report is producing total numbers, percentage needs to be calculated on fly\n\n         * Y - For  \n\n         ","summary":"","tags":["reports"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/reports"}}}}}},"/chat":{"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Please use appropriate action and provide value and ref if needed.\n\n        [removeFromGroup]\n         * value - List of users IDs that should be removed from the group. \n\n         * ref - Reference to the group on whick we need to remove user, this is TalkJS ID. \n\n        \n\n\n        [setNewGroupAdmin]\n         * value - User ID of new group admin. \n\n         * ref - Reference to the group on which we need to change group admin, this is TalkJS ID. \n\n        \n\n\n        [authenticate]\n         * No data needed, just provide valid JWT token","summary":"","tags":["chat"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat"}}}}}},"/externalcontacts":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all externalcontacts","schema":{"$ref":"#/components/schemas/externalcontacts_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all external contacts","summary":"","tags":["externalcontacts"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/externalcontacts"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["externalcontacts"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/externalcontacts"}}}}}},"/externalcontacts/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of externalcontacts to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/externalcontacts"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["externalcontacts"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of externalcontacts to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/externalcontacts"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["externalcontacts"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/externalcontacts"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of externalcontacts to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/externalcontacts"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["externalcontacts"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/externalcontacts"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of externalcontacts to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/externalcontacts"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["externalcontacts"],"security":[{"bearerAuth":[]}]}},"/lessons":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by training ID","name":"contentRef","type":"string","required":true},{"in":"query","description":"Management flag, signal to backend this is call from trainings management page","name":"management","type":"boolean","required":false},{"in":"query","description":"Filter by creator","name":"createdBy","type":"string","required":false},{"in":"header","description":"Language for content title and message","name":"lang","type":"string","required":false}],"responses":{"200":{"description":"List of all lessons","schema":{"$ref":"#/components/schemas/lessons_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["lessons"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessons"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["lessons"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessons"}}}}}},"/lessons/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of lessons to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessons"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["lessons"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of lessons to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessons"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["lessons"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessons"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of lessons to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessons"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["lessons"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessons"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of lessons to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessons"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["lessons"],"security":[{"bearerAuth":[]}]}},"/lessonsubmissions":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by lesson ID","name":"lessonRef","type":"string","required":false},{"in":"query","description":"Owner","name":"userId","type":"string","required":false},{"in":"header","description":"Language for content title and message","name":"lang","type":"string","required":false}],"responses":{"200":{"description":"List of all lessonsubmissions","schema":{"$ref":"#/components/schemas/lessonsubmissions_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["lessonsubmissions"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessonsubmissions"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["lessonsubmissions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessonsubmissions"}}}}}},"/lessonsubmissions/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of lessonsubmissions to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessonsubmissions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["lessonsubmissions"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of lessonsubmissions to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessonsubmissions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["lessonsubmissions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessonsubmissions"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of lessonsubmissions to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessonsubmissions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["lessonsubmissions"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessonsubmissions"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of lessonsubmissions to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/lessonsubmissions"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["lessonsubmissions"],"security":[{"bearerAuth":[]}]}},"/themes":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all themes","schema":{"$ref":"#/components/schemas/themes_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all themes","summary":"","tags":["themes"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/themes"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["themes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/themes"}}}}}},"/themes/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of themes to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/themes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["themes"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of themes to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/themes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["themes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/themes"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of themes to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/themes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["themes"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/themes"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of themes to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/themes"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["themes"],"security":[{"bearerAuth":[]}]}},"/maintenance/{id}":{"get":{"parameters":[{"in":"path","name":"id","description":"ID of maintenance to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/maintenance"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["maintenance"],"security":[{"bearerAuth":[]}]}},"/maintenance":{"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/maintenance"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["maintenance"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/maintenance"}}}}}},"/trainingprogress":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by training ID","name":"contentsRef","type":"string"},{"in":"query","description":"Filter by user ID","name":"userRef","type":"string"}],"responses":{"200":{"description":"List of all trainingprogress","schema":{"$ref":"#/components/schemas/trainingprogress_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["trainingprogress"],"security":[{"bearerAuth":[]}]}},"/videos":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"refId, use in combination with type","name":"refId","type":"string","required":false},{"in":"query","description":"type of refId, allowed options are contents,flowtemplates,tasktemplates,lessons","name":"type","type":"string","required":false},{"in":"query","description":"Storage Id","name":"storageId","type":"string","required":false},{"in":"header","description":"Language for videos, if provided it will filter by those","name":"lang","type":"string","required":false}],"responses":{"200":{"description":"List of all videos","schema":{"$ref":"#/components/schemas/videos_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["videos"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/videos"},{"$ref":"#/components/schemas/videosList"}]}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["videos"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/videos"},{"$ref":"#/components/schemas/videosList"}]}}}}},"put":{"parameters":[],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/videosList"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Updates multiple resources.","summary":"","tags":["videos"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/videosList"}}}}},"patch":{"parameters":[{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/videos"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/videosList"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Updates multiple resources queried by given filters.","summary":"","tags":["videos"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/videos"}}}}},"delete":{"parameters":[{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/videos"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/videosList"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Removes multiple resources queried by given filters.","summary":"","tags":["videos"],"security":[]}},"/videos/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of videos to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/videos"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["videos"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of videos to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/videos"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["videos"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/videos"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of videos to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/videos"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["videos"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/videos"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of videos to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/videos"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["videos"],"security":[{"bearerAuth":[]}]}},"/automaticflows":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Part of name","name":"name","type":"string","required":false}],"responses":{"200":{"description":"List of all automaticflows","schema":{"$ref":"#/components/schemas/automaticflows_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all content flows in system","summary":"","tags":["automaticflows"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/automaticflows"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["automaticflows"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/automaticflows"}}}}}},"/automaticflows/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of automaticflows to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/automaticflows"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["automaticflows"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of automaticflows to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/automaticflows"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["automaticflows"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/automaticflows"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of automaticflows to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/automaticflows"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["automaticflows"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/automaticflows"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of automaticflows to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/automaticflows"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["automaticflows"],"security":[{"bearerAuth":[]}]}},"/flowtemplates":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false}],"responses":{"200":{"description":"List of all flowtemplates","schema":{"$ref":"#/components/schemas/flowtemplates_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["flowtemplates"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/flowtemplates"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["flowtemplates"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flowtemplates"}}}}}},"/flowtemplates/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of flowtemplates to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/flowtemplates"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["flowtemplates"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of flowtemplates to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/flowtemplates"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["flowtemplates"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flowtemplates"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of flowtemplates to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/flowtemplates"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["flowtemplates"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/flowtemplates"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of flowtemplates to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/flowtemplates"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["flowtemplates"],"security":[{"bearerAuth":[]}]}},"/translationservice":{"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/translationservice"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Call to add/edit a translation for content/task","summary":"","tags":["translationservice"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/translationservice"}}}}}},"/translationservice/{id}":{"patch":{"parameters":[{"in":"path","name":"id","description":"ID of translationservice to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/translationservice"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["translationservice"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/translationservice"}}}}}},"/feed/{id}":{"get":{"parameters":[{"in":"path","name":"id","type":"string","required":true,"description":"Contentpool for which to retrieve contents."},{"in":"query","description":"Array of organisation units selected on frontend","name":"orgunits[]","collectionFormat":"multi","type":"array","items":{"type":"string"},"required":false},{"in":"query","description":"Array of groups selected on frontend","name":"groups[]","collectionFormat":"multi","type":"array","items":{"type":"string"},"required":false},{"in":"query","description":"Language of retereived content","name":"lang","type":"string","required":false},{"in":"query","description":"Signals if groups should be excluded","name":"excludeGroups","type":"string","required":false},{"in":"query","description":"Number of retereived contents (max 50)","name":"limit","type":"integer","required":false}],"responses":{"200":{"description":"List of all feed","schema":{"$ref":"#/components/schemas/feed_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"A service to get news contents from a specified contentpool in RSS feed format","summary":"","tags":["feed"],"security":[{"bearerAuth":[]}]}},"/eventattendees":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Filter by contents Ref ID","name":"contentRef","type":"string","required":false},{"in":"query","description":"Filter by status, options are going, notgoing, maybe","name":"status","type":"string","required":false}],"responses":{"200":{"description":"List of all eventattendees","schema":{"$ref":"#/components/schemas/eventattendees_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Provides list of all attendees for single event, you need to provide content reference (event id)","summary":"","tags":["eventattendees"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/eventattendees"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Make new eventattendees for content. Only one record per event/user combination is possible. You can only add yourown","summary":"","tags":["eventattendees"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/eventattendees"}}}}}},"/eventattendees/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of eventattendees to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/eventattendees"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["eventattendees"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of eventattendees to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/eventattendees"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["eventattendees"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/eventattendees"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of eventattendees to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/eventattendees"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Change eventattendees for content. You can only change yourown and only status field","summary":"","tags":["eventattendees"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/eventattendees"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of eventattendees to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/eventattendees"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes eventattendees for content. You can only remove yourown","summary":"","tags":["eventattendees"],"security":[{"bearerAuth":[]}]}},"/systemtasks":{"get":{"parameters":[{"description":"Number of results to return","in":"query","name":"$limit","schema":{"type":"integer"}},{"description":"Number of results to skip","in":"query","name":"$skip","schema":{"type":"integer"}},{"description":"Property to sort results","in":"query","name":"$sort","style":"deepObject","schema":{"type":"object"}},{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/systemtasks"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/systemtasksPagination"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["systemtasks"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/systemtasks"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["systemtasks"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/systemtasks"}}}}}},"/systemtasks/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of systemtasks to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/systemtasks"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["systemtasks"],"security":[]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of systemtasks to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/systemtasks"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["systemtasks"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/systemtasks"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of systemtasks to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/systemtasks"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["systemtasks"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/systemtasks"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of systemtasks to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/systemtasks"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["systemtasks"],"security":[{"bearerAuth":[]}]}},"/keymetrics":{"get":{"parameters":[{"description":"Number of results to return","in":"query","name":"$limit","schema":{"type":"integer"}},{"description":"Number of results to skip","in":"query","name":"$skip","schema":{"type":"integer"}},{"description":"Property to sort results","in":"query","name":"$sort","style":"deepObject","schema":{"type":"object"}},{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/keymetrics"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/keymetricsPagination"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Call to one of key metrics service queries","summary":"","tags":["keymetrics"],"security":[{"bearerAuth":[]}]}},"/healthcheck":{"get":{"parameters":[{"description":"Number of results to return","in":"query","name":"$limit","schema":{"type":"integer"}},{"description":"Number of results to skip","in":"query","name":"$skip","schema":{"type":"integer"}},{"description":"Property to sort results","in":"query","name":"$sort","style":"deepObject","schema":{"type":"object"}},{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/healthcheck"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/healthcheckList"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["healthcheck"],"security":[]}},"/sentimentanalysis":{"post":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"body","name":"body","required":true,"schema":{"$ref":"#/components/schemas/sentimentanalysis"}}],"responses":{"200":{"description":"List of all sentimentanalysis","schema":{"$ref":"#/components/schemas/sentimentanalysis_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Creates a new resource with data.","summary":"","tags":["sentimentanalysis"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sentimentanalysis"}}}}}},"/contentsview":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"header","description":"Language for task title","name":"lang","type":"string","required":false},{"in":"query","description":"String to search in title for requested langugage","name":"searchTerm","type":"string","required":false},{"in":"query","description":"Parent Tasktemplate reference, in case you want to see all child taskstemplates related to that tasktemplate","name":"parentRef","type":"string","required":false}],"responses":{"200":{"description":"List of all tasktemplates","schema":{"$ref":"#/components/schemas/tasktemplates_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Retrieves a list of all resources from the service.","summary":"","tags":["contentsview"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentsview"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["contentsview"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentsview"}}}}}},"/contentsview/{_id}":{"get":{"parameters":[{"in":"path","description":"Id of template to get","name":"id","type":"string","required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentsview"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["contentsview"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of contentsview to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentsview"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["contentsview"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentsview"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of contentsview to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentsview"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["contentsview"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentsview"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of contentsview to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contentsview"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["contentsview"],"security":[]}},"/pages":{"get":{"parameters":[],"responses":{"200":{"description":"List of all navigation","schema":{"$ref":"#/components/schemas/navigation_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get single row that contains all pages for navigation, pages are filtered by current user orgunits and groups unless user if navigation.admin","summary":"","tags":["pages"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pages"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["pages"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pages"}}}}}},"/pages/{id}":{"get":{"parameters":[{"in":"path","name":"id","description":"ID of pages to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pages"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["pages"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"id","description":"ID of pages to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pages"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["pages"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pages"}}}}},"patch":{"parameters":[{"in":"path","name":"id","description":"ID of pages to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pages"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["pages"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pages"}}}}},"delete":{"parameters":[{"in":"path","name":"id","description":"ID of pages to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pages"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["pages"],"security":[{"bearerAuth":[]}]}},"/widgets":{"get":{"parameters":[],"responses":{"200":{"description":"List of all navigation","schema":{"$ref":"#/components/schemas/navigation_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get single row that contains all widgets for page, widgets are filtered by current user orgunits and groups unless user if navigation.admin","summary":"","tags":["widgets"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/widgets"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["widgets"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/widgets"}}}}}},"/widgets/{id}":{"get":{"parameters":[{"in":"path","name":"id","description":"ID of widgets to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/widgets"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["widgets"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"id","description":"ID of widgets to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/widgets"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["widgets"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/widgets"}}}}},"patch":{"parameters":[{"in":"path","name":"id","description":"ID of widgets to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/widgets"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["widgets"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/widgets"}}}}},"delete":{"parameters":[{"in":"path","name":"id","description":"ID of widgets to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/widgets"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["widgets"],"security":[{"bearerAuth":[]}]}},"/welcomewidget":{"post":{"parameters":[{"in":"body","name":"body","required":true,"schema":{"type":"object","properties":{"widgetType":{"type":"string","description":"The type of the widget. Must be \"welcomewidget\".","example":"welcomewidget"},"unseen":{"type":"boolean","description":"Flag to indicate if unseen content should be retrieved.","example":true},"skip":{"type":"integer","description":"Number of items to skip for pagination.","example":0},"limit":{"type":"integer","description":"Maximum number of items to retrieve.","example":100}},"required":["widgetType"]}}],"responses":{"200":{"description":"Successful response with the created widget or unseen content.","schema":{"type":"object","properties":{"total":{"type":"integer","description":"Total number of unseen contents.","example":10},"contents":{"type":"array","items":{"type":"object","description":"Unseen content object."}}}}},"400":{"description":"Bad request. Invalid widget type or missing required fields.","schema":{"type":"object","properties":{"name":{"type":"string","example":"BadRequest"},"message":{"type":"string","example":"No type or invalid widget type"},"code":{"type":"integer","example":400},"className":{"type":"string","example":"bad-request"}}}},"405":{"description":"Method not allowed. The requested HTTP method is not supported.","schema":{"type":"object","properties":{"name":{"type":"string","example":"MethodNotAllowed"},"message":{"type":"string","example":"The requested method is not allowed."},"code":{"type":"integer","example":405},"className":{"type":"string","example":"method-not-allowed"}}}},"500":{"description":"Internal server error. An unexpected error occurred.","schema":{"type":"object","properties":{"name":{"type":"string","example":"GeneralError"},"message":{"type":"string","example":"An unexpected error occurred."},"code":{"type":"integer","example":500},"className":{"type":"string","example":"general-error"}}}}},"description":"Creates a welcome widget or retrieves unseen content for the welcome widget.","summary":"","tags":["welcomewidget"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/welcomewidget"}}}}}},"/download":{"get":{"parameters":[],"responses":{"200":{"description":"List of all download","schema":{"$ref":"#/components/schemas/download_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get all current download pages that users with permission download.admin","summary":"","tags":["download"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"200":{"description":"List of all download","schema":{"$ref":"#/components/schemas/download_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Creates download page with restriction that downloadPageUrl and path must be unique","summary":"","tags":["download"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/download"}}}}}},"/download/{id}":{"get":{"parameters":[],"responses":{"200":{"description":"List of all download","schema":{"$ref":"#/components/schemas/download_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get single download page based on path or id with no OUTH restriction bypassing authentication for users","summary":"","tags":["download"],"security":[{"bearerAuth":[]}]},"put":{"parameters":[{"in":"path","name":"id","description":"ID of download to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/download"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["download"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/download"}}}}},"patch":{"parameters":[],"responses":{"200":{"description":"List of all download","schema":{"$ref":"#/components/schemas/download_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Update download page with restriction that donloadPageUrl cant be edited if already exists","summary":"","tags":["download"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/download"}}}}},"delete":{"parameters":[{"in":"path","name":"id","description":"ID of download to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/download"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["download"],"security":[{"bearerAuth":[]}]}},"/activitylogs":{"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/activitylogs"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Create a new activitylog","summary":"","tags":["activitylogs"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/activitylogs"}}}}}},"/pushnotificationsettings":{"get":{"parameters":[{"in":"query","description":"Number of results to return","name":"$limit","type":"integer","required":false},{"in":"query","description":"Number of results to skip","name":"$skip","type":"integer","required":false},{"in":"query","description":"Property to sort results","name":"$sort","type":"string","required":false},{"in":"query","description":"Select list of fields for results","name":"$select[]","collectionFormat":"multi","type":"array","required":false,"items":{"type":"string"}},{"in":"query","description":"Disable translation filter for this service (if present)","name":"disableTranslationsFilter","type":"boolean","required":false},{"in":"query","description":"Client ID","name":"cid","type":"integer","required":false}],"responses":{"200":{"description":"List of all pushnotificationsettings","schema":{"$ref":"#/components/schemas/pushnotificationsettings_list"}},"400":{"description":"Request validation failed, consult response body for more details"},"401":{"description":"User credentials not provided, invalid for the action, consult response body for more details"},"405":{"description":"Method not allowed, this method is not available for this service."},"500":{"description":"System error, consult server log"}},"description":"Get client specific translations overrides for push notifications","summary":"","tags":["pushnotificationsettings"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushnotificationsettings"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Creates a new resource with data.","summary":"","tags":["pushnotificationsettings"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushnotificationsettings"}}}}}},"/pushnotificationsettings/{_id}":{"get":{"parameters":[{"in":"path","name":"_id","description":"ID of pushnotificationsettings to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushnotificationsettings"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieves a single resource with the given id from the service.","summary":"","tags":["pushnotificationsettings"],"security":[]},"put":{"parameters":[{"in":"path","name":"_id","description":"ID of pushnotificationsettings to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushnotificationsettings"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["pushnotificationsettings"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushnotificationsettings"}}}}},"patch":{"parameters":[{"in":"path","name":"_id","description":"ID of pushnotificationsettings to update","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushnotificationsettings"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Updates the resource identified by id using data.","summary":"","tags":["pushnotificationsettings"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushnotificationsettings"}}}}},"delete":{"parameters":[{"in":"path","name":"_id","description":"ID of pushnotificationsettings to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushnotificationsettings"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["pushnotificationsettings"],"security":[{"bearerAuth":[]}]}},"/audittrail":{"get":{"parameters":[{"description":"Number of results to return","in":"query","name":"$limit","schema":{"type":"integer"}},{"description":"Number of results to skip","in":"query","name":"$skip","schema":{"type":"integer"}},{"description":"Property to sort results","in":"query","name":"$sort","style":"deepObject","schema":{"type":"object"}},{"description":"Query parameters to filter","in":"query","name":"filter","style":"form","explode":true,"schema":{"$ref":"#/components/schemas/audittrail"}}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/audittrailList"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Retrieve a list of audit trail entries. This can be filtered by various parameters such as user, action type, and date range.","summary":"","tags":["audittrail"],"security":[{"bearerAuth":[]}]},"post":{"parameters":[],"responses":{"201":{"description":"created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/audittrail"}}}},"401":{"description":"not authenticated"},"500":{"description":"general error"}},"description":"Create a new audit trail entry. This is typically used to log actions performed by users in the system. USED BY HOOKS ONLY, DO NOT USE DIRECTLY","summary":"","tags":["audittrail"],"security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/audittrail"}}}}}},"/audittrail/{id}":{"get":{"parameters":[{"in":"path","name":"id","description":"ID of audittrail to return","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/audittrail"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Retrieve a specific audit trail entry by its ID. This is useful for viewing details of a specific action performed in the system.","summary":"","tags":["audittrail"],"security":[{"bearerAuth":[]}]},"delete":{"parameters":[{"in":"path","name":"id","description":"ID of audittrail to remove","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/audittrail"}}}},"401":{"description":"not authenticated"},"404":{"description":"not found"},"500":{"description":"general error"}},"description":"Removes the resource with id.","summary":"","tags":["audittrail"],"security":[]}}},"openapi":"3.0.3","tags":[{"name":"authentication","description":"This service handles authentication for logging in and managing user sessions. It provides the following functionalities:  \nCreate: Authenticate a user by providing their email and password to receive a token.\nRemove: Invalidate a token using the API key mechanism.\nThe service also includes detailed information about the structure of the authentication process, such as:  \nStrategy: The authentication strategy used (e.g., local).\nLogin Name: The user's login name.\nPassword: The user's password."},{"name":"tasktemplates","description":"A service for tasktemplates (Periodic,Child,Single), if you execute qurey without parent reference you will receive all\n    tasktemplates created by you that are not children of some other periodic tasktemplate (or in case you are admin all of them) \n    If you provide reference to parent tasktemplate then search is limited only on child tasktemplates. \n    If you need additional brakedown of progress use special parameters"},{"name":"tasktemplatesview","description":"View with same output as tasktemplates, only find and get are possible"},{"name":"tasks","description":"A service for tasks (Personal tasks), if you execute query without Tasktemplate reference you will receive all personal tasks assigned to you, if you provide \n    tasktemplate reference then you fill receive all personal task you have created based on that template (you need to be admin or creator of temaplte)."},{"name":"groups","description":"This service manages user groups within the system. The service also includes detailed information about the structure of a user group, such as:\nID: The unique identifier of the group. This id can be set manually by system user on import for imported group, otherwise is auto set by db on manual creation.\nName: The name of the group, which can be provided in multiple languages.\nImported: A flag indicating whether the group was manually created or imported.\nOrigin Language: The language in which the group was originally created.\nTranslators: An array of translators who worked on the group's translation.\nExclude From Content: A flag to exclude the group from content placement.\nOrgunits For Additional Contacts: Additional organizational units that users assigned to this group can find in contacts, including their descendants."},{"name":"users","description":"This service manages users in system. It provides the following functionalities:  \nFind: Retrieve all users in the system. You can filter the results by various parameters such as groups, orgunits, attributes, and more.\nCreate: Add a new user to the system.\nGet: Retrieve a single user by their ID.\nUpdate: Update an existing user's information.\nPatch: Partially update an existing user's information.\nRemove: Delete a user from the system.\nThe service also includes detailed information about the structure of a user, such as:\nID: The unique identifier of the user.\nName: The full name of the user.\nEmail: The user's email, which must be unique.\nLogin Name: The login name for the user, automatically assigned as the lowercase value of the email.\nPassword: The hashed password for the user.\nProfile Picture: The user's profile picture path.\nOrganisation: The name of the organisation the user belongs to.\nPosition: The user's position or function in the organisation.\nPreferred Language: The user's preferred language.\nEmployee ID: The user's employee ID.\nDate of Birth: The user's date of birth.\nPhone: The user's phone number.\nActive: A flag indicating whether the user's account is active.\nOrgunits: An array of organisational units the user belongs to.\nGroups: An array of groups the user belongs to.\nRoles: An array of roles the user belongs to.\nCustom Attributes: Any custom attributes associated with the user.\nCreated By: A reference to the user who created this user.\nCreated At: The timestamp of when the user was created.\nUpdated By: A reference to the user who last updated this user.\nUpdated At: The timestamp of the last update."},{"name":"contentpools","description":"This service manages system content pools, handling only metadata.\nThe service also includes detailed information about the structure of a content pool, such as:\nName: An object with names of the content pool in different languages. At least one name should be provided for the origin language.\nOrigin Language: The language in which the content pool was created, used as the default translation.\nCreate Rights: An array of group IDs that are allowed to write in the content pool.\nLimit to Orgtype: The organizational unit type that is enforced for this content pool.\nRights Configuration: The state of the rights tab with default configuration for new content, currently only the disable option is supported.\nOptions Configuration: The state of the options tab with default configuration for new content, currently only the disable option is supported.\nTranslation Configuration: The state of the translations tab with default configuration for new content, currently only the disable option is supported.\nCreated By: A reference to the user who created the content pool.\nCreated At: The timestamp of when the content pool was created.\nUpdated By: A reference to the user who last updated the content pool.\nUpdated At: The timestamp of the last update.\nTranslators: An array of translators who worked on the content pool."},{"name":"contents","description":"This service manages system contents, handling only metadata.The service also includes detailed information about the structure of content, such as:\nTitle: The title of the content.\nMessage: The message of the content.\nOrigin Language: The language in which the content was created.\nPrivate: A flag indicating whether the content is private.\nOrgchart Selection: An array of organizational units selected on the frontend.\nOrgchart Attr Selection: An object containing include and exclude properties for additional filtering.\nGroups: An object containing exclusion flag and selection of group references.\nExclude: A flag to exclude groups, defaults to false.\nSelection: An array of selected group IDs.\nOrgunits: An array of organizational units this message belongs to.\nRecipient: Reference to the user for whom this content is created.\nNotifications Created: A flag indicating if notifications for the content are created.\nEdited: A flag indicating if the content data (title, message, poll data) were changed.\nNotify New: A flag to send a notification that new content has been added.\nNotify Updated: A flag to send a notification that the content has been updated.\nEvent: An object containing event details such as start date, end date, widgets, attendance type, attendance limit, and attendance count.\nCreated By: Reference to the user who created the content.\nCreated At: The timestamp of when the content was created.\nUpdated By: Reference to the user who last updated the content.\nUpdated At: The timestamp of the last update."},{"name":"orgchart","description":"This service manages the organizational chart within the system. The service also includes detailed information about the structure of an organizational chart node, such as:\nID: The unique identifier of the node.\nName: The name of the node.\nType: The type of the organizational chart node.\nProfile Picture: The path reference to the node's profile image.\nGeneral Information: Textual description of the node in different languages.\nContact Information: Contact details including phone numbers, emails, and addresses.\nAdditional Information: Key-value pairs for additional information.\nOpening Times: Array of opening times for the node.\nExclude From Contacts: Flag to exclude the node from contacts search.\nNamepath: Comma-separated path of names from the root to the current node.\nID Path: Comma-separated path of IDs from the root to the current node.\nParent: Reference to the parent node.\nAncestors: List of all ancestor IDs.\nChildren: List of all direct children IDs.\nAttributes: Additional attributes for the node.\nExternal Reference: External reference to the node.\nCreated By: Reference to the user who created the node.\nCreated At: Timestamp of creation.\nUpdated By: Reference to the user who last updated the node.\nUpdated At: Timestamp of the last update.\nOrigin Language: The language in which the node was created.\nTranslators: Array of translators who worked on the node."},{"name":"authManagement","description":"Auth Management service"},{"name":"translations","description":"A service for getting client specific translations overrides"},{"name":"orgtypes","description":"A service for metadata for Organisation chart, Get and find are allowed for all, system user can do rest of operations"},{"name":"reactions","description":"A service for reactions on content (news) and comments, edit of reaction is not possible."},{"name":"comments","description":"A service for comments on content (news), formvalue and comments on comments. Only Level1 and Level 2 comments are allowed"},{"name":"notifications","description":"A service for notifications"},{"name":"votes","description":"A service for votes on polls, edit of vote is not possible."},{"name":"version","description":"A service for getting application version information."},{"name":"configs","description":"A service for getting client specific configuration"},{"name":"pushsubscriptions","description":"A service for subscribing device to push messages, subscription is actibe if loggedOn=true and pushPermission=true"},{"name":"authchat","description":"DEPRECATED Authenticate user to chat service"},{"name":"pushmessages","description":"A service for creating messages for quickblox."},{"name":"pushmessagesqueue","description":"A service handling messages queue entries"},{"name":"formvalues","description":"A service for creating user values for particular form."},{"name":"permissions","description":"A service for handling permissions"},{"name":"roles","description":"A service for handling roles"},{"name":"signurl","description":"A service for signed urls for downloading of attachments, videos and data sent to external plugins"},{"name":"contentviews","description":"A service for views on content, edit of view is not possible."},{"name":"blacklisttoken","description":"A service for otes on polls, edit of vote is not possible."},{"name":"search","description":"A service for performing various searches, for now valid types are: [contents,contacts,anniversary,externalcontents,folders,all]\n                  , sort param is not working for now (it is added by default)"},{"name":"levels","description":"A service for handling levels"},{"name":"rewards","description":"A service for handling rewards"},{"name":"badges","description":"A service for handling usersrewards"},{"name":"usersrewards","description":"A service for handling usersrewards"},{"name":"translate","description":"A service for translating using google translation"},{"name":"userspointsbalances","description":"A service for handling users points userCoinsBalanceEntries"},{"name":"attachmentdetails","description":"Attachment details service, used by Lambda trigger. This is not service for upload of attachments!"},{"name":"awstrigger","description":"A service for AWS triggers, for now we have two triggers [pdfConvertedToTxt,videoResized]"},{"name":"chatgroups","description":"A service for TalkJS chat groups that are created from external source"},{"name":"tags","description":"A service for tags, tags have type based on entity that is taged, for now deafult type is \"content\""},{"name":"exports","description":"A service for exporting content and tasks results (e.g.polls,forms,taks) in csv or xlsx format (if not specified, defaults to csv)"},{"name":"contentpooltypes","description":"A service for system content pool types, type is providing initial settings for content pool"},{"name":"orgattributes","description":"A service for Org Chart Attributes"},{"name":"orgattributecategories","description":"A service for Org Chart Attributes"},{"name":"talkjshook","description":"A service for TalkJS webhook, special authentication via signature is required!. \n Use https://www.freeformatter.com/hmac-generator.html to generate signature SHA256([timestamp]+\".\"+[jsonPayloadWithoutWhiteSpace]). \n Timestamp has timeout period of 5min"},{"name":"folders","description":"A service for folders, other items in the system can be attached to folders structure, for now only manuals, form and faq contents are."},{"name":"loginoptions","description":"Providing login options to user based on loginname, public service"},{"name":"impersonate","description":"Service for impersonation of users, you need permission of administrator to do this"},{"name":"reach","description":"A service for calculating reach of current user based on selected filters for content/tasks/navigation"},{"name":"workflow","description":"A service for workflows, for now we have content approval workflow approveContent,rejectContent,approveTaskAnswer,rejectTaskAnswer"},{"name":"drive","description":"A service for KeepHub drive, drive needs to be configured first in order for it to work"},{"name":"marketplace","description":"Marketplace plugins for navigation (pages and widgets)"},{"name":"reports","description":"A service for generating different kind of reports"},{"name":"chat","description":"New general chat service for authenticating users to chat and other operations related to chat"},{"name":"externalcontacts","description":"A service for handling external contacts"},{"name":"lessons","description":"A service for traning lessons"},{"name":"lessonsubmissions","description":"A service for training lesson submissions"},{"name":"themes","description":"A service for handling themes"},{"name":"maintenance","description":"Maintenance service (can only be called by system user)"},{"name":"trainingprogress","description":"A service for traning progress"},{"name":"videos","description":"A service for videos, internal service for upload of videos"},{"name":"automaticflows","description":"A service for automatic content and tasks flows"},{"name":"flowtemplates","description":"A service for automatic templates, cron job makes call for content/task generation"},{"name":"translationservice","description":"A service for adding/editing translations for content/task"},{"name":"feed","description":"A service for handling external RSS feed"},{"name":"eventattendees","description":"A service for tracking event attendees, and their status"},{"name":"systemtasks","description":"A service for handling systemtasks"},{"name":"keymetrics","description":"A service for calculating needed data for key metrics"},{"name":"healthcheck","description":"A service for checking health status for redis and mongodb"},{"name":"sentimentanalysis","description":"An internal service for sentiment analysis."},{"name":"contentsview","description":"View with same output as tasktemplates, only find and get are possible"},{"name":"pages","description":"A service for navigation, only single row is used all the time"},{"name":"widgets","description":"A service for navigation, only single row is used all the time"},{"name":"welcomewidget","description":"A service for generating welcome widget"},{"name":"download","description":"A service for download pages"},{"name":"activitylogs","description":"A service for activitylog, FE calls POST method with empty body and the service will insert data about user activity and will also update the lastActivity field in users collection"},{"name":"pushnotificationsettings","description":"A service for getting client specific translations overrides for push notifications"},{"name":"audittrail","description":"This service is used to log audit trails for various operations in the system. It is used to track changes and actions performed by users."}]}