All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
AdminAppsList | Get /admin/apps/ | |
AdminMetricsRetrieve | Get /admin/metrics/ | |
AdminModelsList | Get /admin/models/ | |
AdminSettingsPartialUpdate | Patch /admin/settings/ | |
AdminSettingsRetrieve | Get /admin/settings/ | |
AdminSettingsUpdate | Put /admin/settings/ | |
AdminSystemCreate | Post /admin/system/ | |
AdminSystemRetrieve | Get /admin/system/ | |
AdminVersionHistoryList | Get /admin/version/history/ | |
AdminVersionHistoryRetrieve | Get /admin/version/history/{id}/ | |
AdminVersionRetrieve | Get /admin/version/ | |
AdminWorkersList | Get /admin/workers/ |
[]App AdminAppsList(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminAppsList(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminAppsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminAppsList`: []App
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminAppsList`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiAdminAppsListRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoginMetrics AdminMetricsRetrieve(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminMetricsRetrieve(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminMetricsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminMetricsRetrieve`: LoginMetrics
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminMetricsRetrieve`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiAdminMetricsRetrieveRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]App AdminModelsList(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminModelsList(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminModelsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminModelsList`: []App
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminModelsList`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiAdminModelsListRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Settings AdminSettingsPartialUpdate(ctx).PatchedSettingsRequest(patchedSettingsRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
patchedSettingsRequest := *openapiclient.NewPatchedSettingsRequest() // PatchedSettingsRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminSettingsPartialUpdate(context.Background()).PatchedSettingsRequest(patchedSettingsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminSettingsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminSettingsPartialUpdate`: Settings
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminSettingsPartialUpdate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAdminSettingsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
patchedSettingsRequest | PatchedSettingsRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Settings AdminSettingsRetrieve(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminSettingsRetrieve(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminSettingsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminSettingsRetrieve`: Settings
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminSettingsRetrieve`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiAdminSettingsRetrieveRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Settings AdminSettingsUpdate(ctx).SettingsRequest(settingsRequest).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
settingsRequest := *openapiclient.NewSettingsRequest() // SettingsRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminSettingsUpdate(context.Background()).SettingsRequest(settingsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminSettingsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminSettingsUpdate`: Settings
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminSettingsUpdate`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAdminSettingsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
settingsRequest | SettingsRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SystemInfo AdminSystemCreate(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminSystemCreate(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminSystemCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminSystemCreate`: SystemInfo
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminSystemCreate`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiAdminSystemCreateRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SystemInfo AdminSystemRetrieve(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminSystemRetrieve(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminSystemRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminSystemRetrieve`: SystemInfo
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminSystemRetrieve`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiAdminSystemRetrieveRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]VersionHistory AdminVersionHistoryList(ctx).Build(build).Ordering(ordering).Search(search).Version(version).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
build := "build_example" // string | (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
search := "search_example" // string | A search term. (optional)
version := "version_example" // string | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminVersionHistoryList(context.Background()).Build(build).Ordering(ordering).Search(search).Version(version).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminVersionHistoryList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminVersionHistoryList`: []VersionHistory
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminVersionHistoryList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAdminVersionHistoryListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
build | string | ||
ordering | string | Which field to use when ordering the results. | |
search | string | A search term. | |
version | string |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VersionHistory AdminVersionHistoryRetrieve(ctx, id).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := int32(56) // int32 | A unique integer value identifying this Version history.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminVersionHistoryRetrieve(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminVersionHistoryRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminVersionHistoryRetrieve`: VersionHistory
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminVersionHistoryRetrieve`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int32 | A unique integer value identifying this Version history. |
Other parameters are passed through a pointer to a apiAdminVersionHistoryRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Version AdminVersionRetrieve(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminVersionRetrieve(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminVersionRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminVersionRetrieve`: Version
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminVersionRetrieve`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiAdminVersionRetrieveRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Worker AdminWorkersList(ctx).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AdminApi.AdminWorkersList(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AdminWorkersList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AdminWorkersList`: []Worker
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AdminWorkersList`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiAdminWorkersListRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]