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":"a177cf2a-fd57-4e4d-8682-d81ee45dbb7e","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["3852e8cd-90dc-4f0a-9c6e-f1959327127f"],"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":"2d6a21ae-ede7-4f9a-83a0-535adf61d949","url":null,"userId":"90fc75ae-6346-4b10-962c-f7cac6ce063b","userUrl":null,"categoryId":"d7e6d0c8-9b62-4675-899c-5c83915929c7","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-10-12T19:55:10.1850344+00:00","lastModifiedDateTime":"2025-10-13T15:55:10.1850344+00:00","availableFrom":"2025-10-13T19:55:10","startDateTimeZone":null,"availableUntil":"2025-10-14T19:55:10","endDateTimeZone":null,"medias":[{"id":"1e84e18c-cf53-4f01-901c-899b4e0b756f","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"18c851b7-a535-4d15-afd9-3d50f703bcd4","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"deb62fcc-bf8d-4800-91ef-3594dafdb445","url":null},{"type":"Department","name":"Department name example","id":"59e34caf-befa-4ad1-a006-bc773dfb7ddf","url":null},{"type":"User group","name":"User group name example","id":"a4fc67ad-3d24-48ac-82a1-baf9d42a8292","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":"0ae2be58-bef5-47b0-96da-2aadb832246a"}],"userGroups":[{"url":null,"name":"User group name example","id":"fd81171c-d76b-4c86-a6f6-d12c1cae5b53"}],"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