Developers · GraphQL
Activity-Feeds Mutations
Last updated 5 November 2026
Use the resources in this document to build GraphQL mutations for Activity-Feeds.
activity_create
Creates an Activity.
activity_create(
payload: ActivityStreamsPayload!
): ActivityStreamsActivityArguments
Type
activity_delete_all
Delete all activities and clean up ALL feeds.
activity_delete_all(
confirm: Boolean = false
): [ID]Arguments
Type
The ID scalar type represents a unique identifier, often used to refetch an object or as a key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as
activity_publish
Add an activity to feeds.
activity_publish(
at: ISO8601DateTime
feed_type: String!
ids: [ID]!
uuid: ID!
): JSONDateArguments
Optional.
For example, User, UserPrivate, AuditLog, Images and Posts.
Type
Represents Date and time data expressed according to ISO 8601 format to which values are automatically converted.
activity_unpublish
Clean up feeds from selected activities.
activity_unpublish(
record_id: ID
related_to_object: ActiveRecordReference
uuid: ID
): [ID]Arguments
Finds the activities related to the record (for example {"id": "<record_id>"}) and removes them from all feeds.
Search for activities related to the Object, and then clean up all feeds from found activities.
Remove from feeds activity with UUID.
Type
The
activity_unpublish_all
Clean up ALL feeds.
activity_unpublish_all(
confirm: Boolean = false
): [ID]Arguments
Type
The
Reference
You may visit the following resources for more information:
- ActiveRecordReference
- ActivityStreamsActivity
- ActivityStreamsPayload
- Boolean
- ID
- ISO8601DateTime
- JSONDate
- String