Skip to main content
GET
/
articles
/
getByIdByLanguage
/
{id}
Get article by id with multilingual fields (public)
curl --request GET \
  --url https://api.octaviatech.app/cms/articles/getByIdByLanguage/{id} \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "statusCode": 200,
  "message": "OK",
  "data": {
    "id": "{{objectId}}",
    "mainTitle": {
      "en": "Droopy Nose",
      "es": "Nariz caída"
    },
    "summary": {
      "en": "Short summary",
      "es": "Resumen breve"
    },
    "body": {
      "en": "<p>HTML</p>",
      "es": "<p>HTML</p>"
    }
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required
Example:

"{{objectId}}"

Response

OK

The response is of type any.