PKI Get Info REST API - dogtagpki/pki GitHub Wiki
PKI Get Info operation will return information about the PKI server.
-
Method:
GET
-
Path:
/pki/rest/info
-
Authentication: Not required
-
Content: None
-
Success code:
200
JSON
$ curl \ -k \ -s \ -H "Accept: application/json" \ https://localhost.localdomain:8443/pki/rest/info | python -m json.tool { "Attributes": { "Attribute": [] }, "Name": "Dogtag Certificate System", "Version": "11.0.0" }
XML
$ curl \ -k \ -s \ -H "Accept: application/xml" \ https://localhost.localdomain:8443/pki/rest/info | xmllint --format - <Info> <Attributes/> <Name>Dogtag Certificate System</Name> <Version>11.0.0</Version> </Info>