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}

オペレーション ID organizations.organizationId.authorities.authorityId.acme.orders.orderId.authorizations.identifierIndex.post
アクセス 全員

パラメータ

名前場所型説明
organizationId パス 必須 string (snowflake) The organization.
authorityId パス 必須 string (snowflake) The authority.
orderId パス 必須 string (snowflake) The order.
identifierIndex パス 必須 integer (int32) The identifier's place in the order, from 0.

リクエストボディ

必須(application/jose+json として送信)。

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

スキーマ: AcmeJwsBody

プロパティ型説明
protected string 必須 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 必須 The request's payload, base64url-encoded JSON; empty for a POST-as-GET.
signature string 必須 The signature over the protected header and the payload, base64url-encoded, made with the account's key.

レスポンス

ステータス説明スキーマコンテンツタイプ
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
その他のステータス 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.

プロパティ型説明
identifier AcmeIdentifier 必須 The name authorized: the order's identifier, or for a wildcard its base domain, without the *. label.
status string 必須 Always valid, as the binding's names were authorized ahead.
expires string 必須 When the authorization ends, the same time its order expires, as an RFC 3339 time in UTC.
challenges list of string 必須 None: the binding authorized the names ahead.
wildcard boolean 必須 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.

プロパティ型説明
type string 必須 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 必須 The HTTP status as text, such as Not Found.
status integer (int32) 必須 The HTTP status code of the response.
detail string 必須 An explanation of what went wrong, written for people to read.
instance string 必須 The path the request was sent to.

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

プロパティ型説明
type string 必須 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 必須 The HTTP status as text, such as Not Found.
status integer (int32) 必須 The HTTP status code of the response.
detail string 必須 An explanation of what went wrong, written for people to read.
instance string 必須 The path the request was sent to.

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

プロパティ型説明
type string 必須 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 必須 The HTTP status as text, such as Not Found.
status integer (int32) 必須 The HTTP status code of the response.
detail string 必須 An explanation of what went wrong, written for people to read.
instance string 必須 The path the request was sent to.

422 The input was rejected; errors names each failure.

プロパティ型説明
type string 必須 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 必須 The HTTP status as text, such as Not Found.
status integer (int32) 必須 The HTTP status code of the response.
detail string 必須 An explanation of what went wrong, written for people to read.
instance string 必須 The path the request was sent to.
errors InputErrors 必須 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.

プロパティ型説明
type string 必須 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 必須 The HTTP status as text, such as Not Found.
status integer (int32) 必須 The HTTP status code of the response.
detail string 必須 An explanation of what went wrong, written for people to read.
instance string 必須 The path the request was sent to.

その他のステータス: The request was refused. The problem's type names why, and its detail explains it for people to read.

プロパティ型説明
type string 必須 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 必須 The HTTP status as text, such as Not Found.
status integer (int32) 必須 The HTTP status code of the response.
detail string 必須 An explanation of what went wrong, written for people to read.
instance string 必須 The path the request was sent to.

例

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>"
}'

すべてのドキュメント

0件のデータベースステートメント · キャッシュからの読み取り 14件 · データベース待機時間 0.0 ms · ピークメモリ 26.0 MiB
public.settingsSELECTキャッシュから
public.mesh_nodesSELECTキャッシュから
public.fqdnsSELECTキャッシュから
public.sitesSELECTキャッシュから
public.api_buildsSELECTキャッシュから
public.docs_guidesSELECTキャッシュから
public.filesSELECTキャッシュから
public.filesSELECTキャッシュから
public.filesSELECTキャッシュから
public.filesSELECTキャッシュから
public.filesSELECTキャッシュから
public.filesSELECTキャッシュから
public.api_buildsSELECTキャッシュから
public.docs_guidesSELECTキャッシュから