AppTranslation


Representa las variables de idioma de la plataforma.

Modelo AppTranslation

{
    "id": 1,
    "lang": "en",
    "name": "passwords.reset",
    "value": "Your password has been reset!",
    "created_at": "2022-11-20T15:45:49.000000Z",
    "updated_at": "2022-11-20T15:45:49.000000Z",
    "default": "Your password has been reset!"
}

Insertar AppTranslation

URI Cabeceras
POST /app-translations Auth

Carga Ăștil

{
    "lang": "en",
    "name": "passwords.reset",
    "value": "Your password has been reset!"
}

Atributos

  • name string obligatorio max: 64 app_translations's name exists
  • lang string obligatorio max: 32
  • value string obligatorio

Listar AppTranslation

URI Cabeceras
GET /app-translations Auth

Atributos

  • per_page integer opcional min: 1 max: 60
  • page integer opcional min: 1

Mostrar AppTranslation

URI Cabeceras
GET /app-translations/{appTranslation} Auth

Actualizar AppTranslation

URI Cabeceras
PATCH /app-translations/{appTranslation} Auth

Carga Ăștil

{
    "lang": "en",
    "name": "passwords.reset",
    "value": "Your password has been reset!"
}

Atributos

  • name string opcional max: 64 app_translations's name exists
  • lang string opcional max: 32
  • value string opcional nullable

Eliminar AppTranslation

URI Cabeceras
DELETE /app-translations/{appTranslation} Auth

Enlaces de AppTranslation