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":"c8fa787e-903a-4d76-a545-12f5571834b7","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["20688112-ddaf-4489-8bc4-756e6692b997"],"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":"d2d17167-b8ee-49dc-98ff-502f083f742a","url":null,"userId":"093bd542-1677-4800-9b24-12ad1b8e9e3d","userUrl":null,"categoryId":"9dfab809-f260-46fa-947f-b478915f4c72","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-07-03T00:12:03.6552978+00:00","lastModifiedDateTime":"2025-07-03T20:12:03.6552978+00:00","availableFrom":"2025-07-04T00:12:03","startDateTimeZone":null,"availableUntil":"2025-07-05T00:12:03","endDateTimeZone":null,"medias":[{"id":"93241f50-1e7d-458a-a183-abb99ca73e96","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"bd41def5-b735-4bd8-8da7-0e060b71ef03","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"383d504d-e681-414b-a791-3ef19c7fc596","url":null},{"type":"Department","name":"Department name example","id":"3f581c9b-e93b-4ba8-a976-0d1084dbbf0c","url":null},{"type":"User group","name":"User group name example","id":"fd96e3d5-4c21-4c75-b032-e61db6de5636","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":"38dad8fb-d53f-4421-92c8-945d6523e94b"}],"userGroups":[{"url":null,"name":"User group name example","id":"b9dfaf79-fcf3-49f1-9a70-6f5210dbd176"}],"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