Gets all version languages in the project
  • 02 Nov 2024
  • 1 Minute To Read
  • Contributors
  • Dark mode
    Light
  • PDF

Gets all version languages in the project

  • Dark mode
    Light
  • PDF

Article summary

Get
/v2/Language/{projectVersionId}
Security
API Key
Header parameter nameapi_token

Enter REST API key. To generate a key, go to Settings → Knowledge base portal → API tokens

Path parameters
projectVersionId
stringRequired

The ID of the project version

Responses
200

Success

Language versions in a project

This is the enabled language versions for the following project.

{
  "data": [
    {
      "language_id": "850668e5-cbf6-4522-850668e5-cbf6-4522",
      "language_code": "en",
      "language_name": "English",
      "is_set_as_default": true,
      "country_flag_code": null
    },
    {
      "language_id": "850634e-a748-4522-850668e5-cbf6-4522",
      "language_code": "zh",
      "language_name": "Chinese",
      "is_set_as_default": false,
      "country_flag_code": null
    },
    {
      "language_id": "850668e5-cbf6-4522-8534e-a748-4522",
      "language_code": "nl",
      "language_name": "Dutch",
      "is_set_as_default": false,
      "country_flag_code": null
    }
  ],
  "extension_data": null,
  "success": true,
  "errors": null,
  "warnings": null,
  "information": null
}
Expand All
object
data
Array of object (ProjectLanguage) | null

All Language data in a poject

object
language_id
string | null

The ID of the language

language_code
string | null

The code of the language

language_name
string | null

The name of the language

is_set_as_default
boolean

True - Default language of the version; False - Non-default language of the version

country_flag_code
string | null

The code of the country flag

extension_data
object | null

Extention data for customer API response

success
boolean

Status indication for customer API response

errors
Array of object (BaseError) | null

Errors in the customer API response

object
extension_data
object | null

Thids is the Extention data object

stack_trace
string | null

Stack trace for error response message

description
string | null

Description for error cause

error_code
string | null

Error code for Api response

custom_data
object | null
property*
warnings
Array of object (BaseWarning) | null

Warnings in the customer API response

object
extension_data
object | null

Extention Data for customer Api warning

description
string | null

Warning description

warning_code
string | null

warning code for customer Api base response

information
Array of object (BaseInformation) | null

Information passed by the customer API response

object
extension_data
object | null

Extention data for customer Api response information

description
string | null

status description for customer Api response information


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.