Skip to main content

Station

PBS station metadata.

The structure of this type is largely influenced by PBS Station Manager data however many of the fields are not used.

type Station {
about: String
addressCity: String
addressCountry: CountryCode
addressState: String
addressStreet: String
addressZip: String
borderStation: Boolean
callSign: String!
collectionGroups: [CollectionGroup!]
collections: [Collection!]
colorBackground: String
colorPrimary: String
colorSecondary: String
createdAt: DateTime!
email: String
fax: String
heroGroups: [HeroGroup!]
id: String!
image(
profile: String!
): ImageWithProfile
images: [JSON]!
isLocalPublicDemoMember: Boolean
isLocalPublicMember: Boolean
livestreams: [Livestream!]
name: String!
nameFull: String!
pbsShows: [PbsShow!]
pbsShowsAvailable: [PbsShow!]
phone: String
promoMessages: [PromoMessage!]
promos: [Promo!]
stationCredentialSet: StationCredentialSet
stationShows: [StationShow!]
stationVideos: [StationVideo!]
timezone: String
updatedAt: DateTime!
upstreamId: String!
upstreamUpdatedAt: DateTime!
urls: [JSON]!
useCollectionGroupAutopilotFor: [String]
useHeroGroupAutopilot: Boolean
users: [User!]
watchHistory: [WatchHistory!]
webPortalLinks: [JSON]!
webhooks: [Webhook!]
}

Fields​

Station.about ● String scalar references​

Station.addressCity ● String scalar references​

Station.addressCountry ● CountryCode scalar references​

ISO 3166-1 alpha-2 country code.

Station.addressState ● String scalar references​

ISO 3166-2:US state abbreviation.

Station.addressStreet ● String scalar references​

Station.addressZip ● String scalar references​

Station.borderStation ● Boolean scalar references​

Whether the station borders (and serves) Canada.

Station.callSign ● String! non-null scalar references​

Unique broadcast station call sign.

Always four letters starting with a "K" or "W".

Station.collectionGroups ● [CollectionGroup!] list object references​

Station.collections ● [Collection!] list object references​

Station.colorBackground ● String scalar references​

Background station color as a hex triplet.

Station.colorPrimary ● String scalar references​

Primary station color as a hex triplet.

Station.colorSecondary ● String scalar references​

Secondary station color as a hex triplet.

Station.createdAt ● DateTime! non-null scalar references​

Station.email ● String scalar references​

Station.fax ● String scalar references​

Station.heroGroups ● [HeroGroup!] list object references​

Station.id ● String! non-null scalar references​

Station.image ● ImageWithProfile object references​

Single, transformable image from raw Station.images for the provided profile name.

Station.image.profile ● String! non-null scalar references​

Station.images ● [JSON]! non-null scalar references​

Raw images data for the station.

**Some of these URLs will not render without transform parameters**.

For transformable images, see the image field.

Station.isLocalPublicDemoMember ● Boolean scalar references​

Whether the station is an Local Public demo member.

Station.isLocalPublicMember ● Boolean scalar references​

Whether the station is an Local Public member.

Station.livestreams ● [Livestream!] list object references​

Station.name ● String! non-null scalar references​

Station.nameFull ● String! non-null scalar references​

Station.pbsShows ● [PbsShow!] list object references​

Local audience PBS shows for the station.

Station.pbsShowsAvailable ● [PbsShow!] list object references​

PBS shows the stations has access to.

Station.phone ● String scalar references​

Station.promoMessages ● [PromoMessage!] list object references​

Station.promos ● [Promo!] list object references​

Station.stationCredentialSet ● StationCredentialSet object references​

Station.stationShows ● [StationShow!] list object references​

Station.stationVideos ● [StationVideo!] list object references​

Station.timezone ● String scalar references​

TZ database timezone identifier.

Station.updatedAt ● DateTime! non-null scalar references​

Station.upstreamId ● String! non-null scalar references​

Upstream source ID.

Station.upstreamUpdatedAt ● DateTime! non-null scalar references​

Last updated date from upstream source.

Station.urls ● [JSON]! non-null scalar references​

Important URLs associated with the station.

Each item in this list has four properties:

  • url: the URL,
  • profile: a short name describing the URL purpose,
  • qrCodeUrl: the URL of a QR code for the URL, and
  • displayUrl: the display version of the URL with scheme removed.

When determining the URL to use for donation CTAs, frontends must check for and use one of the following profiles (in order):

  1. profile name in the format donate-url-$DEVICE_TYPE (e.g., donate-url-roku),
  2. passport,
  3. donate.

Station.useCollectionGroupAutopilotFor ● [String] list scalar references​

List of ISO 3166-1 alpha-2 country codes where collection group autopilot is used.

Station.useHeroGroupAutopilot ● Boolean scalar references​

Whether hero group autopilot is used.

Station.users ● [User!] list object references​

Station.watchHistory ● [WatchHistory!] list object references​

Station.webhooks ● [Webhook!] list object references​

Returned By​

createStation mutation ● deleteStation mutation ● station query ● stations query ● updateStation mutation

Member Of​

ApiUser object ● Audiostream object ● Collection object ● CollectionGroup object ● HeroGroup object ● HomeScreenData object ● Livestream object ● PbsAccountConfig object ● PbsShow object ● PresentingSponsor object ● Promo object ● PromoMessage object ● StationCredentialSet object ● StationShow object ● StationVideo object ● StreamSchedule object ● User object ● WatchHistory object ● Webhook object