{
  "opencollection": "1.0.0",
  "info": {
    "name": "Oracle Primavera P6 EPPM REST Activities Projects API",
    "version": "26.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/p6ws/rest/v1/projects",
            "params": [
              {
                "name": "Fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return"
              },
              {
                "name": "Filter",
                "value": "",
                "type": "query",
                "description": "RSQL filter expression"
              },
              {
                "name": "OrderBy",
                "value": "",
                "type": "query",
                "description": "Field to sort by"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum records to return"
              }
            ]
          },
          "docs": "Returns a collection of projects accessible to the authenticated user, with optional field filtering."
        },
        {
          "info": {
            "name": "Create a project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/p6ws/rest/v1/projects",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new project in the P6 EPPM system."
        },
        {
          "info": {
            "name": "Get a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/p6ws/rest/v1/projects/:objectId",
            "params": [
              {
                "name": "objectId",
                "value": "",
                "type": "path",
                "description": "Unique numeric ObjectId"
              },
              {
                "name": "Fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return"
              }
            ]
          },
          "docs": "Returns a single project by its ObjectId."
        },
        {
          "info": {
            "name": "Update a project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}/p6ws/rest/v1/projects/:objectId",
            "params": [
              {
                "name": "objectId",
                "value": "",
                "type": "path",
                "description": "Unique numeric ObjectId"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates fields on an existing project."
        },
        {
          "info": {
            "name": "Delete a project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}/p6ws/rest/v1/projects/:objectId",
            "params": [
              {
                "name": "objectId",
                "value": "",
                "type": "path",
                "description": "Unique numeric ObjectId"
              }
            ]
          },
          "docs": "Permanently deletes a project and all its child objects."
        }
      ]
    }
  ],
  "bundled": true
}