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":"734c7a92-760d-434a-87c7-6350380512bb","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["b7a575b0-fe5d-45d4-be4e-3bf564ff5866"],"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":"d871bea4-9188-47eb-a602-61e5f2e8119b","url":null,"userId":"2805aba0-bac3-4233-95e6-09c222e7ff92","userUrl":null,"categoryId":"a008ccf4-e6ce-47e1-966f-726eaf0e6da1","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-08-26T15:23:09.8181169+00:00","lastModifiedDateTime":"2025-08-27T11:23:09.8181169+00:00","availableFrom":"2025-08-27T15:23:09","startDateTimeZone":null,"availableUntil":"2025-08-28T15:23:09","endDateTimeZone":null,"medias":[{"id":"6382d0ec-b63a-48b5-af3c-57b5d2fe5fb5","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"f16e9f8e-25e5-4e12-9c10-34f7b0ed795b","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"3954e9de-2348-4241-969f-b9bf2b1f6871","url":null},{"type":"Department","name":"Department name example","id":"dc8e2a8f-d1d2-4839-9fd8-2835770752b8","url":null},{"type":"User group","name":"User group name example","id":"d4865648-b8ac-4fdc-b016-905836225abc","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":"06c8874e-dc91-4256-8093-36345fe8852a"}],"userGroups":[{"url":null,"name":"User group name example","id":"751c4aab-a04b-4193-946a-a6b354c1631b"}],"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