{"componentChunkName":"component---src-templates-api-js","path":"/api/snippets/","result":{"data":{"allApiBlueprint":{"edges":[{"node":{"meta":{"title":"A/B Testing API","label":"New"},"fields":{"path":"/api/ab-testing/","file":"ab-testing.apib"}}},{"node":{"meta":{"title":"Data Privacy API","label":"New"},"fields":{"path":"/api/data-privacy/","file":"data-privacy.apib"}}},{"node":{"meta":{"title":"Events API","label":null},"fields":{"path":"/api/events/","file":"events.apib"}}},{"node":{"meta":{"title":"Ingest API","label":"Private Access"},"fields":{"path":"/api/events-ingest/","file":"events-ingest.apib"}}},{"node":{"meta":{"title":"Inbound Domains API","label":null},"fields":{"path":"/api/inbound-domains/","file":"inbound-domains.apib"}}},{"node":{"meta":{"title":"Account API","label":null},"fields":{"path":"/api/account/","file":"account.apib"}}},{"node":{"meta":{"title":"API Overview","label":null},"fields":{"path":"/api/","file":"index.apib"}}},{"node":{"meta":{"title":"Automatic Inline Seeding","label":"Deliverability"},"fields":{"path":"/api/inline-seeds/","file":"inline-seeds.apib"}}},{"node":{"meta":{"title":"Labs APIs","label":null},"fields":{"path":"/api/labs/","file":"labs.apib"}}},{"node":{"meta":{"title":"Message Events API","label":null},"fields":{"path":"/api/message-events/","file":"message-events.apib"}}},{"node":{"meta":{"title":"Recipient Validation API","label":"New"},"fields":{"path":"/api/recipient-validation/","file":"recipient-validation.apib"}}},{"node":{"meta":{"title":"IP Pools API","label":null},"fields":{"path":"/api/ip-pools/","file":"ip-pools.apib"}}},{"node":{"meta":{"title":"Seed List API","label":"Deliverability"},"fields":{"path":"/api/seed-list/","file":"seed-list.apib"}}},{"node":{"meta":{"title":"Bounce Domains API","label":null},"fields":{"path":"/api/bounce-domains/","file":"bounce-domains.apib"}}},{"node":{"meta":{"title":"Recipient Lists API","label":null},"fields":{"path":"/api/recipient-lists/","file":"recipient-lists.apib"}}},{"node":{"meta":{"title":"Sending IPs API","label":null},"fields":{"path":"/api/sending-ips/","file":"sending-ips.apib"}}},{"node":{"meta":{"title":"Relay Webhooks API","label":null},"fields":{"path":"/api/relay-webhooks/","file":"relay-webhooks.apib"}}},{"node":{"meta":{"title":"SMTP API","label":null},"fields":{"path":"/api/smtp/","file":"smtp.apib"}}},{"node":{"meta":{"title":"Snippets API","label":"New"},"fields":{"path":"/api/snippets/","file":"snippets.apib"}}},{"node":{"meta":{"title":"Subaccounts API","label":null},"fields":{"path":"/api/subaccounts/","file":"subaccounts.apib"}}},{"node":{"meta":{"title":"Sending Domains API","label":null},"fields":{"path":"/api/sending-domains/","file":"sending-domains.apib"}}},{"node":{"meta":{"title":"Suppression List API","label":null},"fields":{"path":"/api/suppression-list/","file":"suppression-list.apib"}}},{"node":{"meta":{"title":"Template Language","label":null},"fields":{"path":"/api/template-language/","file":"template-language.apib"}}},{"node":{"meta":{"title":"Tracking Domains API","label":null},"fields":{"path":"/api/tracking-domains/","file":"tracking-domains.apib"}}},{"node":{"meta":{"title":"Templates API","label":null},"fields":{"path":"/api/templates/","file":"templates.apib"}}},{"node":{"meta":{"title":"Transmissions API","label":null},"fields":{"path":"/api/transmissions/","file":"transmissions.apib"}}},{"node":{"meta":{"title":"Event Webhooks API","label":null},"fields":{"path":"/api/webhooks/","file":"webhooks.apib"}}},{"node":{"meta":{"title":"Usage API","label":null},"fields":{"path":"/api/usage/","file":"usage.apib"}}},{"node":{"meta":{"title":"Metrics API","label":null},"fields":{"path":"/api/metrics/","file":"metrics.apib"}}}]},"apiBlueprint":{"ast":{"element":"parseResult","content":[{"element":"category","meta":{"classes":{"element":"array","content":[{"element":"string","content":"api"}]},"title":{"element":"string","content":""}},"attributes":{"meta":{"element":"array","content":[{"element":"member","meta":{"classes":{"element":"array","content":[{"element":"string","content":"user"}]}},"content":{"key":{"element":"string","content":"FORMAT"},"value":{"element":"string","content":"1A"}}},{"element":"member","meta":{"classes":{"element":"array","content":[{"element":"string","content":"user"}]}},"content":{"key":{"element":"string","content":"title"},"value":{"element":"string","content":"Snippets API"}}},{"element":"member","meta":{"classes":{"element":"array","content":[{"element":"string","content":"user"}]}},"content":{"key":{"element":"string","content":"description"},"value":{"element":"string","content":"Manage reusable content snippets that can be referenced within inline content and stored templates."}}},{"element":"member","meta":{"classes":{"element":"array","content":[{"element":"string","content":"user"}]}},"content":{"key":{"element":"string","content":"label"},"value":{"element":"string","content":"New"}}}]}},"content":[{"element":"category","meta":{"classes":{"element":"array","content":[{"element":"string","content":"resourceGroup"}]},"title":{"element":"string","content":"Snippets"}},"content":[{"element":"copy","content":"Snippets are short reusable pieces of email content.\nSnippets can be imported into any template content or transmission content using substitution syntax.\n\nFor example, if you have a snippet with the ID `ourfooter` and the following HTML content:\n\n```html\n<footer>\n    <p>Our HTML footer</p>\n</footer>\n```\n\nThe snippet can be imported into an HTML email's content using the `render_snippet` macro call.\n\n```html\n<html>\n    <p>Our body content</p>\n    {{ render_snippet( \"ourfooter\" ) }}\n</html>\n```\n\nThe resulting rendered HTML content would look like:\n\n```html\n<html>\n    <p>Our body content</p>\n    <footer><p>Our HTML footer</p></footer>\n</html>\n```\n\nSee the [Template Language documentation](/api/template-language/#header-snippets)\nfor a more detailed explanation of the `render_snippet` macro and more complicated examples.\n\n## Snippet Object\n\n<DataStructure id=\"852c66b4cc6952cf145d4fb83bc7295b\"  title=\"Attributes\" ></DataStructure>"},{"element":"resource","meta":{"title":{"element":"string","content":"Create a Snippet"}},"attributes":{"href":{"element":"string","content":"/labs/snippets"}},"content":[{"element":"transition","meta":{"title":{"element":"string","content":"Create a Snippet"}},"attributes":{"href":{"element":"string","content":"/labs/snippets"}},"content":[{"element":"copy","content":"<DataStructure id=\"7208fe6f533cb28d0e2d0e2e99e1f7bc\"  ></DataStructure>"},{"element":"httpTransaction","content":[{"element":"httpRequest","attributes":{"method":{"element":"string","content":"POST"},"headers":{"element":"httpHeaders","content":[{"element":"member","content":{"key":{"element":"string","content":"Content-Type"},"value":{"element":"string","content":"application/json"}}}]}},"content":[{"element":"asset","meta":{"classes":{"element":"array","content":[{"element":"string","content":"messageBody"}]}},"attributes":{"contentType":{"element":"string","content":"application/json"}},"content":"{\n    \"id\" : \"header\",\n    \"name\": \"Header snippet\",\n    \"content\": {\n        \"html\": \"<b>Our cool header snippet for {{name}}</b>\"\n    }\n}\n"}]},{"element":"httpResponse","attributes":{"statusCode":{"element":"string","content":"200"},"headers":{"element":"httpHeaders","content":[{"element":"member","content":{"key":{"element":"string","content":"Content-Type"},"value":{"element":"string","content":"application/json"}}}]}},"content":[{"element":"asset","meta":{"classes":{"element":"array","content":[{"element":"string","content":"messageBody"}]}},"attributes":{"contentType":{"element":"string","content":"application/json"}},"content":"  {\n    \"results\": {\n      \"id\": \"header\"\n    }\n  }\n"}]}]},{"element":"httpTransaction","content":[{"element":"httpRequest","attributes":{"method":{"element":"string","content":"POST"},"headers":{"element":"httpHeaders","content":[{"element":"member","content":{"key":{"element":"string","content":"Content-Type"},"value":{"element":"string","content":"application/json"}}}]}},"content":[{"element":"asset","meta":{"classes":{"element":"array","content":[{"element":"string","content":"messageBody"}]}},"attributes":{"contentType":{"element":"string","content":"application/json"}},"content":"{\n    \"id\" : \"header\",\n    \"name\": \"Header snippet\",\n    \"content\": {\n        \"html\": \"<b>Our cool header snippet for {{name}}</b>\"\n    }\n}\n"}]},{"element":"httpResponse","attributes":{"statusCode":{"element":"string","content":"422"},"headers":{"element":"httpHeaders","content":[{"element":"member","content":{"key":{"element":"string","content":"Content-Type"},"value":{"element":"string","content":"application/json"}}}]}},"content":[{"element":"asset","meta":{"classes":{"element":"array","content":[{"element":"string","content":"messageBody"}]}},"attributes":{"contentType":{"element":"string","content":"application/json"}},"content":"  {\n    \"errors\" : [\n      {\n        \"message\" : \"Error while compiling part text: line 1: substitution statement missing ending '}}'\"\n      }\n    ]\n  }\n"}]}]}]}]},{"element":"resource","meta":{"title":{"element":"string","content":"Retrieve a Snippet"}},"attributes":{"href":{"element":"string","content":"/labs/snippets/{id}"}},"content":[{"element":"transition","meta":{"title":{"element":"string","content":"Retrieve a Snippet"}},"attributes":{"href":{"element":"string","content":"/labs/snippets/{id}"},"hrefVariables":{"element":"hrefVariables","content":[{"element":"member","meta":{"title":{"element":"string","content":"string"}},"attributes":{"typeAttributes":{"element":"array","content":[{"element":"string","content":"required"}]}},"content":{"key":{"element":"string","content":"id"},"value":{"element":"string","content":"ourfooter"}}}]}},"content":[{"element":"httpTransaction","content":[{"element":"httpRequest","attributes":{"method":{"element":"string","content":"GET"}}},{"element":"httpResponse","attributes":{"statusCode":{"element":"string","content":"200"},"headers":{"element":"httpHeaders","content":[{"element":"member","content":{"key":{"element":"string","content":"Content-Type"},"value":{"element":"string","content":"application/json"}}}]}},"content":[{"element":"asset","meta":{"classes":{"element":"array","content":[{"element":"string","content":"messageBody"}]}},"attributes":{"contentType":{"element":"string","content":"application/json"}},"content":"  {\n    \"results\" : {\n      \"id\" : \"ourfooter\",\n      \"name\": \"Footer\",\n      \"content\": {\n        \"html\" : \"<b>Our standard footer</b>\",\n        \"text\" : \"Our standard footer\",\n        \"amp_html\" : \"<b>Our standard footer</b>\"\n      },\n      \"created_at\": \"2018-10-11T19:13:29.548Z\",\n      \"updated_at\": \"2018-10-11T19:14:50.181Z\",\n      \"subaccount_id\": 273\n    }\n  }\n"}]}]}]}]},{"element":"resource","meta":{"title":{"element":"string","content":"Update a Snippet"}},"attributes":{"href":{"element":"string","content":"/labs/snippets/{id}"}},"content":[{"element":"transition","meta":{"title":{"element":"string","content":"Update a Snippet"}},"attributes":{"href":{"element":"string","content":"/labs/snippets/{id}"},"hrefVariables":{"element":"hrefVariables","content":[{"element":"member","meta":{"title":{"element":"string","content":"string"}},"attributes":{"typeAttributes":{"element":"array","content":[{"element":"string","content":"required"}]}},"content":{"key":{"element":"string","content":"id"},"value":{"element":"string","content":"ourfooter"}}}]}},"content":[{"element":"copy","content":"Unlike the [Templates API](api/templates/), if a content object is\nprovided in the update request, it only needs to include the fields that\nare being updated. Fields that are not included will keep their current\nvalues.\n\nTo remove a content field that was specified previously, simply set that\nfield to an empty string in the update request.\n\n<DataStructure id=\"6b48769ba34558fa05c851bf84f5bd05\"  ></DataStructure>"},{"element":"httpTransaction","content":[{"element":"httpRequest","meta":{"title":{"element":"string","content":"Update"}},"attributes":{"method":{"element":"string","content":"PUT"},"headers":{"element":"httpHeaders","content":[{"element":"member","content":{"key":{"element":"string","content":"Content-Type"},"value":{"element":"string","content":"application/json"}}}]}},"content":[{"element":"asset","meta":{"classes":{"element":"array","content":[{"element":"string","content":"messageBody"}]}},"attributes":{"contentType":{"element":"string","content":"application/json"}},"content":"{\n \"content\": {\n   \"html\" : \"<b>Our updated footer</b>\",\n   \"text\" : \"Our updated footer\",\n   \"amp_html\" : \"<b>Our updated footer</b>\"\n  }\n}\n"}]},{"element":"httpResponse","attributes":{"statusCode":{"element":"string","content":"200"}}}]},{"element":"httpTransaction","content":[{"element":"httpRequest","meta":{"title":{"element":"string","content":"Update to Remove the HTML Part"}},"attributes":{"method":{"element":"string","content":"PUT"},"headers":{"element":"httpHeaders","content":[{"element":"member","content":{"key":{"element":"string","content":"Content-Type"},"value":{"element":"string","content":"application/json"}}}]}},"content":[{"element":"asset","meta":{"classes":{"element":"array","content":[{"element":"string","content":"messageBody"}]}},"attributes":{"contentType":{"element":"string","content":"application/json"}},"content":"{\n \"content\": {\n   \"html\" : \"\",\n   \"amp_html\" : \"<b>Our updated footer</b>\"\n  }\n}\n"}]},{"element":"httpResponse","attributes":{"statusCode":{"element":"string","content":"200"}}}]}]}]},{"element":"resource","meta":{"title":{"element":"string","content":"Delete a Snippet"}},"attributes":{"href":{"element":"string","content":"/labs/snippets/{id}"}},"content":[{"element":"transition","meta":{"title":{"element":"string","content":"Delete a Snippet"}},"attributes":{"href":{"element":"string","content":"/labs/snippets/{id}"},"hrefVariables":{"element":"hrefVariables","content":[{"element":"member","meta":{"title":{"element":"string","content":"string"}},"attributes":{"typeAttributes":{"element":"array","content":[{"element":"string","content":"required"}]}},"content":{"key":{"element":"string","content":"id"},"value":{"element":"string","content":"ourfooter"}}}]}},"content":[{"element":"httpTransaction","content":[{"element":"httpRequest","attributes":{"method":{"element":"string","content":"DELETE"}}},{"element":"httpResponse","attributes":{"statusCode":{"element":"string","content":"204"},"headers":{"element":"httpHeaders","content":[{"element":"member","content":{"key":{"element":"string","content":"Content-Type"},"value":{"element":"string","content":"application/json"}}}]}}}]}]}]},{"element":"resource","meta":{"title":{"element":"string","content":"List all Snippets"}},"attributes":{"href":{"element":"string","content":"/labs/snippets"}},"content":[{"element":"transition","meta":{"title":{"element":"string","content":"List all Snippets"}},"attributes":{"href":{"element":"string","content":"/labs/snippets"},"hrefVariables":{"element":"hrefVariables","content":[{"element":"member","meta":{"description":{"element":"string","content":"If true, returns only shared snippets. If false, returns only non-shared snippets.  When not provided, returns both shared and non-shared snippets."},"title":{"element":"string","content":"boolean"}},"attributes":{"typeAttributes":{"element":"array","content":[{"element":"string","content":"optional"}]}},"content":{"key":{"element":"string","content":"shared_with_subaccounts"},"value":{"element":"string"}}}]}},"content":[{"element":"copy","content":"Returns an array with all your Snippets."},{"element":"httpTransaction","content":[{"element":"httpRequest","attributes":{"method":{"element":"string","content":"GET"}}},{"element":"httpResponse","attributes":{"statusCode":{"element":"string","content":"200"},"headers":{"element":"httpHeaders","content":[{"element":"member","content":{"key":{"element":"string","content":"Content-Type"},"value":{"element":"string","content":"application/json"}}}]}},"content":[{"element":"asset","meta":{"classes":{"element":"array","content":[{"element":"string","content":"messageBody"}]}},"attributes":{"contentType":{"element":"string","content":"application/json"}},"content":"  {\n    \"results\" : [\n      {\n        \"id\" : \"header\",\n        \"name\": \"Header\",\n        \"shared_with_subaccount\" : false,\n        \"created_at\": \"2018-10-11T19:13:29.548Z\",\n        \"updated_at\": \"2018-10-11T19:14:50.181Z\"\n      },\n      {\n        \"id\" : \"footer\",\n        \"name\": \"Footer\",\n        \"shared_with_subaccount\" : true,\n        \"created_at\": \"2018-10-05T20:21:04.853Z\",\n        \"updated_at\": \"2018-10-09T19:23:53.022Z\"\n      }\n    ]\n  }\n"}]}]}]}]}]},{"element":"category","meta":{"classes":{"element":"array","content":[{"element":"string","content":"dataStructures"}]}},"content":[{"element":"dataStructure","content":{"element":"object","meta":{"id":{"element":"string","content":"852c66b4cc6952cf145d4fb83bc7295b"}},"content":[{"element":"member","meta":{"description":{"element":"string","content":"Unique ID used to reference the snippet."}},"content":{"key":{"element":"string","content":"id"},"value":{"element":"string"}}},{"element":"member","meta":{"description":{"element":"string","content":"Display name"}},"content":{"key":{"element":"string","content":"name"},"value":{"element":"string"}}},{"element":"member","meta":{"description":{"element":"string","content":"HTML, AMPHTML, and/or text content."}},"content":{"key":{"element":"string","content":"content"},"value":{"element":"object","content":[{"element":"member","meta":{"description":{"element":"string","content":"HTML content which will be used when the snippet is referenced from the HTML part of a template or inline content."}},"content":{"key":{"element":"string","content":"html"},"value":{"element":"string"}}},{"element":"member","meta":{"description":{"element":"string","content":"Plain text content which will be used when the snippet is referenced from the plain text part of a template or inline content."}},"content":{"key":{"element":"string","content":"text"},"value":{"element":"string"}}},{"element":"member","meta":{"description":{"element":"string","content":"AMPHTML content which will be used when the snippet is referenced from the AMPHTML part of a template or inline content."}},"content":{"key":{"element":"string","content":"amp_html"},"value":{"element":"string"}}}]}}},{"element":"member","meta":{"description":{"element":"string","content":"Whether this snippet can be used by subaccounts."}},"content":{"key":{"element":"string","content":"shared_with_subaccounts"},"value":{"element":"boolean"}}},{"element":"member","meta":{"description":{"element":"string","content":"Subaccount the snippet belongs to. Only present on snippets that belong to a subaccount."}},"content":{"key":{"element":"string","content":"subaccount_id"},"value":{"element":"number"}}}]}},{"element":"dataStructure","content":{"element":"object","meta":{"id":{"element":"string","content":"7208fe6f533cb28d0e2d0e2e99e1f7bc"}},"content":[{"element":"member","meta":{"description":{"element":"string","content":"Unique ID used to reference the snippet."}},"attributes":{"typeAttributes":{"element":"array","content":[{"element":"string","content":"required"}]}},"content":{"key":{"element":"string","content":"id"},"value":{"element":"string"}}},{"element":"member","meta":{"description":{"element":"string","content":"Display name"}},"content":{"key":{"element":"string","content":"name"},"value":{"element":"string"}}},{"element":"member","meta":{"description":{"element":"string","content":"HTML, AMPHTML, and/or text content. Substitution syntax is supported with the exception of the `render_dynamic_content()` and `render_snippet()` macro calls. In other words, snippets may not reference other snippets."}},"attributes":{"typeAttributes":{"element":"array","content":[{"element":"string","content":"required"}]}},"content":{"key":{"element":"string","content":"content"},"value":{"element":"object","content":[{"element":"member","meta":{"description":{"element":"string","content":"HTML content which will be used when the snippet is referenced from the HTML part of a template or inline content. Maximum length - 100KB."}},"content":{"key":{"element":"string","content":"html"},"value":{"element":"string"}}},{"element":"member","meta":{"description":{"element":"string","content":"Plain text content which will be used when the snippet is referenced from the plain text part of a template or inline content. Maximum length - 100KB."}},"content":{"key":{"element":"string","content":"text"},"value":{"element":"string"}}},{"element":"member","meta":{"description":{"element":"string","content":"AMPHTML content which will be used when the snippet is referenced from the AMPHTML part of a template or inline content. Maximum length - 100KB."}},"content":{"key":{"element":"string","content":"amp_html"},"value":{"element":"string"}}}]}}},{"element":"member","meta":{"description":{"element":"string","content":"Whether this snippet can be used by subaccounts."}},"attributes":{"typeAttributes":{"element":"array","content":[{"element":"string","content":"required"}]}},"content":{"key":{"element":"string","content":"shared_with_subaccounts"},"value":{"element":"boolean","attributes":{"default":{"element":"boolean","content":false}}}}}]}},{"element":"dataStructure","content":{"element":"object","meta":{"id":{"element":"string","content":"6b48769ba34558fa05c851bf84f5bd05"}},"content":[{"element":"member","meta":{"description":{"element":"string","content":"Display name"}},"content":{"key":{"element":"string","content":"name"},"value":{"element":"string"}}},{"element":"member","meta":{"description":{"element":"string","content":"HTML, AMPHTML, and/or text content. Substitution syntax is supported with the exception of the `render_dynamic_content()` and `render_snippet()` macro calls. In other words, snippets may not reference other snippets."}},"content":{"key":{"element":"string","content":"content"},"value":{"element":"object","content":[{"element":"member","meta":{"description":{"element":"string","content":"HTML content which will be used when the snippet is referenced from the HTML part of a template or inline content. Maximum length - 100KB."}},"content":{"key":{"element":"string","content":"html"},"value":{"element":"string"}}},{"element":"member","meta":{"description":{"element":"string","content":"Plain text content which will be used when the snippet is referenced from the plain text part of a template or inline content. Maximum length - 100KB."}},"content":{"key":{"element":"string","content":"text"},"value":{"element":"string"}}},{"element":"member","meta":{"description":{"element":"string","content":"AMPHTML content which will be used when the snippet is referenced from the AMPHTML part of a template or inline content. Maximum length - 100KB."}},"content":{"key":{"element":"string","content":"amp_html"},"value":{"element":"string"}}}]}}},{"element":"member","meta":{"description":{"element":"string","content":"Whether this snippet can be used by subaccounts."}},"content":{"key":{"element":"string","content":"shared_with_subaccounts"},"value":{"element":"boolean"}}}]}}]}]},{"element":"annotation","meta":{"classes":{"element":"array","content":[{"element":"string","content":"warning"}]}},"attributes":{"code":{"element":"number","content":6},"sourceMap":{"element":"array","content":[{"element":"sourceMap","content":[{"element":"array","content":[{"element":"number","content":1969},{"element":"number","content":14}]}]}]}},"content":"empty request message-body"},{"element":"annotation","meta":{"classes":{"element":"array","content":[{"element":"string","content":"warning"}]}},"attributes":{"code":{"element":"number","content":2},"sourceMap":{"element":"array","content":[{"element":"sourceMap","content":[{"element":"array","content":[{"element":"number","content":2463},{"element":"number","content":47}]}]}]}},"content":"the resource '/labs/snippets/{id}' is already defined"},{"element":"annotation","meta":{"classes":{"element":"array","content":[{"element":"string","content":"warning"}]}},"attributes":{"code":{"element":"number","content":6},"sourceMap":{"element":"array","content":[{"element":"sourceMap","content":[{"element":"array","content":[{"element":"number","content":3621},{"element":"number","content":13}]}]}]}},"content":"empty request message-body"},{"element":"annotation","meta":{"classes":{"element":"array","content":[{"element":"string","content":"warning"}]}},"attributes":{"code":{"element":"number","content":2},"sourceMap":{"element":"array","content":[{"element":"sourceMap","content":[{"element":"array","content":[{"element":"number","content":3511},{"element":"number","content":50}]}]}]}},"content":"the resource '/labs/snippets/{id}' is already defined"},{"element":"annotation","meta":{"classes":{"element":"array","content":[{"element":"string","content":"warning"}]}},"attributes":{"code":{"element":"number","content":6},"sourceMap":{"element":"array","content":[{"element":"sourceMap","content":[{"element":"array","content":[{"element":"number","content":3978},{"element":"number","content":13}]}]}]}},"content":"empty request message-body"},{"element":"annotation","meta":{"classes":{"element":"array","content":[{"element":"string","content":"warning"}]}},"attributes":{"code":{"element":"number","content":8},"sourceMap":{"element":"array","content":[{"element":"sourceMap","content":[{"element":"array","content":[{"element":"number","content":3671},{"element":"number","content":44}]}]}]}},"content":"parameter 'shared_with_subaccounts' is not found within the URI template '/labs/snippets' for 'List all Snippets' "},{"element":"annotation","meta":{"classes":{"element":"array","content":[{"element":"string","content":"warning"}]}},"attributes":{"code":{"element":"number","content":2},"sourceMap":{"element":"array","content":[{"element":"sourceMap","content":[{"element":"array","content":[{"element":"number","content":3671},{"element":"number","content":44}]}]}]}},"content":"the resource '/labs/snippets' is already defined"}]},"TableOfContents":[{"anchor":"#snippets","title":"Snippets","children":[{"anchor":"#header-snippet-object","title":"Snippet Object"},{"anchor":"#snippets-create-a-snippet","title":"Create a Snippet","children":[{"anchor":"#snippets-post-create-a-snippet","title":"Create a Snippet"}]},{"anchor":"#snippets-retrieve-a-snippet","title":"Retrieve a Snippet","children":[{"anchor":"#snippets-get-retrieve-a-snippet","title":"Retrieve a Snippet"}]},{"anchor":"#snippets-update-a-snippet","title":"Update a Snippet","children":[{"anchor":"#snippets-put-update-a-snippet","title":"Update a Snippet"}]},{"anchor":"#snippets-delete-a-snippet","title":"Delete a Snippet","children":[{"anchor":"#snippets-delete-delete-a-snippet","title":"Delete a Snippet"}]},{"anchor":"#snippets-list-all-snippets","title":"List all Snippets","children":[{"anchor":"#snippets-get-list-all-snippets","title":"List all Snippets"}]}]}],"meta":{"title":"Snippets API","description":"Manage reusable content snippets that can be referenced within inline content and stored templates.","full":false},"fields":{"path":"/api/snippets/"}}},"pageContext":{"file":"snippets.apib"}},"staticQueryHashes":["1319884646","1428769721","3859448388"]}