Skip to main content
POST
/
news
/
translate
News translate.
curl --request POST \
  --url https://api.example.com/news/translate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "newsID": 918,
  "languageID": 1
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
newsID
integer<int32>
default:918
languageID
integer<int32>
default:1

Response

Success

success
boolean
data
unknown