Skip to content

news_log

Browse and manage news

Create

Input parameters

ParameterTypeRequiredDetails
en_message
English message
Text yes

Optional user-facing message with more details about this update.

Default: null

Validation rules
RuleDetails
Present

Must be supplied and cannot be null. Must not be empty; strings must contain a non-whitespace character.

Validation error message: must be present and non-empty

cs_message
Česky message
Text no

Optional user-facing message with more details about this update.

Default: null

published_at
Published at
Datetime no

Date and time shown as the advisory publication time.

Default: null

Output parameters

ParameterTypeDescription
id
Id
Integer
message
Message
Text
en_message
English message
Text Optional user-facing message with more details about this update.
cs_message
Česky message
Text Optional user-facing message with more details about this update.
published_at
Published at
Datetime Date and time shown as the advisory publication time.
created_at
Created_at
Datetime
updated_at
Updated_at
Datetime

Delete

Input parameters

No parameters.

Output parameters

No parameters.

Index

Input parameters

ParameterTypeRequiredDetails
from_id
From ID
Integer no

List objects with IDs greater or lower than this value

Default: null

Validation rules
RuleDetails
Number
  • Must be a number after parameter type conversion.
  • Minimum: 0 (inclusive).

Validation error message: must be at least 0

limit
Limit
Integer no

Number of objects to retrieve

Default: null

Validation rules
RuleDetails
Number
  • Must be a number after parameter type conversion.
  • Minimum: 0 (inclusive).
  • Maximum: 1000 (inclusive).

Validation error message: must be between 0 and 1000

since
Since
Datetime no

List news published later than this date

Default: null

Output parameters

ParameterTypeDescription
id
Id
Integer
message
Message
Text
en_message
English message
Text Optional user-facing message with more details about this update.
cs_message
Česky message
Text Optional user-facing message with more details about this update.
published_at
Published at
Datetime Date and time shown as the advisory publication time.
created_at
Created_at
Datetime
updated_at
Updated_at
Datetime

Show

Input parameters

No parameters.

Output parameters

ParameterTypeDescription
id
Id
Integer
message
Message
Text
en_message
English message
Text Optional user-facing message with more details about this update.
cs_message
Česky message
Text Optional user-facing message with more details about this update.
published_at
Published at
Datetime Date and time shown as the advisory publication time.
created_at
Created_at
Datetime
updated_at
Updated_at
Datetime

Update

Input parameters

ParameterTypeRequiredDetails
en_message
English message
Text no

Optional user-facing message with more details about this update.

Default: null

cs_message
Česky message
Text no

Optional user-facing message with more details about this update.

Default: null

published_at
Published at
Datetime no

Date and time shown as the advisory publication time.

Default: null

Output parameters

ParameterTypeDescription
id
Id
Integer
message
Message
Text
en_message
English message
Text Optional user-facing message with more details about this update.
cs_message
Česky message
Text Optional user-facing message with more details about this update.
published_at
Published at
Datetime Date and time shown as the advisory publication time.
created_at
Created_at
Datetime
updated_at
Updated_at
Datetime