Skip to main content

Site

No description

type Site {
id: ID!
name: String!
allowedOrigins: [String!]!
canModerate: Boolean!
topStories(
limit: Int = 5
): [Story!]!
createdAt: Time!
}

Fields

Site.id ● ID! non-null scalar

id is the identifier of the Site.

Site.name ● String! non-null scalar

name is the name of the Site.

Site.allowedOrigins ● [String!]! non-null scalar

allowedOrigins are the allowed origins for embeds.

Site.canModerate ● Boolean! non-null scalar

canModerate when true indicates that the current user can moderate comments left on this Site.

Site.topStories ● [Story!]! non-null object

topStories will return stories that have had the most comments within the last 24 hours on this Site.

Site.topStories.limit ● Int scalar

Site.createdAt ● Time! non-null scalar

createdAt is when the site was created.

Returned by

site query

Member Of

BanStatus object ● BanStatusHistory object ● Comment object ● CreateSitePayload object ● SiteEdge object ● SitesConnection object ● Story object ● UpdateSitePayload object ● UserMembershipScopes object ● UserModerationScopes object