Hi Menaka,
DELETE is expecting alias in a query param and GET is expecting it to be
passed in a path param. I think modifying DELETE as DELETE
certidicates/{alias} and GET as GET certificate/{alias} is more Restful.
On Tue, Jul 10, 2018 at 12:09 PM Menaka Jayawardena <[email protected]> wrote:
> Hi,
>
> I'm working on implementing a REST API for the Dynamic Certificate
> Installation feature for API Manager. (User stories
> <https://docs.google.com/document/d/1wZfv3gTL65FT-Jzs9CBYcVoIRFFNvSBuIJg3BiC_7PU/edit?usp=sharing>
> )
>
> The current implementation only supports add, retrieve and delete
> certificate functions. For the REST API, the following additional functions
> will be added.
>
> 1. Update a certificate: Users can update an uploaded certificate.
> 2. Get certificate information: Retrieve the basic information of a
> certificate. i.e expiry date, etc.
>
> I have attached the swagger definition for the APIs herewith.
>
> Any suggestions, comments are highly appreciated.
>
> Thanks and Regards,
> Menaka
>
> --
>
> *Menaka Jayawardena*
> Senior Software Engineer
> WSO2 Inc.
>
> Phone : +94 71 350 5470
> LinkedIn : https://lk.linkedin.com/in/menakajayawardena
> Blog : https://menakamadushanka.wordpress.com/
>
>
--
Thanks & Regards,
*Fazlan Nazeem*
Senior Software Engineer
WSO2 Inc
Mobile : +94772338839
[email protected]
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture