Skip to main content

CreateStory

CreateStory is the input required to create a Story.

input CreateStory {
id: ID!
url: String!
mode: STORY_MODE
metadata: StoryMetadataInput
closedAt: Time
}

Fields

CreateStory.id ● ID! non-null scalar

id is the identifier of the Story.

CreateStory.url ● String! non-null scalar

url is the url that the Story is located on.

CreateStory.mode ● STORY_MODE enum

mode is the specified mode that the story should be created with.

CreateStory.metadata ● StoryMetadataInput input

metadata is the set of information relating to this Story that would normally be scraped, but can be provided here.

CreateStory.closedAt ● Time scalar

closedAt when provided specifies the date that the given story will be closed at. If not provided, the story close will use the settings to determine the automatic close date.

Member Of

CreateStoryInput input