{
  "opencollection": "1.0.0",
  "info": {
    "name": "Seldon Deploy AlertingService SecretsService API",
    "version": "v1alpha1"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "resource_owner_password_credentials",
      "accessTokenUrl": "https://Y.Y.Y.Y",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "SecretsService",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Creates a GCS bucket secret according to specified parameters.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://X.X.X.X/seldon-deploy/api/v1alpha1/secrets/:namespace/bucket/gcs/:remote",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The namespace to create secret in."
              },
              {
                "name": "remote",
                "value": "",
                "type": "path",
                "description": "The remote name must contain only lowercase letters, digits or dashes, must start and end with a lowercase letter or digit and must be no more than 30 characters in length. The created secret will be named {remote}-bucket-envvars or {remote}-bucket-params, for Core 1 or Core 2, respectively."
              },
              {
                "name": "secretVersion",
                "value": "",
                "type": "query",
                "description": "The version of the secret to use (CORE_V1 or CORE_V2). Default value is CORE_V1"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a GCS bucket secret according to specified parameters."
        },
        {
          "info": {
            "name": "Creates a generic rclone bucket secret according to specified parameters.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://X.X.X.X/seldon-deploy/api/v1alpha1/secrets/:namespace/bucket/rclone/:remote",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The namespace to create secret in."
              },
              {
                "name": "remote",
                "value": "",
                "type": "path",
                "description": "The remote name must contain only lowercase letters, digits or dashes, must start and end with a lowercase letter or digit and must be no more than 30 characters in length. The created secret will be named {remote}-bucket-envvars or {remote}-bucket-params, for Core 1 or Core 2, respectively."
              },
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "The format for the secret. Must be one of (env_var, config_param). env_var formats the secret as environment variables, each with a key and a value. env_var is suitable for Seldon Core v1 and Argo Workflows. config_param formats the secret to be compatible with Rclone's HTTP API. config_param is suitable for Seldon Core v2."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a generic rclone bucket secret according to specified parameters."
        },
        {
          "info": {
            "name": "Creates a S3 bucket secret according to specified parameters.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://X.X.X.X/seldon-deploy/api/v1alpha1/secrets/:namespace/bucket/s3/:remote",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The namespace to create secret in."
              },
              {
                "name": "remote",
                "value": "",
                "type": "path",
                "description": "The remote name must contain only lowercase letters, digits or dashes, must start and end with a lowercase letter or digit and must be no more than 30 characters in length. The created secret will be named {remote}-bucket-envvars or {remote}-bucket-params, for Core 1 or Core 2, respectively."
              },
              {
                "name": "secretVersion",
                "value": "",
                "type": "query",
                "description": "The version of the secret to use (CORE_1 or CORE_2). Default value is CORE_1"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a S3 bucket secret according to specified parameters."
        },
        {
          "info": {
            "name": "Creates a registry secret according to specified parameters.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://X.X.X.X/seldon-deploy/api/v1alpha1/secrets/:namespace/registry/:name",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The namespace to create secret in."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The secret name must contain only lowercase letters, digits or dashes, must start and end with a lowercase letter or digit and must be no more than 30 characters in length."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a registry secret according to specified parameters."
        },
        {
          "info": {
            "name": "Lists the names and metadata of secrets used by Seldon Deploy.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://X.X.X.X/seldon-deploy/api/v1alpha1/secrets/:namespace/:secretType",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The namespace to list secrets in."
              },
              {
                "name": "secretType",
                "value": "",
                "type": "path",
                "description": "The secret type, can be one of (`bucket`, `registry`) or `all` to list all secrets used by Seldon Deploy."
              },
              {
                "name": "bucketSecretFormat",
                "value": "",
                "type": "query",
                "description": "Optional filter for the format of bucket secrets. Only applicable when `secret_type` is `bucket.`"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Optional The maximum number of Secrets to return in the response."
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query",
                "description": "Optional pagination token returned from a previous call to List that indicates where this listing should continue from."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Optional search string for secrets."
              }
            ]
          },
          "docs": "Lists the names and metadata of secrets used by Seldon Deploy."
        },
        {
          "info": {
            "name": "Deletes the specified secret.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://X.X.X.X/seldon-deploy/api/v1alpha1/secrets/:namespace/:secretType/:name",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "The namespace to delete secret from."
              },
              {
                "name": "secretType",
                "value": "",
                "type": "path",
                "description": "The secret type of the secret to be deleted, can be one of (`bucket`, `registry`)."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the secret to delete."
              }
            ]
          },
          "docs": "Deletes the specified secret."
        }
      ]
    }
  ],
  "bundled": true
}