Closed technicat closed 4 months ago
https://docs.akkoma.dev/stable/development/API/akkoma_api/
/api/v1/akkoma/translation/languages[¶](https://docs.akkoma.dev/stable/development/API/akkoma_api/#apiv1akkomatranslationlanguages)
Returns available source and target languages for automated text translation[¶](https://docs.akkoma.dev/stable/development/API/akkoma_api/#returns-available-source-and-target-languages-for-automated-text-translation)
Method: GET
Authentication: required
Params: none
Response: JSON
Example response:
{
"source": [
{"code":"LV", "name":"Latvian"},
{"code":"ZH", "name":"Chinese (traditional)"},
{"code":"EN-US", "name":"English (American)"}
],
"target": [
{"code":"EN-GB", "name":"English (British)"},
{"code":"JP", "name":"Japanese"}
]
}
GET /api/v1/akkoma/translation/languages