Pre-deploy gate

Runs the SSL and HTTP checks against a deployed URL and answers pass or fail per check, for failing a CI build.

get/api/util/gate

Request

  • Base URL: https://dechonet.com
  • URL: https://dechonet.com/api/util/gate
  • Auth: one of:
    • none
    • HTTP bearer

Query parameters

urlstring required

Deployed URL (https:// is assumed when the scheme is missing).

min_ssl'A+' | 'A' | 'B' | 'C' | 'D' | 'E' | 'F'

Lowest acceptable SSL grade.

min_headers'A+' | 'A' | 'B' | 'C' | 'D' | 'E' | 'F'

Lowest acceptable security-header grade.

min_daysinteger

Fewest days the certificate must still be valid (0–365).

require_https'0' | '1'

Set 0 to allow a site that does not redirect to HTTPS.

lang'en' | 'ko'

Language of the interpretation text.

Response

Result

okboolean required
requestIdstring required
cachedboolean required

True when a recent stored result was returned.

updatedAtstring date-time nullable

When the result was produced.

dataunknown required
previousSnapshotobject

The previous stored result for the same target, when there is one.

Changes

No recorded changes to this operation across all 1 revision of this API.