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