{"id":51135595,"url":"https://github.com/bmlt-enabled/bmlt-server-go-client","last_synced_at":"2026-06-25T17:30:56.740Z","repository":{"id":86380307,"uuid":"556788114","full_name":"bmlt-enabled/bmlt-server-go-client","owner":"bmlt-enabled","description":"Go Client for BMLT Admin API","archived":false,"fork":false,"pushed_at":"2025-12-15T04:31:24.000Z","size":222,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T14:47:40.507Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmlt-enabled.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-24T14:11:52.000Z","updated_at":"2025-12-15T04:30:53.000Z","dependencies_parsed_at":"2025-08-31T16:24:35.725Z","dependency_job_id":"409632b9-645a-428e-a5f2-5db64b6d2600","html_url":"https://github.com/bmlt-enabled/bmlt-server-go-client","commit_stats":null,"previous_names":["bmlt-enabled/bmlt-server-go-client","bmlt-enabled/bmlt-root-server-go-client"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bmlt-enabled/bmlt-server-go-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmlt-enabled%2Fbmlt-server-go-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmlt-enabled%2Fbmlt-server-go-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmlt-enabled%2Fbmlt-server-go-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmlt-enabled%2Fbmlt-server-go-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmlt-enabled","download_url":"https://codeload.github.com/bmlt-enabled/bmlt-server-go-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmlt-enabled%2Fbmlt-server-go-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34786225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-25T17:30:56.669Z","updated_at":"2026-06-25T17:30:56.731Z","avatar_url":"https://github.com/bmlt-enabled.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go API client for bmlt\n\nBMLT Admin API Documentation\n\n## Overview\nThis API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project.  By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.\n\n- API version: 1.0.0\n- Package version: 1.4.1\n- Generator version: 7.20.0-SNAPSHOT\n- Build package: org.openapitools.codegen.languages.GoClientCodegen\n\n## Installation\n\nInstall the following dependencies:\n\n```sh\ngo get github.com/stretchr/testify/assert\ngo get golang.org/x/oauth2\ngo get golang.org/x/net/context\n```\n\nPut the package under your project folder and add the following in import:\n\n```go\nimport bmlt \"github.com/bmlt-enabled/bmlt-server-go-client\"\n```\n\nTo use a proxy, set the environment variable `HTTP_PROXY`:\n\n```go\nos.Setenv(\"HTTP_PROXY\", \"http://proxy_name:proxy_port\")\n```\n\n## Configuration of Server URL\n\nDefault configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification.\n\n### Select Server Configuration\n\nFor using other server than the one defined on index 0 set context value `bmlt.ContextServerIndex` of type `int`.\n\n```go\nctx := context.WithValue(context.Background(), bmlt.ContextServerIndex, 1)\n```\n\n### Templated Server URL\n\nTemplated server URL is formatted using default variables from configuration or from context value `bmlt.ContextServerVariables` of type `map[string]string`.\n\n```go\nctx := context.WithValue(context.Background(), bmlt.ContextServerVariables, map[string]string{\n\t\"basePath\": \"v2\",\n})\n```\n\nNote, enum values are always validated and all unused variables are silently ignored.\n\n### URLs Configuration per Operation\n\nEach operation can use different server URL defined using `OperationServers` map in the `Configuration`.\nAn operation is uniquely identified by `\"{classname}Service.{nickname}\"` string.\nSimilar rules for overriding default operation server index and variables applies by using `bmlt.ContextOperationServerIndices` and `bmlt.ContextOperationServerVariables` context maps.\n\n```go\nctx := context.WithValue(context.Background(), bmlt.ContextOperationServerIndices, map[string]int{\n\t\"{classname}Service.{nickname}\": 2,\n})\nctx = context.WithValue(context.Background(), bmlt.ContextOperationServerVariables, map[string]map[string]string{\n\t\"{classname}Service.{nickname}\": {\n\t\t\"port\": \"8443\",\n\t},\n})\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *http://localhost:8000/main_server*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*RootServerAPI* | [**AuthLogout**](docs/RootServerAPI.md#authlogout) | **Post** /api/v1/auth/logout | Revokes a token\n*RootServerAPI* | [**AuthRefresh**](docs/RootServerAPI.md#authrefresh) | **Post** /api/v1/auth/refresh | Revokes and issues a new token\n*RootServerAPI* | [**AuthToken**](docs/RootServerAPI.md#authtoken) | **Post** /api/v1/auth/token | Creates a token\n*RootServerAPI* | [**CreateErrorTest**](docs/RootServerAPI.md#createerrortest) | **Post** /api/v1/errortest | Tests some errors\n*RootServerAPI* | [**CreateFormat**](docs/RootServerAPI.md#createformat) | **Post** /api/v1/formats | Creates a format\n*RootServerAPI* | [**CreateMeeting**](docs/RootServerAPI.md#createmeeting) | **Post** /api/v1/meetings | Creates a meeting\n*RootServerAPI* | [**CreateServiceBody**](docs/RootServerAPI.md#createservicebody) | **Post** /api/v1/servicebodies | Creates a service body\n*RootServerAPI* | [**CreateUser**](docs/RootServerAPI.md#createuser) | **Post** /api/v1/users | Creates a user\n*RootServerAPI* | [**DeleteFormat**](docs/RootServerAPI.md#deleteformat) | **Delete** /api/v1/formats/{formatId} | Deletes a format\n*RootServerAPI* | [**DeleteMeeting**](docs/RootServerAPI.md#deletemeeting) | **Delete** /api/v1/meetings/{meetingId} | Deletes a meeting\n*RootServerAPI* | [**DeleteServiceBody**](docs/RootServerAPI.md#deleteservicebody) | **Delete** /api/v1/servicebodies/{serviceBodyId} | Deletes a service body\n*RootServerAPI* | [**DeleteUser**](docs/RootServerAPI.md#deleteuser) | **Delete** /api/v1/users/{userId} | Deletes a user\n*RootServerAPI* | [**GetFormat**](docs/RootServerAPI.md#getformat) | **Get** /api/v1/formats/{formatId} | Retrieves a format\n*RootServerAPI* | [**GetFormats**](docs/RootServerAPI.md#getformats) | **Get** /api/v1/formats | Retrieves formats\n*RootServerAPI* | [**GetLaravelLog**](docs/RootServerAPI.md#getlaravellog) | **Get** /api/v1/logs/laravel | Retrieves laravel log\n*RootServerAPI* | [**GetMeeting**](docs/RootServerAPI.md#getmeeting) | **Get** /api/v1/meetings/{meetingId} | Retrieves a meeting\n*RootServerAPI* | [**GetMeetingChanges**](docs/RootServerAPI.md#getmeetingchanges) | **Get** /api/v1/meetings/{meetingId}/changes | Retrieve changes for a meeting\n*RootServerAPI* | [**GetMeetings**](docs/RootServerAPI.md#getmeetings) | **Get** /api/v1/meetings | Retrieves meetings\n*RootServerAPI* | [**GetRootServer**](docs/RootServerAPI.md#getrootserver) | **Get** /api/v1/rootservers/{rootServerId} | Retrieves a root server\n*RootServerAPI* | [**GetRootServers**](docs/RootServerAPI.md#getrootservers) | **Get** /api/v1/rootservers | Retrieves root servers\n*RootServerAPI* | [**GetServiceBodies**](docs/RootServerAPI.md#getservicebodies) | **Get** /api/v1/servicebodies | Retrieves service bodies\n*RootServerAPI* | [**GetServiceBody**](docs/RootServerAPI.md#getservicebody) | **Get** /api/v1/servicebodies/{serviceBodyId} | Retrieves a service body\n*RootServerAPI* | [**GetSettings**](docs/RootServerAPI.md#getsettings) | **Get** /api/v1/settings | Retrieves all settings\n*RootServerAPI* | [**GetUser**](docs/RootServerAPI.md#getuser) | **Get** /api/v1/users/{userId} | Retrieves a single user\n*RootServerAPI* | [**GetUsers**](docs/RootServerAPI.md#getusers) | **Get** /api/v1/users | Retrieves users\n*RootServerAPI* | [**PartialUpdateUser**](docs/RootServerAPI.md#partialupdateuser) | **Patch** /api/v1/users/{userId} | Patches a user\n*RootServerAPI* | [**PatchFormat**](docs/RootServerAPI.md#patchformat) | **Patch** /api/v1/formats/{formatId} | Patches a format\n*RootServerAPI* | [**PatchMeeting**](docs/RootServerAPI.md#patchmeeting) | **Patch** /api/v1/meetings/{meetingId} | Patches a meeting\n*RootServerAPI* | [**PatchServiceBody**](docs/RootServerAPI.md#patchservicebody) | **Patch** /api/v1/servicebodies/{serviceBodyId} | Patches a service body\n*RootServerAPI* | [**UpdateFormat**](docs/RootServerAPI.md#updateformat) | **Put** /api/v1/formats/{formatId} | Updates a format\n*RootServerAPI* | [**UpdateMeeting**](docs/RootServerAPI.md#updatemeeting) | **Put** /api/v1/meetings/{meetingId} | Updates a meeting\n*RootServerAPI* | [**UpdateServiceBody**](docs/RootServerAPI.md#updateservicebody) | **Put** /api/v1/servicebodies/{serviceBodyId} | Updates a Service Body\n*RootServerAPI* | [**UpdateSettings**](docs/RootServerAPI.md#updatesettings) | **Patch** /api/v1/settings | Update settings\n*RootServerAPI* | [**UpdateUser**](docs/RootServerAPI.md#updateuser) | **Put** /api/v1/users/{userId} | Update single user\n\n\n## Documentation For Models\n\n - [AuthenticationError](docs/AuthenticationError.md)\n - [AuthorizationError](docs/AuthorizationError.md)\n - [ConflictError](docs/ConflictError.md)\n - [ErrorTest](docs/ErrorTest.md)\n - [Format](docs/Format.md)\n - [FormatBase](docs/FormatBase.md)\n - [FormatCreate](docs/FormatCreate.md)\n - [FormatPartialUpdate](docs/FormatPartialUpdate.md)\n - [FormatTranslation](docs/FormatTranslation.md)\n - [FormatUpdate](docs/FormatUpdate.md)\n - [Meeting](docs/Meeting.md)\n - [MeetingBase](docs/MeetingBase.md)\n - [MeetingChangeResource](docs/MeetingChangeResource.md)\n - [MeetingCreate](docs/MeetingCreate.md)\n - [MeetingPartialUpdate](docs/MeetingPartialUpdate.md)\n - [MeetingUpdate](docs/MeetingUpdate.md)\n - [NotFoundError](docs/NotFoundError.md)\n - [RootServer](docs/RootServer.md)\n - [RootServerBase](docs/RootServerBase.md)\n - [RootServerBaseStatistics](docs/RootServerBaseStatistics.md)\n - [RootServerBaseStatisticsMeetings](docs/RootServerBaseStatisticsMeetings.md)\n - [RootServerBaseStatisticsServiceBodies](docs/RootServerBaseStatisticsServiceBodies.md)\n - [ServerError](docs/ServerError.md)\n - [ServiceBody](docs/ServiceBody.md)\n - [ServiceBodyBase](docs/ServiceBodyBase.md)\n - [ServiceBodyCreate](docs/ServiceBodyCreate.md)\n - [ServiceBodyPartialUpdate](docs/ServiceBodyPartialUpdate.md)\n - [ServiceBodyUpdate](docs/ServiceBodyUpdate.md)\n - [SettingsBase](docs/SettingsBase.md)\n - [SettingsObject](docs/SettingsObject.md)\n - [SettingsUpdate](docs/SettingsUpdate.md)\n - [Token](docs/Token.md)\n - [TokenCredentials](docs/TokenCredentials.md)\n - [User](docs/User.md)\n - [UserBase](docs/UserBase.md)\n - [UserCreate](docs/UserCreate.md)\n - [UserPartialUpdate](docs/UserPartialUpdate.md)\n - [UserUpdate](docs/UserUpdate.md)\n - [ValidationError](docs/ValidationError.md)\n\n\n## Documentation For Authorization\n\n\nAuthentication schemes defined for the API:\n### bmltToken\n\n\n- **Type**: OAuth\n- **Flow**: password\n- **Authorization URL**: \n- **Scopes**: N/A\n\nExample\n\n```go\nauth := context.WithValue(context.Background(), bmlt.ContextAccessToken, \"ACCESSTOKENSTRING\")\nr, err := client.Service.Operation(auth, args)\n```\n\nOr via OAuth2 module to automatically refresh tokens and perform user authentication.\n\n```go\nimport \"golang.org/x/oauth2\"\n\n/* Perform OAuth2 round trip request and obtain a token */\n\ntokenSource := oauth2cfg.TokenSource(createContext(httpClient), \u0026token)\nauth := context.WithValue(oauth2.NoContext, bmlt.ContextOAuth2, tokenSource)\nr, err := client.Service.Operation(auth, args)\n```\n\n\n## Documentation for Utility Methods\n\nDue to the fact that model structure members are all pointers, this package contains\na number of utility functions to easily obtain pointers to values of basic types.\nEach of these functions takes a value of the given basic type and returns a pointer to it:\n\n* `PtrBool`\n* `PtrInt`\n* `PtrInt32`\n* `PtrInt64`\n* `PtrFloat`\n* `PtrFloat32`\n* `PtrFloat64`\n* `PtrString`\n* `PtrTime`\n\n## Author\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmlt-enabled%2Fbmlt-server-go-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmlt-enabled%2Fbmlt-server-go-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmlt-enabled%2Fbmlt-server-go-client/lists"}