Render the @View template of one field of one row.β
GET
/erupt-api/tpl/view-tpl/{erupt}/{field}/{id}
The row is injected into the template context.
Authorizationsβ
tokenParam
The same login token as a query parameter, for endpoints opened by the browser or an editor that cannot set headers.
Type
API Key (query: _token)
Parametersβ
Header Parameters
erupt*
Name of the @Erupt class the request is scoped to. Must match the {erupt} path segment, or name the parent erupt when the path addresses a nested erupt (tab, sub-form, reference).
Type
Requiredstring
Format
"string"Path Parameters
erupt*
Simple class name of the @Erupt model
Type
Requiredstring
Format
"string"field*
Field name whose @View declares a tpl
Type
Requiredstring
Format
"string"id*
Primary key
Type
Requiredstring
Format
"string"Responsesβ
OK
*/*
JSON
[
]