open-project-flutter-api/doc/SchemasApi.md
2023-11-05 19:54:17 +01:00

57 lines
1.4 KiB
Markdown

# openapi.api.SchemasApi
## Load the API package
```dart
import 'package:openapi/api.dart';
```
All URIs are relative to *https://community.openproject.org*
Method | HTTP request | Description
------------- | ------------- | -------------
[**viewTheSchema**](SchemasApi.md#viewtheschema) | **GET** /api/v3/example/schema | view the schema
# **viewTheSchema**
> Object viewTheSchema()
view the schema
This is an example of how a schema might look like. Note that this endpoint does not exist in the actual implementation.
### Example
```dart
import 'package:openapi/api.dart';
// TODO Configure HTTP basic authorization: BasicAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('BasicAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('BasicAuth').password = 'YOUR_PASSWORD';
final api_instance = SchemasApi();
try {
final result = api_instance.viewTheSchema();
print(result);
} catch (e) {
print('Exception when calling SchemasApi->viewTheSchema: $e\n');
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
[**Object**](Object.md)
### Authorization
[BasicAuth](../README.md#BasicAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/hal+json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)