Send us a message.

POST /contact

POST https://dev.zankms.com/contact

ID de operación contact.post
Acceso Signed in through ZanAuth: the access token cookie, with its ID token and refresh token companions. O: An access token the site's ZanAuth issuer minted for its app, or a static key. O: Cualquiera, con o sin sesión iniciada

Parámetros

NombreEnTipoDescripción
ZanPolice-Work Encabezado Opcional string The answer to the work a 428 asked for: the challenge as it came, a colon, and the nonce that solves each sub-puzzle, joined by commas.

Cuerpo de la solicitud

Obligatorio, enviado como application/x-www-form-urlencoded, application/json.

Esquema: ContactMessageBody

PropiedadTipoDescripción
messages_name string Obligatorio Your name, so we know who we're writing back to.
messages_email string (email) Obligatorio Where we answer you.
messages_message string Obligatorio What you'd like to ask or tell us.

Respuestas

EstadoDescripciónEsquemaTipo de contenido
201 Sent. We respond within 1–2 business days. SentMessageAnswer application/json
422 The input was rejected; errors names each failure. ValidationProblem application/json
428 Served once the request carries the work its challenge asks for: send it again with the answer in the header the challenge names. WorkRequiredProblem application/json
Cualquier otro estado The request was refused. The problem's type names why, and its detail explains it for people to read. Problem application/json

201 Sent. We respond within 1–2 business days.

PropiedadTipoDescripción
messages_id string (snowflake) Obligatorio The id we gave your message.
messages_created_at integer (int64) Obligatorio When the message arrived, in milliseconds since the Unix epoch.

422 The input was rejected; errors names each failure.

PropiedadTipoDescripción
type string Obligatorio A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obligatorio The HTTP status as text, such as Not Found.
status integer (int32) Obligatorio The HTTP status code of the response.
detail string Obligatorio An explanation of what went wrong, written for people to read.
instance string Obligatorio The path the request was sent to.
errors InputErrors Obligatorio What is wrong with each refused value. Parameters come as a list, and body errors as a tree shaped like the body.

428 Served once the request carries the work its challenge asks for: send it again with the answer in the header the challenge names.

PropiedadTipoDescripción
type string Obligatorio A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obligatorio The HTTP status as text, such as Not Found.
status integer (int32) Obligatorio The HTTP status code of the response.
detail string Obligatorio An explanation of what went wrong, written for people to read.
instance string Obligatorio The path the request was sent to.
work WorkChallenge Obligatorio The work to do. For each sub-puzzle i, find the smallest nonce n whose Argon2id hash of "<challenge>:<i>:<n>" (version 0x13, parallelism 1, with the salt) starts with as many zero bits as bits gives.

Cualquier otro estado: The request was refused. The problem's type names why, and its detail explains it for people to read.

PropiedadTipoDescripción
type string Obligatorio A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Obligatorio The HTTP status as text, such as Not Found.
status integer (int32) Obligatorio The HTTP status code of the response.
detail string Obligatorio An explanation of what went wrong, written for people to read.
instance string Obligatorio The path the request was sent to.

Ejemplo

curl -X POST 'https://dev.zankms.com/contact' \
  -H 'Content-Type: application/json' \
  -d '{
    "messages_name": "<string>",
    "messages_email": "<string (email)>",
    "messages_message": "<string>"
}'

Toda la documentación

2 sentencias de base de datos · 14 lecturas de la caché · 1.0 ms esperando a la base de datos · 30,0 MiB de memoria pico
public.settingsSELECTde la caché
public.mesh_nodesSELECTde la caché
public.fqdnsSELECTde la caché
public.sitesSELECTde la caché
public.api_buildsSELECTde la caché
public.docs_guidesSELECTde la caché
public.filesSELECTde la caché
public.filesSELECTde la caché
public.filesSELECTde la caché
public.filesSELECTde la caché
public.filesSELECTde la caché
public.filesSELECTde la caché
public.localized_textsSELECT0.7 ms
public.localized_text_valuesSELECT0.3 ms
public.api_buildsSELECTde la caché
public.docs_guidesSELECTde la caché