ContactRequest
Solicitud de Contacto.
Modelo ContactRequest
{
"id": 1,
"name": "Elroy Corwin",
"email": "lucienne.will@considine.org",
"content": "Itaque ab ratione est asperiores adipisci asperiores facere iste. Id libero aut ut. Exercitationem sunt iure in vel repudiandae doloribus error. Sequi veritatis sequi voluptatem.",
"created_at": "2022-11-21T01:34:36.000000Z",
"updated_at": "2022-11-21T01:34:36.000000Z",
"deleted_at": null
}
Insertar ContactRequest
URI |
Cabeceras |
POST /contact-requests |
Guest |
Carga Ăștil
{
"name": "Elroy Corwin",
"email": "lucienne.will@considine.org",
"content": "Itaque ab ratione est asperiores adipisci asperiores facere iste. Id libero aut ut. Exercitationem sunt iure in vel repudiandae doloribus error. Sequi veritatis sequi voluptatem."
}
Atributos
-
name
string
obligatorio
min: 2
max: 255
-
email
string
obligatorio
email
-
content
string
obligatorio
min: 8
max: 4096
Listar ContactRequest
URI |
Cabeceras |
GET /contact-requests |
Auth |
Atributos
-
per_page
integer
opcional
min: 1
max: 60
-
page
integer
opcional
min: 1
Mostrar ContactRequest
URI |
Cabeceras |
GET /contact-requests/{contactRequest} |
Auth |
Actualizar ContactRequest
URI |
Cabeceras |
PATCH /contact-requests/{contactRequest} |
Auth |
Carga Ăștil
{
"name": "Elroy Corwin",
"email": "lucienne.will@considine.org",
"content": "Itaque ab ratione est asperiores adipisci asperiores facere iste. Id libero aut ut. Exercitationem sunt iure in vel repudiandae doloribus error. Sequi veritatis sequi voluptatem."
}
Atributos
-
name
string
opcional
min: 2
max: 255
-
email
string
opcional
email
max: 255
-
content
string
opcional
min: 8
max: 4096
Eliminar ContactRequest
URI |
Cabeceras |
DELETE /contact-requests/{contactRequest} |
Auth |
Enlaces de ContactRequest