{
  "opencollection": "1.0.0",
  "info": {
    "name": "Swetrix Admin Annotations Projects API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Api-Key",
      "value": "{{X-Api-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swetrix.com/v1/project"
          },
          "docs": "Retrieves all analytics projects for the authenticated user."
        },
        {
          "info": {
            "name": "Create Project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swetrix.com/v1/project",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new analytics project. Returns 201 with the project object."
        },
        {
          "info": {
            "name": "Get Project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.swetrix.com/v1/project/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Project ID"
              }
            ]
          },
          "docs": "Retrieves details for a specific analytics project."
        },
        {
          "info": {
            "name": "Update Project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.swetrix.com/v1/project/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Project ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Modifies settings for an existing project including name, active status, public visibility, allowed origins, IP blocklist, and bot protection level."
        },
        {
          "info": {
            "name": "Delete Project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.swetrix.com/v1/project/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Project ID"
              }
            ]
          },
          "docs": "Permanently removes a project and all its data."
        },
        {
          "info": {
            "name": "Pin Project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.swetrix.com/v1/project/:id/pin",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Project ID"
              }
            ]
          },
          "docs": "Pins a project to the top of the dashboard."
        },
        {
          "info": {
            "name": "Unpin Project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.swetrix.com/v1/project/:id/pin",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Project ID"
              }
            ]
          },
          "docs": "Removes a project from the pinned section."
        }
      ]
    }
  ],
  "bundled": true
}