{
  "opencollection": "1.0.0",
  "info": {
    "name": "Polarion REST Account Page Attachments API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Page Attachments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns a list of Page Attachments.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/spaces/:spaceId/pages/:pageName/attachments",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "path",
                "description": "The Space ID. (Use '_default' without quotes to address the default Space.)"
              },
              {
                "name": "pageName",
                "value": "",
                "type": "path",
                "description": "The Page name."
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query",
                "description": "Limit the number of entities returned in a single response. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."
              },
              {
                "name": "page[number]",
                "value": "",
                "type": "query",
                "description": "Specify the page number to be returned. Counting starts from 1. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Filter returned resource fields. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Include related entities. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."
              },
              {
                "name": "revision",
                "value": "",
                "type": "query",
                "description": "The revision ID."
              }
            ]
          },
          "docs": "Returns a list of Page Attachments."
        },
        {
          "info": {
            "name": "Creates a list of Page Attachments.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/spaces/:spaceId/pages/:pageName/attachments",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "path"
              },
              {
                "name": "pageName",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Files are identified by order or optionally by the 'lid' attribute. See more in the <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a>."
        },
        {
          "info": {
            "name": "Returns the specified Page Attachment.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/spaces/:spaceId/pages/:pageName/attachments/:attachmentId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "path",
                "description": "The Space ID. (Use '_default' without quotes to address the default Space.)"
              },
              {
                "name": "pageName",
                "value": "",
                "type": "path",
                "description": "The Page name."
              },
              {
                "name": "attachmentId",
                "value": "",
                "type": "path",
                "description": "The Attachment ID."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Filter returned resource fields. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Include related entities. See <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a> for details."
              },
              {
                "name": "revision",
                "value": "",
                "type": "query",
                "description": "The revision ID."
              }
            ]
          },
          "docs": "Returns the specified Page Attachment."
        },
        {
          "info": {
            "name": "Updates the specified Page Attachment.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/spaces/:spaceId/pages/:pageName/attachments/:attachmentId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "path",
                "description": "The Space ID. (Use '_default' without quotes to address the default Space.)"
              },
              {
                "name": "pageName",
                "value": "",
                "type": "path",
                "description": "The Page name."
              },
              {
                "name": "attachmentId",
                "value": "",
                "type": "path",
                "description": "The Attachment ID."
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "See more in the <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a>."
        },
        {
          "info": {
            "name": "Deletes the specified Page Attachment.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/spaces/:spaceId/pages/:pageName/attachments/:attachmentId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "path",
                "description": "The Space ID. (Use '_default' without quotes to address the default Space.)"
              },
              {
                "name": "pageName",
                "value": "",
                "type": "path",
                "description": "The Page name."
              },
              {
                "name": "attachmentId",
                "value": "",
                "type": "path",
                "description": "The Attachment ID."
              }
            ]
          },
          "docs": "Deletes the specified Page Attachment."
        },
        {
          "info": {
            "name": "Downloads the file content for a specified Page Attachment.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/spaces/:spaceId/pages/:pageName/attachments/:attachmentId/content",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "path",
                "description": "The Space ID. (Use '_default' without quotes to address the default Space.)"
              },
              {
                "name": "pageName",
                "value": "",
                "type": "path",
                "description": "The Page name."
              },
              {
                "name": "attachmentId",
                "value": "",
                "type": "path",
                "description": "The Attachment ID."
              },
              {
                "name": "revision",
                "value": "",
                "type": "query",
                "description": "The revision ID."
              }
            ]
          },
          "docs": "Downloads the file content for a specified Page Attachment."
        }
      ]
    }
  ],
  "bundled": true
}