Skip to content

Posts

The posts module’s root lookups. A venue’s posts are on it (Venue.posts).

Field Type Description
posts IAudiencePosts! The instance’s IAudiencePosts mixin. Left out of the schema where its module isn’t installed.
Operation Returns Description
addEventPhoto
input: EventPhotoTakeInput!
EventPhotoTakePayload Adds a photo taken with the app’s camera at a venue (only while the app places you there): it’s marked AMATEUR, credited to you, put on the event under way there, and tagged with whoever is on stage, so it shows on the venue’s, the event’s and their pages (IPosts.photos). requires posts:write:self
createPost staffql only
input: PostCreateInput!
PostCreatePayload Posts as a venue on the venue, one of its events or one of its series; or, with asPersonId, as a person (talent) on their own page or an event they’re on. Name exactly one of venueId, eventId, eventSeriesId and personId. requires posts:write:mine or posts:write:my_troupes
createPostComment
input: PostCommentCreateInput!
PostCommentCreatePayload Comments on a venue’s or a person’s post, as the signed-in user. Someone banned from the venue’s chat can’t, and nobody can once its comments are closed. requires posts:write:self
deletePost staffql only
input: PostDeleteInput!
PostDeletePayload Removes a venue’s or a person’s post and its comments from the apps. requires posts:write:mine or posts:write:my_troupes
hidePostFromEvent staffql only
input: PostHideFromEventInput!
PostHideFromEventPayload Hides a talent’s post from its event, or shows it again: for the event venue’s managers and admins. requires posts:write:mine
mutePostAuthor
input: PostAuthorMuteInput!
PostAuthorMutePayload Hides a venue’s or a person’s posts from the signed-in user, or shows them again. Name exactly one of venueId and personId. requires posts:write:self
removeEventPhoto
input: EventPhotoRemoveInput!
EventPhotoRemovePayload Removes a photo you took with the app’s camera (addEventPhoto), from every page it was on. requires posts:write:self
removePostComment
input: PostCommentRemoveInput!
PostCommentRemovePayload Removes a comment on a post: its author’s own, or any on a post for whoever manages its poster (the venue’s managers, the talent listing’s) and admins. requires posts:write:self or posts:moderate:mine
updatePost staffql only
input: PostUpdateInput!
PostUpdatePayload Changes a venue’s or a person’s post. Fields left out aren’t changed. requires posts:write:mine or posts:write:my_troupes

Object · implements IAudiencePosts

The local Posts implementation of the posts module’s root lookups.

Field Type Description
post
id: ID!
Post A post in the audience by its UUID, unless removed.

Object · implements HasTimestamps, Node

A post made as a venue or as a person (a talent listing): on the venue, one of its events or series, or the person’s own page. Shown as its poster.

Field Type Description
actingPersonName String On a troupe’s post, the member who wrote it for the troupe (“Kiki Riot for House of Lux”).
body String! What it says.
commentCount Int! How many comments it has.
comments
after: String
before: String
first: Int
last: Int
PostCommentConnection! Its comments, oldest first.
commentsOpen Boolean! Whether people can comment on it.
createdAt ISO8601DateTime! When it was posted.
edited Boolean! Whether its text changed after it was posted.
event Event The event it’s on, if it’s on one.
eventSeries EventSeries The series it’s on, if it’s on one.
hiddenFromEvent Boolean! Whether the event’s venue hid this talent post from the event. It still shows on the person’s page.
id ID! Its UUID.
person Person The talent listing posting it, when a person posted.
photoUrl PhotoURL Its first photo.
photos [PostPhoto!]! Its photos, in order: at most four.
pinned Boolean! Whether it is pinned above the others.
posterAvatarUrl PhotoURL Its poster’s picture.
posterName String! Who it shows as: the venue or the person, in full.
roleLabel String The tag under the poster’s name: “Venue” for a venue; for talent on an event, their part (“MC”, “DJ”, “Act”, “Duet”, “Troupe”, “Host”); else null.
updatedAt ISO8601DateTime! When it last changed.
venue Venue The venue posting it; on a talent post, its event’s venue. Null on a talent post on their own page.
viewerCanHideFromEvent Boolean! Whether the signed-in user may hide this talent post from its event: the event venue’s managers and admins.
viewerCanManage Boolean! Whether the signed-in user may change it: whoever manages its poster (the venue, or the talent listing) and admins.
visibility PostVisibility! Who can see it: members in the apps, or the web too.

