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":"7c8daae0-f9f1-4a5d-b530-80560f74e68c","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["d6c0241e-2528-4e03-8d76-b71b8e223538"],"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":"72eb8ad1-9304-4cdd-94a4-3ce877cc6134","url":null,"userId":"682ba74e-2d98-42aa-ae67-cc5bd4ea208c","userUrl":null,"categoryId":"df0fbb21-0aa3-495c-80d4-db292f948d01","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-07-16T20:43:01.3867848+00:00","lastModifiedDateTime":"2025-07-17T16:43:01.3867848+00:00","availableFrom":"2025-07-17T20:43:01","startDateTimeZone":null,"availableUntil":"2025-07-18T20:43:01","endDateTimeZone":null,"medias":[{"id":"b683ac82-b6da-49ee-ba05-308464e0ec5f","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"56ca64fa-19f7-41b0-98a1-33bef2bdebc2","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"0b87f333-1026-4546-a917-b83ec4c09a78","url":null},{"type":"Department","name":"Department name example","id":"3832dca5-c14b-4119-8e68-10a7cae0ad12","url":null},{"type":"User group","name":"User group name example","id":"d7f7b380-e5ee-469b-952f-bff83f26a0bc","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":"5fa4f89c-8368-4754-a097-6e0756eb1bbc"}],"userGroups":[{"url":null,"name":"User group name example","id":"545209cf-fa7e-4f5e-aea8-eb139d9d1733"}],"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