Skip to main content

List Ingresses compatible with a certificate

POST /v2/actions/list-ingresses-compatible-with-certificate/
v2
POST
ingress-list-ingresses-compatible-with-certificate

List Ingresses in a Project compatible with a certificate.

Request

Responses

application/json

OK

  • Array[
  • *object
    • dnsValidationErrorsarray of string (one of: ERROR_UNSPECIFIED, ERROR_QUAD_A, ERROR_NO_A_RECORD, ERROR_ACME_CERTIFICATE_REQUEST_DEADLINE_EXCEEDED)
      required

      A list of errors that occurred while validating the ingress's dns before requesting a certificate.

      • Array[
      • *string (one of: ERROR_UNSPECIFIED, ERROR_QUAD_A, ERROR_NO_A_RECORD, ERROR_ACME_CERTIFICATE_REQUEST_DEADLINE_EXCEEDED)
      • ]
  • hostnamestring (idn-hostname)
    required
  • idstring (uuid)
    required
  • ipsobject
    required
    • v4array of string (ipv4)
      required
      • Array[
      • *string (ipv4)
      • ]
  • isDefaultboolean
    required

    Whether this ingress is the default ingress or not. A default ingress is automatically created, it cannot be deleted. There can be only one default ingress per project.

  • isDomainboolean
  • isEnabledboolean
    required
  • ownershipobject
    required
    • txtRecordstring
    • verifiedboolean
      required

      Whether the domain ownership is verified or not.

  • pathsarray of object
    required

    A list of paths. The default path / is always present and cannot be removed.

    • Array[
    • *object
      • pathstring
        required
      • targetone of 5 alternatives
        required
    • ]
  • projectIdstring (uuid)
    required
  • tlsone of 2 alternatives
    required
  • ]

    Usage examples

    $ curl \
    --fail \
    --location \
    -X POST \
    -d '{"certificate":"string","projectId":"f0f86186-0a5a-45b2-aa33-502777496347"}' \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    -H 'Content-Type: application/json' \
    https://api.mittwald.de/v2/actions/list-ingresses-compatible-with-certificate