Skip to content

pluget/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

rest-api

Pluget REST-API

Specification

The spefication is developed in the openapi format and can be found inside the pluget.yaml file. You can also edit it more conveniently over an GUI by uploading it to https://mermade.github.io/openapi-gui/#.

Client libraries

You can generate a fully featured client library for basically any programming language with the help of openapi-generator. Its easy as well, like shown below (generates C#/csharp client library):

  1. Download the openapi-generator-cli.jar from here.
  2. Execute this command: java -jar openapi-generator-cli.jar generate -i https://raw.githubusercontent.com/pluget/rest-api/main/pluget.yaml -g csharp -o pluget-client/csharp (for all supported languages see here).
  3. Copy the generated code into your project.

Design (API endpoints)

  • Description: The main url to access the REST-API.

/all

/names

/data

/versions

/find

Contributing

Contributors are welcome, please fork and send pull requests! If you find a bug or have any ideas on how to improve this project please submit an issue.