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":"54744617-c1b0-47ca-af13-5064cb8a795f","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["a13ac69d-4d74-4411-a6f1-c0254418196e"],"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":"13b7fc9b-6803-4fed-965f-3488f70097cd","url":null,"userId":"c8968baf-fc09-4d97-be2f-a151b340e335","userUrl":null,"categoryId":"08fecfcd-1367-44cd-8227-c9958160cbb0","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-10-26T19:01:22.361257+00:00","lastModifiedDateTime":"2025-10-27T15:01:22.361257+00:00","availableFrom":"2025-10-27T19:01:22","startDateTimeZone":null,"availableUntil":"2025-10-28T19:01:22","endDateTimeZone":null,"medias":[{"id":"868f1e99-acc1-48fa-823c-9b535227cb9d","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"b0c4dc1f-dbc8-4ef0-ac45-dcdf65023a7d","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"669a57f7-59b1-4bd1-a28a-2c9f6ae3dcdb","url":null},{"type":"Department","name":"Department name example","id":"0aacd59c-5cc2-4e47-8eb7-26ed3979d946","url":null},{"type":"User group","name":"User group name example","id":"6fa947bb-0578-40d8-b2fb-f9ba639f3828","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":"8f88a8c4-cb4c-4cf1-9fa9-3977ac9e6a64"}],"userGroups":[{"url":null,"name":"User group name example","id":"19ab78bc-4524-45d6-b8af-09501ca4a369"}],"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