Skip to main content

Module agent_changeset_calls

Module agent_changeset_calls 

Source
Expand description

Audit log of agent write calls. A call is also the unit an agent reverts.

Structs§

AgentChangesetCall
A call as reverting it needs it.
AgentChangesetCallSummary
A call as the review page lists it, without its operations and snapshots.
CallActor
Who made a call: the user and the agent client acting for them.
CallHistoryEntity
An entity a call touched, labelled from its snapshot after the call (before it, for deletes).
CallHistoryEntry
One call in the user’s agent history of a course.
EntityChange
One entity a call touched, as reverting the call needs it.
NewAgentChangesetCall
A call to record with insert.
NewEntityChange
One entity a call touched, as the audit log records it; see insert.

Functions§

get_by_id
The call with the entities it touched.
get_history
The user’s most recent calls in a course, newest first; only the calls that touched entity_id when it is given.
get_latest_by_entity
The latest call of the changeset that touched each of its entities, by entity.
get_summaries_by_changeset_id
The changeset’s calls, oldest first.
insert
Records the call and the entities it touched, and returns its id.