mirror of
https://bitbucket.org/FransoletThomas/tablet-app.git
synced 2025-12-06 16:41:19 +00:00
managerapi
API Manager Service
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: Version Alpha
- Build package: org.openapitools.codegen.languages.DartClientCodegen
Requirements
Dart 2.0 or later
Installation & Usage
Github
If this Dart package is published to Github, add the following dependency to your pubspec.yaml
dependencies:
managerapi:
git: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
Local
To use the package in your local drive, add the following dependency to your pubspec.yaml
dependencies:
managerapi:
path: /path/to/managerapi
Tests
TODO
Getting Started
Please follow the installation procedure and then run the following:
import 'package:managerapi/api.dart';
// TODO Configure OAuth2 access token for authorization: bearer
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
final api_instance = AuthenticationApi();
final grantType = grantType_example; // String |
final username = username_example; // String |
final password = password_example; // String |
final clientId = clientId_example; // String |
final clientSecret = clientSecret_example; // String |
try {
final result = api_instance.authenticationAuthenticateWithForm(grantType, username, password, clientId, clientSecret);
print(result);
} catch (e) {
print('Exception when calling AuthenticationApi->authenticationAuthenticateWithForm: $e\n');
}
Documentation for API Endpoints
All URIs are relative to http://192.168.31.140
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AuthenticationApi | authenticationAuthenticateWithForm | POST /api/Authentication/Token | |
| AuthenticationApi | authenticationAuthenticateWithJson | POST /api/Authentication/Authenticate | |
| ConfigurationApi | configurationCreate | POST /api/Configuration | |
| ConfigurationApi | configurationDelete | DELETE /api/Configuration/{id} | |
| ConfigurationApi | configurationExport | GET /api/Configuration/{id}/export | |
| ConfigurationApi | configurationGet | GET /api/Configuration | |
| ConfigurationApi | configurationGetDetail | GET /api/Configuration/{id} | |
| ConfigurationApi | configurationImport | POST /api/Configuration/import | |
| ConfigurationApi | configurationUpdate | PUT /api/Configuration | |
| DeviceApi | deviceCreate | POST /api/Device | |
| DeviceApi | deviceDelete | DELETE /api/Device/{id} | |
| DeviceApi | deviceGet | GET /api/Device | |
| DeviceApi | deviceGetDetail | GET /api/Device/{id}/detail | |
| DeviceApi | deviceUpdate | PUT /api/Device | |
| DeviceApi | deviceUpdateMainInfos | PUT /api/Device/mainInfos | |
| ResourceApi | resourceCreate | POST /api/Resource | |
| ResourceApi | resourceDelete | DELETE /api/Resource/{id} | |
| ResourceApi | resourceGet | GET /api/Resource | |
| ResourceApi | resourceGetDetail | GET /api/Resource/{id}/detail | |
| ResourceApi | resourceShow | GET /api/Resource/{id} | |
| ResourceApi | resourceUpdate | PUT /api/Resource | |
| ResourceApi | resourceUpload | POST /api/Resource/upload | |
| SectionApi | sectionCreate | POST /api/Section | |
| SectionApi | sectionDelete | DELETE /api/Section/{id} | |
| SectionApi | sectionDeleteAllForConfiguration | DELETE /api/Section/configuration/{id} | |
| SectionApi | sectionGet | GET /api/Section | |
| SectionApi | sectionGetAllSectionSubSections | GET /api/Section/{id}/subsections | |
| SectionApi | sectionGetDetail | GET /api/Section/{id} | |
| SectionApi | sectionGetFromConfiguration | GET /api/Section/configuration/{id} | |
| SectionApi | sectionGetMapDTO | GET /api/Section/MapDTO | |
| SectionApi | sectionGetMenuDTO | GET /api/Section/MenuDTO | |
| SectionApi | sectionGetQuizzDTO | GET /api/Section/QuizzDTO | |
| SectionApi | sectionGetSliderDTO | GET /api/Section/SliderDTO | |
| SectionApi | sectionGetVideoDTO | GET /api/Section/VideoDTO | |
| SectionApi | sectionGetWebDTO | GET /api/Section/WebDTO | |
| SectionApi | sectionPlayerMessageDTO | GET /api/Section/PlayerMessageDTO | |
| SectionApi | sectionUpdate | PUT /api/Section | |
| SectionApi | sectionUpdateOrder | PUT /api/Section/order | |
| UserApi | userCreateUser | POST /api/User | |
| UserApi | userDeleteUser | DELETE /api/User/{id} | |
| UserApi | userGet | GET /api/User | |
| UserApi | userGetDetail | GET /api/User/{id} | |
| UserApi | userUpdateUser | PUT /api/User |
Documentation For Models
- ConfigurationDTO
- DeviceDTO
- DeviceDetailDTO
- DeviceDetailDTOAllOf
- ExportConfigurationDTO
- ExportConfigurationDTOAllOf
- GeoPointDTO
- ImageDTO
- ImageGeoPoint
- LevelDTO
- LoginDTO
- MapDTO
- MapTypeApp
- MenuDTO
- PlayerMessageDTO
- QuestionDTO
- QuizzDTO
- ResourceDTO
- ResourceType
- ResponseDTO
- SectionDTO
- SectionType
- SliderDTO
- TokenDTO
- TranslationDTO
- User
- UserDetailDTO
- VideoDTO
- WebDTO
Documentation For Authorization
bearer
- Type: OAuth
- Flow: password
- Authorization URL: /authentication/Token
- Scopes:
- Manager-api: Manager WebAPI