Switch API is the primary endpoint of data sevices and Switch DB's platform. You can do adding, editing, deleting or listing data works to your database with query operations by using this low-level API based on HTTP.
This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.
- API version: 1.2.1
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.GoClientCodegen
Put the package under your project folder and add the following in import:
"./swagger"
All URIs are relative to http://tr02.switchapi.com/
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AuthorizationApi | TokenGet | Get /Token | Generate Access Token |
| DBOperationsApi | AddPost | Post /Add | Add is used for adding a data object to the list created at Switch DB. |
| DBOperationsApi | ListPost | Post /List | It's used for listing a data added before. |
| DBOperationsApi | SetDelete | Delete /Set | It's used for deleting a data added before at Switch DB. |
| DBOperationsApi | SetPost | Post /Set | It's used for updating a data object that is already added to Switch DB. |
- Mert Sarac - Initial work