{"id":51135605,"url":"https://github.com/bmlt-enabled/bmlt-server-bash-client","last_synced_at":"2026-06-25T17:30:57.552Z","repository":{"id":86380311,"uuid":"556774155","full_name":"bmlt-enabled/bmlt-server-bash-client","owner":"bmlt-enabled","description":"Bash Client for BMLT Admin API","archived":false,"fork":false,"pushed_at":"2025-06-01T14:36:02.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T23:43:20.369Z","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}},"created_at":"2022-10-24T13:43:16.000Z","updated_at":"2025-06-01T14:35:37.000Z","dependencies_parsed_at":"2025-06-03T06:16:16.969Z","dependency_job_id":null,"html_url":"https://github.com/bmlt-enabled/bmlt-server-bash-client","commit_stats":null,"previous_names":["bmlt-enabled/bmlt-server-bash-client"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/bmlt-enabled/bmlt-server-bash-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmlt-enabled%2Fbmlt-server-bash-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmlt-enabled%2Fbmlt-server-bash-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmlt-enabled%2Fbmlt-server-bash-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmlt-enabled%2Fbmlt-server-bash-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-bash-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmlt-enabled%2Fbmlt-server-bash-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:57.491Z","updated_at":"2026-06-25T17:30:57.544Z","avatar_url":"https://github.com/bmlt-enabled.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BMLT Bash client\n\n## Overview\n\nThis is a Bash client script for accessing BMLT service.\n\nThe script uses cURL underneath for making all REST calls.\n\n## Usage\n\n```shell\n# Make sure the script has executable rights\n$ chmod u+x bmlt-cli\n\n# Print the list of operations available on the service\n$ ./bmlt-cli -h\n\n# Print the service description\n$ ./bmlt-cli --about\n\n# Print detailed information about specific operation\n$ ./bmlt-cli \u003coperationId\u003e -h\n\n# Make GET request\n./bmlt-cli --host http://\u003chostname\u003e:\u003cport\u003e --accept xml \u003coperationId\u003e \u003cqueryParam1\u003e=\u003cvalue1\u003e \u003cheader_key1\u003e:\u003cheader_value2\u003e\n\n# Make GET request using arbitrary curl options (must be passed before \u003coperationId\u003e) to an SSL service using username:password\nbmlt-cli -k -sS --tlsv1.2 --host https://\u003chostname\u003e -u \u003cuser\u003e:\u003cpassword\u003e --accept xml \u003coperationId\u003e \u003cqueryParam1\u003e=\u003cvalue1\u003e \u003cheader_key1\u003e:\u003cheader_value2\u003e\n\n# Make POST request\n$ echo '\u003cbody_content\u003e' | bmlt-cli --host \u003chostname\u003e --content-type json \u003coperationId\u003e -\n\n# Make POST request with simple JSON content, e.g.:\n# {\n#   \"key1\": \"value1\",\n#   \"key2\": \"value2\",\n#   \"key3\": 23\n# }\n$ echo '\u003cbody_content\u003e' | bmlt-cli --host \u003chostname\u003e --content-type json \u003coperationId\u003e key1==value1 key2=value2 key3:=23 -\n\n# Make POST request with form data\n$ bmlt-cli --host \u003chostname\u003e \u003coperationId\u003e key1:=value1 key2:=value2 key3:=23\n\n# Preview the cURL command without actually executing it\n$ bmlt-cli --host http://\u003chostname\u003e:\u003cport\u003e --dry-run \u003coperationid\u003e\n\n```\n\n## Docker image\n\nYou can easily create a Docker image containing a preconfigured environment\nfor using the REST Bash client including working autocompletion and short\nwelcome message with basic instructions, using the generated Dockerfile:\n\n```shell\ndocker build -t my-rest-client .\ndocker run -it my-rest-client\n```\n\nBy default you will be logged into a Zsh environment which has much more\nadvanced auto completion, but you can switch to Bash, where basic autocompletion\nis also available.\n\n## Shell completion\n\n### Bash\n\nThe generated bash-completion script can be either directly loaded to the current Bash session using:\n\n```shell\nsource bmlt-cli.bash-completion\n```\n\nAlternatively, the script can be copied to the `/etc/bash-completion.d` (or on OSX with Homebrew to `/usr/local/etc/bash-completion.d`):\n\n```shell\nsudo cp bmlt-cli.bash-completion /etc/bash-completion.d/bmlt-cli\n```\n\n#### OS X\n\nOn OSX you might need to install bash-completion using Homebrew:\n\n```shell\nbrew install bash-completion\n```\n\nand add the following to the `~/.bashrc`:\n\n```shell\nif [ -f $(brew --prefix)/etc/bash_completion ]; then\n  . $(brew --prefix)/etc/bash_completion\nfi\n```\n\n### Zsh\n\nIn Zsh, the generated `_bmlt-cli` Zsh completion file must be copied to one of the folders under `$FPATH` variable.\n\n## Documentation for API Endpoints\n\nAll URIs are relative to */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\n## bmltToken\n\n\n- **Type**: OAuth\n- **Flow**: password\n- **Token URL**: api/v1/auth/token\n- **Scopes**: N/A\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmlt-enabled%2Fbmlt-server-bash-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmlt-enabled%2Fbmlt-server-bash-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmlt-enabled%2Fbmlt-server-bash-client/lists"}