{
  "opencollection": "1.0.0",
  "info": {
    "name": "Contentstack Analytics Accounts Projects API",
    "version": "v2"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.contentstack.io/v1/organizations/:organization_uid/projects",
            "params": [
              {
                "name": "organization_uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              }
            ]
          },
          "docs": "Retrieves all automation projects within the specified organization. Each project contains automations, variables, and external service account connections."
        },
        {
          "info": {
            "name": "Create a project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.contentstack.io/v1/organizations/:organization_uid/projects",
            "params": [
              {
                "name": "organization_uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new automation project within the specified organization. Projects serve as organizational containers for automations and shared configuration."
        },
        {
          "info": {
            "name": "Get a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.contentstack.io/v1/organizations/:organization_uid/projects/:project_uid",
            "params": [
              {
                "name": "organization_uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "project_uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the automation project."
              }
            ]
          },
          "docs": "Retrieves details for a specific automation project including its metadata, creation date, and current status."
        },
        {
          "info": {
            "name": "Update a project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.contentstack.io/v1/organizations/:organization_uid/projects/:project_uid",
            "params": [
              {
                "name": "organization_uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "project_uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the automation project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the name or description of an existing automation project."
        },
        {
          "info": {
            "name": "Delete a project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.contentstack.io/v1/organizations/:organization_uid/projects/:project_uid",
            "params": [
              {
                "name": "organization_uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization."
              },
              {
                "name": "project_uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the automation project."
              }
            ]
          },
          "docs": "Permanently deletes an automation project and all its automations, variables, and configuration. This action is irreversible."
        },
        {
          "info": {
            "name": "Get all projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.contentstack.io/projects"
          },
          "docs": "Retrieves all Launch projects accessible to the authenticated user or organization. Returns project metadata including names, creation dates, and environment counts."
        },
        {
          "info": {
            "name": "Create a project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.contentstack.io/projects",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new Launch project for deploying a web application. Projects serve as the top-level container for environments and deployments."
        },
        {
          "info": {
            "name": "Get a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.contentstack.io/projects/:project_uid",
            "params": [
              {
                "name": "project_uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Launch project."
              }
            ]
          },
          "docs": "Retrieves the details of a specific Launch project including its configuration, current status, and linked Contentstack stack."
        },
        {
          "info": {
            "name": "Update a project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.contentstack.io/projects/:project_uid",
            "params": [
              {
                "name": "project_uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Launch project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration of an existing Launch project such as its name, description, or framework settings."
        },
        {
          "info": {
            "name": "Delete a project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.contentstack.io/projects/:project_uid",
            "params": [
              {
                "name": "project_uid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Launch project."
              }
            ]
          },
          "docs": "Permanently deletes a Launch project and all its environments and deployment history. This action is irreversible."
        }
      ]
    }
  ],
  "bundled": true
}