TameMyCerts.REST
TameMyCerts.REST copied to clipboard
Just a few questions and enhancements for your REST API
This is a very clean API. Good job! Just a few thoughts from my side:
-
In general it could be an idea to pass information for encodings via header, not query parameter. This could be done via
Content-Type
- andAccept
-Headers. Maybe a custom type should be added. -
requestAttributes: https://github.com/Sleepw4lker/TameMyCerts.REST/blob/7c13c429bce37d316b0764dd300a3140d3f79478/TameMyCerts.REST.xml#L42 As a user I've no clue which optional attributes are allowed.
-
TimeSpan: https://github.com/Sleepw4lker/TameMyCerts.REST/blob/7c13c429bce37d316b0764dd300a3140d3f79478/TameMyCerts.REST.xml#L837 In Swagger-UI this is rendered as
TimeSpan
. This is implementation specific. At level of API this should be a date formatted as ISO 8601 or similar. -
What's the difference between a certificate authority certificate and it's exchange certificate?