Skip to content

Commit

Permalink
fix: decoding byte files in responses
Browse files Browse the repository at this point in the history
  • Loading branch information
gierschv committed Mar 23, 2022
1 parent 75c14d9 commit f30d206
Show file tree
Hide file tree
Showing 225 changed files with 8,448 additions and 3,467 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0
4.3.1
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.8.1 (API v2.17.0)

* Fixes binary responses for MIDI export

## 0.8.0 (API v2.17.0)

* Updated API from v2.6.0 to v2.17.0
Expand Down
44 changes: 32 additions & 12 deletions docs/AccountApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,42 @@ Get details about the current authenticated User.

### Example

* OAuth Authentication (OAuth2):
* OAuth Authentication (OAuth2):
```python
from __future__ import print_function
import time
import flat_api
from flat_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.flat.io/v2
# See configuration.py for a list of all supported configuration parameters.
configuration = flat_api.Configuration(
host = "https://api.flat.io/v2"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure OAuth2 access token for authorization: OAuth2
configuration = flat_api.Configuration()
configuration = flat_api.Configuration(
host = "https://api.flat.io/v2"
)
configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = flat_api.AccountApi(flat_api.ApiClient(configuration))
only_id = False # bool | Only return the user id (optional) (default to False)

try:
# Get current user profile
api_response = api_instance.get_authenticated_user(only_id=only_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->get_authenticated_user: %s\n" % e)
# Enter a context with an instance of the API client
with flat_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = flat_api.AccountApi(api_client)
only_id = False # bool | Only return the user id (optional) (default to False)

try:
# Get current user profile
api_response = api_instance.get_authenticated_user(only_id=only_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->get_authenticated_user: %s\n" % e)
```

### Parameters
Expand All @@ -59,5 +73,11 @@ Name | Type | Description | Notes
- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Current user details | - |
**0** | Error | - |

[[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)

1 change: 1 addition & 0 deletions docs/ApiAccessToken.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# ApiAccessToken

An API access token
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AppScopes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AppScopes

Available scopes
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/Assignment.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Assignment

Assignment details
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentCanvas.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentCanvas

A Canvas LMS assignment
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentCopy.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentCopy

Assignment copy operation
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentCreation.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentCreation

Assignment creation details
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentCreationGoogleClassroom.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentCreationGoogleClassroom

Google Classroom options for this assignment
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentCreationMicrosoftGraph.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentCreationMicrosoftGraph

Microsoft Graph options for this assignment
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentLti.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentLti

An LTI assignment
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentMfc.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentMfc

A MusicFirst Classroom assignment
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentSubmission.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentSubmission

Assignment Submission
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentSubmissionComment.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentSubmissionComment

Feedback comment added to an assignment submission
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentSubmissionCommentCreation.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentSubmissionCommentCreation

Creation of a assignment submission comment
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentSubmissionHistory.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentSubmissionHistory

History item of the submission
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentSubmissionState.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentSubmissionState

State of the submission
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentSubmissionUpdate.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentSubmissionUpdate

Assignment Submission creation
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/AssignmentType.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AssignmentType

Type of the assignment
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
Expand Down
Loading

0 comments on commit f30d206

Please sign in to comment.