[api] chore: update api
This commit is contained in:
@@ -4,19 +4,19 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**AddAccessauthAaPost**](AccessAuthAPI.md#AddAccessauthAaPost) | **Post** /aa/ | Add Accessauth
|
||||
[**AssignAccessauthAaAssignGroupIdAaIdPut**](AccessAuthAPI.md#AssignAccessauthAaAssignGroupIdAaIdPut) | **Put** /aa/assign/{group_id}/{aa_id} | Assign Accessauth
|
||||
[**ChangeAccessauthAaAaIdPatch**](AccessAuthAPI.md#ChangeAccessauthAaAaIdPatch) | **Patch** /aa/{aa_id} | Change Accessauth
|
||||
[**DeleteAccessauthAaAaIdDelete**](AccessAuthAPI.md#DeleteAccessauthAaAaIdDelete) | **Delete** /aa/{aa_id} | Delete Accessauth
|
||||
[**GetAllAccessauthsAaGet**](AccessAuthAPI.md#GetAllAccessauthsAaGet) | **Get** /aa/ | Get All Accessauths
|
||||
[**GetOneAccessauthAaAaIdGet**](AccessAuthAPI.md#GetOneAccessauthAaAaIdGet) | **Get** /aa/{aa_id} | Get One Accessauth
|
||||
[**UnassignAccessauthAaUnassignGroupIdAaIdPut**](AccessAuthAPI.md#UnassignAccessauthAaUnassignGroupIdAaIdPut) | **Put** /aa/unassign/{group_id}/{aa_id} | Unassign Accessauth
|
||||
[**AddAccessauthApiV1AaPost**](AccessAuthAPI.md#AddAccessauthApiV1AaPost) | **Post** /api/v1/aa/ | Add Accessauth
|
||||
[**AssignAccessauthApiV1AaAssignGroupIdAaIdPut**](AccessAuthAPI.md#AssignAccessauthApiV1AaAssignGroupIdAaIdPut) | **Put** /api/v1/aa/assign/{group_id}/{aa_id} | Assign Accessauth
|
||||
[**ChangeAccessauthApiV1AaAaIdPatch**](AccessAuthAPI.md#ChangeAccessauthApiV1AaAaIdPatch) | **Patch** /api/v1/aa/{aa_id} | Change Accessauth
|
||||
[**DeleteAccessauthApiV1AaAaIdDelete**](AccessAuthAPI.md#DeleteAccessauthApiV1AaAaIdDelete) | **Delete** /api/v1/aa/{aa_id} | Delete Accessauth
|
||||
[**GetAllAccessauthsApiV1AaGet**](AccessAuthAPI.md#GetAllAccessauthsApiV1AaGet) | **Get** /api/v1/aa/ | Get All Accessauths
|
||||
[**GetOneAccessauthApiV1AaAaIdGet**](AccessAuthAPI.md#GetOneAccessauthApiV1AaAaIdGet) | **Get** /api/v1/aa/{aa_id} | Get One Accessauth
|
||||
[**UnassignAccessauthApiV1AaUnassignGroupIdAaIdPut**](AccessAuthAPI.md#UnassignAccessauthApiV1AaUnassignGroupIdAaIdPut) | **Put** /api/v1/aa/unassign/{group_id}/{aa_id} | Unassign Accessauth
|
||||
|
||||
|
||||
|
||||
## AddAccessauthAaPost
|
||||
## AddAccessauthApiV1AaPost
|
||||
|
||||
> AccessAuthorizationResponse AddAccessauthAaPost(ctx).AccessAuthorizationCreate(accessAuthorizationCreate).Execute()
|
||||
> AccessAuthorizationResponse AddAccessauthApiV1AaPost(ctx).AccessAuthorizationCreate(accessAuthorizationCreate).Execute()
|
||||
|
||||
Add Accessauth
|
||||
|
||||
@@ -37,13 +37,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AccessAuthAPI.AddAccessauthAaPost(context.Background()).AccessAuthorizationCreate(accessAuthorizationCreate).Execute()
|
||||
resp, r, err := apiClient.AccessAuthAPI.AddAccessauthApiV1AaPost(context.Background()).AccessAuthorizationCreate(accessAuthorizationCreate).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.AddAccessauthAaPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.AddAccessauthApiV1AaPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AddAccessauthAaPost`: AccessAuthorizationResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.AddAccessauthAaPost`: %v\n", resp)
|
||||
// response from `AddAccessauthApiV1AaPost`: AccessAuthorizationResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.AddAccessauthApiV1AaPost`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -53,7 +53,7 @@ func main() {
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiAddAccessauthAaPostRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiAddAccessauthApiV1AaPostRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -78,9 +78,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## AssignAccessauthAaAssignGroupIdAaIdPut
|
||||
## AssignAccessauthApiV1AaAssignGroupIdAaIdPut
|
||||
|
||||
> GroupResponse AssignAccessauthAaAssignGroupIdAaIdPut(ctx, groupId, aaId).Execute()
|
||||
> GroupResponse AssignAccessauthApiV1AaAssignGroupIdAaIdPut(ctx, groupId, aaId).Execute()
|
||||
|
||||
Assign Accessauth
|
||||
|
||||
@@ -102,13 +102,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AccessAuthAPI.AssignAccessauthAaAssignGroupIdAaIdPut(context.Background(), groupId, aaId).Execute()
|
||||
resp, r, err := apiClient.AccessAuthAPI.AssignAccessauthApiV1AaAssignGroupIdAaIdPut(context.Background(), groupId, aaId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.AssignAccessauthAaAssignGroupIdAaIdPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.AssignAccessauthApiV1AaAssignGroupIdAaIdPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AssignAccessauthAaAssignGroupIdAaIdPut`: GroupResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.AssignAccessauthAaAssignGroupIdAaIdPut`: %v\n", resp)
|
||||
// response from `AssignAccessauthApiV1AaAssignGroupIdAaIdPut`: GroupResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.AssignAccessauthApiV1AaAssignGroupIdAaIdPut`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -123,7 +123,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiAssignAccessauthAaAssignGroupIdAaIdPutRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiAssignAccessauthApiV1AaAssignGroupIdAaIdPutRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -149,9 +149,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ChangeAccessauthAaAaIdPatch
|
||||
## ChangeAccessauthApiV1AaAaIdPatch
|
||||
|
||||
> AccessAuthorizationResponse ChangeAccessauthAaAaIdPatch(ctx, aaId).AccessAuthorizationUpdate(accessAuthorizationUpdate).Execute()
|
||||
> AccessAuthorizationResponse ChangeAccessauthApiV1AaAaIdPatch(ctx, aaId).AccessAuthorizationUpdate(accessAuthorizationUpdate).Execute()
|
||||
|
||||
Change Accessauth
|
||||
|
||||
@@ -173,13 +173,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AccessAuthAPI.ChangeAccessauthAaAaIdPatch(context.Background(), aaId).AccessAuthorizationUpdate(accessAuthorizationUpdate).Execute()
|
||||
resp, r, err := apiClient.AccessAuthAPI.ChangeAccessauthApiV1AaAaIdPatch(context.Background(), aaId).AccessAuthorizationUpdate(accessAuthorizationUpdate).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.ChangeAccessauthAaAaIdPatch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.ChangeAccessauthApiV1AaAaIdPatch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ChangeAccessauthAaAaIdPatch`: AccessAuthorizationResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.ChangeAccessauthAaAaIdPatch`: %v\n", resp)
|
||||
// response from `ChangeAccessauthApiV1AaAaIdPatch`: AccessAuthorizationResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.ChangeAccessauthApiV1AaAaIdPatch`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -193,7 +193,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiChangeAccessauthAaAaIdPatchRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiChangeAccessauthApiV1AaAaIdPatchRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -219,9 +219,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DeleteAccessauthAaAaIdDelete
|
||||
## DeleteAccessauthApiV1AaAaIdDelete
|
||||
|
||||
> interface{} DeleteAccessauthAaAaIdDelete(ctx, aaId).Execute()
|
||||
> interface{} DeleteAccessauthApiV1AaAaIdDelete(ctx, aaId).Execute()
|
||||
|
||||
Delete Accessauth
|
||||
|
||||
@@ -242,13 +242,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AccessAuthAPI.DeleteAccessauthAaAaIdDelete(context.Background(), aaId).Execute()
|
||||
resp, r, err := apiClient.AccessAuthAPI.DeleteAccessauthApiV1AaAaIdDelete(context.Background(), aaId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.DeleteAccessauthAaAaIdDelete``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.DeleteAccessauthApiV1AaAaIdDelete``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `DeleteAccessauthAaAaIdDelete`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.DeleteAccessauthAaAaIdDelete`: %v\n", resp)
|
||||
// response from `DeleteAccessauthApiV1AaAaIdDelete`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.DeleteAccessauthApiV1AaAaIdDelete`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -262,7 +262,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteAccessauthAaAaIdDeleteRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiDeleteAccessauthApiV1AaAaIdDeleteRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -287,9 +287,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## GetAllAccessauthsAaGet
|
||||
## GetAllAccessauthsApiV1AaGet
|
||||
|
||||
> []AccessAuthorizationResponse GetAllAccessauthsAaGet(ctx).Execute()
|
||||
> []AccessAuthorizationResponse GetAllAccessauthsApiV1AaGet(ctx).Execute()
|
||||
|
||||
Get All Accessauths
|
||||
|
||||
@@ -309,13 +309,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AccessAuthAPI.GetAllAccessauthsAaGet(context.Background()).Execute()
|
||||
resp, r, err := apiClient.AccessAuthAPI.GetAllAccessauthsApiV1AaGet(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.GetAllAccessauthsAaGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.GetAllAccessauthsApiV1AaGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetAllAccessauthsAaGet`: []AccessAuthorizationResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.GetAllAccessauthsAaGet`: %v\n", resp)
|
||||
// response from `GetAllAccessauthsApiV1AaGet`: []AccessAuthorizationResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.GetAllAccessauthsApiV1AaGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -325,7 +325,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetAllAccessauthsAaGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiGetAllAccessauthsApiV1AaGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
@@ -346,9 +346,9 @@ Other parameters are passed through a pointer to a apiGetAllAccessauthsAaGetRequ
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## GetOneAccessauthAaAaIdGet
|
||||
## GetOneAccessauthApiV1AaAaIdGet
|
||||
|
||||
> AccessAuthorizationResponse GetOneAccessauthAaAaIdGet(ctx, aaId).Execute()
|
||||
> AccessAuthorizationResponse GetOneAccessauthApiV1AaAaIdGet(ctx, aaId).Execute()
|
||||
|
||||
Get One Accessauth
|
||||
|
||||
@@ -369,13 +369,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AccessAuthAPI.GetOneAccessauthAaAaIdGet(context.Background(), aaId).Execute()
|
||||
resp, r, err := apiClient.AccessAuthAPI.GetOneAccessauthApiV1AaAaIdGet(context.Background(), aaId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.GetOneAccessauthAaAaIdGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.GetOneAccessauthApiV1AaAaIdGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetOneAccessauthAaAaIdGet`: AccessAuthorizationResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.GetOneAccessauthAaAaIdGet`: %v\n", resp)
|
||||
// response from `GetOneAccessauthApiV1AaAaIdGet`: AccessAuthorizationResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.GetOneAccessauthApiV1AaAaIdGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -389,7 +389,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetOneAccessauthAaAaIdGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiGetOneAccessauthApiV1AaAaIdGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -414,9 +414,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## UnassignAccessauthAaUnassignGroupIdAaIdPut
|
||||
## UnassignAccessauthApiV1AaUnassignGroupIdAaIdPut
|
||||
|
||||
> GroupResponse UnassignAccessauthAaUnassignGroupIdAaIdPut(ctx, groupId, aaId).Execute()
|
||||
> GroupResponse UnassignAccessauthApiV1AaUnassignGroupIdAaIdPut(ctx, groupId, aaId).Execute()
|
||||
|
||||
Unassign Accessauth
|
||||
|
||||
@@ -438,13 +438,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AccessAuthAPI.UnassignAccessauthAaUnassignGroupIdAaIdPut(context.Background(), groupId, aaId).Execute()
|
||||
resp, r, err := apiClient.AccessAuthAPI.UnassignAccessauthApiV1AaUnassignGroupIdAaIdPut(context.Background(), groupId, aaId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.UnassignAccessauthAaUnassignGroupIdAaIdPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessAuthAPI.UnassignAccessauthApiV1AaUnassignGroupIdAaIdPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `UnassignAccessauthAaUnassignGroupIdAaIdPut`: GroupResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.UnassignAccessauthAaUnassignGroupIdAaIdPut`: %v\n", resp)
|
||||
// response from `UnassignAccessauthApiV1AaUnassignGroupIdAaIdPut`: GroupResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessAuthAPI.UnassignAccessauthApiV1AaUnassignGroupIdAaIdPut`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -459,7 +459,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiUnassignAccessauthAaUnassignGroupIdAaIdPutRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiUnassignAccessauthApiV1AaUnassignGroupIdAaIdPutRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
|
||||
Reference in New Issue
Block a user