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

For more information on permissions and notifications 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":"806fc283-d279-48b6-bd58-05af189cb724","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["8a131bb0-a2d0-4e12-b188-baa0eab3f62c"],"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":"5d7f54af-bfd1-4c70-b60d-719df5b77571","url":null,"userId":"64801729-ec2b-4463-b29b-2de9f1188da9","userUrl":null,"categoryId":"dce8fdec-e36e-4be4-aa2b-9006a8369d1b","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-06-05T20:17:24.2674159+00:00","lastModifiedDateTime":"2025-06-06T16:17:24.2674159+00:00","availableFrom":"2025-06-06T20:17:24","startDateTimeZone":null,"availableUntil":"2025-06-07T20:17:24","endDateTimeZone":null,"medias":[{"id":"2a182b55-1484-450b-99e4-6b2b2bc1f6db","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"d609e8d0-b5c5-48c7-b9e5-82541269869f","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"fff15130-e16f-49fd-84aa-6554712dcb81","url":null},{"type":"Department","name":"Department name example","id":"8695b72c-2ad1-4b9a-b146-e95952b9e628","url":null},{"type":"User group","name":"User group name example","id":"264aa993-015e-4807-9df5-beea4b52b6c8","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":"84610fdc-193e-4e7d-884e-f90902798e8d"}],"userGroups":[{"url":null,"name":"User group name example","id":"b9036168-401a-47b3-af41-d26b233a5032"}],"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