Skip to main content

Homepage Channel News API (1.0.0)

Download OpenAPI specification:Download

News published to the Homepage channel.
Production server URL: https://api.schedulr.ch
Development server URL: https://api.dev.schedulr.ch

List of news published to the homepage channel

Authorizations:
apiKeyAuth
query Parameters
offset
integer >= 0

Number of records to skip for pagination

limit
integer [ 0 .. 20 ]

Maximum number of records to return (max 20)

sort
string
Enum: "created_at" "-created_at" "updated_at" "-updated_at" "published_at" "-published_at"

Sort by creation or publication dates. For example to sort by created_at ASC use "sort=created_at". For DESC it would be "sort=-created_at".

modified_since
string
Example: modified_since=2022-02-01T21:11:25+00:00

Returns created and updated news since specified time (in ISO8601 format). Be careful - value must be URL-encoded (+ sign will convert into a space without encoding)

Responses

Response samples

Content type
application/json
{
  • "total": 230,
  • "limit": 20,
  • "offset": 0,
  • "data": [
    ]
}

Single news item published the homepage channel

Authorizations:
apiKeyAuth
path Parameters
id
required
integer

News id

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}