{
  "opencollection": "1.0.0",
  "info": {
    "name": "TestRail API (v2) Cases Projects API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.testrail.io/index.php?/api/v2/get_projects",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of records to return (1-250; bulk endpoints default and cap at 250)."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of records to skip for pagination on bulk endpoints."
              }
            ]
          },
          "docs": "Returns the list of available projects."
        },
        {
          "info": {
            "name": "Get project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.testrail.io/index.php?/api/v2/get_project/:project_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ]
          },
          "docs": "Returns an existing project by ID."
        },
        {
          "info": {
            "name": "Add project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.testrail.io/index.php?/api/v2/add_project",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new project (admin status required)."
        },
        {
          "info": {
            "name": "Update project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.testrail.io/index.php?/api/v2/update_project/:project_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing project."
        },
        {
          "info": {
            "name": "Delete project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.testrail.io/index.php?/api/v2/delete_project/:project_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ]
          },
          "docs": "Deletes an existing project. This cannot be undone."
        }
      ]
    }
  ],
  "bundled": true
}