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":"a755641f-9594-4a3c-881f-fbd58bbf3011","path":"/categoryId","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","bodyText":"Body text"}],"path":"/locales","op":"replace"},{"value":["9c235c93-400f-48ec-aec0-eea998ba7c59"],"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":"c62a74b1-80dc-4072-9919-eca8672753c0","url":null,"userId":"567d2c89-6541-47cb-9652-b6475fc567a7","userUrl":null,"categoryId":"e5a06f08-ff1a-4d0b-8fa9-98eea9961a47","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2025-05-15T01:15:57.579779+00:00","lastModifiedDateTime":"2025-05-15T21:15:57.579779+00:00","availableFrom":"2025-05-16T01:15:57","startDateTimeZone":null,"availableUntil":"2025-05-17T01:15:57","endDateTimeZone":null,"medias":[{"id":"164e0ed6-d558-404f-986e-e32f583b1127","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"image.png"},{"id":"eb97fd47-9147-4f7b-afe9-e8fbaea5b7dd","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"video.mp4"}],"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":[{"type":"User","name":"User name example","id":"57fddd5c-e324-4bc4-a94f-d31a7487abbd","url":null},{"type":"Department","name":"Department name example","id":"735f7164-8518-4df6-9b3f-d062d1954262","url":null},{"type":"User group","name":"User group name example","id":"58775d6c-1157-4104-a88a-e753d5b487ae","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":"b627401e-7c06-41cd-b1d9-c66eaaf79a89"}],"userGroups":[{"url":null,"name":"User group name example","id":"a9a96a8f-231f-41f7-a9fc-56a7bb352ecc"}],"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