Skip to content

Photography

The photos photographers published of a venue or event (EventPhoto).

Field Type Description
photography IPhotography The instance’s IPhotography mixin, when available to the viewer. requires photography:read:*
Operation Returns Description
addPhotographer staffql only
input: PhotographerAddInput!
PhotographerAddPayload Grants a photographer’s hedonism_bot account access to the audience: their photos may be shown here, credited to them, in the metros chosen. Photos themselves arrive by pull over the photography provider contract (connectPhotographer), so no token is issued. requires photography:admin:*
hideEventPhoto staffql only
input: EventPhotoHideInput!
EventPhotoHidePayload Hides a photographer’s photo from the apps in this audience. The photographer publishing it again doesn’t bring it back; showing it does. requires photography:moderate:mine
reportEventPhoto
input: EventPhotoReportInput!
EventPhotoReportPayload Reports a photographer’s photo, for example a photo of yourself you want taken down. It’s hidden at once, until the audience’s admins look at it in the console’s Reports queue; the photographer sees it was reported. reportContent with PHOTO does the same. requires photography:write:self
showEventPhoto staffql only
input: EventPhotoShowInput!
EventPhotoShowPayload Shows a hidden or reported photo in the apps again. requires photography:moderate:mine
updatePhotographer staffql only
input: PhotographerUpdateInput!
PhotographerUpdatePayload Changes a photographer’s grant: their name, the metros it covers, or whether it’s revoked. Revoking hides every photo credited to them here; restoring shows them again. requires photography:admin:*

Object · implements Node

A photo of an event or venue: a photographer’s, published from hedonism_bot (only a preview: viewUrl is where to see it full size or buy it), or a member’s, taken with the app’s camera there. Either is tagged with whoever was on stage.

Field Type Description
altText String What it shows, for screen readers.
caption String The photographer’s caption.
event Event The event it was taken at, if any.
height Int The preview’s height in pixels.
hiddenReason String Why an admin hid it, or that someone reported it. Admins only. requires photography:moderate:*
id ID! The ID of the photo.
isHidden Boolean! Hidden from the apps. Only admins see hidden photos.
people [Person!]! Who was on stage when it was taken, in billing order.
photographer Photographer The photographer who took it, to credit them; null for a member’s (AMATEUR) photo.
priceCents Int What the photographer charges for it, if for sale.
source EventPhotoSource! A photographer’s, or a member’s.
takenAt ISO8601DateTime When it was taken.
takenBy String Who to credit: the photographer’s name, or the member’s short name (“Aurora B.”).
url PhotoURL! The preview image.
venue Venue! Where it was taken.
viewUrl String Its page on the photographer’s site.
viewerCanRemove Boolean! Whether the viewer took it, so can remove it (removeEventPhoto).
width Int The preview’s width in pixels.

Object

The connection type for EventPhoto.

Field Type Description
edges [EventPhotoEdge] A list of edges.
nodes [EventPhoto] 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 EventPhoto The item at the end of the edge.

Object · implements IEventPhotos

The Photography module’s photographers’ photos of a venue or event.

Field Type Description
count Int! How many photographers’ photos the apps show of it.
photos
after: String
before: String
first: Int
includeHidden: Boolean
last: Int
EventPhotoConnection! Photographers’ photos of it: an event’s oldest first, a venue’s newest first.

Object

The connection type for IPhotographer.

Field Type Description
edges [IPhotographerEdge] A list of edges.
nodes [IPhotographer] 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 IPhotographer The item at the end of the edge.

Object · implements Node

A photographer’s hedonism_bot account granted to the audience (a ServicePrincipal): whose photos of events and venues may be shown here, in the metros its grant covers.

Field Type Description
adminLocaleIds [ID!]! The metros the audience’s admins limited it to. Empty: every metro.
allowedLocaleIds [ID!] The metros it may publish in: the narrower of the admins’ and the photographer’s choices. Null: every metro.
createdAt ISO8601DateTime! When it was added.
externalId String! Its hedonism_bot account (subdomain).
id ID! The ID of the grant.
localeIds [ID!]! The metros the photographer limited it to. Empty: every metro.
name String! Their name, as the apps credit them.
photoCount Int! How many photos it has published here.
profileUrl String The photographer’s page.
status PhotographerStatus! Whether it may publish.

Object

The connection type for Photographer.

Field Type Description
edges [PhotographerEdge] A list of edges.
nodes [Photographer] 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 Photographer The item at the end of the edge.

Object · implements IPhotography

The audience Photography module.

