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":"49929fea-c8ed-4466-b251-5eb076450094","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["41b535ba-10a0-47bb-863b-cf7197ca3e22"],"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":"fb39d0a2-dedc-49ea-9a6c-f47b4f1e577d","url":null,"userId":"2cfa570d-9f16-4785-9ad6-0e4c1fe7dd49","userUrl":null,"categoryId":"f3871068-6851-4109-b6e4-2da9f64714d2","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-08-06T09:10:11.3866449+00:00","lastModifiedDateTime":"2025-08-07T05:10:11.3866449+00:00","availableFrom":"2025-08-07T09:10:11","startDateTimeZone":null,"availableUntil":"2025-08-08T09:10:11","endDateTimeZone":null,"medias":[{"id":"92e6d4ec-148f-4392-be6f-698110a863d9","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"efe064df-b0ee-4ae7-ad53-c89347d1deed","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"06d53c04-8f4d-4010-8de1-c74bdfe97e2b","url":null},{"type":"Department","name":"Department name example","id":"3faeb988-8fed-4cd6-9edb-8542ebec77a8","url":null},{"type":"User group","name":"User group name example","id":"cc7ee668-4430-4320-9b47-6afdb67820b6","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":"7ff9cfbf-a7c9-414a-b194-943b3d769c2b"}],"userGroups":[{"url":null,"name":"User group name example","id":"3acf12b7-83b3-41d4-bb94-957f7952a584"}],"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