Mogenius API
The mogenius REST API allows you to manage your mogenius workspaces and resources in scripts, automations, and third party tools.
Creating an API key
To authenticate with the mogenius API, first create an API key. You can do this on cluster level, or workspace level. Go to the section API key in the respective settings and add a new key by filling out the form:
- Set a name to identify the API key later.
- Define the expiration date.
- Set the scope based on the pre-defined groups.
Set Image
You can use the API to perform a set image
for your deployments via the mogenius operator.
Helm Upgrade
You can use the API to perform a Helm upgrade
on a Helm release via the mogenius operator. For this to work, the Helm repository must be installed on the cluster first. The variable REPO_NAME
in the request below refers to this Helm repository.
The Helm upgrade can be performed with an API key on workspace level, or cluster level.
Detailed API reference
Was this page helpful?