Relesys API Docs

v1.3

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

Content

Update Content
PATCH /contentmodules/{moduleId}/content/{contentId}
https://api.relesysapp.net/api/v1.3/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":"cdf05f24-7264-4b32-b8d8-009c9b583751","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["3e4d66ad-045c-4e13-ac97-9a033c1605c9"],"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":"ec63b4d4-5bac-44d5-9da8-385b880de7ef","url":null,"userId":"1320c494-93bb-424d-bcc7-cb585a087ddf","userUrl":null,"categoryId":"2771b17b-7ac8-46b1-83a5-648e6dd3455a","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-06-26T12:20:09.8700692+00:00","lastModifiedDateTime":"2025-06-27T08:20:09.8700692+00:00","availableFrom":"2025-06-27T12:20:09","startDateTimeZone":null,"availableUntil":"2025-06-28T12:20:09","endDateTimeZone":null,"medias":[{"id":"8f9d8c1a-6a4e-4c11-bf2f-0f3af0b965b9","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"c2659c12-9ff2-49e3-b734-f73dbd289276","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"27a2daf4-ff1e-4a0a-a10f-c4bd7737ea7d","url":null},{"type":"Department","name":"Department name example","id":"6aecbade-cde8-464d-9abc-d441cc81cf5e","url":null},{"type":"User group","name":"User group name example","id":"c05fb52a-8d9e-4cc5-82cf-db9425b98590","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":"f90e6abf-f8e1-4989-b47c-d4811b0b9577"}],"userGroups":[{"url":null,"name":"User group name example","id":"69183bb7-7213-461b-b256-e683b5ed8708"}],"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