UNPKG

prismic-javascript

Version:
1,048 lines (1,047 loc) 33.9 kB
{ "refs": [ { "id": "master", "ref": "WYx9HB8AAB8AmX7z", "label": "Master", "isMasterRef": true }, { "id": "WIoUgCkAAD4TDoOq", "ref": "WJr3eikAAClRybU5~WYx9HB8AAB8AmX7z", "label": "Documentation" }, { "id": "WJr3hikAAO1qybVx", "ref": "WJr3hikAABAAybVy~WYx9HB8AAB8AmX7z", "label": "" }, { "id": "WO5r5yEAAFopf9dx", "ref": "WYGXCR4AAGQB-YYC~WYx9HB8AAB8AmX7z", "label": "Announcement feature" } ], "bookmarks": { "faq": "UfkL59_mqdr73EGn", "contact": "UiYZpsuvzXwFMOzj", "api-tour-with-features": "VBrV3TYAADUA1Mny", "documentation-home": "VjJLaCYAAM4A440I", "home": "UXfsJN_mqUsB7XMH", "privacy": "UkGz7LGIJ0YAoERn", "api-tour": "UffKf9_mqUl63EF8", "signup": "UfkNbd_mqWf83EGr", "terms": "UkGz1rGIJ0YAoERj", "wr-tour": "UffK5t_mqW963EGA", "wr-tour-with-features": "VBrVKjYAADMA1MiX", "developers-home": "UjBJcsuvzdIHvE3_", "customers": "Vebi4x8AAB4AFXCd", "pricing": "UffVud_mqZR-3EGd" }, "languages": [{ "id": "en-gb", "name": "English - Great Britain" }, { "id": "fr-fr", "name": "French - France" }, { "id": "de-de", "name": "German - Germany" }, { "id": "de-ch", "name": "German - Switzerland" }, { "id": "nl-nl", "name": "Dutch - Netherlands" }, { "id": "es-es", "name": "Spanish - Spain (Traditional)" }, { "id": "en-dk", "name": "English - Denmark" }, { "id": "en-se", "name": "English - Sweden" } ], "types": { "post": "Post Page", "author": "author", "doc-nav": "Doc Nav", "doc-page": "Documentation - Page", "doc-fields": "Documentation - Fields", "faq": "FAQ", "documentation-categoy": "Documentation category", "argument-feature": "Argument or feature", "features-page": "Feature Page", "tweetsmonial": "Tweetsmonial", "article": "Site-level article", "mails": "e-mail assets", "doc": "Documentation", "tutorial": "Tutorial", "home": "Homepage", "blog": "Blog post", "pricing-page": "Pricing page", "homepage": "Homepage 2.0", "layout": "Website Layout", "slicepage": "Slice page", "developers-home": "Developers Homepage", "example": "Example", "customers": "Customers Page", "kit": "Technology kit", "plan": "Pricing plan", "doc-example": "Documentation - Example" }, "tags": [ "contentwriter", "administrator", "topargument", "developers", "tourfeature", "api", "writingroom", "doc-developers", "business", "publisher", "gettingstarted", "contribute", "newkit", "new", "pricing", "documentation", "story1", "story2", "pro" ], "forms": { "documentation": { "name": "Documentation - all", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = any(document.type, [\"documentation-categoy\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false } } }, "faq": { "name": "FAQ", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = any(document.type, [\"faq\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "blog": { "name": "Blog", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = any(document.type, [\"blog\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "", "type": "String", "multiple": false } } }, "plans": { "name": "Pricing plans", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = any(document.type, [\"plan\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "technologies": { "name": "Technologies", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = any(document.type, [\"kit\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "examples": { "name": "Examples", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = any(document.type, [\"example\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "documentation-gettingstarted": { "name": "Documentation - Getting started", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = at(document.tags, [\"gettingstarted\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "documentation-contribute": { "name": "Documentation - Contribute", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = at(document.tags, [\"contribute\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "documentation-administrator": { "name": "Documentation - Administrator", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = at(document.tags, [\"administrator\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "documentation-publisher": { "name": "Documentation - Publisher", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = at(document.tags, [\"publisher\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "documentation-contentwriter": { "name": "Documentation - Content writer", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = at(document.tags, [\"contentwriter\"])][:d = any(document.type, [\"doc\",\"documentation-categoy\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "documentation-api": { "name": "Documentation - API", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = at(document.tags, [\"api\"])][:d = any(document.type, [\"doc\",\"documentation-categoy\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "documentation-newkit": { "name": "Documentation - New kit", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = at(document.tags, [\"newkit\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "top-arguments": { "name": "Top Arguments", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = at(document.tags, [\"topargument\"])][:d = any(document.type, [\"argument-feature\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "tour-feature": { "name": "Tour feature", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = at(document.tags, [\"tourfeature\"])][:d = any(document.type, [\"argument-feature\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "documentation-developer": { "name": "Documentation - Developer", "method": "GET", "rel": "collection", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "default": "[[:d = at(document.tags, [\"doc-developers\"])]]", "type": "String", "multiple": true }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } }, "everything": { "method": "GET", "enctype": "application/x-www-form-urlencoded", "action": "http://localhost:3000/api/v2/documents/search", "fields": { "ref": { "type": "String", "multiple": false }, "q": { "type": "String", "multiple": true }, "lang": { "type": "String", "multiple": false }, "page": { "type": "Integer", "multiple": false, "default": "1" }, "pageSize": { "type": "Integer", "multiple": false, "default": "20" }, "after": { "type": "String", "multiple": false }, "fetch": { "type": "String", "multiple": false }, "fetchLinks": { "type": "String", "multiple": false }, "orderings": { "type": "String", "multiple": false }, "referer": { "type": "String", "multiple": false }, "access_token": { "default": "ACCESS_TOKEN", "type": "String", "multiple": false } } } }, "oauth_initiate": "http://localhost:3000/auth", "oauth_token": "http://localhost:3000/auth/token", "version": "4b678d2", "license": "All Rights Reserved", "experiments": { "draft": [ { "id": "WG-DPigAAJMbct0d", "name": "Test_sre", "variations": [ { "id": "WG-DPigAADIbct0f", "ref": "WG-DPigAADgAct0g~WYx9HB8AAB8AmX7z", "label": "Base" } ] } ], "running": [ { "id": "WG-DPigAAJMbct0X", "name": "experimentA", "variations": [ { "id": "WG-DPigAADIbct0X", "ref": "WG-DPigAADgAct0g~WYx9HB8AAB8AmX7X", "label": "variationA" } ] } ] } }