Translations
Manage translations
Manage translations
List question translations
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Question slug
Response Body
application/json
curl -X GET "https://app.thefaq.app/api/v1/string/questions/string/translations"{
"data": [
{
"id": "string",
"language": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
]
}Create question translation
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://app.thefaq.app/api/v1/string/questions/string/translations" \ -H "Content-Type: application/json" \ -d '{ "language": "es", "question": "string", "answer": "string", "slug": "string" }'{
"data": {
"id": "string",
"language": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}Get question translation
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Response Body
application/json
curl -X GET "https://app.thefaq.app/api/v1/string/questions/string/translations/es"{
"data": {
"id": "string",
"language": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}Delete question translation
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Response Body
application/json
curl -X DELETE "https://app.thefaq.app/api/v1/string/questions/string/translations/string"{
"data": {
"deleted": true
}
}Update question translation
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://app.thefaq.app/api/v1/string/questions/string/translations/string" \ -H "Content-Type: application/json" \ -d '{ "question": "string", "answer": "string", "slug": "string" }'{
"data": {
"id": "string",
"language": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}AI translate question
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://app.thefaq.app/api/v1/string/questions/string/translations/ai-translate" \ -H "Content-Type: application/json" \ -d '{ "targetLanguage": "fr" }'{
"data": {
"id": "string",
"language": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}List category translations
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Category slug
Response Body
application/json
curl -X GET "https://app.thefaq.app/api/v1/string/categories/string/translations"{
"data": [
{
"id": "string",
"language": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
]
}Create category translation
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://app.thefaq.app/api/v1/string/categories/string/translations" \ -H "Content-Type: application/json" \ -d '{ "language": "de", "name": "string", "slug": "string" }'{
"data": {
"id": "string",
"language": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}Get category translation
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Response Body
application/json
curl -X GET "https://app.thefaq.app/api/v1/string/categories/string/translations/string"{
"data": {
"id": "string",
"language": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}Delete category translation
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Response Body
application/json
curl -X DELETE "https://app.thefaq.app/api/v1/string/categories/string/translations/string"{
"data": {
"deleted": true
}
}Update category translation
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://app.thefaq.app/api/v1/string/categories/string/translations/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "slug": "string" }'{
"data": {
"id": "string",
"language": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}AI translate category
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://app.thefaq.app/api/v1/string/categories/string/translations/ai-translate" \ -H "Content-Type: application/json" \ -d '{ "targetLanguage": "ja" }'{
"data": {
"id": "string",
"language": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}Get translation completeness
Authorization
BearerAuth API key authentication. Get your key from the dashboard under Settings > API Keys.
In: header
Path Parameters
Response Body
application/json
curl -X GET "https://app.thefaq.app/api/v1/string/translations/completeness"{
"data": {
"languages": [
{
"language": "string",
"questionsTranslated": 0,
"questionsTotal": 0,
"categoriesTranslated": 0,
"categoriesTotal": 0,
"completeness": 0
}
]
}
}