TinyCert REST API
tinycert.org
tinycert.org
I've had a quick go at redesigning it to be more restful. Not perfect, but better i think. Would like to hear others opinion.
/sessions [POST|DELETE]: Open|Close a API session
Certificate Authority management
/cas [GET]: Get a list of all CAs in your account
/cas/{caId} [GET]: Get further details on a given CA
/cas/{caId}/cert [GET]: Download the CA's certificate
/cas/{caId} [DELETE]: Delete a given CA
/cas [POST]: Create a new CA
Certificate management
/cas/{caId}/certs [GET]: Get a list of all certificates for a given CA
/cas/{caId}/certs/{certId}/details [GET]: Get further details on a given certificate
/cas/{caId}/certs/{certId} [GET]: Download the certificate
/cas/{caId}/certs/{certId}/sigreqs [POST]: signing request
/cas/{caId}/certs/{certId}/private-key [GET]: private key for a certificate
/cas/{caId}/certs/{certId} [put]: Re-issue an existing certificate
/cas/{caId}/certs/{certId}/status [put]: Change certificate status
/cas/{caId}/certs [POST]: Create a new certificate
Absolutely mandatory comment on each REST API discussion!
I tried to be constructive at the same time though
As it stands, it is a bit of a hybrid.
Your version (which is similar to what I had considered, actually) would be relatively easy to map onto the backend. I'll bear this in mind for a future revision. No promises, though.
Give me a week and poke an email to spider@aanstoot.se and I'll see about giving preliminary access.