Relesys API Docs

v1.1

https://api.relesysapp.net/api/v1.1

Content

Update Content
PATCH /contentmodules/{moduleId}/content/{contentId}
https://api.relesysapp.net/api/v1.1/contentmodules/{moduleId}/content/{contentId}
Update a content post with contentId in a module with moduleId.
Accepts a JsonPatch request in the body and replaces provided fields.

The following fields are allowed to be updated:
categoryId, locales, mediaIds, permissions, and notifications

bodyText in locales must be provided using Markdown syntax.
For more information on permissions, notifications and Markdown syntax visit their respective concept pages.
Scopes: relesys.api, relesys.api:write, relesys.api.content, relesys.api.content:write
URL Path
moduleId string / guid The module's unique identifier required
contentId string / guid The content's unique identifier required
Request Body
application/json-patch+json
JSON
[{"value":"7a2e0b1d-c87e-452a-8924-01aa65744675","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["92639316-0561-421b-aa50-ffa118ebc0b8"],"path":"/mediaIds","op":"replace"},{"value":[{"userGroups":[],"departments":[],"requireAllUserGroups":false}],"path":"/permissions","op":"replace"},{"value":{"sendNotification":false,"sendPushNotification":false,"forceInstantPush":false},"path":"/notifications","op":"replace"}]
array[object]
  from string optional
  op string optional
  path string optional
  value object optional
Responses
application/json
JSON
{"data":{"id":"4e2ddf47-8d4f-4275-a521-b42a2ab484c5","url":null,"userId":"538a480f-1d3e-4c6b-bdab-c38086240944","userUrl":null,"categoryId":"c550455c-24c7-4061-a401-f0059f455f93","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-06-12T15:44:02.1586154+00:00","lastModifiedDateTime":"2025-06-13T11:44:02.1586154+00:00","availableFrom":"2025-06-13T15:44:02","startDateTimeZone":null,"availableUntil":"2025-06-14T15:44:02","endDateTimeZone":null,"medias":[{"id":"07712289-2992-47b4-937d-cad48ebc754b","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"16c7e345-1443-43e8-bbb3-adeaf4a26e08","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"eacaeab6-aa8b-4456-80ee-38529a6910b9","url":null},{"type":"Department","name":"Department name example","id":"c9470ea9-317f-443c-9692-4e1acc7d4d09","url":null},{"type":"User group","name":"User group name example","id":"b9885dc5-704d-4345-835b-39c473c83543","url":null}],"locales":[{"culture":"en-GB","title":"Example title 1","bodyText":"<p>Example body text 1</p>"}],"permissions":[{"departments":[{"url":null,"name":"Department name example","id":"7927178c-c272-4cfa-b56f-cb923ce0be05"}],"userGroups":[{"url":null,"name":"User group name example","id":"9c572ae7-df63-4e22-84ca-00dd6d641a33"}],"requireAllUserGroups":false}]}}
object
  data object      
   availableFrom string      
   availableUntil string      
   categoryId string / guid      
   categoryUrl string      
   creationDateTime datetimeoffset      
   endDateTimeZone string      
   featureMediaDownloadUrl string      
   featureMediaId string / guid      
   id string / guid      
   lastModifiedDateTime datetimeoffset      
   locales array[object]      
    bodyText string      
    culture string      
    title string      
   medias array[object]      
    contentType string      
    downloadUrl string      
    fileName string      
    id string / guid      
    referenceUrl string      
   mentions array[object]      
    id string / guid      
    name string      
    type string      
    url string      
   permissions array[object]      
    departments array[object]      
     id string / guid      
     name string      
     url string      
    requireAllUserGroups boolean      
    userGroups array[object]      
     id string / guid      
     name string      
     url string      
   sortOrder integer      
   startDateTimeZone string      
   status string      
   url string      
   userId string / guid      
   userUrl string