Skip to content

Commit b1f3d4d

Browse files
Update Redis Enterprise API specification (#2836)
Co-authored-by: redis-enterprise-doc-sync[bot] <246451900+redis-enterprise-doc-sync[bot]@users.noreply.github.com>
1 parent c98a2d9 commit b1f3d4d

File tree

1 file changed

+64
-0
lines changed
  • content/operate/rs/references/rest-api/api-reference

1 file changed

+64
-0
lines changed

content/operate/rs/references/rest-api/api-reference/openapi.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,36 @@
688688
],
689689
"type": "object"
690690
},
691+
"OcspStatus": {
692+
"description": "OCSP status",
693+
"properties": {
694+
"cert_status": {
695+
"description": "Indicates the proxy certificate status: GOOD/REVOKED/UNKNOWN.",
696+
"type": "string"
697+
},
698+
"next_update": {
699+
"description": "The time at or before which newer information will be available about the status of the certificate (if available)",
700+
"type": "string"
701+
},
702+
"produced_at": {
703+
"description": "The time at which the OCSP responder signed this response.",
704+
"type": "string"
705+
},
706+
"responder_url": {
707+
"description": "The OCSP responder url from which this status came from.",
708+
"type": "string"
709+
},
710+
"revocation_time": {
711+
"description": "The time at which the certificate was revoked or placed on hold.",
712+
"type": "string"
713+
},
714+
"this_update": {
715+
"description": "The most recent time at which the status being indicated is known by the responder to have been correct.",
716+
"type": "string"
717+
}
718+
},
719+
"type": "object"
720+
},
691721
"PasswordHashMethod": {
692722
"description": "Used when password is passed pre-hashed",
693723
"enum": [
@@ -1794,6 +1824,40 @@
17941824
"x-stability-level": "stable"
17951825
}
17961826
},
1827+
"/v1/ocsp/status": {
1828+
"get": {
1829+
"description": "Get the latest OCSP status for the cluster",
1830+
"operationId": "cluster_get_ocsp_status",
1831+
"responses": {
1832+
"200": {
1833+
"content": {
1834+
"application/json": {
1835+
"schema": {
1836+
"$ref": "#/components/schemas/OcspStatus"
1837+
}
1838+
}
1839+
},
1840+
"description": "OCSP status"
1841+
},
1842+
"500": {
1843+
"$ref": "#/components/responses/cluster_InternalServerError"
1844+
}
1845+
},
1846+
"security": [
1847+
{
1848+
"Auth": [
1849+
"view_ocsp_status"
1850+
]
1851+
}
1852+
],
1853+
"summary": "Get OCSP status",
1854+
"tags": [
1855+
"Cluster"
1856+
],
1857+
"x-publish-docs": true,
1858+
"x-stability-level": "stable"
1859+
}
1860+
},
17971861
"/v1/redis_acls": {
17981862
"get": {
17991863
"description": "Get all Redis ACLs in the cluster",

0 commit comments

Comments
 (0)