Talent
Representa un Talento, quien realiza los trabajos de Booking.
Modelo Talent
{
"id": 1,
"email": "admin@admin.com",
"first_name": "John",
"last_name": "Doe",
"phone": null,
"profile_photo_url": "https://www.gravatar.com/avatar/64e1b8d34f425d19e1ee2ea7236d3028.jpg?d=wavatar&s=256",
"born_at": "2000-11-28",
"gender": "male",
"created_at": "2022-11-17T03:52:23.000000Z",
"updated_at": "2022-11-19T16:19:22.000000Z",
"deleted_at": null,
"job_title": null,
"biography": null,
"experience": null,
"interests": null,
"location": "Cumaná, Venezuela",
"in_order": null,
"is_visible": 1
}
Insertar Talent
URI |
Cabeceras |
POST /talents |
Auth |
Carga útil
{
"email": "admin@admin.com",
"first_name": "John",
"last_name": "Doe",
"phone": null,
"born_at": "2000-11-28",
"gender": "male",
"job_title": null,
"biography": null,
"experience": null,
"interests": null,
"location": "Cumaná, Venezuela",
"in_order": null,
"is_visible": 1,
"password": "MyStringValue",
"links": {
"facebook": "MyStringValue",
"instagram": "MyStringValue",
"twitter": "MyStringValue",
"website": "MyStringValue"
},
"profile": {
"complexion:eye_color": "MyStringValue",
"complexion:hair_color": "MyStringValue",
"complexion:hair_style": "MyStringValue",
"measurement:height": 123,
"measurement:waist_size": 123,
"measurement:shoe_size": 123,
"measurement:leg_length": 123,
"measurement:chest_size": 123,
"measurement:suit_size": 123,
"measurement:bust_size": 123,
"measurement:hip_size": 123
}
}
Atributos
Listar Talent
URI |
Cabeceras |
GET /talents |
Guest |
Carga útil
{
"gender": "male",
"location": "Cumaná, Venezuela",
"per_page": 123,
"page": 123,
"sort_by": "MyStringValue",
"search": "MyStringValue",
"profile": [],
"category_id": "MyStringValue"
}
Atributos
-
per_page
integer
opcional
min: 1
max: 60
-
page
integer
opcional
min: 1
-
sort_by
string
opcional
max: 80
-
search
string
opcional
nullable
max: 64
-
location
string
opcional
nullable
max: 64
-
gender
string
opcional
nullable
"male"
"female"
"other"
choice
-
profile
string
opcional
nullable
-
category_id
string
opcional
nullable
Listar All Talent
URI |
Cabeceras |
GET /talents/all |
Guest |
Carga útil
{
"gender": "male",
"location": "Cumaná, Venezuela",
"per_page": 123,
"page": 123,
"sort_by": "MyStringValue",
"search": "MyStringValue",
"profile": [],
"category_id": "MyStringValue"
}
Atributos
-
per_page
integer
opcional
min: 1
max: 60
-
page
integer
opcional
min: 1
-
sort_by
string
opcional
max: 80
-
search
string
opcional
nullable
max: 64
-
location
string
opcional
nullable
max: 64
-
gender
string
opcional
nullable
"male"
"female"
"other"
choice
-
profile
string
opcional
nullable
-
category_id
string
opcional
nullable
Listar Talent de Category
URI |
Cabeceras |
GET /categories/{category}/talents |
Guest |
Mostrar Talent
Mostrar Me Talent
URI |
Cabeceras |
GET /talents/me |
Auth |
Mostrar Talent
URI |
Cabeceras |
GET /talents/{talentId} |
Guest |
Actualizar Talent
Actualizar Update Talent
URI |
Cabeceras |
PATCH /talents/{talent}/update |
Auth |
Carga útil
{
"email": "admin@admin.com",
"first_name": "John",
"last_name": "Doe",
"phone": null,
"born_at": "2000-11-28",
"gender": "male",
"job_title": null,
"biography": null,
"experience": null,
"interests": null,
"location": "Cumaná, Venezuela",
"in_order": null,
"is_visible": 1,
"links": {
"facebook": "MyStringValue",
"instagram": "MyStringValue",
"twitter": "MyStringValue",
"website": "MyStringValue"
},
"profile": {
"complexion:eye_color": "MyStringValue",
"complexion:hair_color": "MyStringValue",
"complexion:hair_style": "MyStringValue",
"measurement:height": 123,
"measurement:waist_size": 123,
"measurement:shoe_size": 123,
"measurement:leg_length": 123,
"measurement:chest_size": 123,
"measurement:suit_size": 123,
"measurement:bust_size": 123,
"measurement:hip_size": 123
}
}
Atributos
-
in_order
integer
opcional
nullable
min: 0
-
email
string
opcional
email
max: 255
-
first_name
string
opcional
nullable
max: 255
-
last_name
string
opcional
nullable
max: 255
-
phone
string
opcional
nullable
max: 255
-
born_at
string
opcional
nullable
date
lower than now
-
gender
string
opcional
nullable
"male"
"female"
"other"
choice
-
location
string
opcional
nullable
max: 160
-
job_title
string
opcional
nullable
max: 64
-
biography
string
opcional
nullable
max: 10240
-
experience
string
opcional
nullable
max: 10240
-
interests
string
opcional
nullable
max: 4096
-
is_visible
boolean
opcional
-
links
object
opcional
-
facebook
string
opcional
nullable
url
max: 255
-
instagram
string
opcional
nullable
url
max: 255
-
twitter
string
opcional
nullable
url
max: 255
-
website
string
opcional
nullable
url
max: 255
-
profile
object
opcional
-
complexion:eye_color
string
opcional
nullable
max: 255
-
complexion:hair_color
string
opcional
nullable
max: 255
-
complexion:hair_style
string
opcional
nullable
max: 255
-
measurement:height
integer
opcional
nullable
-
measurement:waist_size
integer
opcional
nullable
-
measurement:shoe_size
integer
opcional
nullable
-
measurement:leg_length
integer
opcional
nullable
-
measurement:chest_size
integer
opcional
nullable
-
measurement:suit_size
integer
opcional
nullable
-
measurement:bust_size
integer
opcional
nullable
-
measurement:hip_size
integer
opcional
nullable
Actualizar Update Talent
URI |
Cabeceras |
POST /talents/{talent}/update |
Auth |
Carga útil
{
"email": "admin@admin.com",
"first_name": "John",
"last_name": "Doe",
"phone": null,
"born_at": "2000-11-28",
"gender": "male",
"job_title": null,
"biography": null,
"experience": null,
"interests": null,
"location": "Cumaná, Venezuela",
"in_order": null,
"is_visible": 1,
"links": {
"facebook": "MyStringValue",
"instagram": "MyStringValue",
"twitter": "MyStringValue",
"website": "MyStringValue"
},
"profile": {
"complexion:eye_color": "MyStringValue",
"complexion:hair_color": "MyStringValue",
"complexion:hair_style": "MyStringValue",
"measurement:height": 123,
"measurement:waist_size": 123,
"measurement:shoe_size": 123,
"measurement:leg_length": 123,
"measurement:chest_size": 123,
"measurement:suit_size": 123,
"measurement:bust_size": 123,
"measurement:hip_size": 123
}
}
Atributos
-
in_order
integer
opcional
nullable
min: 0
-
email
string
opcional
email
max: 255
-
first_name
string
opcional
nullable
max: 255
-
last_name
string
opcional
nullable
max: 255
-
phone
string
opcional
nullable
max: 255
-
born_at
string
opcional
nullable
date
lower than now
-
gender
string
opcional
nullable
"male"
"female"
"other"
choice
-
location
string
opcional
nullable
max: 160
-
job_title
string
opcional
nullable
max: 64
-
biography
string
opcional
nullable
max: 10240
-
experience
string
opcional
nullable
max: 10240
-
interests
string
opcional
nullable
max: 4096
-
is_visible
boolean
opcional
-
links
object
opcional
-
facebook
string
opcional
nullable
url
max: 255
-
instagram
string
opcional
nullable
url
max: 255
-
twitter
string
opcional
nullable
url
max: 255
-
website
string
opcional
nullable
url
max: 255
-
profile
object
opcional
-
complexion:eye_color
string
opcional
nullable
max: 255
-
complexion:hair_color
string
opcional
nullable
max: 255
-
complexion:hair_style
string
opcional
nullable
max: 255
-
measurement:height
integer
opcional
nullable
-
measurement:waist_size
integer
opcional
nullable
-
measurement:shoe_size
integer
opcional
nullable
-
measurement:leg_length
integer
opcional
nullable
-
measurement:chest_size
integer
opcional
nullable
-
measurement:suit_size
integer
opcional
nullable
-
measurement:bust_size
integer
opcional
nullable
-
measurement:hip_size
integer
opcional
nullable
Sincronizar Talent
Sincronizar Talent de Category
URI |
Cabeceras |
PUT /categories/{category}/talents |
Auth |
Atributos
-
sync
array
opcional
Vincula los items que no estaban vinculados y desvinculas aquellos que no están presentes.
Como resultado de la operación, quedan vinculados exactamente los items especificados.
-
*
integer
obligatorio
distinct values
-
attach
array
opcional
prohibits sync
Vincula los items especificados. Si ya estaba vinculado, entonces es omitido.
-
*
integer
obligatorio
distinct values
-
detach
array
opcional
prohibits sync
Desvincula los items especificados. Si no se encontraba vinculado, entonces es omitido.
-
*
integer
obligatorio
distinct values
Eliminar Talent
URI |
Cabeceras |
DELETE /talents/{talent} |
Auth |
Acciones de Talent
Sort
URI |
Cabeceras |
POST /talents/sort |
Auth |
Atributos
Upload Profile Photo
URI |
Cabeceras |
POST /talents/{talent}/upload-profile-photo |
Auth |
Atributos
-
image
file
opcional
nullable
image
"jpeg"
"png"
Upload Profile Photo
URI |
Cabeceras |
POST /talents/{talent}/upload-profile-photo |
Auth |
Atributos
-
image
file
opcional
nullable
image
"jpeg"
"png"
Resume
URI |
Cabeceras |
GET /talents/{talent}/resume |
Auth |
Enlaces de Talent