{
  "opencollection": "1.0.0",
  "info": {
    "name": "Polarion REST Account Test Record Attachments API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Test Record Attachments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns a list of Test Record Attachments.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/testrecords/:testCaseProjectId/:testCaseId/:iteration/attachments",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "testRunId",
                "value": "",
                "type": "path",
                "description": "The Test Run ID."
              },
              {
                "name": "testCaseProjectId",
                "value": "",
                "type": "path",
                "description": "The Testcase Project ID."
              },
              {
                "name": "testCaseId",
                "value": "",
                "type": "path",
                "description": "The Testcase ID."
              },
              {
                "name": "iteration",
                "value": "",
                "type": "path",
                "description": "The Iteration Number."
              },
              {
                "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 Test Record Attachments."
        },
        {
          "info": {
            "name": "Creates a list of Test Record Attachments.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/testrecords/:testCaseProjectId/:testCaseId/:iteration/attachments",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "testRunId",
                "value": "",
                "type": "path",
                "description": "The Test Run ID."
              },
              {
                "name": "testCaseProjectId",
                "value": "",
                "type": "path",
                "description": "The Testcase Project ID."
              },
              {
                "name": "testCaseId",
                "value": "",
                "type": "path",
                "description": "The Testcase ID."
              },
              {
                "name": "iteration",
                "value": "",
                "type": "path",
                "description": "The Iteration Number."
              }
            ],
            "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": "Deletes a list of Test Record Attachments.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/testrecords/:testCaseProjectId/:testCaseId/:iteration/attachments",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "testRunId",
                "value": "",
                "type": "path",
                "description": "The Test Run ID."
              },
              {
                "name": "testCaseProjectId",
                "value": "",
                "type": "path",
                "description": "The Testcase Project ID."
              },
              {
                "name": "testCaseId",
                "value": "",
                "type": "path",
                "description": "The Testcase ID."
              },
              {
                "name": "iteration",
                "value": "",
                "type": "path",
                "description": "The Iteration Number."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deletes a list of Test Record Attachments."
        },
        {
          "info": {
            "name": "Returns the specified Test Record Attachment.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/testrecords/:testCaseProjectId/:testCaseId/:iteration/attachments/:attachmentId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "testRunId",
                "value": "",
                "type": "path",
                "description": "The Test Run ID."
              },
              {
                "name": "testCaseProjectId",
                "value": "",
                "type": "path",
                "description": "The Testcase Project ID."
              },
              {
                "name": "testCaseId",
                "value": "",
                "type": "path",
                "description": "The Testcase ID."
              },
              {
                "name": "iteration",
                "value": "",
                "type": "path",
                "description": "The Iteration Number."
              },
              {
                "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 Test Record Attachment."
        },
        {
          "info": {
            "name": "Updates the specified Test Record Attachment.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/testrecords/:testCaseProjectId/:testCaseId/:iteration/attachments/:attachmentId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "testRunId",
                "value": "",
                "type": "path",
                "description": "The Test Run ID."
              },
              {
                "name": "testCaseProjectId",
                "value": "",
                "type": "path",
                "description": "The Testcase Project ID."
              },
              {
                "name": "testCaseId",
                "value": "",
                "type": "path",
                "description": "The Testcase ID."
              },
              {
                "name": "iteration",
                "value": "",
                "type": "path",
                "description": "The Iteration Number."
              },
              {
                "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 Test Record Attachment.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/testrecords/:testCaseProjectId/:testCaseId/:iteration/attachments/:attachmentId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "testRunId",
                "value": "",
                "type": "path",
                "description": "The Test Run ID."
              },
              {
                "name": "testCaseProjectId",
                "value": "",
                "type": "path",
                "description": "The Testcase Project ID."
              },
              {
                "name": "testCaseId",
                "value": "",
                "type": "path",
                "description": "The Testcase ID."
              },
              {
                "name": "iteration",
                "value": "",
                "type": "path",
                "description": "The Iteration Number."
              },
              {
                "name": "attachmentId",
                "value": "",
                "type": "path",
                "description": "The Attachment ID."
              }
            ]
          },
          "docs": "Deletes the specified Test Record Attachment."
        },
        {
          "info": {
            "name": "Downloads the file content for a specified Test Record Attachment.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/testrecords/:testCaseProjectId/:testCaseId/:iteration/attachments/:attachmentId/content",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Project ID."
              },
              {
                "name": "testRunId",
                "value": "",
                "type": "path",
                "description": "The Test Run ID."
              },
              {
                "name": "testCaseProjectId",
                "value": "",
                "type": "path",
                "description": "The Testcase Project ID."
              },
              {
                "name": "testCaseId",
                "value": "",
                "type": "path",
                "description": "The Testcase ID."
              },
              {
                "name": "iteration",
                "value": "",
                "type": "path",
                "description": "The Iteration Number."
              },
              {
                "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 Test Record Attachment."
        }
      ]
    }
  ],
  "bundled": true
}