List a version's languages
GET
/v1/email/templates/{template_ref}/versions/{version_id}/languagesbird email templates versions languages list <template-ref> <version-id>curl -X GET "https://us1.platform.bird.com/v1/email/templates/{template_ref}/versions/{version_id}/languages" \
-H "Authorization: Bearer $TOKEN"Réponse200
{
"data": [
{
"language": "pt-BR",
"content_hash": "sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}
]
}
Returns every language the version holds, ordered by language tag, without the content itself, so listing a template with twenty-five languages stays small.
Each entry has the language's revision (send it back when you save that language) and its content_hash, so you can tell which languages changed since you last read them and fetch only those. Read a single language for its subject and bodies.
Paramètres
template_refstringThe template's id (emt_…) or slug. A built-in system template's bird_ slug also resolves here, to its one permanently published version.
version_idstringContenu de la réponse
dataarray of object
obligatoire
Every language the version holds, ordered by language tag, without their content. Read a single language to get its content.
Ressources associées
Poursuivez avec la documentation, les guides et les exemples sur ce sujet.