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#

id (ID!)#

id is the identifier of the Site.

name (String!)#

name is the name of the Site.

allowedOrigins ([String!]!)#

allowedOrigins are the allowed origins for embeds.

canModerate (Boolean!)#

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

topStories ([Story!]!)#

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

createdAt (Time!)#

createdAt is when the site was created.