이메일 템플릿에 대한 소스 번역 보기
get
/templates/email/translations/source
이 엔드포인트를 사용하여 이메일 템플릿에 대한 소스 번역을 볼 수 있습니다. 번역 기능에 대한 자세한 내용은 메시지의 로케일를 참조하십시오.
important:
이 엔드포인트는 현재 얼리 액세스 중입니다. Contact your Braze account manager if you’re interested in participating in the early access.
Prerequisites
이 엔드포인트를 사용하려면 templates.email.info 권한이 있는 API 키가 필요합니다.
사용량 제한
쿼리 매개변수
| 매개변수 | 필수 | 데이터 유형 | 설명 |
|---|---|---|---|
template_id |
Required | 문자열 | 이메일 템플릿의 ID입니다. |
예시 요청
1
2
3
4
5
curl --location --request GET 'https://rest.iad-03.braze.com/templates/email/translations/source?template_id={template_id}'
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR-REST-API-KEY'
--Request Body
---template_id: "6ad1507f-ca10-44c4-95bf-aj39fm10fm1ps"
응답
이 엔드포인트에 대한 상태 코드 응답은 200, 400, 404, 429 의 네 가지가 있습니다.
성공 응답의 예
200 상태 코드는 다음과 같은 응답 헤더와 본문을 반환할 수 있습니다.
1
2
3
4
5
6
7
8
9
{
"translations": {
"translation_map": {
"id_0": "Here's a limited time offer for your membership tier!",
"id_1": "Welcome to a new fashion-forward season!"
}
},
"message": "success"
}
오류 응답의 예
400 상태 코드는 다음과 같은 응답 본문을 반환할 수 있습니다. 발생할 수 있는 오류에 대한 자세한 내용은 문제 해결을 참조하세요.
1
2
3
4
5
6
7
{
"errors": [
{
"message": "The provided locale code does not exist."
}
]
}
New Stuff!
GitHub 에서 이 페이지를 편집합니다.