The authorization of one of an order's identifiers.

POST /organizations/{organizationId}/authorities/{authorityId}/acme/orders/{orderId}/authorizations/{identifierIndex}

POST https://dev.zanpki.com/organizations/{organizationId}/authorities/{authorityId}/acme/orders/{orderId}/authorizations/{identifierIndex}

Operations-ID organizations.organizationId.authorities.authorityId.acme.orders.orderId.authorizations.identifierIndex.post
Zugriff Jeder

Parameter

NameInTypBeschreibung
organizationId Pfad Erforderlich string (snowflake) The organization.
authorityId Pfad Erforderlich string (snowflake) The authority.
orderId Pfad Erforderlich string (snowflake) The order.
identifierIndex Pfad Erforderlich integer (int32) The identifier's place in the order, from 0.

Anfragetext

Erforderlich, gesendet als application/jose+json.

A JWS in its flattened JSON form, signed by the account (or, opening one, by its new key).

Schema: AcmeJwsBody

EigenschaftTypBeschreibung
protected string Erforderlich The JWS protected header, base64url-encoded JSON: its alg (ES256, RS256 or EdDSA), nonce and url, and either the account key as jwk, for a new account, or the account's URL as kid.
payload string Erforderlich The request's payload, base64url-encoded JSON; empty for a POST-as-GET.
signature string Erforderlich The signature over the protected header and the payload, base64url-encoded, made with the account's key.

Antworten

StatusBeschreibungSchemaInhaltstyp
200 The authorization: valid already. AcmeAuthorizationObject application/json
400 An ACME error: its type is an urn:ietf:params:acme:error URN. Problem application/json
403 An ACME error: its type is an urn:ietf:params:acme:error URN. Problem application/json
404 An ACME error: its type is an urn:ietf:params:acme:error URN. Problem application/json
422 The input was rejected; errors names each failure. ValidationProblem application/json
503 An ACME error: its type is an urn:ietf:params:acme:error URN. Problem application/json
Jeder andere Status The request was refused. The problem's type names why, and its detail explains it for people to read. Problem application/json

200 The authorization: valid already.

EigenschaftTypBeschreibung
identifier AcmeIdentifier Erforderlich The name authorized: the order's identifier, or for a wildcard its base domain, without the *. label.
status string Erforderlich Always valid, as the binding's names were authorized ahead.
expires string Erforderlich When the authorization ends, the same time its order expires, as an RFC 3339 time in UTC.
challenges list of string Erforderlich None: the binding authorized the names ahead.
wildcard boolean Erforderlich Whether the order's identifier is a wildcard, such as *.example.com, whose base domain identifier names.

400 An ACME error: its type is an urn:ietf:params:acme:error URN.

EigenschaftTypBeschreibung
type string Erforderlich 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 Erforderlich The HTTP status as text, such as Not Found.
status integer (int32) Erforderlich The HTTP status code of the response.
detail string Erforderlich An explanation of what went wrong, written for people to read.
instance string Erforderlich The path the request was sent to.

403 An ACME error: its type is an urn:ietf:params:acme:error URN.

EigenschaftTypBeschreibung
type string Erforderlich 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 Erforderlich The HTTP status as text, such as Not Found.
status integer (int32) Erforderlich The HTTP status code of the response.
detail string Erforderlich An explanation of what went wrong, written for people to read.
instance string Erforderlich The path the request was sent to.

404 An ACME error: its type is an urn:ietf:params:acme:error URN.

EigenschaftTypBeschreibung
type string Erforderlich 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 Erforderlich The HTTP status as text, such as Not Found.
status integer (int32) Erforderlich The HTTP status code of the response.
detail string Erforderlich An explanation of what went wrong, written for people to read.
instance string Erforderlich The path the request was sent to.

422 The input was rejected; errors names each failure.

EigenschaftTypBeschreibung
type string Erforderlich 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 Erforderlich The HTTP status as text, such as Not Found.
status integer (int32) Erforderlich The HTTP status code of the response.
detail string Erforderlich An explanation of what went wrong, written for people to read.
instance string Erforderlich The path the request was sent to.
errors InputErrors Erforderlich What is wrong with each refused value. Parameters come as a list, and body errors as a tree shaped like the body.

503 An ACME error: its type is an urn:ietf:params:acme:error URN.

EigenschaftTypBeschreibung
type string Erforderlich 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 Erforderlich The HTTP status as text, such as Not Found.
status integer (int32) Erforderlich The HTTP status code of the response.
detail string Erforderlich An explanation of what went wrong, written for people to read.
instance string Erforderlich The path the request was sent to.

Jeder andere Status: The request was refused. The problem's type names why, and its detail explains it for people to read.

EigenschaftTypBeschreibung
type string Erforderlich 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 Erforderlich The HTTP status as text, such as Not Found.
status integer (int32) Erforderlich The HTTP status code of the response.
detail string Erforderlich An explanation of what went wrong, written for people to read.
instance string Erforderlich The path the request was sent to.

Beispiel

curl -X POST 'https://dev.zanpki.com/organizations/{organizationId}/authorities/{authorityId}/acme/orders/{orderId}/authorizations/{identifierIndex}' \
  -H 'Content-Type: application/jose+json' \
  -d '{
    "protected": "<string>",
    "payload": "<string>",
    "signature": "<string>"
}'

Gesamte Dokumentation

0 Datenbankabfragen · 14 Lesezugriffe aus dem Cache · 0.0 ms Wartezeit auf die Datenbank · 26,0 MiB Spitzenspeicher
public.settingsSELECTaus dem Cache
public.mesh_nodesSELECTaus dem Cache
public.fqdnsSELECTaus dem Cache
public.sitesSELECTaus dem Cache
public.api_buildsSELECTaus dem Cache
public.docs_guidesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.api_buildsSELECTaus dem Cache
public.docs_guidesSELECTaus dem Cache