{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/templates","auth":"required","results":{"codes":[{"name":"","code":"[{\n  \"id\": \"1\",\n  \"name\": \"Your Template\",\n  \"watermarkSettings\": [\n    {\n      \"content\": \"Custom watermark\",\n      \"type\": \"TEXT\",\n      \"x\": 0.16705158,\n      \"y\": 0.33803782,\n      \"fontSize\": 0.08,\n      \"fontOpacity\": 0.75,\n      \"fontColor\": \"0xFFFFFF\",\n      \"shadowOpacity\": 0,\n      \"shadowColor\": \"0xFFFFFF\",\n      \"shadowOffsetX\": 0.01,\n      \"shadowOffsetY\": 0.1,\n      \"align\": \"LEFT\",\n      \"verticalAlign\": \"TOP\",\n      \"animation\": null\n    }\n  ],\n  \"createdBy\": \"1\",\n  \"createdOn\": 1475524387000,\n  \"updatedBy\": \"1\",\n  \"updatedOn\": 1475524387000\n}]","language":"json","status":200}]},"settings":"","examples":{"codes":[{"code":"curl \"https://s2-api.safestream.com/2.0/templates\" \\\n     -H \"Content-Type: application/json\" \\\n     -H \"x-api-key: [[app:apiKey]]\" \\\n     -H \"x-api-client-id: [[app:apiClientId]]\" \\","language":"curl"}]},"method":"get","params":[]},"next":{"description":"","pages":[]},"title":"Retrieving Templates","type":"endpoint","slug":"retrieving-templates","excerpt":"How to retrieve templates that belong to your account.","body":"You can retrieve templates that belong to your account.\n[block:api-header]\n{\n  \"type\": \"get\",\n  \"title\": \"1. Request\"\n}\n[/block]","updates":[],"order":0,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"59796d1140a3a2001f068cc0","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Templates","slug":"templates","order":2,"from_sync":false,"reference":true,"_id":"59796d1140a3a2001f068cb7","version":"59796d1140a3a2001f068cb4","project":"5669937dfc5abf2300afe7de","createdAt":"2016-01-06T19:42:14.381Z","__v":0},"parentDoc":null,"user":"57f6a147cecf1517001f032d","project":"5669937dfc5abf2300afe7de","version":{"version":"2.0","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["59796d1140a3a2001f068cb5","59796d1140a3a2001f068cb6","59796d1140a3a2001f068cb7","59796d1140a3a2001f068cb8","5acb7bc606a2ce0003f28da4"],"_id":"59796d1140a3a2001f068cb4","project":"5669937dfc5abf2300afe7de","createdAt":"2017-07-27T04:33:21.278Z","releaseDate":"2017-07-27T04:33:21.278Z","__v":2},"createdAt":"2016-10-06T19:29:49.205Z","githubsync":"","__v":0}

getRetrieving Templates

How to retrieve templates that belong to your account.

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

You can retrieve templates that belong to your account. [block:api-header] { "type": "get", "title": "1. Request" } [/block]

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}