This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "My story", | |
"publisher": "Publisher", | |
"publisher-logo-src": "logo image url", //required, 1x1 aspect, minimum size 928px x 928px | |
"poster-portrait-src": "portrait poster image url", // required, .jpg, .png, or .gif, 3x4 aspect, minimum size 696px x 928px | |
"supports-landscape": true, // optional | |
"background-audio": "audio url", // optional | |
"poster-square-src": "image url", // optional, .jpg, .png, or .gif, minimum size 928px x 928px | |
"poster-landscape-src": "image url", // optional, .jpg, .png, or .gif, 4x3 aspect, minimum size 928px x 696px | |
"pages": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"headline": { // The key is the field name | |
"type": "String", // GraphQL type: String, Integer, Date, HTML, ... | |
"schemaOrgProperty": "headline", // Used to generate the JSON-LD markup | |
"required": true, // required or not to validate, articles missing valid data won't be extracted | |
"showInList": true, // true to be displayed in back-office lists | |
"cssSelector": ".content__headline", // CSS selector for extraction | |
"attributeName": null, // HTML attribute when needed, used in conjunction with css selector | |
"markupType": "microdata", // Markup type: json-ld, microdata, rdfa, none | |
"markupProperty": "headline" // Markup property |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"post": { | |
"name": "post", | |
"description": "Post", | |
"schemaOrgType": "Article", | |
"fields": { | |
"id": { | |
"type": "ID", | |
"required": true | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"actor": { | |
"name": "actor", | |
"fields": { | |
"actor_id": { | |
"name": "actor_id", | |
"type": "Int", | |
"required": true | |
}, | |
"first_name": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"content": { | |
"name": "content", | |
"description": "The Guardian API content", | |
"fields": { | |
"id": { | |
"type": "String", | |
"required": true, | |
"description": "Content ID" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"content": { | |
"name": "content", | |
"description": "The Guardian API content", | |
"fields": { | |
"id": { | |
"type": "String", | |
"required": true, | |
"description": "Content ID" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runtime: custom | |
env: flex | |
runtime_config: | |
document_root: public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"content": { | |
"name": "content", | |
"description": "The Guardian API content", | |
"fields": { | |
"id": { | |
"type": "String", | |
"required": true, | |
"description": "Content ID" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"content": { | |
"name": "content", | |
"description": "The Guardian API content", | |
"fields": { | |
"id": { | |
"type": "String", | |
"required": true, | |
"description": "Content ID" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"content": { | |
"name": "content", | |
"description": "The Guardian API content", | |
"fields": { | |
"id": { | |
"type": "String", | |
"required": true, | |
"description": "Content ID" | |
}, |
NewerOlder