Get translations by language code
GET
Returns translations (enumerations and field labels) for the specified language
APIKeyHeaderheader
Authorization<token>language*LanguageCodeSupported language codes
Value in
"en""pl"Successful response with translation data
application/json- response
DTO for translations response
enums*Dictionary of enum translations grouped by enum type
labels*Dictionary of field label translations
curl -X GET 'https://headless-cms.propertly.io/api/v1/translations/en'{ "enums": { "property_type": { "apartment": "Apartment", "house": "House", "commercial": "Commercial property", "land": "Land" }, "transaction_type": { "sale": "For sale", "rent": "For rent" } }, "labels": { "price": "Price", "area": "Area", "rooms": "Number of rooms", "floor": "Floor", "year_built": "Year built", "description": "Description", "contact": "Contact" }}Ostatnia aktualizacja