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":"a33393d3-d0dd-43ce-a256-40cb013d3883","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["eee6b015-8979-43d7-b93b-3cd8cf665c26"],"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":"19ee33ec-1740-41f7-8db4-420c922bccf2","url":null,"userId":"0557d5d3-e0d8-499d-82fd-f78ef360def5","userUrl":null,"categoryId":"716f1a86-dc6f-4583-85af-517542bfff36","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-12-11T11:20:33.3955265+00:00","lastModifiedDateTime":"2025-12-12T07:20:33.3955265+00:00","availableFrom":"2025-12-12T11:20:33","startDateTimeZone":null,"availableUntil":"2025-12-13T11:20:33","endDateTimeZone":null,"medias":[{"id":"525d8b8d-a936-44d4-a58f-788399b342c8","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"343c8216-fa59-4ef8-bdc9-e1578364b280","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"cbcc89e0-c908-4483-8669-19431721b357","url":null},{"type":"Department","name":"Department name example","id":"cb1e2359-627d-4c21-ae12-df3c44db747f","url":null},{"type":"User group","name":"User group name example","id":"f96ce72c-3bd9-468b-8487-4b4fcf4a5d7b","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":"38c68bd7-b221-4e47-944f-e4a5c2433c03"}],"userGroups":[{"url":null,"name":"User group name example","id":"9a5306a6-662d-4011-8b5f-fb5e69249394"}],"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