Photography
The photos photographers published of a venue or event (EventPhoto).
Root fields
Section titled “Root fields”| Field | Type | Description |
|---|---|---|
photography |
IPhotography |
The instance’s IPhotography mixin, when available to the viewer. requires photography:read:* |
Mutations
Section titled “Mutations”| Operation | Returns | Description |
|---|---|---|
addPhotographer staffql onlyinput: 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 onlyinput: 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 |
reportEventPhotoinput: 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 onlyinput: EventPhotoShowInput! |
EventPhotoShowPayload |
Shows a hidden or reported photo in the apps again. requires photography:moderate:mine |
updatePhotographer staffql onlyinput: 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:* |
Objects
Section titled “Objects”EventPhoto
Section titled “EventPhoto”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. |
EventPhotoConnection
Section titled “EventPhotoConnection”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. |
EventPhotoEdge
Section titled “EventPhotoEdge”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. |
EventPhotosView
Section titled “EventPhotosView”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. |
photosafter: Stringbefore: Stringfirst: IntincludeHidden: Booleanlast: Int |
EventPhotoConnection! |
Photographers’ photos of it: an event’s oldest first, a venue’s newest first. |
IPhotographerConnection
Section titled “IPhotographerConnection”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. |
IPhotographerEdge
Section titled “IPhotographerEdge”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. |
Photographer
Section titled “Photographer”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. |
PhotographerConnection
Section titled “PhotographerConnection”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. |
PhotographerEdge
Section titled “PhotographerEdge”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. |
PhotographyView
Section titled “PhotographyView”Object · implements IPhotography
The audience Photography module.
| Field | Type | Description |
|---|---|---|
accountsafter: Stringbefore: Stringfirst: Intlast: Int |
PhotographerConnection! |
Photographers’ hedonism_bot accounts granted to the audience, by name. Admins only; empty for everyone else. requires photography:admin:* |
photographerid: ID! |
IPhotographer |
One photographer connected to this audience. |
photographersafter: Stringbefore: Stringfirst: Intlast: Int |
IPhotographerConnection! |
Connected photo providers. |
ProviderPageInfo
Section titled “ProviderPageInfo”Object
Forward pagination metadata supplied by the provider.
| Field | Type | Description |
|---|---|---|
endCursor |
String |
Cursor for the next page. |
hasNextPage |
Boolean! |
Whether another page exists. |
ProviderPhoto
Section titled “ProviderPhoto”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. |
ProviderPhotographer
Section titled “ProviderPhotographer”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. |
photosafter: Stringfirst: IntupdatedSince: ISO8601DateTime |
ProviderPhotoPage |
Published photos, oldest publication first by the provider’s keyset cursor; null when unavailable. |
ProviderPhotoPage
Section titled “ProviderPhotoPage”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. |
Mutation payloads
Section titled “Mutation payloads”EventPhotoHidePayload
Section titled “EventPhotoHidePayload”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. |
EventPhotoReportPayload
Section titled “EventPhotoReportPayload”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. |
EventPhotoShowPayload
Section titled “EventPhotoShowPayload”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. |
PhotographerAddPayload
Section titled “PhotographerAddPayload”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. |
PhotographerUpdatePayload
Section titled “PhotographerUpdatePayload”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. |
Inputs
Section titled “Inputs”EventPhotoHideInput
Section titled “EventPhotoHideInput”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. |
EventPhotoReportInput
Section titled “EventPhotoReportInput”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. |
EventPhotoShowInput
Section titled “EventPhotoShowInput”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. |
PhotographerAddInput
Section titled “PhotographerAddInput”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. |
PhotographerUpdateInput
Section titled “PhotographerUpdateInput”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. |
Interfaces
Section titled “Interfaces”IEventPhotos
Section titled “IEventPhotos”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. |
photosafter: Stringbefore: Stringfirst: IntincludeHidden: Booleanlast: Int |
EventPhotoConnection! |
Photographers’ photos of it: an event’s oldest first, a venue’s newest first. |
IPhotographer
Section titled “IPhotographer”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. |
photosafter: Stringfirst: IntupdatedSince: ISO8601DateTime |
ProviderPhotoPage |
Published photos, oldest publication first by the provider’s keyset cursor; null when unavailable. |
IPhotography
Section titled “IPhotography”Interface · implemented by PhotographyView · mixin edge photography on Audience
Photographers connected to this audience through the Photography contract.
| Field | Type | Description |
|---|---|---|
accountsafter: Stringbefore: Stringfirst: Intlast: Int |
PhotographerConnection! |
Photographers’ hedonism_bot accounts granted to the audience, by name. Admins only; empty for everyone else. requires photography:admin:* |
photographerid: ID! |
IPhotographer |
One photographer connected to this audience. |
photographersafter: Stringbefore: Stringfirst: Intlast: Int |
IPhotographerConnection! |
Connected photo providers. |
PhotographerStatus
Section titled “PhotographerStatus”Enum
Whether a photographer’s grant may publish.
ACTIVEPublishing.REVOKEDIts photos are hidden and it can’t publish.