Skip to main content

Activity

Activity query

Activity(
id: Int
userId: Int
messengerId: Int
mediaId: Int
type: ActivityType
isFollowing: Boolean
hasReplies: Boolean
hasRepliesOrTypeText: Boolean
createdAt: Int
id_not: Int
id_in: [Int]
id_not_in: [Int]
userId_not: Int
userId_in: [Int]
userId_not_in: [Int]
messengerId_not: Int
messengerId_in: [Int]
messengerId_not_in: [Int]
mediaId_not: Int
mediaId_in: [Int]
mediaId_not_in: [Int]
type_not: ActivityType
type_in: [ActivityType]
type_not_in: [ActivityType]
createdAt_greater: Int
createdAt_lesser: Int
sort: [ActivitySort]
): ActivityUnion

Arguments

Activity.id ● Int scalar

Filter by the activity id

Activity.userId ● Int scalar

Filter by the owner user id

Activity.messengerId ● Int scalar

Filter by the id of the user who sent a message

Activity.mediaId ● Int scalar

Filter by the associated media id of the activity

Activity.type ● ActivityType enum

Filter by the type of activity

Activity.isFollowing ● Boolean scalar

Filter activity to users who are being followed by the authenticated user

Activity.hasReplies ● Boolean scalar

Filter activity to only activity with replies

Activity.hasRepliesOrTypeText ● Boolean scalar

Filter activity to only activity with replies or is of type text

Activity.createdAt ● Int scalar

Filter by the time the activity was created

Activity.id_not ● Int scalar

Filter by the activity id

Activity.id_in ● [Int] list scalar

Filter by the activity id

Activity.id_not_in ● [Int] list scalar

Filter by the activity id

Activity.userId_not ● Int scalar

Filter by the owner user id

Activity.userId_in ● [Int] list scalar

Filter by the owner user id

Activity.userId_not_in ● [Int] list scalar

Filter by the owner user id

Activity.messengerId_not ● Int scalar

Filter by the id of the user who sent a message

Activity.messengerId_in ● [Int] list scalar

Filter by the id of the user who sent a message

Activity.messengerId_not_in ● [Int] list scalar

Filter by the id of the user who sent a message

Activity.mediaId_not ● Int scalar

Filter by the associated media id of the activity

Activity.mediaId_in ● [Int] list scalar

Filter by the associated media id of the activity

Activity.mediaId_not_in ● [Int] list scalar

Filter by the associated media id of the activity

Activity.type_not ● ActivityType enum

Filter by the type of activity

Activity.type_in ● [ActivityType] list enum

Filter by the type of activity

Activity.type_not_in ● [ActivityType] list enum

Filter by the type of activity

Activity.createdAt_greater ● Int scalar

Filter by the time the activity was created

Activity.createdAt_lesser ● Int scalar

Filter by the time the activity was created

Activity.sort ● [ActivitySort] list enum

The order the results will be returned in

Type

ActivityUnion union

Activity union type