Relesys API Docs

v1.2

https://api.relesysapp.net/api/v1.2

Comments

Get Comment By Id
GET /contentmodules/{moduleId}/content/{contentId}/comments/{commentId}
https://api.relesysapp.net/api/v1.2/contentmodules/{moduleId}/content/{contentId}/comments/{commentId}
Get a content comment with ID commentId.

Please note: Comments must be enabled on the module for this endpoint to be called. Otherwise status code 400 - Bad Request will be returned.
Scopes: relesys.api, relesys.api:read, relesys.api.content, relesys.api.content:read
URL Path
moduleId string / guid required
contentId string / guid required
commentId string / guid required
Responses
application/json
JSON
{"data":{"id":"c1c34bc6-8ca5-4187-b5cd-6a0c8dc7222e","url":null,"userId":"2ccaa109-537b-408b-b466-eb3d7e5a79a7","userUrl":null,"parentCommentId":"b2efcd53-1f4a-4771-a230-8ed41e1205be","parentCommentUrl":null,"creationDateTime":"2024-02-28T12:50:41.0214578+00:00","lastModifiedDateTime":null,"medias":[{"id":"c2ccba70-fff2-4a5a-b0c7-4b3998237263","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"png"},{"id":"d52c4c35-9563-4081-a4a0-ec9a06adb5de","downloadUrl":null,"referenceUrl":null,"contentType":"video/mp4","fileName":"mp4"}],"mentions":null,"locales":[{"culture":"en-GB","text":"Example text 1"}]}}
object
  data object      
   creationDateTime datetimeoffset      
   id string / guid      
   lastModifiedDateTime datetimeoffset      
   locales array[object]      
    culture string      
    text 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      
   parentCommentId string / guid      
   parentCommentUrl string      
   url string      
   userId string / guid      
   userUrl string