Field Type Description
accounts
after: String
before: String
first: Int
last: Int
PhotographerConnection! Photographers’ hedonism_bot accounts granted to the audience, by name. Admins only; empty for everyone else. requires photography:admin:*
photographer
id: ID!
IPhotographer One photographer connected to this audience.
photographers
after: String
before: String
first: Int
last: Int
IPhotographerConnection! Connected photo providers.

Object

Forward pagination metadata supplied by the provider.

Field Type Description
endCursor String Cursor for the next page.
hasNextPage Boolean! Whether another page exists.

Object

A logical provider photo grouping processed takes.

Field Type Description
id ID! The provider’s photo id: opaque, stable, and scoped to the photographer it was listed under.
previewUrl String A stable HTTPS preview of a processed take; null for a tombstone or when the provider has none.
publishedAt ISO8601DateTime! When the provider shared it with the audience.
removed Boolean! A tombstone: the provider no longer shares it with the audience, so drop it. Only listed when asked with updatedSince.
takeCount Int! Number of processed takes; 0 for a tombstone.
updatedAt ISO8601DateTime! When it was last shared, changed or removed; feed the latest back as updatedSince.

Object · implements IPhotographer

A photographer resolved through the version 1 provider contract.

Field Type Description
id ID! AudienceKit connection identifier.
name String! Photographer name verified when connecting.
photos
after: String
first: Int
updatedSince: ISO8601DateTime
ProviderPhotoPage Published photos, oldest publication first by the provider’s keyset cursor; null when unavailable.

Object

A provider page with its own cursor namespace.

Field Type Description
nodes [ProviderPhoto]! Published photos in this page; a malformed one is null and logged.
pageInfo ProviderPageInfo! Provider pagination.

Object · staffql only

Autogenerated return type of EventPhotoHide.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
photo staffql only EventPhoto! The photo, after the change.

Object

Autogenerated return type of EventPhotoReport.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
photo EventPhoto! The photo, after the change.

Object · staffql only

Autogenerated return type of EventPhotoShow.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
photo staffql only EventPhoto! The photo, after the change.

Object · staffql only

Autogenerated return type of PhotographerAdd.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
photographer staffql only Photographer! The photographer added.

Object · staffql only

Autogenerated return type of PhotographerUpdate.

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
photographer staffql only Photographer! The photographer, after the change.

Input · staffql only

Autogenerated input type of EventPhotoHide

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
id staffql only ID! The ID of the photo.
reason staffql only String Why, for the photographer and the other admins.

Input

Autogenerated input type of EventPhotoReport

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
id ID! The ID of the photo.
reason String What’s wrong with it.

Input · staffql only

Autogenerated input type of EventPhotoShow

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

Input · staffql only

Autogenerated input type of PhotographerAdd

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
externalId staffql only String! Their hedonism_bot account (subdomain).
localeIds staffql only [ID!] Only these metros. Empty (the default): every metro.
name staffql only String! Their name, as the apps credit them.
profileUrl staffql only String Their page.

Input · staffql only

Autogenerated input type of PhotographerUpdate

Field Type Description
clientMutationId staffql only String A unique identifier for the client performing the mutation.
id staffql only ID! The ID of the photographer.
localeIds staffql only [ID!] Only these metros. Empty: every metro.
name staffql only String Their name, as the apps credit them.
profileUrl staffql only String Their page.
status staffql only PhotographerStatus Whether it may publish.

Interface · implemented by EventPhotosView · mixin edge photography on Venue, Event

The photos photographers published of a venue or event (EventPhoto).

Field Type Description
count Int! How many photographers’ photos the apps show of it.
photos
after: String
before: String
first: Int
includeHidden: Boolean
last: Int
EventPhotoConnection! Photographers’ photos of it: an event’s oldest first, a venue’s newest first.

Interface · implemented by ProviderPhotographer

A photographer supplied by any connected Photography provider.

Field Type Description
id ID! AudienceKit connection identifier.
name String! Photographer name verified when connecting.
photos
after: String
first: Int
updatedSince: ISO8601DateTime
ProviderPhotoPage Published photos, oldest publication first by the provider’s keyset cursor; null when unavailable.

Interface · implemented by PhotographyView · mixin edge photography on Audience

Photographers connected to this audience through the Photography contract.

Field Type Description
accounts
after: String
before: String
first: Int
last: Int
PhotographerConnection! Photographers’ hedonism_bot accounts granted to the audience, by name. Admins only; empty for everyone else. requires photography:admin:*
photographer
id: ID!
IPhotographer One photographer connected to this audience.
photographers
after: String
before: String
first: Int
last: Int
IPhotographerConnection! Connected photo providers.

Enum

Whether a photographer’s grant may publish.

  • ACTIVE Publishing.
  • REVOKED Its photos are hidden and it can’t publish.