Object · implements Node

Someone’s comment on a venue’s or a person’s post.

Field Type Description
authorAvatarUrl PhotoURL The author’s profile picture.
authorId ID! The author’s user id, so apps can show friends by their full name, as in chat.
authorName String! Who wrote it, as rooms show names (“Aurora B.”).
body String! What they wrote.
createdAt ISO8601DateTime! When.
id ID! Its UUID.
viewerCanRemove Boolean! Whether the signed-in user may remove it: its author, whoever manages its post’s poster, and admins.

Object

The connection type for PostComment.

Field Type Description
edges [PostCommentEdge] A list of edges.
nodes [PostComment] A list of nodes.
pageInfo PageInfo! Information to aid in pagination.

Object

An edge in a connection.

Field Type Description
cursor String! A cursor for use in pagination.
node PostComment The item at the end of the edge.

Object

The connection type for Post.

Field Type Description
edges [PostEdge] A list of edges.
nodes [Post] A list of nodes.
pageInfo PageInfo! Information to aid in pagination.

Object

An edge in a connection.

Field Type Description
cursor String! A cursor for use in pagination.
node Post The item at the end of the edge.

Object

One of a post’s photos.

Field Type Description
altText String What it shows, for screen readers.
url PhotoURL The photo.

Object · implements IPosts

The local Posts implementation of a venue, event, series, person or locale’s posts.

Field Type Description
list
after: String
before: String
first: Int
from: PostsFrom
last: Int
PostConnection! A venue’s own posts (as the venue, on it, its events and series); an event’s by its venue and the people on it; a series’; a person’s own; a locale’s updates from the last 14 days. Pinned first, then newest; a locale’s newest first. Posts from venues and people the viewer hid are left out.
photos
after: String
before: String
first: Int
last: Int
sources: [EventPhotoSource!]
EventPhotoConnection! Photos of it: photographers’ and members’ taken with the app’s camera, newest first. A venue’s taken there; an event’s taken at it; a series’ at its events; a person’s those they were on stage in. None for a locale. Hidden photos, and members’ photos from people a block stands between the viewer and, are left out.

Object

Autogenerated return type of EventPhotoRemove.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
id ID! The ID of the photo removed.

Object

Autogenerated return type of EventPhotoTake.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
photo EventPhoto! The photo, as it now shows.

Object

Autogenerated return type of PostAuthorMute.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
muted Boolean! Whether their posts are now hidden.

Object

Autogenerated return type of PostCommentCreate.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
comment PostComment! The comment.

Object

Autogenerated return type of PostCommentRemove.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
comment PostComment! The comment, now removed.

Object · staffql only

Autogenerated return type of PostCreate.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
post staffql only Post The post; null once removed.

Object · staffql only

Autogenerated return type of PostDelete.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
deletedId staffql only ID! The ID of the post removed.
post staffql only Post The post; null once removed.

Object · staffql only

Autogenerated return type of PostHideFromEvent.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
post staffql only Post! The post.

Object · staffql only

Autogenerated return type of PostUpdate.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
post staffql only Post The post; null once removed.

Input

Autogenerated input type of EventPhotoRemove

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
id ID! The ID of the photo.

Input

Autogenerated input type of EventPhotoTake

Field Type Description
altText String What it shows, for screen readers.
caption String A line about it.
clientMutationId String A unique identifier for the client performing the mutation.
photo String! The image (JPEG, up to 10 MB), as a data: URI.
venueId ID! The venue you’re at.

Input

