Skip to main content

AudienceEdited

Audience definition edit and affected add-ons returned in auditableActionList.

type AudienceEdited {
id: Int!
userId: Int!
guestId: Int
guestEmail: String
admin: Boolean!
audienceId: ID!
timestamp: Int!
previousDefinition: JSON
resultingDefinition: JSON
affectedResources: [AudienceAffectedResource!]!
affectedResourceCount: Int!
}

Fields​

AudienceEdited.id ● Int! non-null scalar​

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

AudienceEdited.userId ● Int! non-null scalar​

Owner account id associated with the action.

AudienceEdited.guestId ● Int scalar​

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

AudienceEdited.guestEmail ● String scalar​

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

AudienceEdited.admin ● Boolean! non-null scalar​

Whether the action was recorded as an administrative action.

AudienceEdited.audienceId ● ID! non-null scalar​

AudienceEdited.timestamp ● Int! non-null scalar​

Action time in Unix seconds.

AudienceEdited.previousDefinition ● JSON scalar​

Inline JSON audience definition before the edit; null when not captured.

AudienceEdited.resultingDefinition ● JSON scalar​

Inline JSON audience definition after the edit; null when not captured.

AudienceEdited.affectedResources ● [AudienceAffectedResource!]! non-null object​

Captured affected add-ons; empty when no affected-resource details were recorded.

AudienceEdited.affectedResourceCount ● Int! non-null scalar​

Captured affected-resource count; defaults to zero when not recorded.

Implemented By​

AuditableAction union