Skip to main content

GoalCreated

Goal creation returned in auditableActionList, with the goal id, name, and site recorded at creation.

type GoalCreated {
id: Int!
userId: Int!
guestId: Int
guestEmail: String
admin: Boolean!
timestamp: Int!
goalId: Int
goalName: String
siteId: Int
}

Fields​

GoalCreated.id ● Int! non-null scalar​

Audit entry id, distinct from the resource ids mentioned in the action.

GoalCreated.userId ● Int! non-null scalar​

Owner account id associated with the action.

GoalCreated.guestId ● Int scalar​

Acting user id; null for older or non-user actions.

GoalCreated.guestEmail ● String scalar​

Acting user's email when distinct from the owner and still resolvable; null otherwise.

GoalCreated.admin ● Boolean! non-null scalar​

Whether the action was recorded as an administrative action.

GoalCreated.timestamp ● Int! non-null scalar​

Action time in Unix seconds.

GoalCreated.goalId ● Int scalar​

Captured goal id; null when not recorded.

GoalCreated.goalName ● String scalar​

Captured goal name; null when not recorded.

GoalCreated.siteId ● Int scalar​

Captured site id; null when not recorded.

Implemented By​

AuditableAction union