Autogenerated input type of PostAuthorMute

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
muted Boolean Hide them (default) or show them.
personId ID A talent listing.
venueId ID A venue.

Input

Autogenerated input type of PostCommentCreate

Field Type Description
body String! What to say.
clientMutationId String A unique identifier for the client performing the mutation.
postId ID! The post.

Input

Autogenerated input type of PostCommentRemove

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
id ID! The comment.

Input · staffql only

Autogenerated input type of PostCreate

Field Type Description
asPersonId staffql only ID Post as this talent listing of yours instead of as the venue.
body staffql only String! What it says.
clientMutationId staffql only String A unique identifier for the client performing the mutation.
commentsOpen staffql only Boolean Whether people can comment. Default: yes.
eventId staffql only ID An event: at the venue, or one the person is on.
eventSeriesId staffql only ID A series at the venue.
personId staffql only ID The person’s own page; only with asPersonId.
photo staffql only String One photo: an image URL, or an image uploaded as a data: URI. Use photos for more than one.
photos staffql only [PostPhotoInput!] Up to four photos, in order.
pinned staffql only Boolean Pin it above the others.
venueId staffql only ID The venue itself.
visibility staffql only PostVisibility Who can see it. Default: COMMUNITY.

Input · staffql only

Autogenerated input type of PostDelete

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
id staffql only ID! The post.

Input · staffql only

Autogenerated input type of PostHideFromEvent

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
hidden staffql only Boolean Hide it (default) or show it again.
id staffql only ID! The post.

Input · staffql only

One of a post’s photos.

Field Type Description
altText staffql only String What it shows, for screen readers.
photo staffql only String! An image URL, or an image uploaded as a data: URI.

Input · staffql only

Autogenerated input type of PostUpdate

Field Type Description
body staffql only String What it says.
clientMutationId staffql only String A unique identifier for the client performing the mutation.
commentsOpen staffql only Boolean Whether people can comment.
id staffql only ID! The post.
photo staffql only String A new single photo; an empty string removes them all. Use photos for more.
photos staffql only [PostPhotoInput!] Its photos, replacing them all; an empty list removes them.
pinned staffql only Boolean Pin it above the others, or unpin it.
visibility staffql only PostVisibility Who can see it.

Interface · implemented by AudiencePostsView · mixin edge posts on Audience

The posts module’s root lookups. A venue’s posts are on it (Venue.posts).

Field Type Description
post
id: ID!
Post A post in the audience by its UUID, unless removed.

Interface · implemented by PostsView · mixin edge posts on Venue, Event, EventSeries, Person, Locale

Posts on a venue, event, series or person, or a locale’s updates.

Field Type Description
list
after: String
before: String
first: Int
from: PostsFrom
last: Int
PostConnection! A venue’s own posts (as the venue, on it, its events and series); an event’s by its venue and the people on it; a series’; a person’s own; a locale’s updates from the last 14 days. Pinned first, then newest; a locale’s newest first. Posts from venues and people the viewer hid are left out.
photos
after: String
before: String
first: Int
last: Int
sources: [EventPhotoSource!]
EventPhotoConnection! Photos of it: photographers’ and members’ taken with the app’s camera, newest first. A venue’s taken there; an event’s taken at it; a series’ at its events; a person’s those they were on stage in. None for a locale. Hidden photos, and members’ photos from people a block stands between the viewer and, are left out.

Enum

Who took a photo of a venue or event (EventPhoto).

  • AMATEUR A member’s, taken with the app’s camera there.
  • PROFESSIONAL A photographer’s, published from hedonism_bot.

Enum

Whose posts a posts list shows (IPosts.list).

  • ALL Everyone.
  • GOING Posts on events the signed-in viewer is going to; none when they’re signed out.
  • TALENT Posts made as people (talent listings).
  • VENUES Posts made as venues.

Enum

Who can see a post: members in the apps, or the whole internet too. Comments are never public.

  • COMMUNITY Anyone signed in to the apps. The default.
  • PUBLIC The web too: its page on the audience’s site, share cards and search engines, while its poster is public as well.