OpenAPI Spec Request

I would love to have an OpenAPI Spec available for both the local API and the InControl 2 API.

4 Likes

https://www.peplink.com/?s=api

https://www.peplink.com/?s=8.4.1+api

I specifically would like the yaml or json file, so it can be used to generate a client.

1 Like

@Eddy_Yeung / @sitloongs ,

@Andrew_Fitzpatrick Bring up an interesting request is there an endpoint for all methods that can be used to dynamically build a client for all methods?

I don’t understand the question.

If an OpenAPI spec was released, developers could use something like NSwag to generate a client automatically.

I will also add, that it looks like the InControl 2 API documentation is built with a swagger-like interface, so it shouldn’t be a lot of work to release that to the public.

+1 on this, we would also like to generate a client from the OpenAPI Specification like @Andrew_Fitzpatrick

1 Like

If there was any way to expose the API schema as a JSON that would be awesome for our team as well!