We’ve been getting lots of questions about when our API will be fully released since it was announced in Preview back in February.
Today, MedStack is excited to announce that the MedStack Control API 1.0 is now released in general availability!
This release includes new endpoints and features to better help developers quickly and seamlessly deploy services to compliant environments within existing CI/CD pipelines.
API 1.0 Capabilities
MedStack Control users with owner or technical permissions now have the ability to create personal access tokens which can be used to authenticate requests made against the MedStack Control API.
The following features were added in version 1.0 of MedStack’s APIs:
- We’ve included several new endpoints and resources to help you manage the Services your company offers on a granular level. Services can now be created and updated with specific images and tags that meet your company’s needs and can accommodate changes to Secrets and Configs in pipelines.
- We’ve released a feature called RefreshImage that allows for you to troubleshoot services by forcing a restart.
- The new Secrets feature will allow you to bake Secrets into CI/CD pipelines in order to make them more secure in production environments.
- The Configuration API now allows for developers to rapidly update and change Configs in CI/CD pipelines.
Prerequisites
Generate API token
A guide on creating API tokens in MedStack Control
Companies
Supported requests: GET
URL: https://api.medstack.co/v1/companies
– Use this to get your company unique identifier used in other API requests
Clusters
Supported requests: GET
URL: https://api.medstack.co/v1/companies/:company_id/clusters
Endpoints
Services
Supported requests: GET, POST, PUT, PATCH, DELETE
URL: https://api.medstack.co/v1/companies/:company_id/clusters/:cluster_id/services
– Faster method of creating new data entries as well us updating existing resources
Refresh image
Supported requests: POST
URL: https://api.medstack.co/v1/companies/:company_id/clusters/:cluster_id/refresh_image
– Update services that are using the “latest” image tag
– Troubleshoot services by forcing their restart
Secrets
Supported requests: GET, POST, DELETE
URL: https://api.medstack.co/v1/companies/:company_id/clusters/:cluster_id/secrets
– Bake Secrets into CI/CD pipelines making them more secure in production environments
Configuration
Supported requests: GET, POST, DELETE
URL: https://api.medstack.co/v1/companies/:company_id/clusters/:cluster_id/configs
– Update and change Configs in CI/CD pipelines.
Volumes
Supported requests: GET, POST, DELETE
URL: https://api.medstack.co/v1/companies/:company_id/clusters/:cluster_id/volumes
– Data can be shared between containers.
—
Want to see our API in action? Watch our recent demo on the Docker Build podcast and reach out to us here if you have any questions.