Languages (言語)

言語ペアの取得

現在登録している言語ペアの一覧を取得することが出来ます。

言語ペアとは翻訳元言語と翻訳先言語の組を格納するオブジェクトのことを指します。

詳しくはこちらから確認することが出来ます。

Resource URL

GET /api/v1/languages

Example Response

$ curl -i -H "Accept: application/json" -H "Content-type: application/json" -X GET https://biz.conyac.cc/api/v1/languages?access_token=8c1525a501a5b10671b148003c65b1ed5c0598da5907f0a7855dc248faac8b76 
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "language_pairs": [
    {
      "language_id": "ar",
      "translated_language_id": "ar",
      "language": {
        "id": "ar",
        "localized_name": "Arabic"
      },
      "translated_language": {
        "id": "ar",
        "localized_name": "Arabic"
      },
      "point": 1,
      "extra_point": 2500,
      "extra_letter": 15000
    },
    {
      "language_id": "ar",
      "translated_language_id": "en",
      "language": {
        "id": "ar",
        "localized_name": "Arabic"
      },
      "translated_language": {
        "id": "en",
        "localized_name": "English"
      },
      "point": 1,
      "extra_point": 2500,
      "extra_letter": 15000
    },
    {
      "language_id": "ar",
      "translated_language_id": "ja",
      "language": {
        "id": "ar",
        "localized_name": "Arabic"
      },
      "translated_language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "point": 1,
      "extra_point": 2500,
      "extra_letter": 15000
    },
    {
      "language_id": "en",
      "translated_language_id": "ar",
      "language": {
        "id": "en",
        "localized_name": "English"
      },
      "translated_language": {
        "id": "ar",
        "localized_name": "Arabic"
      },
      "point": 1,
      "extra_point": 2500,
      "extra_letter": 15000
    },
    {
      "language_id": "en",
      "translated_language_id": "en",
      "language": {
        "id": "en",
        "localized_name": "English"
      },
      "translated_language": {
        "id": "en",
        "localized_name": "English"
      },
      "point": 1,
      "extra_point": 2500,
      "extra_letter": 15000
    },
    {
      "language_id": "en",
      "translated_language_id": "ja",
      "language": {
        "id": "en",
        "localized_name": "English"
      },
      "translated_language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "point": 1,
      "extra_point": 2500,
      "extra_letter": 15000
    },
    {
      "language_id": "ja",
      "translated_language_id": "ar",
      "language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "translated_language": {
        "id": "ar",
        "localized_name": "Arabic"
      },
      "point": 4,
      "extra_point": 2500,
      "extra_letter": 5000
    },
    {
      "language_id": "ja",
      "translated_language_id": "en",
      "language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "translated_language": {
        "id": "en",
        "localized_name": "English"
      },
      "point": 4,
      "extra_point": 2500,
      "extra_letter": 5000
    },
    {
      "language_id": "ja",
      "translated_language_id": "ja",
      "language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "translated_language": {
        "id": "ja",
        "localized_name": "Japanese"
      },
      "point": 4,
      "extra_point": 2500,
      "extra_letter": 5000
    }
  ]
}