templates_get
GET
/templates/{template_id}
const url = 'https://example.com/templates/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/templates/exampleGet a human-readable pretty-printed representation of a stored template.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” template_id
required
Base58-encoded SHA-256 hash digest (32 bytes)
string
Template ID
Responses
Section titled “ Responses ”Template pretty-print found
Media type text/plain
string
Template not found
Media type application/json
object
message
required
string
Example generated
{ "message": "example"}Internal error
Media type application/json
object
message
required
string
Example generated
{ "message": "example"}