{
  "opencollection": "1.0.0",
  "info": {
    "name": "Union FlyteAdmin Control Plane API (HTTP/JSON Gateway) Domains Projects API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://{org}.app.union.ai/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List registered projects.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{org}.app.union.ai/api/v1/projects",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return for this page."
              },
              {
                "name": "token",
                "value": "",
                "type": "query",
                "description": "Opaque pagination token returned by the previous page."
              },
              {
                "name": "filters",
                "value": "",
                "type": "query",
                "description": "FlyteAdmin filter expression (e.g. eq(execution.phase,RUNNING))."
              },
              {
                "name": "sort_by.key",
                "value": "",
                "type": "query",
                "description": "Field key to sort the result set by."
              }
            ]
          },
          "docs": "List registered projects."
        },
        {
          "info": {
            "name": "Register a new project.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{org}.app.union.ai/api/v1/projects",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Register a new project."
        },
        {
          "info": {
            "name": "Get a single project by id.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{org}.app.union.ai/api/v1/projects/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a single project by id."
        },
        {
          "info": {
            "name": "Update an existing project.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{org}.app.union.ai/api/v1/projects/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing project."
        }
      ]
    }
  ],
  "bundled": true
}