{
  "opencollection": "1.0.0",
  "info": {
    "name": "Zesty Accounts Apps Scripts API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Scripts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Zesty List all scripts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.api.zesty.io/v1/web/scripts",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns a list of all JavaScript files in the instance."
        },
        {
          "info": {
            "name": "Zesty Create a script",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.api.zesty.io/v1/web/scripts",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new JavaScript file in the instance."
        },
        {
          "info": {
            "name": "Zesty Get a script",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.api.zesty.io/v1/web/scripts/:scriptZUID",
            "params": [
              {
                "name": "scriptZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the script."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns a specific script file and its code content."
        },
        {
          "info": {
            "name": "Zesty Update a script",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://accounts.api.zesty.io/v1/web/scripts/:scriptZUID",
            "params": [
              {
                "name": "scriptZUID",
                "value": "",
                "type": "path",
                "description": "The ZUID of the script."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Updates the code content of a specific script file."
        }
      ]
    }
  ],
  "bundled": true
}