Gets articles by translation status
  • 26 Sep 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Gets articles by translation status

  • Dark
    Light

Article Summary

Get
/v2/Translations/{projectVersionId}/{langCode}
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 version

langCode
stringRequired

Language code of the version

Default"en"
Query parameters
status
integer (int32)

Article translation status 0 - None, 1 - Needs transation, 2 - Translated, 3 - In progress

Default Value is 0 (Need translation)

Valid values[0,1,2,3]
Responses
200

Success

Article that need translation

Here are the articleId and categoryId for the article that needs translation for the following language code in the project.

{
  "data": [
    {
      "id": "978a1e16-fd36-4724-b63f-c313a059a30b",
      "category_id": "978a1e16-fd36-4724-b63f-c313a059a30b"
    },
    {
      "id": "978a1e16-fd36-4724-b63f-c313a059a30b",
      "category_id": "978a1e16-fd36-4724-b63f-c313a059a30b"
    },
    {
      "id": "978a1e16-fd36-4724-b63f-c313a059a30b",
      "category_id": "978a1e16-fd36-4724-b63f-c313a059a30b"
    }
  ],
  "extension_data": null,
  "success": true,
  "errors": null,
  "warnings": null,
  "information": null
}
Expand All
object
data
Array of object (NeedTranslationArticleData)

Article need to be translated

object
id
string

The ID of the article

category_id
string

The ID of the category

extension_data
object (ExtensionDataObject)
success
boolean

Status indication for customer API response

errors
Array of object (BaseError)

Errors in the customer API response

object
extension_data
object (ExtensionDataObject)
stack_trace
string

Stack trace for error response message

description
string

Description for error cause

error_code
string

Error code for Api resonse

custom_data
object
warnings
Array of object (BaseWarning)

Warning in the customer API response

object
extension_data
object (ExtensionDataObject)
description
string

Warning description

warning_code
string

warning code for customer Api base response

information
Array of object (BaseInformation)

Information passed by the customer API response

object
extension_data
object (ExtensionDataObject)
description
string

status description for customer Api response information


Was this article helpful?