[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
|
||||
|
||||
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**AddCardCardsGroupIdPost**](CardAPI.md#AddCardCardsGroupIdPost) | **Post** /cards/{group_id} | Add Card
|
||||
[**DelCardCardsDeleteGet**](CardAPI.md#DelCardCardsDeleteGet) | **Get** /cards/delete | Del Card
|
||||
[**GetCardsCardsGroupIdGet**](CardAPI.md#GetCardsCardsGroupIdGet) | **Get** /cards/{group_id} | Get Cards
|
||||
[**AddCardApiV1CardsGroupIdPost**](CardAPI.md#AddCardApiV1CardsGroupIdPost) | **Post** /api/v1/cards/{group_id} | Add Card
|
||||
[**DelCardApiV1CardsDeleteGet**](CardAPI.md#DelCardApiV1CardsDeleteGet) | **Get** /api/v1/cards/delete | Del Card
|
||||
[**GetCardsApiV1CardsGroupIdGet**](CardAPI.md#GetCardsApiV1CardsGroupIdGet) | **Get** /api/v1/cards/{group_id} | Get Cards
|
||||
|
||||
|
||||
|
||||
## AddCardCardsGroupIdPost
|
||||
## AddCardApiV1CardsGroupIdPost
|
||||
|
||||
> Card AddCardCardsGroupIdPost(ctx, groupId).Execute()
|
||||
> Card AddCardApiV1CardsGroupIdPost(ctx, groupId).Execute()
|
||||
|
||||
Add Card
|
||||
|
||||
@@ -33,13 +33,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.CardAPI.AddCardCardsGroupIdPost(context.Background(), groupId).Execute()
|
||||
resp, r, err := apiClient.CardAPI.AddCardApiV1CardsGroupIdPost(context.Background(), groupId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CardAPI.AddCardCardsGroupIdPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CardAPI.AddCardApiV1CardsGroupIdPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AddCardCardsGroupIdPost`: Card
|
||||
fmt.Fprintf(os.Stdout, "Response from `CardAPI.AddCardCardsGroupIdPost`: %v\n", resp)
|
||||
// response from `AddCardApiV1CardsGroupIdPost`: Card
|
||||
fmt.Fprintf(os.Stdout, "Response from `CardAPI.AddCardApiV1CardsGroupIdPost`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -53,7 +53,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiAddCardCardsGroupIdPostRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiAddCardApiV1CardsGroupIdPostRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -78,9 +78,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DelCardCardsDeleteGet
|
||||
## DelCardApiV1CardsDeleteGet
|
||||
|
||||
> interface{} DelCardCardsDeleteGet(ctx).Execute()
|
||||
> interface{} DelCardApiV1CardsDeleteGet(ctx).Execute()
|
||||
|
||||
Del Card
|
||||
|
||||
@@ -100,13 +100,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.CardAPI.DelCardCardsDeleteGet(context.Background()).Execute()
|
||||
resp, r, err := apiClient.CardAPI.DelCardApiV1CardsDeleteGet(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CardAPI.DelCardCardsDeleteGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CardAPI.DelCardApiV1CardsDeleteGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `DelCardCardsDeleteGet`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `CardAPI.DelCardCardsDeleteGet`: %v\n", resp)
|
||||
// response from `DelCardApiV1CardsDeleteGet`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `CardAPI.DelCardApiV1CardsDeleteGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -116,7 +116,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDelCardCardsDeleteGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiDelCardApiV1CardsDeleteGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
@@ -137,9 +137,9 @@ Other parameters are passed through a pointer to a apiDelCardCardsDeleteGetReque
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## GetCardsCardsGroupIdGet
|
||||
## GetCardsApiV1CardsGroupIdGet
|
||||
|
||||
> []Card GetCardsCardsGroupIdGet(ctx, groupId).Execute()
|
||||
> []Card GetCardsApiV1CardsGroupIdGet(ctx, groupId).Execute()
|
||||
|
||||
Get Cards
|
||||
|
||||
@@ -160,13 +160,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.CardAPI.GetCardsCardsGroupIdGet(context.Background(), groupId).Execute()
|
||||
resp, r, err := apiClient.CardAPI.GetCardsApiV1CardsGroupIdGet(context.Background(), groupId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CardAPI.GetCardsCardsGroupIdGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CardAPI.GetCardsApiV1CardsGroupIdGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetCardsCardsGroupIdGet`: []Card
|
||||
fmt.Fprintf(os.Stdout, "Response from `CardAPI.GetCardsCardsGroupIdGet`: %v\n", resp)
|
||||
// response from `GetCardsApiV1CardsGroupIdGet`: []Card
|
||||
fmt.Fprintf(os.Stdout, "Response from `CardAPI.GetCardsApiV1CardsGroupIdGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -180,7 +180,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetCardsCardsGroupIdGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiGetCardsApiV1CardsGroupIdGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
|
||||
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**AddCardManuallyDebugAddcardGroupidCardKeyGet**](DebugItemsMaybeDontShowThisInUIAPI.md#AddCardManuallyDebugAddcardGroupidCardKeyGet) | **Get** /debug/addcard/{groupid}/{card_key} | Add Card Manually
|
||||
[**ListAllCardsDebugGetcardsPut**](DebugItemsMaybeDontShowThisInUIAPI.md#ListAllCardsDebugGetcardsPut) | **Put** /debug/getcards | List All Cards
|
||||
[**RemoveCardManuallyDebugRmcardCardKeyGet**](DebugItemsMaybeDontShowThisInUIAPI.md#RemoveCardManuallyDebugRmcardCardKeyGet) | **Get** /debug/rmcard/{card_key} | Remove Card Manually
|
||||
[**AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet**](DebugItemsMaybeDontShowThisInUIAPI.md#AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet) | **Get** /api/v1/debug/addcard/{groupid}/{card_key} | Add Card Manually
|
||||
[**ListAllCardsApiV1DebugGetcardsPut**](DebugItemsMaybeDontShowThisInUIAPI.md#ListAllCardsApiV1DebugGetcardsPut) | **Put** /api/v1/debug/getcards | List All Cards
|
||||
[**RemoveCardManuallyApiV1DebugRmcardCardKeyGet**](DebugItemsMaybeDontShowThisInUIAPI.md#RemoveCardManuallyApiV1DebugRmcardCardKeyGet) | **Get** /api/v1/debug/rmcard/{card_key} | Remove Card Manually
|
||||
|
||||
|
||||
|
||||
## AddCardManuallyDebugAddcardGroupidCardKeyGet
|
||||
## AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet
|
||||
|
||||
> interface{} AddCardManuallyDebugAddcardGroupidCardKeyGet(ctx, groupid, cardKey).Execute()
|
||||
> interface{} AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet(ctx, groupid, cardKey).Execute()
|
||||
|
||||
Add Card Manually
|
||||
|
||||
@@ -36,13 +36,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyDebugAddcardGroupidCardKeyGet(context.Background(), groupid, cardKey).Execute()
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet(context.Background(), groupid, cardKey).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyDebugAddcardGroupidCardKeyGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AddCardManuallyDebugAddcardGroupidCardKeyGet`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyDebugAddcardGroupidCardKeyGet`: %v\n", resp)
|
||||
// response from `AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -57,7 +57,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiAddCardManuallyDebugAddcardGroupidCardKeyGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiAddCardManuallyApiV1DebugAddcardGroupidCardKeyGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -83,9 +83,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ListAllCardsDebugGetcardsPut
|
||||
## ListAllCardsApiV1DebugGetcardsPut
|
||||
|
||||
> interface{} ListAllCardsDebugGetcardsPut(ctx).Execute()
|
||||
> interface{} ListAllCardsApiV1DebugGetcardsPut(ctx).Execute()
|
||||
|
||||
List All Cards
|
||||
|
||||
@@ -105,13 +105,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsDebugGetcardsPut(context.Background()).Execute()
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsApiV1DebugGetcardsPut(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsDebugGetcardsPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsApiV1DebugGetcardsPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListAllCardsDebugGetcardsPut`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsDebugGetcardsPut`: %v\n", resp)
|
||||
// response from `ListAllCardsApiV1DebugGetcardsPut`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsApiV1DebugGetcardsPut`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -121,7 +121,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListAllCardsDebugGetcardsPutRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiListAllCardsApiV1DebugGetcardsPutRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
@@ -142,9 +142,9 @@ Other parameters are passed through a pointer to a apiListAllCardsDebugGetcardsP
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## RemoveCardManuallyDebugRmcardCardKeyGet
|
||||
## RemoveCardManuallyApiV1DebugRmcardCardKeyGet
|
||||
|
||||
> interface{} RemoveCardManuallyDebugRmcardCardKeyGet(ctx, cardKey).Execute()
|
||||
> interface{} RemoveCardManuallyApiV1DebugRmcardCardKeyGet(ctx, cardKey).Execute()
|
||||
|
||||
Remove Card Manually
|
||||
|
||||
@@ -165,13 +165,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyDebugRmcardCardKeyGet(context.Background(), cardKey).Execute()
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardKeyGet(context.Background(), cardKey).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyDebugRmcardCardKeyGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardKeyGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `RemoveCardManuallyDebugRmcardCardKeyGet`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyDebugRmcardCardKeyGet`: %v\n", resp)
|
||||
// response from `RemoveCardManuallyApiV1DebugRmcardCardKeyGet`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardKeyGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiRemoveCardManuallyDebugRmcardCardKeyGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiRemoveCardManuallyApiV1DebugRmcardCardKeyGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
|
||||
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**OpenDoorDoorClosePut**](DoorAPI.md#OpenDoorDoorClosePut) | **Put** /door/close | Open Door
|
||||
[**OpenDoorDoorOpenPut**](DoorAPI.md#OpenDoorDoorOpenPut) | **Put** /door/open | Open Door
|
||||
[**TestAccessDoorTestPost**](DoorAPI.md#TestAccessDoorTestPost) | **Post** /door/test | Test Access
|
||||
[**OpenDoorApiV1DoorClosePut**](DoorAPI.md#OpenDoorApiV1DoorClosePut) | **Put** /api/v1/door/close | Open Door
|
||||
[**OpenDoorApiV1DoorOpenPut**](DoorAPI.md#OpenDoorApiV1DoorOpenPut) | **Put** /api/v1/door/open | Open Door
|
||||
[**TestAccessApiV1DoorTestPost**](DoorAPI.md#TestAccessApiV1DoorTestPost) | **Post** /api/v1/door/test | Test Access
|
||||
|
||||
|
||||
|
||||
## OpenDoorDoorClosePut
|
||||
## OpenDoorApiV1DoorClosePut
|
||||
|
||||
> interface{} OpenDoorDoorClosePut(ctx).Execute()
|
||||
> interface{} OpenDoorApiV1DoorClosePut(ctx).Execute()
|
||||
|
||||
Open Door
|
||||
|
||||
@@ -32,13 +32,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.DoorAPI.OpenDoorDoorClosePut(context.Background()).Execute()
|
||||
resp, r, err := apiClient.DoorAPI.OpenDoorApiV1DoorClosePut(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DoorAPI.OpenDoorDoorClosePut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DoorAPI.OpenDoorApiV1DoorClosePut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `OpenDoorDoorClosePut`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DoorAPI.OpenDoorDoorClosePut`: %v\n", resp)
|
||||
// response from `OpenDoorApiV1DoorClosePut`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DoorAPI.OpenDoorApiV1DoorClosePut`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -48,7 +48,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiOpenDoorDoorClosePutRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiOpenDoorApiV1DoorClosePutRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
@@ -69,9 +69,9 @@ Other parameters are passed through a pointer to a apiOpenDoorDoorClosePutReques
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## OpenDoorDoorOpenPut
|
||||
## OpenDoorApiV1DoorOpenPut
|
||||
|
||||
> interface{} OpenDoorDoorOpenPut(ctx).Execute()
|
||||
> interface{} OpenDoorApiV1DoorOpenPut(ctx).Execute()
|
||||
|
||||
Open Door
|
||||
|
||||
@@ -91,13 +91,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.DoorAPI.OpenDoorDoorOpenPut(context.Background()).Execute()
|
||||
resp, r, err := apiClient.DoorAPI.OpenDoorApiV1DoorOpenPut(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DoorAPI.OpenDoorDoorOpenPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DoorAPI.OpenDoorApiV1DoorOpenPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `OpenDoorDoorOpenPut`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DoorAPI.OpenDoorDoorOpenPut`: %v\n", resp)
|
||||
// response from `OpenDoorApiV1DoorOpenPut`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DoorAPI.OpenDoorApiV1DoorOpenPut`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -107,7 +107,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiOpenDoorDoorOpenPutRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiOpenDoorApiV1DoorOpenPutRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
@@ -128,9 +128,9 @@ Other parameters are passed through a pointer to a apiOpenDoorDoorOpenPutRequest
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## TestAccessDoorTestPost
|
||||
## TestAccessApiV1DoorTestPost
|
||||
|
||||
> interface{} TestAccessDoorTestPost(ctx).Input(input).Execute()
|
||||
> interface{} TestAccessApiV1DoorTestPost(ctx).Input(input).Execute()
|
||||
|
||||
Test Access
|
||||
|
||||
@@ -151,13 +151,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.DoorAPI.TestAccessDoorTestPost(context.Background()).Input(input).Execute()
|
||||
resp, r, err := apiClient.DoorAPI.TestAccessApiV1DoorTestPost(context.Background()).Input(input).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DoorAPI.TestAccessDoorTestPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DoorAPI.TestAccessApiV1DoorTestPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `TestAccessDoorTestPost`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DoorAPI.TestAccessDoorTestPost`: %v\n", resp)
|
||||
// response from `TestAccessApiV1DoorTestPost`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DoorAPI.TestAccessApiV1DoorTestPost`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -167,7 +167,7 @@ func main() {
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiTestAccessDoorTestPostRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiTestAccessApiV1DoorTestPostRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
|
||||
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**CreateGroupGroupsPost**](GroupAPI.md#CreateGroupGroupsPost) | **Post** /groups/ | Create Group
|
||||
[**DeleteGroupGroupsGroupIdDelete**](GroupAPI.md#DeleteGroupGroupsGroupIdDelete) | **Delete** /groups/{group_id} | Delete Group
|
||||
[**GetGroupsGroupsGet**](GroupAPI.md#GetGroupsGroupsGet) | **Get** /groups/ | Get Groups
|
||||
[**CreateGroupApiV1GroupsPost**](GroupAPI.md#CreateGroupApiV1GroupsPost) | **Post** /api/v1/groups/ | Create Group
|
||||
[**DeleteGroupApiV1GroupsGroupIdDelete**](GroupAPI.md#DeleteGroupApiV1GroupsGroupIdDelete) | **Delete** /api/v1/groups/{group_id} | Delete Group
|
||||
[**GetGroupsApiV1GroupsGet**](GroupAPI.md#GetGroupsApiV1GroupsGet) | **Get** /api/v1/groups/ | Get Groups
|
||||
|
||||
|
||||
|
||||
## CreateGroupGroupsPost
|
||||
## CreateGroupApiV1GroupsPost
|
||||
|
||||
> GroupResponse CreateGroupGroupsPost(ctx).GroupCreate(groupCreate).Execute()
|
||||
> GroupResponse CreateGroupApiV1GroupsPost(ctx).GroupCreate(groupCreate).Execute()
|
||||
|
||||
Create Group
|
||||
|
||||
@@ -33,13 +33,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.GroupAPI.CreateGroupGroupsPost(context.Background()).GroupCreate(groupCreate).Execute()
|
||||
resp, r, err := apiClient.GroupAPI.CreateGroupApiV1GroupsPost(context.Background()).GroupCreate(groupCreate).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GroupAPI.CreateGroupGroupsPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GroupAPI.CreateGroupApiV1GroupsPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateGroupGroupsPost`: GroupResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `GroupAPI.CreateGroupGroupsPost`: %v\n", resp)
|
||||
// response from `CreateGroupApiV1GroupsPost`: GroupResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `GroupAPI.CreateGroupApiV1GroupsPost`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -49,7 +49,7 @@ func main() {
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateGroupGroupsPostRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiCreateGroupApiV1GroupsPostRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -74,9 +74,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DeleteGroupGroupsGroupIdDelete
|
||||
## DeleteGroupApiV1GroupsGroupIdDelete
|
||||
|
||||
> interface{} DeleteGroupGroupsGroupIdDelete(ctx, groupId).Execute()
|
||||
> interface{} DeleteGroupApiV1GroupsGroupIdDelete(ctx, groupId).Execute()
|
||||
|
||||
Delete Group
|
||||
|
||||
@@ -97,13 +97,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.GroupAPI.DeleteGroupGroupsGroupIdDelete(context.Background(), groupId).Execute()
|
||||
resp, r, err := apiClient.GroupAPI.DeleteGroupApiV1GroupsGroupIdDelete(context.Background(), groupId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GroupAPI.DeleteGroupGroupsGroupIdDelete``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GroupAPI.DeleteGroupApiV1GroupsGroupIdDelete``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `DeleteGroupGroupsGroupIdDelete`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `GroupAPI.DeleteGroupGroupsGroupIdDelete`: %v\n", resp)
|
||||
// response from `DeleteGroupApiV1GroupsGroupIdDelete`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `GroupAPI.DeleteGroupApiV1GroupsGroupIdDelete`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -117,7 +117,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteGroupGroupsGroupIdDeleteRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiDeleteGroupApiV1GroupsGroupIdDeleteRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -142,9 +142,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## GetGroupsGroupsGet
|
||||
## GetGroupsApiV1GroupsGet
|
||||
|
||||
> []GroupResponse GetGroupsGroupsGet(ctx).Execute()
|
||||
> []GroupResponse GetGroupsApiV1GroupsGet(ctx).Execute()
|
||||
|
||||
Get Groups
|
||||
|
||||
@@ -164,13 +164,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.GroupAPI.GetGroupsGroupsGet(context.Background()).Execute()
|
||||
resp, r, err := apiClient.GroupAPI.GetGroupsApiV1GroupsGet(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GroupAPI.GetGroupsGroupsGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `GroupAPI.GetGroupsApiV1GroupsGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetGroupsGroupsGet`: []GroupResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `GroupAPI.GetGroupsGroupsGet`: %v\n", resp)
|
||||
// response from `GetGroupsApiV1GroupsGet`: []GroupResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `GroupAPI.GetGroupsApiV1GroupsGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -180,7 +180,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetGroupsGroupsGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiGetGroupsApiV1GroupsGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -4,14 +4,14 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**LoginForAccessTokenTokenPost**](TokenAPI.md#LoginForAccessTokenTokenPost) | **Post** /token | Login For Access Token
|
||||
[**TestLoginTestLoginGet**](TokenAPI.md#TestLoginTestLoginGet) | **Get** /test/login | Test Login
|
||||
[**LoginForAccessTokenApiV1TokenPost**](TokenAPI.md#LoginForAccessTokenApiV1TokenPost) | **Post** /api/v1/token | Login For Access Token
|
||||
[**TestLoginApiV1TestLoginGet**](TokenAPI.md#TestLoginApiV1TestLoginGet) | **Get** /api/v1/test/login | Test Login
|
||||
|
||||
|
||||
|
||||
## LoginForAccessTokenTokenPost
|
||||
## LoginForAccessTokenApiV1TokenPost
|
||||
|
||||
> Token LoginForAccessTokenTokenPost(ctx).Username(username).Password(password).GrantType(grantType).Scope(scope).ClientId(clientId).ClientSecret(clientSecret).Execute()
|
||||
> Token LoginForAccessTokenApiV1TokenPost(ctx).Username(username).Password(password).GrantType(grantType).Scope(scope).ClientId(clientId).ClientSecret(clientSecret).Execute()
|
||||
|
||||
Login For Access Token
|
||||
|
||||
@@ -37,13 +37,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.TokenAPI.LoginForAccessTokenTokenPost(context.Background()).Username(username).Password(password).GrantType(grantType).Scope(scope).ClientId(clientId).ClientSecret(clientSecret).Execute()
|
||||
resp, r, err := apiClient.TokenAPI.LoginForAccessTokenApiV1TokenPost(context.Background()).Username(username).Password(password).GrantType(grantType).Scope(scope).ClientId(clientId).ClientSecret(clientSecret).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TokenAPI.LoginForAccessTokenTokenPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TokenAPI.LoginForAccessTokenApiV1TokenPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `LoginForAccessTokenTokenPost`: Token
|
||||
fmt.Fprintf(os.Stdout, "Response from `TokenAPI.LoginForAccessTokenTokenPost`: %v\n", resp)
|
||||
// response from `LoginForAccessTokenApiV1TokenPost`: Token
|
||||
fmt.Fprintf(os.Stdout, "Response from `TokenAPI.LoginForAccessTokenApiV1TokenPost`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -53,7 +53,7 @@ func main() {
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiLoginForAccessTokenTokenPostRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiLoginForAccessTokenApiV1TokenPostRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -83,9 +83,9 @@ No authorization required
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## TestLoginTestLoginGet
|
||||
## TestLoginApiV1TestLoginGet
|
||||
|
||||
> UserDB TestLoginTestLoginGet(ctx).Execute()
|
||||
> UserDB TestLoginApiV1TestLoginGet(ctx).Execute()
|
||||
|
||||
Test Login
|
||||
|
||||
@@ -105,13 +105,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.TokenAPI.TestLoginTestLoginGet(context.Background()).Execute()
|
||||
resp, r, err := apiClient.TokenAPI.TestLoginApiV1TestLoginGet(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TokenAPI.TestLoginTestLoginGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TokenAPI.TestLoginApiV1TestLoginGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `TestLoginTestLoginGet`: UserDB
|
||||
fmt.Fprintf(os.Stdout, "Response from `TokenAPI.TestLoginTestLoginGet`: %v\n", resp)
|
||||
// response from `TestLoginApiV1TestLoginGet`: UserDB
|
||||
fmt.Fprintf(os.Stdout, "Response from `TokenAPI.TestLoginApiV1TestLoginGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -121,7 +121,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiTestLoginTestLoginGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiTestLoginApiV1TestLoginGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -4,17 +4,18 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**CreateUserUsersPost**](UsersAPI.md#CreateUserUsersPost) | **Post** /users/ | Create User
|
||||
[**DeleteUserUsersUserIdDelete**](UsersAPI.md#DeleteUserUsersUserIdDelete) | **Delete** /users/{user_id} | Delete User
|
||||
[**ReadUserUsersUserIdGet**](UsersAPI.md#ReadUserUsersUserIdGet) | **Get** /users/{user_id} | Read User
|
||||
[**ReadUsersUsersGet**](UsersAPI.md#ReadUsersUsersGet) | **Get** /users/ | Read Users
|
||||
[**UpdateUserUsersUserIdPatch**](UsersAPI.md#UpdateUserUsersUserIdPatch) | **Patch** /users/{user_id} | Update User
|
||||
[**CreateUserApiV1UsersPost**](UsersAPI.md#CreateUserApiV1UsersPost) | **Post** /api/v1/users/ | Create User
|
||||
[**DeleteUserApiV1UsersUserIdDelete**](UsersAPI.md#DeleteUserApiV1UsersUserIdDelete) | **Delete** /api/v1/users/{user_id} | Delete User
|
||||
[**GetCurrentUserApiV1UsersCurrentGet**](UsersAPI.md#GetCurrentUserApiV1UsersCurrentGet) | **Get** /api/v1/users/current | Get Current User
|
||||
[**ReadUserApiV1UsersUserIdGet**](UsersAPI.md#ReadUserApiV1UsersUserIdGet) | **Get** /api/v1/users/{user_id} | Read User
|
||||
[**ReadUsersApiV1UsersGet**](UsersAPI.md#ReadUsersApiV1UsersGet) | **Get** /api/v1/users/ | Read Users
|
||||
[**UpdateUserApiV1UsersUserIdPatch**](UsersAPI.md#UpdateUserApiV1UsersUserIdPatch) | **Patch** /api/v1/users/{user_id} | Update User
|
||||
|
||||
|
||||
|
||||
## CreateUserUsersPost
|
||||
## CreateUserApiV1UsersPost
|
||||
|
||||
> UserResponse CreateUserUsersPost(ctx).UserCreate(userCreate).Execute()
|
||||
> UserResponse CreateUserApiV1UsersPost(ctx).UserCreate(userCreate).Execute()
|
||||
|
||||
Create User
|
||||
|
||||
@@ -35,13 +36,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.UsersAPI.CreateUserUsersPost(context.Background()).UserCreate(userCreate).Execute()
|
||||
resp, r, err := apiClient.UsersAPI.CreateUserApiV1UsersPost(context.Background()).UserCreate(userCreate).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.CreateUserUsersPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.CreateUserApiV1UsersPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateUserUsersPost`: UserResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.CreateUserUsersPost`: %v\n", resp)
|
||||
// response from `CreateUserApiV1UsersPost`: UserResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.CreateUserApiV1UsersPost`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -51,7 +52,7 @@ func main() {
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateUserUsersPostRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiCreateUserApiV1UsersPostRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -76,9 +77,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## DeleteUserUsersUserIdDelete
|
||||
## DeleteUserApiV1UsersUserIdDelete
|
||||
|
||||
> interface{} DeleteUserUsersUserIdDelete(ctx, userId).Execute()
|
||||
> interface{} DeleteUserApiV1UsersUserIdDelete(ctx, userId).Execute()
|
||||
|
||||
Delete User
|
||||
|
||||
@@ -99,13 +100,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.UsersAPI.DeleteUserUsersUserIdDelete(context.Background(), userId).Execute()
|
||||
resp, r, err := apiClient.UsersAPI.DeleteUserApiV1UsersUserIdDelete(context.Background(), userId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.DeleteUserUsersUserIdDelete``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.DeleteUserApiV1UsersUserIdDelete``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `DeleteUserUsersUserIdDelete`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.DeleteUserUsersUserIdDelete`: %v\n", resp)
|
||||
// response from `DeleteUserApiV1UsersUserIdDelete`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.DeleteUserApiV1UsersUserIdDelete`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -119,7 +120,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteUserUsersUserIdDeleteRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiDeleteUserApiV1UsersUserIdDeleteRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -144,9 +145,68 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ReadUserUsersUserIdGet
|
||||
## GetCurrentUserApiV1UsersCurrentGet
|
||||
|
||||
> UserResponse ReadUserUsersUserIdGet(ctx, userId).Execute()
|
||||
> UserResponse GetCurrentUserApiV1UsersCurrentGet(ctx).Execute()
|
||||
|
||||
Get Current User
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.UsersAPI.GetCurrentUserApiV1UsersCurrentGet(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.GetCurrentUserApiV1UsersCurrentGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetCurrentUserApiV1UsersCurrentGet`: UserResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.GetCurrentUserApiV1UsersCurrentGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetCurrentUserApiV1UsersCurrentGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**UserResponse**](UserResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/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)
|
||||
|
||||
|
||||
## ReadUserApiV1UsersUserIdGet
|
||||
|
||||
> UserResponse ReadUserApiV1UsersUserIdGet(ctx, userId).Execute()
|
||||
|
||||
Read User
|
||||
|
||||
@@ -167,13 +227,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.UsersAPI.ReadUserUsersUserIdGet(context.Background(), userId).Execute()
|
||||
resp, r, err := apiClient.UsersAPI.ReadUserApiV1UsersUserIdGet(context.Background(), userId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.ReadUserUsersUserIdGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.ReadUserApiV1UsersUserIdGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ReadUserUsersUserIdGet`: UserResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.ReadUserUsersUserIdGet`: %v\n", resp)
|
||||
// response from `ReadUserApiV1UsersUserIdGet`: UserResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.ReadUserApiV1UsersUserIdGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -187,7 +247,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiReadUserUsersUserIdGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiReadUserApiV1UsersUserIdGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -212,9 +272,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ReadUsersUsersGet
|
||||
## ReadUsersApiV1UsersGet
|
||||
|
||||
> []UserResponse ReadUsersUsersGet(ctx).Execute()
|
||||
> []UserResponse ReadUsersApiV1UsersGet(ctx).Execute()
|
||||
|
||||
Read Users
|
||||
|
||||
@@ -234,13 +294,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.UsersAPI.ReadUsersUsersGet(context.Background()).Execute()
|
||||
resp, r, err := apiClient.UsersAPI.ReadUsersApiV1UsersGet(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.ReadUsersUsersGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.ReadUsersApiV1UsersGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ReadUsersUsersGet`: []UserResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.ReadUsersUsersGet`: %v\n", resp)
|
||||
// response from `ReadUsersApiV1UsersGet`: []UserResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.ReadUsersApiV1UsersGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -250,7 +310,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiReadUsersUsersGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiReadUsersApiV1UsersGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
@@ -271,9 +331,9 @@ Other parameters are passed through a pointer to a apiReadUsersUsersGetRequest s
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## UpdateUserUsersUserIdPatch
|
||||
## UpdateUserApiV1UsersUserIdPatch
|
||||
|
||||
> UserResponse UpdateUserUsersUserIdPatch(ctx, userId).UserUpdate(userUpdate).Execute()
|
||||
> UserResponse UpdateUserApiV1UsersUserIdPatch(ctx, userId).UserUpdate(userUpdate).Execute()
|
||||
|
||||
Update User
|
||||
|
||||
@@ -295,13 +355,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.UsersAPI.UpdateUserUsersUserIdPatch(context.Background(), userId).UserUpdate(userUpdate).Execute()
|
||||
resp, r, err := apiClient.UsersAPI.UpdateUserApiV1UsersUserIdPatch(context.Background(), userId).UserUpdate(userUpdate).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.UpdateUserUsersUserIdPatch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `UsersAPI.UpdateUserApiV1UsersUserIdPatch``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `UpdateUserUsersUserIdPatch`: UserResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.UpdateUserUsersUserIdPatch`: %v\n", resp)
|
||||
// response from `UpdateUserApiV1UsersUserIdPatch`: UserResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `UsersAPI.UpdateUserApiV1UsersUserIdPatch`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -315,7 +375,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiUpdateUserUsersUserIdPatchRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiUpdateUserApiV1UsersUserIdPatchRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
|
||||
Reference in New Issue
Block a user