Skip to content

Releases: zopdev/zop-api

v0.0.3

24 Dec 19:57
475dff0

Choose a tag to compare

Release v0.0.3

✨ Features:

GKE Cluster - added apis for

Deployments
	List: /environments/{id}/deploymentspace/deployment
	Get by Name: /environments/{id}/deploymentspace/deployment/{name}
Services
	List: /environments/{id}/deploymentspace/service
	Get by Name: /environments/{id}/deploymentspace/service/{name}
Pods
	List: /environments/{id}/deploymentspace/pod
	Get by Name: /environments/{id}/deploymentspace/pod/{name}
Cronjobs
	List: /environments/{id}/deploymentspace/cronjob
	Get by Name: /environments/{id}/deploymentspace/cronjob/{name}

Full Changelog: v0.0.2...v0.0.3

v0.0.2

18 Dec 08:32
93a30a5

Choose a tag to compare

Release v0.0.2

✨ Features:

Swagger

added swagger for all apis can be accessed at endpoint - /.well-known/swagger

Cloud Accounts

  1. GET /cloud-accounts/{id}/deployment-space/options
    Lists available deployment space options for the specified cloud account.
  2. GET /cloud-accounts/{id}/deployment-space/clusters
    Retrieves a list of clusters associated with the specified cloud account and deployment space.
  3. GET /cloud-accounts/{id}/deployment-space/namespaces
    Fetches all namespaces under the deployment space of the specified cluster.

Applications

  1. POST /applications
    Creates a new application with the provided details.
  2. GET /applications
    Retrieves a list of all applications.
  3. GET /applications/{id}
    Fetches the details of a specific application by its ID.

Environments

  1. POST /applications/{id}/environments
    Adds a new environment for a specified application.
  2. PATCH /environments
    Updates details of an existing environment.
  3. GET /applications/{id}/environments
    Retrieves a list of environments for a specified application.

deployment space

  1. POST /environments/{id}/deploymentspace
    Adds a deployment space under the specified environment.

Full Changelog: v0.0.1...v0.0.2

v0.0.1

09 Dec 11:51
a495645

Choose a tag to compare

Release v0.0.1

✨ Features:

  1. Add a new cloud account
    Endpoint - POST /cloud-accounts
    • Description
      Use this endpoint to add a cloud account by specifying its name, provider, and credentials.
    • Request Body
    {
        "name": "zop cloud Account",
        "provider": "gcp",
        "credentials": {}
    }

  1. List all cloud accounts
    Endpoint - GET /cloud-accounts

    • Description
      This endpoint returns a list of all registered cloud accounts with their details.
    • Sample Response
    {
        "data": [
            {
                "name": "zop cloud Account", 
                "id": 1,
                "provider": "gcp",
                "providerId": "caramel-park-443607-n22wqe5331",
                "providerDetails": null,
                "createdAt": "2024-12-09T09:48:27Z",
                "updatedAt": "2024-12-09T09:48:27Z"
            }
        ]
    }

    This endpoint returns a list of all registered cloud accounts with their details.

Full Changelog: https://github.com/zopdev/zop-api/commits/v0.0.1