Soapbox
Soapbox articles about a venue, event, person or locale; a locale’s are its news.
Root fields
Section titled “Root fields”| Field | Type | Description |
|---|---|---|
soapbox |
IAudienceSoapbox! |
The instance’s IAudienceSoapbox mixin. Left out of the schema where its module isn’t installed. |
Mutations
Section titled “Mutations”| Operation | Returns | Description |
|---|---|---|
mutePublicationPushesinput: PublicationPushesMuteInput! |
PublicationPushesMutePayload |
Turns a publication’s locale pushes off for the signed-in reader, or back on. Its articles still show in their locale news and on its page. requires soapbox:write:self |
submitOpEdinput: OpEdSubmitInput! |
OpEdSubmitPayload |
Sends a publication an op-ed from the apps, under the signed-in reader’s name. The publication takes it (then edits and publishes it, bylined to the writer) or declines it with a note; Audience.soapbox.myOpEds shows where each stands . requires soapbox:write:self |
Objects
Section titled “Objects”Article
Section titled “Article”Object · implements HasCredits, HasTimestamps
A Soapbox publication’s article, in Markdown: its own, or an op-ed a reader sent it. Readers see it once it is published; the publication, the writer and the audience’s admins see it before.
| Field | Type | Description |
|---|---|---|
ad |
PromoCard |
The ad to show after it in the reader, sold by its publication on its own content (label Ad, soldBy). Null on a teaser or an op-ed, when none runs, or when the reader reads it without ads. Report it with recordCardViews. |
author |
Profile |
Who started it, or the reader who sent an op-ed: the audience’s admins only. requires soapbox:read:* |
body |
String! |
What it says, in Markdown. |
byline |
String! |
Who it shows as written by: its byline, else the publication’s name. |
canonicalUrl |
String |
Where the publication also publishes it. |
createdAt |
ISO8601DateTime! |
When it was started. |
credits |
[Credit!]! |
Its credits that everyone sees, original source first. |
disclosure |
String |
Ties the publication declared to what it covers (its own gala, a sponsor), shown to readers above the article. |
edited |
Boolean! |
Whether it changed after it was published. |
events |
[Event!]! |
Events it’s about. |
featuredNationally |
Boolean! |
Whether it’s in the audience’s national news now (soapbox.articles(national: true)). |
featuredNationallyAt |
ISO8601DateTime |
When an admin featured it nationally (featureArticleNationally); null when they did not. Admins only. requires soapbox:read:* |
heroAltText |
String |
Its photo, described for screen readers. |
heroPhotoUrl |
PhotoURL |
Its photo, shown above it. |
id |
ID! |
Its UUID. |
kind |
ArticleKind! |
The publication’s own, or a reader’s op-ed. |
locales |
[Locale!]! |
Locales it’s about. |
people |
[Person!]! |
People it’s about. |
pinned |
Boolean! |
Whether it’s pinned above the publication’s others. |
publication |
Publication! |
Who publishes it. |
publishedAt |
ISO8601DateTime |
When it went (or, scheduled, goes) live. |
pushedAt |
ISO8601DateTime |
When its locale push went out (ArticlePush). requires soapbox:read:mine or soapbox:read:* |
removedAt |
ISO8601DateTime |
When the audience’s admins took it down (removeArticle); null while it stands. Admins only. requires soapbox:read:* |
reviewNote |
String |
Why it was sent back, or why an op-ed was declined. requires soapbox:read:mine or soapbox:read:* or soapbox:read:self |
reviewedAt |
ISO8601DateTime |
When the audience’s admins last approved, sent back or removed it. Admins only. requires soapbox:read:* |
reviewedBy |
Profile |
The admin who last approved, sent back or removed it. requires soapbox:read:* |
scheduled |
Boolean! |
Whether it is published but not live yet. |
slug |
String! |
Its name in links, unique in its publication. |
status |
ArticleStatus |
Where it is between writing and readers: the publication, the writer and the audience’s admins. requires soapbox:read:mine or soapbox:read:* or soapbox:read:self |
submittedAt |
ISO8601DateTime |
When it was last sent in. requires soapbox:read:mine or soapbox:read:* or soapbox:read:self |
summary |
String |
A line or two under its title. |
teaser |
Boolean! |
A headline and blurb linking to the piece on the publication’s site (canonicalUrl): open that rather than a reader. Every article of a publication that links out (Publication.linksOut) is one. |
title |
String! |
Its headline. |
updatedAt |
ISO8601DateTime! |
When it last changed. |
venues |
[Venue!]! |
Venues it’s about. |
viewerAdFree |
Boolean! |
Whether the signed-in reader reads its publication without ads now, from a tip: show no ads or sponsored spots with it. A teaser’s own site is the publisher’s business. |
viewerCanManage |
Boolean! |
Whether the signed-in user may edit it: its publication’s managers and the audience’s admins. |
visibility |
ArticleVisibility! |
Who can read it once published. |
ArticleConnection
Section titled “ArticleConnection”Object
The connection type for Article.
| Field | Type | Description |
|---|---|---|
edges |
[ArticleEdge] |
A list of edges. |
nodes |
[Article] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
totalCount |
Int! |
How many there are in all, whatever page this is. |
ArticleEdge
Section titled “ArticleEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
Article |
The item at the end of the edge. |
ArticlesView
Section titled “ArticlesView”Object · implements IArticles
The local Soapbox implementation of a venue, event, person or locale’s articles.
| Field | Type | Description |
|---|---|---|
listafter: Stringbefore: Stringfirst: Intlast: Int |
ArticleConnection! |
Live articles about it, newest first; a person’s also the articles of a publication they run; a locale’s news: about it or anything in it, or by a publication covering it, from the last 30 days (pinned ones whatever their age). Also the articles linked to it or to anything under it. |
publication |
Publication |
The Soapbox publication a person runs here (QSaltLake), null for anything else or a person who runs none. A pending or suspended one only for its managers and the audience’s admins. |
AudienceSoapboxView
Section titled “AudienceSoapboxView”Object · implements IAudienceSoapbox
The local Soapbox implementation of the soapbox module’s root lookups.
| Field | Type | Description |
|---|---|---|
adReviewQueue |
[PromoPlacement!] |
Publishers’ ads waiting for the audience’s admins to approve them, oldest first. requires soapbox:moderate:* |
allArticlesafter: Stringbefore: Stringfirst: Intkinds: [ArticleKind!]last: IntpersonId: IDpublicationId: IDremoved: Booleansearch: Stringstatuses: [ArticleStatus!] |
ArticleConnection |
Every article in the audience, whatever its status and removed ones too, newest change first: the audience’s admins, for moderation (“In the admin”). requires soapbox:moderate:* |
articleid: ID! |
Article |
An article by its UUID: a live one, or one the viewer may see before it is (their publication’s, or their own op-ed). |
articlesafter: Stringbefore: Stringfirst: Intlast: IntlocaleId: IDnational: BooleanpublicationId: ID |
ArticleConnection! |
Live articles in the audience, pinned first, then newest; 20 unless first says. |
myOpEds |
[Article!] |
Op-eds the signed-in user sent, newest first, with where each stands. requires soapbox:read:self |
myPublications |
[Publication!] |
Publications the signed-in user runs (manages their person); every one for admins. requires soapbox:read:mine or soapbox:read:* |
publicationid: ID! |
Publication |
A publication by its UUID. |
publicationTipsafter: Stringbefore: Stringfirst: Intlast: IntpublicationId: IDstatuses: [TipStatus!] |
TipConnection |
Tips readers sent Soapbox publications, newest first: the audience’s admins. requires soapbox:moderate:* |
publicationstrust: [PublicationTrust!] |
[Publication!]! |
Publications readers can follow: trusted ones, by name. Admins can ask for others by trust. |
publisherAds |
PublisherAdsMode! |
Whether publishers sell ads on their own content here, and which of their ads admins review first. |
reviewQueue |
[Article!] |
Articles waiting for the audience’s admins to approve them, oldest first. requires soapbox:moderate:* |
stats |
PublicationStats |
Every publication’s counts added up: articles, tips and ad-free readers. The audience’s admins only. requires soapbox:moderate:* |
PromoCard
Section titled “PromoCard”Object · implements IPromoContent
A promoted or charity card in a promo slot (a PromoPlacement): a venue, an event, or a sponsor’s picture, words and link. The app hides it when the viewer turned its category off, and says it showed it with recordCardViews.
| Field | Type | Description |
|---|---|---|
body |
String |
A line or two under the headline. |
category |
String! |
Its category, one of cardCategories (venue, event, health, employment, small_business, charity). The app filters on it; the server never learns what was hidden. |
event |
Event |
The event it promotes, for an event card. |
headline |
String! |
What it says. |
id |
ID! |
The placement, as recordCardViews takes it. |
imageAlt |
String |
What the picture shows, for screen readers. |
imageUrl |
String |
Its picture. |
label |
String! |
Its badge, in the audience’s words: Promoted, Sponsored for its own venue or event where it takes only sponsorships, Charity for a free charity placement, From AudienceKit for AudienceKit’s own. Show it as sent; it can change without an app release. |
linkLabel |
String |
The link’s button text. |
linkUrl |
String |
Where it goes, opened in the browser. A plain link: nothing about the viewer is added to it. |
soldBy |
String |
The Soapbox publication selling it, for a publisher’s ad on its own content: show “Sold by <soldBy>”. Null for the audience’s own cards. |
sponsorName |
String! |
Who placed it. |
staffApp |
String |
velvet, backstage or focus when the card is about getting that staff app: the app skips it on a phone that already has the app (checked on the device; the server never learns). |
venue |
Venue |
The venue it promotes, for a venue card. |
PromoPlacement
Section titled “PromoPlacement”Object · implements IPromoContent
A promoted or charity card booked into the apps’ layouts, for the audience’s admins.
| Field | Type | Description |
|---|---|---|
adStatus |
PublisherAdStatus |
Where a publisher’s ad stands; null for the audience’s own cards. |
articleIds |
[ID!]! |
A publisher’s ad shows only on these of its articles; empty is all. |
body |
String |
A line or two under the headline. |
category |
String! |
One of cardCategories. |
citySize |
String |
The rate card city size it was priced at. |
discount |
String |
The rate card discount it carries, if any. |
endsOn |
ISO8601Date |
The last day it shows; null is open-ended. |
event |
Event |
The event it promotes. |
headline |
String! |
What it says. |
houseKey |
String |
The house card (config/house_cards.yml) it was booked from, or “demo:<key>” for sample advertising in a demo audience (DemoAds). |
id |
ID! |
Unique identifier. |
imageAlt |
String |
What the picture shows. |
imageUrl |
String |
Its picture. |
label |
String! |
What it says it is: Promoted, Charity, Announcement or From AudienceKit. |
linkLabel |
String |
The link’s button text. |
linkUrl |
String |
Where it goes. |
listCents |
Int |
The rate card list price, in cents, before any discount. |
localeIds |
[ID!]! |
The locales it shows in; empty is everywhere. |
paidAt |
ISO8601DateTime |
When its Checkout was paid. |
paused |
Boolean! |
Whether it is paused. |
paymentStatus |
String |
awaiting_payment while its Stripe Checkout is open (not showing yet), paid once paid; null when booked without Checkout. |
priceCents |
Int! |
What the sponsor pays, in cents; 0 is free. |
publication |
Publication |
The Soapbox publication selling it on its own content; null for the audience’s own cards. |
removedAt |
ISO8601DateTime |
When the audience’s admins took a publisher’s ad down. |
reviewNote |
String |
Why the audience’s admins turned a publisher’s ad down or took it down. |
reviewedAt |
ISO8601DateTime |
When an admin last reviewed a publisher’s ad. |
screens |
[LayoutScreen!]! |
The screens it shows on; empty is all. |
soldOutside |
Boolean! |
The publication sold it itself; priceCents is for its own records. |
sponsorEmail |
String |
A publisher’s ad’s sponsor contact. |
sponsorName |
String! |
Who placed it. |
spot |
PublisherAdSpot |
Where a publisher’s ad shows; null for the audience’s own cards. |
staffApp |
String |
velvet, backstage or focus when it is about getting that staff app; the app skips it where the app is installed. |
startsOn |
ISO8601Date! |
The first day it shows. |
tagIds |
[ID!]! |
Tags the viewer’s venue or event must carry for it to show; empty is anywhere. |
tier |
String |
The rate card venue tier it was priced at; null when not booked from the card. |
venue |
Venue |
The venue it promotes. |
weekdays |
[Int!]! |
The nights it shows, 0 (Sunday) to 6; empty is every night. |
weeklyViewers |
[PromoPlacementWeek!]! |
Different people who saw it each week, newest week first. |
PromoPlacementWeek
Section titled “PromoPlacementWeek”Object
The one number a sponsor gets about a placement: different people who saw it in a week.
| Field | Type | Description |
|---|---|---|
fewerThan |
Int |
Set (to 20) instead of viewers when fewer than that many saw it. |
viewers |
Int |
Different people who saw it; null below the floor. |
weekStart |
ISO8601Date! |
The Monday (UTC) the week starts. |
Publication
Section titled “Publication”Object · implements HasTimestamps
A person listing that publishes articles in the audience’s apps with Soapbox, e.g. QSaltLake. Its name, picture, page and socials are its person’s.
| Field | Type | Description |
|---|---|---|
about |
String |
What it covers. |
acceptsOpEds |
Boolean! |
Whether readers can send it op-eds (submitOpEd). |
ad |
PromoCard |
The ad to show on its page now, sold by the publication on its own content (label Ad, soldBy). Null when none runs, it sells no ads, or the reader reads it without ads. Report it with recordCardViews. |
adFreeDays |
Int! |
How many days a tip of at least adFreeTipCents reads it without ads. |
adFreeOffered |
Boolean! |
Whether readers can tip it to read it without ads now: it asks for a tip, its publisher runs it here, and it takes tips. Apps offer it in US storefronts only, paid on the web (startTip publicationId, then checkoutUrl). |
adFreeTipCents |
Int |
The least tip, in cents, that reads it without ads; null when it offers no ad-free pass. All of the tip is the publisher’s. |
adsstatuses: [PublisherAdStatus!] |
[PromoPlacement!] |
Ads it sells on its own articles and page, newest first: its managers and the audience’s admins. requires soapbox:read:mine or soapbox:read:* |
adsEnabled |
Boolean! |
Whether it may sell ads on its own content now: the audience’s admins switched it on, the audience takes publisher ads, and it runs here and is not suspended. |
adsEnabledAt |
ISO8601DateTime |
When the audience’s admins switched its ads on; null when they haven’t. requires soapbox:read:mine or soapbox:read:* |
adsNeedReview |
Boolean |
Whether its new and changed ads wait for the audience’s admins. requires soapbox:read:mine or soapbox:read:* |
allArticlesafter: Stringbefore: Stringfirst: Intlast: Intstatuses: [ArticleStatus!] |
ArticleConnection |
Every article it has, drafts and op-eds included, newest first: its managers and the audience’s admins. requires soapbox:read:mine or soapbox:read:* |
articlesafter: Stringbefore: Stringfirst: Intlast: Int |
ArticleConnection! |
Its live articles, pinned first, then newest (20 unless first says). |
createdAt |
ISO8601DateTime! |
When it started publishing here. |
editorialEmail |
String |
Where readers send tips and corrections. |
feedCheckedAt |
ISO8601DateTime |
When its feed was last read: its managers and the audience’s admins. requires soapbox:read:mine or soapbox:read:* |
feedError |
String |
Why its feed could not be read last time: its managers and the audience’s admins. requires soapbox:read:mine or soapbox:read:* |
feedUrl |
String |
Its RSS or Atom feed, read hourly into articles that link out to its site: its managers and the audience’s admins. requires soapbox:read:mine or soapbox:read:* |
id |
ID! |
Its UUID. |
linksOut |
Boolean! |
Whether its articles are read on its own site (each a teaser linking to canonicalUrl), because its publisher does not run it here yet. |
locale |
Locale |
The locale it covers. |
masthead |
String |
Its name as a publication, when not its person’s. |
media |
[PublicationMedia!] |
Its media library, newest first: pictures for its articles and ads. Its managers and the audience’s admins. requires soapbox:read:mine or soapbox:read:* |
name |
String! |
The name it publishes under: its masthead, else its person’s. |
onboarded |
Boolean! |
Whether its publisher (someone who manages its person) runs it here. |
opEdGuidelines |
String |
What it asks of op-ed writers. |
person |
Person |
The listing it publishes as. |
photoUrl |
PhotoURL |
Its person’s picture. |
rateSheet |
PublicationRateSheet! |
Its public rate sheet: what its ad spots cost a week, and who to ask. |
stats |
PublicationStats |
Its articles by where they stand, the tips readers paid it and its ad-free readers: the audience’s admins. requires soapbox:read:* |
trust |
PublicationTrust |
How far the audience trusts it: its managers and the audience’s admins. requires soapbox:read:mine or soapbox:read:* |
trustNote |
String |
Why the audience trusted or suspended it. requires soapbox:read:mine or soapbox:read:* |
trusted |
Boolean! |
Whether its articles go out without the audience approving each. |
trustedAt |
ISO8601DateTime |
When the audience last changed its trust. requires soapbox:read:* |
trustedBy |
Profile |
The admin who last changed its trust. requires soapbox:read:* |
updatedAt |
ISO8601DateTime! |
When it last changed. |
viewerAdFree |
Boolean! |
Whether the signed-in reader reads it without ads now, from a tip (hide its ads and sponsored spots around its articles). False when signed out. |
viewerAdFreeUntil |
ISO8601DateTime |
When the signed-in reader’s time reading it without ads ends; null when none. |
viewerCanManage |
Boolean! |
Whether the signed-in user runs it (manages its person) or is the audience’s admin. |
viewerCanPublish |
Boolean! |
Whether the signed-in user may publish its articles without approval: a trusted publication’s managers, or admins. |
viewerMutedPushes |
Boolean! |
Whether the signed-in reader turned its locale pushes off (mutePublicationPushes). False when signed out. |
websiteUrl |
String |
Its website. |
PublicationMedia
Section titled “PublicationMedia”Object · implements HasTimestamps
A picture in a Soapbox publication’s media library, for its articles and ads.
| Field | Type | Description |
|---|---|---|
altText |
String |
What it shows, for screen readers. |
caption |
String |
Its caption. |
createdAt |
ISO8601DateTime! |
When it was added. |
credit |
String |
Who took or made it. |
id |
ID! |
Its UUID. |
updatedAt |
ISO8601DateTime! |
When it last changed. |
url |
PhotoURL! |
The picture. |
PublicationRate
Section titled “PublicationRate”Object
One spot on a Soapbox publication’s public rate sheet: a flat weekly price, never per view or tap.
| Field | Type | Description |
|---|---|---|
slots |
Int! |
How many sponsors share the spot in a week. |
spot |
PublisherAdSpot! |
The spot. |
weeklyCents |
Int |
Its price a week, in cents; null when not listed. |
PublicationRateSheet
Section titled “PublicationRateSheet”Object
A Soapbox publication’s public rate sheet: what its ad spots cost a week and who to ask. All of the money is the publication’s.
| Field | Type | Description |
|---|---|---|
contactEmail |
String |
Who sponsors write to about buying a spot. |
notes |
String |
Anything else sponsors should know (discounts, deadlines). |
rates |
[PublicationRate!]! |
Each spot’s price and slots. |
PublicationStats
Section titled “PublicationStats”Object
What the audience’s admins count about a Soapbox publication, or all of them : its articles by where they stand, the tips readers paid it and the time reading without ads those tips gave. All of a tip is the publisher’s: none of it is the audience’s.
| Field | Type | Description |
|---|---|---|
activeAdFreePasses |
Int! |
Readers reading it without ads right now, from a tip. |
disputedTips |
Int! |
Tips a reader disputed with their bank. |
inReview |
Int! |
Articles waiting for the audience’s admins to approve them. |
lastTipAt |
ISO8601DateTime |
When a reader last paid a tip. |
liveArticles |
Int! |
Articles readers can read now. |
paidTips |
Int! |
Tips readers paid, not refunded or disputed. |
refunded |
Money! |
What refunded tips came to. |
refundedTips |
Int! |
Tips refunded. |
removedArticles |
Int! |
Articles the audience took down. |
tipped |
Money! |
What paid tips came to: all of it the publisher’s. |
totalArticles |
Int! |
Every article it has that the audience has not removed, drafts included. |
TipConnection
Section titled “TipConnection”Object
The connection type for Tip.
| Field | Type | Description |
|---|---|---|
edges |
[TipEdge] |
A list of edges. |
nodes |
[Tip] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
totalCount |
Int! |
How many there are in all, whatever page this is. |
TipEdge
Section titled “TipEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
Tip |
The item at the end of the edge. |
Mutation payloads
Section titled “Mutation payloads”OpEdSubmitPayload
Section titled “OpEdSubmitPayload”Object
Autogenerated return type of OpEdSubmit.
| Field | Type | Description |
|---|---|---|
article |
Article |
The op-ed, waiting for the publication. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
PublicationPushesMutePayload
Section titled “PublicationPushesMutePayload”Object
Autogenerated return type of PublicationPushesMute.
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
publication |
Publication! |
The publication, after the change. |
Inputs
Section titled “Inputs”OpEdSubmitInput
Section titled “OpEdSubmitInput”Input
Autogenerated input type of OpEdSubmit
| Field | Type | Description |
|---|---|---|
body |
String! |
What it says, in Markdown. |
byline |
String |
The name to run it under. Default: their short name (“First L.”). |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
publicationId |
ID! |
The publication. |
summary |
String |
A line or two under its title. |
title |
String! |
Its headline. |
PublicationPushesMuteInput
Section titled “PublicationPushesMuteInput”Input
Autogenerated input type of PublicationPushesMute
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
muted |
Boolean |
Turn its pushes off (default) or back on. |
publicationId |
ID! |
The publication. |
Interfaces
Section titled “Interfaces”IArticles
Section titled “IArticles”Interface · implemented by ArticlesView · mixin edge articles on Venue, Event, Person, Locale
Soapbox articles about a venue, event, person or locale; a locale’s are its news.
| Field | Type | Description |
|---|---|---|
listafter: Stringbefore: Stringfirst: Intlast: Int |
ArticleConnection! |
Live articles about it, newest first; a person’s also the articles of a publication they run; a locale’s news: about it or anything in it, or by a publication covering it, from the last 30 days (pinned ones whatever their age). Also the articles linked to it or to anything under it. |
publication |
Publication |
The Soapbox publication a person runs here (QSaltLake), null for anything else or a person who runs none. A pending or suspended one only for its managers and the audience’s admins. |
IAudienceSoapbox
Section titled “IAudienceSoapbox”Interface · implemented by AudienceSoapboxView · mixin edge soapbox on Audience
The soapbox module’s root lookups: publications and their articles . What an article is about shows it too (Venue/Event/Person/Locale.articles).
| Field | Type | Description |
|---|---|---|
adReviewQueue |
[PromoPlacement!] |
Publishers’ ads waiting for the audience’s admins to approve them, oldest first. requires soapbox:moderate:* |
allArticlesafter: Stringbefore: Stringfirst: Intkinds: [ArticleKind!]last: IntpersonId: IDpublicationId: IDremoved: Booleansearch: Stringstatuses: [ArticleStatus!] |
ArticleConnection |
Every article in the audience, whatever its status and removed ones too, newest change first: the audience’s admins, for moderation (“In the admin”). requires soapbox:moderate:* |
articleid: ID! |
Article |
An article by its UUID: a live one, or one the viewer may see before it is (their publication’s, or their own op-ed). |
articlesafter: Stringbefore: Stringfirst: Intlast: IntlocaleId: IDnational: BooleanpublicationId: ID |
ArticleConnection! |
Live articles in the audience, pinned first, then newest; 20 unless first says. |
myOpEds |
[Article!] |
Op-eds the signed-in user sent, newest first, with where each stands. requires soapbox:read:self |
myPublications |
[Publication!] |
Publications the signed-in user runs (manages their person); every one for admins. requires soapbox:read:mine or soapbox:read:* |
publicationid: ID! |
Publication |
A publication by its UUID. |
publicationTipsafter: Stringbefore: Stringfirst: Intlast: IntpublicationId: IDstatuses: [TipStatus!] |
TipConnection |
Tips readers sent Soapbox publications, newest first: the audience’s admins. requires soapbox:moderate:* |
publicationstrust: [PublicationTrust!] |
[Publication!]! |
Publications readers can follow: trusted ones, by name. Admins can ask for others by trust. |
publisherAds |
PublisherAdsMode! |
Whether publishers sell ads on their own content here, and which of their ads admins review first. |
reviewQueue |
[Article!] |
Articles waiting for the audience’s admins to approve them, oldest first. requires soapbox:moderate:* |
stats |
PublicationStats |
Every publication’s counts added up: articles, tips and ad-free readers. The audience’s admins only. requires soapbox:moderate:* |
IPromoContent
Section titled “IPromoContent”Interface · implemented by PromoCard, PromoPlacement, WebCard
A promotion’s headline, copy, picture and link.
| Field | Type | Description |
|---|---|---|
body |
String |
A line or two under the headline. |
headline |
String! |
What it says. |
imageAlt |
String |
What the picture shows, for screen readers. |
imageUrl |
String |
Its picture. |
linkLabel |
String |
The link’s button text. |
linkUrl |
String |
Where it goes. |
ArticleKind
Section titled “ArticleKind”Enum
What a Soapbox article is: written by the publication, an op-ed from a reader, or a guide.
ARTICLEWritten by the publication.GUIDEA standing guide the publication keeps, e.g. a Pride guide.OP_EDSent to the publication by a reader from the apps.
ArticleStatus
Section titled “ArticleStatus”Enum
Where a Soapbox article is between writing and readers.
DECLINEDAn op-ed the publication won’t run.DRAFTBeing written; only the publication sees it.IN_REVIEWWaiting for the audience’s admins to approve it.PUBLISHEDLive from publishedAt on (scheduled while that is still to come).SUBMITTEDAn op-ed a reader sent, waiting for the publication.UNPUBLISHEDTaken down by the publication; it can publish it again.
ArticleVisibility
Section titled “ArticleVisibility”Enum
Who can read a published Soapbox article.
COMMUNITYAnyone signed in to the apps. The default.PUBLICThe web too, once the audience’s site shows articles.
PublicationTrust
Section titled “PublicationTrust”Enum
How far the audience trusts a Soapbox publication.
PENDINGAsked to publish: each article waits for the audience’s admins.SUSPENDEDNothing new goes out, and its published articles are hidden.TRUSTEDIts managers publish directly.
PublisherAdsMode
Section titled “PublisherAdsMode”Enum
Whether Soapbox publishers sell ads on their own content in the audience’s apps, and which of their ads its admins review first (Audience.publisher_ads).
OFFPublishers sell no ads here.REVIEW_ALLEvery publisher ad waits for an admin.REVIEW_PENDINGOnly a pending publication’s ads wait; a trusted one’s run on their start date. The default.
PublisherAdSpot
Section titled “PublisherAdSpot”Enum
Where a Soapbox publisher’s ad shows on the publication’s own content.
ARTICLEIn the article reader, after the body: one ad an article view.PUBLICATIONOn the publication’s page, below its masthead.
PublisherAdStatus
Section titled “PublisherAdStatus”Enum
Where a Soapbox publisher’s ad stands (PromoPlacement#ad_status).
ENDEDIts last day has passed.IN_REVIEWWaiting for the audience’s admins to approve it.PAUSEDPaused by the publication.REJECTEDThe audience turned it down (reviewNote says why).REMOVEDTaken down by the audience’s admins (reviewNote says why).RUNNINGShowing to readers now.SCHEDULEDApproved; its first day is still to come.
TipStatus
Section titled “TipStatus”Enum
Where an in-app tip stands.
CANCELEDThe payment was abandoned.DISPUTEDThe fan disputed the charge with their bank.FAILEDThe payment was declined.PAIDPaid to the performer.PENDINGPaying in the app has started but not finished.REFUNDEDThe money went back to the fan.