Skip to main content

StoryScrapingConfigurationInput

StoryScrapingConfigurationInput stores the configuration around story scraping.

input StoryScrapingConfigurationInput {
enabled: Boolean
proxyURL: String
customUserAgent: String
authentication: Boolean!
username: String
password: String
}

Fields

StoryScrapingConfigurationInput.enabled ● Boolean scalar

enabled, when true, enables stories to be scraped. When disabled, stories will only be looked up instead, and must be created via the API directly.

StoryScrapingConfigurationInput.proxyURL ● String scalar

proxyURL when specified, allows scraping requests to use the provided proxy. All requests will then be passed through the appropriate proxy as parsed by the proxy-agent package.

StoryScrapingConfigurationInput.customUserAgent ● String scalar

customUserAgent when specified will override the user agent used by fetch requests made during the scraping process.

StoryScrapingConfigurationInput.authentication ● Boolean! non-null scalar

authentication is whether alternative authentication credentials have been provided for scraping activities.

StoryScrapingConfigurationInput.username ● String scalar

username is the username to use with basic authentication for scraping jobs.

StoryScrapingConfigurationInput.password ● String scalar

password is the password to use with basic authentication for scraping jobs.

Member Of

StoryConfigurationInput input