{ "opencollection": "1.0.0", "info": { "name": "Polarion REST Account Collections API", "version": "v1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Collections", "type": "folder" }, "items": [ { "info": { "name": "Returns a list of Collections.", "type": "http" }, "http": { "method": "GET", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project 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": "query", "value": "", "type": "query", "description": "The query string." }, { "name": "sort", "value": "", "type": "query", "description": "The sort string." }, { "name": "revision", "value": "", "type": "query", "description": "The revision ID." } ] }, "docs": "Returns a list of Collections." }, { "info": { "name": "Creates a list of Collections.", "type": "http" }, "http": { "method": "POST", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a list of Collections." }, { "info": { "name": "Deletes a list of Collections.", "type": "http" }, "http": { "method": "DELETE", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Deletes a list of Collections." }, { "info": { "name": "Returns the specified Collection.", "type": "http" }, "http": { "method": "GET", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections/:collectionId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." }, { "name": "collectionId", "value": "", "type": "path", "description": "The Collection 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 Collection." }, { "info": { "name": "Updates the specified Collection.", "type": "http" }, "http": { "method": "PATCH", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections/:collectionId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." }, { "name": "collectionId", "value": "", "type": "path", "description": "The Collection ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified Collection." }, { "info": { "name": "Deletes the specified Collection.", "type": "http" }, "http": { "method": "DELETE", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections/:collectionId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." }, { "name": "collectionId", "value": "", "type": "path", "description": "The Collection ID." } ] }, "docs": "Deletes the specified Collection." }, { "info": { "name": "Closes the specified Collection.", "type": "http" }, "http": { "method": "POST", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections/:collectionId/actions/close", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." }, { "name": "collectionId", "value": "", "type": "path", "description": "The Collection ID." } ] }, "docs": "Closes the specified Collection." }, { "info": { "name": "Reopens the specified Collection.", "type": "http" }, "http": { "method": "POST", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections/:collectionId/actions/reopen", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." }, { "name": "collectionId", "value": "", "type": "path", "description": "The Collection ID." } ] }, "docs": "Reopens the specified Collection." }, { "info": { "name": "Reuses the specified Collection.", "type": "http" }, "http": { "method": "POST", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections/:collectionId/actions/reuse", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." }, { "name": "collectionId", "value": "", "type": "path", "description": "The Collection ID." }, { "name": "revision", "value": "", "type": "query", "description": "The revision ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Reuses the specified Collection." }, { "info": { "name": "Returns a list of Collection Relationships.", "type": "http" }, "http": { "method": "GET", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections/:collectionId/relationships/:relationshipId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." }, { "name": "collectionId", "value": "", "type": "path", "description": "The Collection ID." }, { "name": "relationshipId", "value": "", "type": "path", "description": "The Relationship 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 Collection Relationships." }, { "info": { "name": "Creates the specific Relationships for the Collections.", "type": "http" }, "http": { "method": "POST", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections/:collectionId/relationships/:relationshipId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." }, { "name": "collectionId", "value": "", "type": "path", "description": "The Collection ID." }, { "name": "relationshipId", "value": "", "type": "path", "description": "The Relationship ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates the specific Relationships for the Collections." }, { "info": { "name": "Updates a list of Collection Relationships.", "type": "http" }, "http": { "method": "PATCH", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections/:collectionId/relationships/:relationshipId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." }, { "name": "collectionId", "value": "", "type": "path", "description": "The Collection ID." }, { "name": "relationshipId", "value": "", "type": "path", "description": "The Relationship ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a list of Collection Relationships." }, { "info": { "name": "Removes the specific Relationship from the Collection.", "type": "http" }, "http": { "method": "DELETE", "url": "https://example.com/polarion/rest/v1/projects/:projectId/collections/:collectionId/relationships/:relationshipId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The Project ID." }, { "name": "collectionId", "value": "", "type": "path", "description": "The Collection ID." }, { "name": "relationshipId", "value": "", "type": "path", "description": "The Relationship ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Removes the specific Relationship from the Collection." } ] } ], "bundled": true }