Relesys API Docs

v1.3

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

Content

Get Content
GET /contentmodules/{moduleId}/content
https://api.relesysapp.net/api/v1.3/contentmodules/{moduleId}/content
Get a list of content.

startDateTimeZone and endDateTimeZone determine the timezone for which the content post's availability is based upon. If they are not set, the timezone is based upon the timezone for the user accessing the post.
locales, mentions and medias will always be null in this response due to the potential of very large body texts. In order to include these, please use the Get Content By Id (url) endpoint.

Default sort is by sortOrder in ascending order.
Scopes: relesys.api, relesys.api:read, relesys.api.content, relesys.api.content:read
URL Path
moduleId string / guid required
Query String
availableFrom datetime Filterable Sortable optional
availableUntil datetime Filterable Sortable optional
categoryId string / guid Filterable optional
creationDateTime datetimeoffset Filterable Sortable optional
featureMediaId string / guid Filterable optional
id string / guid Filterable optional
lastModifiedDateTime datetimeoffset Filterable Sortable optional
name string Filterable Sortable optional
sortOrder integer Filterable Sortable optional
status string Filterable Sortable optional
userId string / guid Filterable optional
sort string Comma separated sort order based on sortable properties optional
offset integer Offset value for use in pagination Default: 0 optional
limit integer Total objects to fetch (max 1000) Default: 200 optional
Responses
application/json
JSON
{"count":2,"data":[{"id":"6aa79cc1-886d-411e-9c59-82942c276b85","url":null,"userId":"2ee388f5-990e-4d8a-82cc-8f9252c6283d","userUrl":null,"categoryId":"1c3912cf-e3b6-479e-a2bc-af4b4b10efb4","categoryUrl":null,"sortOrder":1,"status":"Published","creationDateTime":"2024-07-17T10:25:42.9351716+00:00","lastModifiedDateTime":null,"availableFrom":"2024-07-18T10:25:42Z","startDateTimeZone":null,"availableUntil":"2024-07-19T10:25:42Z","endDateTimeZone":null,"medias":null,"featureMediaId":null,"featureMediaDownloadUrl":null,"mentions":null,"locales":null},{"id":"46349d83-5db1-4fd4-a5d7-c3b184c9a6d8","url":null,"userId":"85426073-ff20-4b86-8a6a-2980e34f08b8","userUrl":null,"categoryId":"c8b3bed4-38cd-4e3e-a378-2a022b0e5eb7","categoryUrl":null,"sortOrder":2,"status":"Draft","creationDateTime":"2024-07-17T10:25:42.9351716+00:00","lastModifiedDateTime":"2024-07-18T06:25:42.9351716+00:00","availableFrom":"2024-07-18T10:25:42Z","startDateTimeZone":null,"availableUntil":"2024-07-19T10:25:42Z","endDateTimeZone":null,"medias":null,"featureMediaId":"f926a3e4-d001-46ae-be56-f31e308b2ecd","featureMediaDownloadUrl":null,"mentions":null,"locales":null}]}
object
  count integer      
  data array[object]      
   availableFrom datetime      
   availableUntil datetime      
   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      
   sortOrder integer      
   startDateTimeZone string      
   status string      
   url string      
   userId string / guid      
   userUrl string      
  nextUrl string      
  previousUrl string