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":"6f30bcc5-cfe2-4538-8d07-568d74cf26d0","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["948ebdc3-9ce7-4239-ac71-58a4876eeb81"],"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":"7d9ed48e-2ee3-4846-adbc-2420c9c2d107","url":null,"userId":"e843282b-37c8-4d89-b958-eb6617e171b1","userUrl":null,"categoryId":"e7f2a409-7e4e-4d8e-bfd3-c980ccd389ce","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-07-28T20:34:32.8013077+00:00","lastModifiedDateTime":"2025-07-29T16:34:32.8013077+00:00","availableFrom":"2025-07-29T20:34:32","startDateTimeZone":null,"availableUntil":"2025-07-30T20:34:32","endDateTimeZone":null,"medias":[{"id":"a806fb64-fd8c-4882-b943-d277e802d5b7","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"6f01f0ba-b9a4-4ee8-bb93-7f2159ef0910","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"7cd03c89-bd72-478d-8d68-7c0238c850f9","url":null},{"type":"Department","name":"Department name example","id":"d07b20f7-8a5e-4501-9a6e-6c7566557c6e","url":null},{"type":"User group","name":"User group name example","id":"1b1c4cad-dfa2-4662-a010-f0182051b167","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":"59e15a33-5206-44eb-8faf-9ec84e0c6bda"}],"userGroups":[{"url":null,"name":"User group name example","id":"c25f320c-e79a-440b-9278-b2e704cae531"}],"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