TalentPhoto
Entrada de la galería de los Talents.
Modelo TalentPhoto
{
"id": 1,
"talent_id": 1,
"image_url": "https://www.gravatar.com/avatar/64e1b8d34f425d19e1ee2ea7236d3028.jpg",
"created_at": "2022-11-20T00:33:48.000000Z",
"updated_at": "2022-11-20T00:34:09.000000Z",
"deleted_at": null
}
Insertar TalentPhoto
URI |
Cabeceras |
POST /talent-photos |
Auth |
Carga útil
{
"talent_id": 1,
"image": "{file}"
}
Atributos
-
talent_id
integer
obligatorio
talents's id exists
-
image
file
obligatorio
image
"jpeg"
"png"
Listar TalentPhoto
Listar TalentPhoto de Talent
URI |
Cabeceras |
GET /talents/{talent}/talent-photos |
Guest |
Atributos
-
per_page
integer
opcional
min: 1
max: 60
-
page
integer
opcional
min: 1
Listar Talent All
URI |
Cabeceras |
GET /talents/{talent}/talent-photos/all |
Guest |
Atributos
-
per_page
integer
opcional
min: 1
max: 60
-
page
integer
opcional
min: 1
Mostrar TalentPhoto
URI |
Cabeceras |
GET /talent-photos/{talentPhoto} |
Guest |
Eliminar TalentPhoto
URI |
Cabeceras |
DELETE /talent-photos/{talentPhoto} |
Auth |
Restaurar TalentPhoto
URI |
Cabeceras |
POST /talent-photos/{talentPhotoId}/restore |
Auth |
Enlaces de TalentPhoto