{
"opencollection": "1.0.0",
"info": {
"name": "Polarion REST Account Test Run Attachments API",
"version": "v1"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Test Run Attachments",
"type": "folder"
},
"items": [
{
"info": {
"name": "Returns a list of Test Run Attachments.",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/attachments",
"params": [
{
"name": "projectId",
"value": "",
"type": "path"
},
{
"name": "testRunId",
"value": "",
"type": "path"
},
{
"name": "page[size]",
"value": "",
"type": "query",
"description": "Limit the number of entities returned in a single response. See REST API User Guide for details."
},
{
"name": "page[number]",
"value": "",
"type": "query",
"description": "Specify the page number to be returned. Counting starts from 1. See REST API User Guide for details."
},
{
"name": "fields",
"value": "",
"type": "query",
"description": "Filter returned resource fields. See REST API User Guide for details."
},
{
"name": "include",
"value": "",
"type": "query",
"description": "Include related entities. See REST API User Guide for details."
},
{
"name": "revision",
"value": "",
"type": "query",
"description": "The revision ID."
}
]
},
"docs": "Returns a list of Test Run Attachments."
},
{
"info": {
"name": "Creates a list of Test Run Attachments.",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/attachments",
"params": [
{
"name": "projectId",
"value": "",
"type": "path"
},
{
"name": "testRunId",
"value": "",
"type": "path"
}
],
"body": {
"type": "multipart-form",
"data": []
}
},
"docs": "Files are identified by order or optionally by the 'lid' attribute. See more in the REST API User Guide."
},
{
"info": {
"name": "Deletes a list of Test Run Attachments.",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/attachments",
"params": [
{
"name": "projectId",
"value": "",
"type": "path",
"description": "The Project ID."
},
{
"name": "testRunId",
"value": "",
"type": "path",
"description": "The Test Run ID."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Deletes a list of Test Run Attachments."
},
{
"info": {
"name": "Returns the specified Test Run Attachment.",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/attachments/:attachmentId",
"params": [
{
"name": "projectId",
"value": "",
"type": "path",
"description": "The Project ID."
},
{
"name": "testRunId",
"value": "",
"type": "path",
"description": "The Test Run ID."
},
{
"name": "attachmentId",
"value": "",
"type": "path",
"description": "The Attachment ID."
},
{
"name": "fields",
"value": "",
"type": "query",
"description": "Filter returned resource fields. See REST API User Guide for details."
},
{
"name": "include",
"value": "",
"type": "query",
"description": "Include related entities. See REST API User Guide for details."
},
{
"name": "revision",
"value": "",
"type": "query",
"description": "The revision ID."
}
]
},
"docs": "Returns the specified Test Run Attachment."
},
{
"info": {
"name": "Updates the specified Test Run Attachment.",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/attachments/:attachmentId",
"params": [
{
"name": "projectId",
"value": "",
"type": "path"
},
{
"name": "testRunId",
"value": "",
"type": "path"
},
{
"name": "attachmentId",
"value": "",
"type": "path"
}
],
"body": {
"type": "multipart-form",
"data": []
}
},
"docs": "See more in the REST API User Guide."
},
{
"info": {
"name": "Deletes the specified Test Run Attachment.",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/attachments/:attachmentId",
"params": [
{
"name": "projectId",
"value": "",
"type": "path",
"description": "The Project ID."
},
{
"name": "testRunId",
"value": "",
"type": "path",
"description": "The Test Run ID."
},
{
"name": "attachmentId",
"value": "",
"type": "path",
"description": "The Attachment ID."
}
]
},
"docs": "Deletes the specified Test Run Attachment."
},
{
"info": {
"name": "Downloads the file content for a specified Test Run Attachment.",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/testruns/:testRunId/attachments/:attachmentId/content",
"params": [
{
"name": "projectId",
"value": "",
"type": "path",
"description": "The Project ID."
},
{
"name": "testRunId",
"value": "",
"type": "path",
"description": "The Test Run ID."
},
{
"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 Run Attachment."
}
]
}
],
"bundled": true
}