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":"bf4a41ab-25e0-4c29-b330-cb9e33af4d09","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["bd7ac4ff-5721-41ef-b291-b789d95a5035"],"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":"1b07886f-e2be-4e35-87d7-5bb2a3f66d1c","url":null,"userId":"7f1a58de-32dc-4085-8eb2-c0fdb516a050","userUrl":null,"categoryId":"b5fcf5c6-2ad6-4627-875b-b9829c120483","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-10-02T19:30:15.5592394+00:00","lastModifiedDateTime":"2025-10-03T15:30:15.5592394+00:00","availableFrom":"2025-10-03T19:30:15","startDateTimeZone":null,"availableUntil":"2025-10-04T19:30:15","endDateTimeZone":null,"medias":[{"id":"eb9255c8-89d0-46e5-98a2-c410db0fdc70","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"22f6cfaf-2e78-44bc-80a3-50ea376d280b","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"fdc3499e-1ad9-481e-aac2-2dced5d66a57","url":null},{"type":"Department","name":"Department name example","id":"c0c2b7f5-2bb7-4287-b3c3-caf54322e8ea","url":null},{"type":"User group","name":"User group name example","id":"015a1e5b-4d58-450b-81ac-3bdc228c8d08","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":"b7314382-1105-42f6-9eef-8a81602eadba"}],"userGroups":[{"url":null,"name":"User group name example","id":"12e035c5-5669-4a83-821d-77dbd4b8a5c9"}],"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