{
"opencollection": "1.0.0",
"info": {
"name": "Polarion REST Account Work Item Approvals API",
"version": "v1"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Work Item Approvals",
"type": "folder"
},
"items": [
{
"info": {
"name": "Returns a list of instances.",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/workitems/:workItemId/approvals",
"params": [
{
"name": "projectId",
"value": "",
"type": "path",
"description": "The Project ID."
},
{
"name": "workItemId",
"value": "",
"type": "path",
"description": "The Work Item ID."
},
{
"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 instances."
},
{
"info": {
"name": "Creates a list of WorkItem Approvals.",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/workitems/:workItemId/approvals",
"params": [
{
"name": "projectId",
"value": "",
"type": "path",
"description": "The Project ID."
},
{
"name": "workItemId",
"value": "",
"type": "path",
"description": "The Work Item ID."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Creates a list of WorkItem Approvals."
},
{
"info": {
"name": "Updates a list of instances.",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/workitems/:workItemId/approvals",
"params": [
{
"name": "projectId",
"value": "",
"type": "path",
"description": "The Project ID."
},
{
"name": "workItemId",
"value": "",
"type": "path",
"description": "The Work Item ID."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Updates a list of instances."
},
{
"info": {
"name": "Deletes a list of Work Item Approvals.",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/workitems/:workItemId/approvals",
"params": [
{
"name": "projectId",
"value": "",
"type": "path",
"description": "The Project ID."
},
{
"name": "workItemId",
"value": "",
"type": "path",
"description": "The Work Item ID."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Deletes a list of Work Item Approvals."
},
{
"info": {
"name": "Returns the specified instance.",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/workitems/:workItemId/approvals/:userId",
"params": [
{
"name": "projectId",
"value": "",
"type": "path",
"description": "The Project ID."
},
{
"name": "workItemId",
"value": "",
"type": "path",
"description": "The Work Item ID."
},
{
"name": "userId",
"value": "",
"type": "path",
"description": "The User 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 instance."
},
{
"info": {
"name": "Updates the specified instance.",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/workitems/:workItemId/approvals/:userId",
"params": [
{
"name": "projectId",
"value": "",
"type": "path",
"description": "The Project ID."
},
{
"name": "workItemId",
"value": "",
"type": "path",
"description": "The Work Item ID."
},
{
"name": "userId",
"value": "",
"type": "path",
"description": "The User ID."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Updates the specified instance."
},
{
"info": {
"name": "Deletes the specified Work Item Approval.",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://example.com/polarion/rest/v1/projects/:projectId/workitems/:workItemId/approvals/:userId",
"params": [
{
"name": "projectId",
"value": "",
"type": "path",
"description": "The Project ID."
},
{
"name": "workItemId",
"value": "",
"type": "path",
"description": "The Work Item ID."
},
{
"name": "userId",
"value": "",
"type": "path",
"description": "The User ID."
}
]
},
"docs": "Deletes the specified Work Item Approval."
}
]
}
],
"bundled": true
}