Package


Modelo Package

{
    "id": 1,
    "name": "Autem sit amet quaerat numquam.",
    "slug": "autem-sit-amet-quaerat-numquam",
    "creator_id": 1,
    "created_at": "2023-01-30T19:05:24.000000Z",
    "updated_at": "2023-01-30T19:05:24.000000Z"
}

Insertar Package

URI Cabeceras
POST /packages Auth

Carga Ăștil

{
    "name": "Autem sit amet quaerat numquam.",
    "talent_ids": [
        1111,
        2222,
        3333
    ]
}

Atributos

  • name string obligatorio max: 32
  • talent_ids array obligatorio min: 1
    • * integer obligatorio talents's id exists

Listar Package

URI Cabeceras
GET /packages Auth

Atributos

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

Mostrar Package

URI Cabeceras
GET /packages/{slug} Auth

Eliminar Package

URI Cabeceras
DELETE /packages/{package} Auth

Enlaces de Package