{
  "opencollection": "1.0.0",
  "info": {
    "name": "Limrun Analytics Gradle Instances API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Gradle Instances",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Gradle instances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/gradle_instances",
            "params": [
              {
                "name": "state",
                "value": "",
                "type": "query",
                "description": "State filter to apply to Gradle instances to return. Each comma-separated state will be used as part of\nan OR clause, e.g. \"assigned,ready\" will return all instances that are either assigned or ready.\n\nValid states: creating, assigned, ready, terminated, unknown\n"
              },
              {
                "name": "labelSelector",
                "value": "",
                "type": "query",
                "description": "Labels filter to apply to instances to return.\nExpects a comma-separated list of key=value pairs (e.g., env=prod,region=us-west).\n"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to be returned. The default is 50.\n"
              },
              {
                "name": "startingAfter",
                "value": "",
                "type": "query"
              },
              {
                "name": "endingBefore",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List Gradle instances"
        },
        {
          "info": {
            "name": "Create a Gradle instance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/gradle_instances",
            "params": [
              {
                "name": "wait",
                "value": "",
                "type": "query",
                "description": "Return after the instance is ready to connect."
              },
              {
                "name": "reuseIfExists",
                "value": "",
                "type": "query",
                "description": "If there is another instance with given labels and region, return that one instead of creating\na new instance.\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Gradle instance"
        },
        {
          "info": {
            "name": "Get Gradle instance with given ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/gradle_instances/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Gradle instance ID, e.g. gradle_someid"
              }
            ]
          },
          "docs": "Get Gradle instance with given ID"
        },
        {
          "info": {
            "name": "Delete Gradle instance with given name",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/gradle_instances/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Gradle instance ID, e.g. gradle_someid"
              }
            ]
          },
          "docs": "Delete Gradle instance with given name"
        }
      ]
    }
  ],
  "bundled": true
}