{
  "opencollection": "1.0.0",
  "info": {
    "name": "REST locale site API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "site",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Sites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.makeswift.com/v2/sites",
            "headers": [
              {
                "name": "x-api-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "The workspace ID to list sites from."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of sites to return."
              },
              {
                "name": "startingAfter",
                "value": "",
                "type": "query",
                "description": "The pagination cursor. This is used to indicate what ID to list from."
              }
            ]
          },
          "docs": "Returns a list of sites in a workspace."
        },
        {
          "info": {
            "name": "Create Site",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.makeswift.com/v2/sites",
            "headers": [
              {
                "name": "x-api-key",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new site in a workspace."
        },
        {
          "info": {
            "name": "Get Site",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.makeswift.com/v2/sites/:siteId",
            "headers": [
              {
                "name": "x-api-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "The site ID for the site you are requesting."
              }
            ]
          },
          "docs": "Returns a site by its ID."
        },
        {
          "info": {
            "name": "Update Site",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.makeswift.com/v2/sites/:siteId",
            "headers": [
              {
                "name": "x-api-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "The site ID for the site you are updating."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing site."
        },
        {
          "info": {
            "name": "Delete Site",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.makeswift.com/v2/sites/:siteId",
            "headers": [
              {
                "name": "x-api-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "The site ID for the site you are deleting."
              }
            ]
          },
          "docs": "Deletes a site."
        },
        {
          "info": {
            "name": "Duplicate Site",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.makeswift.com/v2/sites/:siteId/duplicate",
            "headers": [
              {
                "name": "x-api-key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "siteId",
                "value": "",
                "type": "path",
                "description": "The site ID for the site you are duplicating."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Duplicates an existing site with all its content and configuration."
        }
      ]
    }
  ],
  "bundled": true
}