Skip to main content

signal_changes

Creates, updates, deletes, gets or lists a signal_changes resource.

Overview​

Namesignal_changes
TypeResource
Idrailway.platform.signal_changes

Fields​

The following fields are returned by SELECT queries:

One row per SignalChange.

NameDatatypeDescription
idstring
author_idstring
signal_idstring
created_atstring (date-time)
kindstring (default_changed, replaced, rollback, set, unset)
payloadobject
prev_stateobject
seqstring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectnameownerRecent audit log entries for a signal. Backed by the Railway GraphQL query signalChanges. A SQL LIMIT is pushed down to the limit argument.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namestring
ownerstring

SELECT examples​

Recent audit log entries for a signal. Backed by the Railway GraphQL query signalChanges. A SQL LIMIT is pushed down to the limit argument.

SELECT
id,
author_id,
signal_id,
created_at,
kind,
payload,
prev_state,
seq
FROM railway.platform.signal_changes
WHERE name = '{{ name }}' -- required
AND owner = '{{ owner }}'
;