{
  "opencollection": "1.0.0",
  "info": {
    "name": "Macrometa API Reference Activity Metrics Secrets API",
    "version": "0.17.17"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Secrets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List of secrets.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-play.paas.macrometa.io/_fabric/:fabric/_api/kms/secret",
            "params": [
              {
                "name": "fabric",
                "value": "",
                "type": "path",
                "description": "The name of the fabric."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "The name of the secret."
              },
              {
                "name": "keyName",
                "value": "",
                "type": "query",
                "description": "Name of the secret's key."
              },
              {
                "name": "keyId",
                "value": "",
                "type": "query",
                "description": "ID of the secret's key."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of secrets to skip before displaying results. Default: 0"
              },
              {
                "name": "count",
                "value": "",
                "type": "query",
                "description": "The number of secrets to return. Default: 50"
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query",
                "description": "Sort by field name."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Order the results ascending (ASC) or descending (DESC). Use with sortBy."
              }
            ]
          },
          "docs": "Fetch secrets with filter and pagination."
        },
        {
          "info": {
            "name": "Create secret.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-play.paas.macrometa.io/_fabric/:fabric/_api/kms/secret",
            "params": [
              {
                "name": "fabric",
                "value": "",
                "type": "path",
                "description": "The name of the fabric."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "It encodes sensitive data and assigns a name."
        },
        {
          "info": {
            "name": "Delete all secrets.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api-play.paas.macrometa.io/_fabric/:fabric/_api/kms/secret",
            "params": [
              {
                "name": "fabric",
                "value": "",
                "type": "path",
                "description": "The name of the fabric."
              },
              {
                "name": "all",
                "value": "",
                "type": "query",
                "description": "Confirm deleting all secrets."
              }
            ]
          },
          "docs": "Delete all secrets."
        },
        {
          "info": {
            "name": "Fetch secret.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-play.paas.macrometa.io/_fabric/:fabric/_api/kms/secret/:name",
            "params": [
              {
                "name": "fabric",
                "value": "",
                "type": "path",
                "description": "The name of the fabric."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the secret."
              }
            ]
          },
          "docs": "Fetch secret by name."
        },
        {
          "info": {
            "name": "Update secret.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api-play.paas.macrometa.io/_fabric/:fabric/_api/kms/secret/:name",
            "params": [
              {
                "name": "fabric",
                "value": "",
                "type": "path",
                "description": "The name of the fabric."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the secret."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update secret."
        },
        {
          "info": {
            "name": "Delete secret.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api-play.paas.macrometa.io/_fabric/:fabric/_api/kms/secret/:name",
            "params": [
              {
                "name": "fabric",
                "value": "",
                "type": "path",
                "description": "The name of the fabric."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the secret."
              }
            ]
          },
          "docs": "Delete secret by name"
        }
      ]
    }
  ],
  "bundled": true
}