Skip to main content

ActivityPostCreate

Add a post to the activity feed.

ActivityPostCreate(
visibility: VisibilityType!
message: String
photoBase64: String
photoName: String = "post-photo.jpg"
youtubeId: String
linkId: ID
): ActivityPostCreateUnion!

Arguments​

ActivityPostCreate.visibility ● VisibilityType! non-null enum​

Post visibility

ActivityPostCreate.message ● String scalar​

Post message

ActivityPostCreate.photoBase64 ● String scalar​

The base64 encoded version of the post photo to upload.

ActivityPostCreate.photoName ● String scalar​

ActivityPostCreate.youtubeId ● String scalar​

ID of youtube video

ActivityPostCreate.linkId ● ID scalar​

ID of link

Type​

ActivityPostCreateUnion union​

If mutation is successful, the Activity will be returned, otherwise a MutationError is returned.