Return the authority's ACME directory, which is the URL configured in ACME clients.
GET /organizations/{organizationId}/authorities/{authorityId}/acme/directory
GET https://zanpki.com/organizations/{organizationId}/authorities/{authorityId}/acme/directory
| Operation ID |
organizations.organizationId.authorities.authorityId.acme.directory.get
|
|---|---|
| Access | Anyone |
Parameters
| Name | In | Type | Description | |
|---|---|---|---|---|
organizationId
| Path | Required | string (snowflake) | Organization ID. |
authorityId
| Path | Required | string (snowflake) | Certificate authority ID. |
Responses
| Status | Description | Schema | Content type |
|---|---|---|---|
| 200 | ACME directory mapping resource names to their endpoint URLs. | AcmeDirectory | application/json |
| 400 | ACME problem response whose type is a URN under urn:ietf:params:acme:error. | Problem | application/json |
| 403 | ACME problem response whose type is a URN under urn:ietf:params:acme:error. | Problem | application/json |
| 404 | ACME problem response whose type is a URN under urn:ietf:params:acme:error. | Problem | application/json |
| 422 | The request input was rejected. The errors object lists each validation failure. | ValidationProblem | application/json |
| 429 | ACME problem response whose type is a URN under urn:ietf:params:acme:error. | Problem | application/json |
| 503 | ACME problem response whose type is a URN under urn:ietf:params:acme:error. | Problem | application/json |
| Any other status | The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation. | Problem | application/json |
200 ACME directory mapping resource names to their endpoint URLs.
| Property | Type | Description | |
|---|---|---|---|
newNonce
| string | Required | URL that returns a fresh nonce in the Replay-Nonce header for the next signed request. |
newAccount
| string | Required | URL for creating an ACME account using an External Account Binding generated for one of the organization's machines. |
newOrder
| string | Required | URL for ordering a certificate covering names allowed by the account's binding. |
revokeCert
| string | Required | URL for revoking a certificate issued under one of the account's orders. |
meta
| AcmeDirectoryMeta | Required | ACME server metadata, including the authority's website URL and whether External Account Binding is required. |
400 ACME problem response whose type is a URN under urn:ietf:params:acme:error.
| Property | Type | Description | |
|---|---|---|---|
type
| string | Required | 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 | Required | The HTTP status as text, such as Not Found. |
status
| integer (int32) | Required | The HTTP status code of the response. |
detail
| string | Required | A human-readable explanation of what went wrong. |
instance
| string | Required | The path the request was sent to. |
403 ACME problem response whose type is a URN under urn:ietf:params:acme:error.
| Property | Type | Description | |
|---|---|---|---|
type
| string | Required | 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 | Required | The HTTP status as text, such as Not Found. |
status
| integer (int32) | Required | The HTTP status code of the response. |
detail
| string | Required | A human-readable explanation of what went wrong. |
instance
| string | Required | The path the request was sent to. |
404 ACME problem response whose type is a URN under urn:ietf:params:acme:error.
| Property | Type | Description | |
|---|---|---|---|
type
| string | Required | 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 | Required | The HTTP status as text, such as Not Found. |
status
| integer (int32) | Required | The HTTP status code of the response. |
detail
| string | Required | A human-readable explanation of what went wrong. |
instance
| string | Required | The path the request was sent to. |
422 The request input was rejected. The errors object lists each validation failure.
| Property | Type | Description | |
|---|---|---|---|
type
| string | Required | 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 | Required | The HTTP status as text, such as Not Found. |
status
| integer (int32) | Required | The HTTP status code of the response. |
detail
| string | Required | A human-readable explanation of what went wrong. |
instance
| string | Required | The path the request was sent to. |
errors
| InputErrors | Required | Validation errors for each rejected value. Parameter errors are returned as a list, and body errors as a tree matching the request body structure. |
429 ACME problem response whose type is a URN under urn:ietf:params:acme:error.
| Property | Type | Description | |
|---|---|---|---|
type
| string | Required | 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 | Required | The HTTP status as text, such as Not Found. |
status
| integer (int32) | Required | The HTTP status code of the response. |
detail
| string | Required | A human-readable explanation of what went wrong. |
instance
| string | Required | The path the request was sent to. |
503 ACME problem response whose type is a URN under urn:ietf:params:acme:error.
| Property | Type | Description | |
|---|---|---|---|
type
| string | Required | 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 | Required | The HTTP status as text, such as Not Found. |
status
| integer (int32) | Required | The HTTP status code of the response. |
detail
| string | Required | A human-readable explanation of what went wrong. |
instance
| string | Required | The path the request was sent to. |
Any other status: The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation.
| Property | Type | Description | |
|---|---|---|---|
type
| string | Required | 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 | Required | The HTTP status as text, such as Not Found. |
status
| integer (int32) | Required | The HTTP status code of the response. |
detail
| string | Required | A human-readable explanation of what went wrong. |
instance
| string | Required | The path the request was sent to. |
Example
curl -X GET 'https://zanpki.com/organizations/{organizationId}/authorities/{authorityId}/acme/directory'