[api] chore: update api

This commit is contained in:
2026-06-25 11:26:20 +02:00
parent 3d86f9603d
commit 539c0216f5
20 changed files with 866 additions and 594 deletions

View File

@@ -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