{"info":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","description":"<html><head></head><body><p>Mantis Bug Tracker (MantisHub) REST APIs.</p>\n<p>REST API calls have to be authenticated by creating an API token for the user doing the calls, and then passing the API token in the 'Authorization' header. However, for anonymous access, the API key and header are not needed.</p>\n<p>Postman Environment Variables:</p>\n<ul>\n<li>token - The API token to be used for authentication.</li>\n<li>url - The base URL for Mantis instance (e.g. '<a href=\"https://mantisbt'\">https://mantisbt'</a> or '<a href=\"https://instance-name.mantishub.io'\">https://instance-name.mantishub.io'</a>).</li>\n</ul>\n<p>There has been significant improvements and feature additions for REST API in each of the recent releases. Hence, it is highly recommended to use latest release when leveraging the REST APIs.</p>\n<p>REST API is enabled by default since MantisBT 2.8.0 release.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"29959","collectionId":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","publishedId":"7Lt6zkP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-04-20T05:29:12.000Z"},"item":[{"name":"Issues","item":[{"name":"Get an issue","event":[{"listen":"test","script":{"id":"9adb33fb-5fa7-41da-a191-7e6cc0ce6e7c","exec":["pm.test(\"ETag is persent\", function () {","    pm.response.to.have.header(\"ETag\");","});","","pm.test(\"body contains issues array\", function() {","    const response = pm.response.json();","    pm.expect(response.issues).to.have.lengthOf(1);","});",""],"type":"text/javascript"}}],"id":"13f890da-50ff-0ab3-ff66-32b701d90c66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues/:issue_id","description":"<p>Get issue with the specified id.</p>\n<p>Available since MantisBT 2.3.0.  Issue history included since MantisBT 2.9.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"string","value":"123","key":"issue_id"}]}},"response":[{"id":"991f03e7-8122-b431-7b7f-9f62d36a04e0","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"1509","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 07 Jan 2018 22:43:16 GMT","name":"Date","description":""},{"key":"ETag","value":"1625146a518db1112fdce101781fae3f6b5b936ec3b02ab77a78705489cfee67","name":"ETag","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"vboctoradmin","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"3201","body":"{\n    \"issues\": [\n        {\n            \"id\": 1234,\n            \"summary\": \"Sample issue title\",\n            \"description\": \"Sample issue description\",\n            \"project\": {\n                \"id\": 1,\n                \"name\": \"mantisbt\"\n            },\n            \"category\": {\n                \"id\": 135,\n                \"name\": \"General\"\n            },\n            \"reporter\": {\n                \"id\": 1,\n                \"name\": \"vboctor\",\n                \"real_name\": \"Victor Boctor\",\n                \"email\": \"vboctor@example.com\"\n            },\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"new\",\n                \"label\": \"new\",\n                \"color\": \"#fcbdbd\"\n            },\n            \"resolution\": {\n                \"id\": 10,\n                \"name\": \"open\",\n                \"label\": \"open\"\n            },\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"priority\": {\n                \"id\": 30,\n                \"name\": \"normal\",\n                \"label\": \"normal\"\n            },\n            \"severity\": {\n                \"id\": 50,\n                \"name\": \"minor\",\n                \"label\": \"minor\"\n            },\n            \"reproducibility\": {\n                \"id\": 70,\n                \"name\": \"have not tried\",\n                \"label\": \"have not tried\"\n            },\n            \"sticky\": false,\n            \"created_at\": \"2017-04-23T13:12:28-04:00\",\n            \"updated_at\": \"2017-04-23T13:12:28-04:00\",\n            \"custom_fields\": [\n                {\n                    \"field\": {\n                        \"id\": 4,\n                        \"name\": \"The City\"\n                    },\n                    \"value\": \"Seattle\"\n                }\n            ],\n            \"history\": [\n                {\n                    \"created_at\": \"2017-04-23T13:12:28-04:00\",\n                    \"user\": {\n                        \"id\": 36771,\n                        \"name\": \"vboctor\",\n                        \"real_name\": \"Victor Boctor\",\n                        \"email\": \"vboctor@example.com\"\n                    },\n                    \"type\": {\n                        \"id\": 1,\n                        \"name\": \"issue-new\"\n                    },\n                    \"message\": \"New Issue\"\n                }\n            ]\n        }\n    ]\n}"},{"id":"c4b927a6-3c28-647f-8873-6205fee4e9f7","name":"Issue not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"Issue #2192022 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"89","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 07 Jan 2018 22:53:57 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"877","body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"13f890da-50ff-0ab3-ff66-32b701d90c66"},{"name":"Get an issue (specific fields)","event":[{"listen":"test","script":{"id":"9adb33fb-5fa7-41da-a191-7e6cc0ce6e7c","exec":["pm.test(\"ETag is persent\", function () {","    pm.response.to.have.header(\"ETag\");","});","","pm.test(\"body contains issues array\", function() {","    const response = pm.response.json();","    pm.expect(response.issues).to.have.lengthOf(1);","});",""],"type":"text/javascript"}}],"id":"285282f9-1aba-4a86-a6fc-b16d4c5a8caf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues/:issue_id?select=id,summary,description","description":"<p>Get selected fields for issue with the specified id.</p>\n<p>Ability to select fields is available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id"],"host":["{{url}}"],"query":[{"key":"select","value":"id,summary,description"}],"variable":[{"id":"cd58429c-2250-4ca1-9bb4-f984fd19d79a","description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"issue_id"}]}},"response":[{"id":"8f414d56-0a1a-480d-b2db-a50a445666ba","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues/:issue_id?select=id,summary,description","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"query":[{"key":"select","value":"id,summary,description"}],"variable":[{"key":"issue_id","value":"20","type":"string","description":"The issue id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 09 Apr 2023 07:58:22 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"ETag","value":"3357de6c60e12e03b31ce1cd6877537137874c0a2243ef4accdc7fb5a4f56d5d"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"98"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"issues\": [\n        {\n            \"id\": 20,\n            \"summary\": \"This is a test issue\",\n            \"description\": \"This is a test description\"\n        }\n    ]\n}"},{"id":"99007bd0-02e6-44d9-b9cf-1a45592094c8","name":"Issue not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"Issue #2192022 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"89","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 07 Jan 2018 22:53:57 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"877","body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"285282f9-1aba-4a86-a6fc-b16d4c5a8caf"},{"name":"Get issue files","id":"4f9597c4-bc4b-4144-9660-f82a00bdca5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues/:issue_id/files","description":"<p>Get all files associated with an issue.</p>\n<p>Available since MantisBT 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","files"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id to get files for</p>\n","type":"text/plain"},"type":"string","value":"1","key":"issue_id"}]}},"response":[{"id":"b4ecdb7d-b2aa-4642-91f6-f01c539209cb","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"1509","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 07 Jan 2018 22:43:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"1625146a518db1112fdce101781fae3f6b5b936ec3b02ab77a78705489cfee67","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":"The last modified date for the requested object, in RFC 2822 format"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":"Custom header"},{"key":"X-Mantis-Username","value":"vboctoradmin","name":"X-Mantis-Username","description":"Custom header"},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":"Custom header"},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":null,"body":"{\n    \"issues\": [\n        {\n            \"id\": 1234,\n            \"summary\": \"Sample issue title\",\n            \"description\": \"Sample issue description\",\n            \"project\": {\n                \"id\": 1,\n                \"name\": \"mantisbt\"\n            },\n            \"category\": {\n                \"id\": 135,\n                \"name\": \"General\"\n            },\n            \"reporter\": {\n                \"id\": 1,\n                \"name\": \"vboctor\",\n                \"real_name\": \"Victor Boctor\",\n                \"email\": \"vboctor@example.com\"\n            },\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"new\",\n                \"label\": \"new\",\n                \"color\": \"#fcbdbd\"\n            },\n            \"resolution\": {\n                \"id\": 10,\n                \"name\": \"open\",\n                \"label\": \"open\"\n            },\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"priority\": {\n                \"id\": 30,\n                \"name\": \"normal\",\n                \"label\": \"normal\"\n            },\n            \"severity\": {\n                \"id\": 50,\n                \"name\": \"minor\",\n                \"label\": \"minor\"\n            },\n            \"reproducibility\": {\n                \"id\": 70,\n                \"name\": \"have not tried\",\n                \"label\": \"have not tried\"\n            },\n            \"sticky\": false,\n            \"created_at\": \"2017-04-23T13:12:28-04:00\",\n            \"updated_at\": \"2017-04-23T13:12:28-04:00\",\n            \"custom_fields\": [\n                {\n                    \"field\": {\n                        \"id\": 4,\n                        \"name\": \"The City\"\n                    },\n                    \"value\": \"Seattle\"\n                }\n            ],\n            \"history\": [\n                {\n                    \"created_at\": \"2017-04-23T13:12:28-04:00\",\n                    \"user\": {\n                        \"id\": 36771,\n                        \"name\": \"vboctor\",\n                        \"real_name\": \"Victor Boctor\",\n                        \"email\": \"vboctor@example.com\"\n                    },\n                    \"type\": {\n                        \"id\": 1,\n                        \"name\": \"issue-new\"\n                    },\n                    \"message\": \"New Issue\"\n                }\n            ]\n        }\n    ]\n}"},{"id":"7e66eaca-da2b-41bd-b960-4ef3c2df3f86","name":"Issue not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"Issue #2192022 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"89","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 07 Jan 2018 22:53:57 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":"The last modified date for the requested object, in RFC 2822 format"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":null,"body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"4f9597c4-bc4b-4144-9660-f82a00bdca5a"},{"name":"Get issue file (single)","id":"15e6c137-cbd6-7b19-e799-14a053160b71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues/:issue_id/files/:file_id","description":"<p>Get a single file from an issue.</p>\n<p>Available since MantisBT 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","files",":file_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"},{"description":{"content":"<p>The attachment file id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"file_id"}]}},"response":[],"_postman_id":"15e6c137-cbd6-7b19-e799-14a053160b71"},{"name":"Get all issues","event":[{"listen":"test","script":{"id":"22017f3a-5543-4dea-9aac-f6938398220d","exec":["pm.test(\"body contains issues array\", function() {","    const response = pm.response.json();","    const pageSize = Number(pm.collectionVariables.get('pageSize'))","    pm.expect(response.issues).length.to.be.lte(pageSize);","});"],"type":"text/javascript"}}],"id":"73397753-1560-a5cb-45f0-e0ce0194ceca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues?page_size=10&page=1","description":"<p>Get paginated list of issues.</p>\n<p>Available since MantisBT 2.3.0.  Issue history included since MantisBT 2.9.0.  A fix was implemented in 2.20.0 to avoid filtering out of some issues (e.g. closed issues).</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of issues to return per page.  Default is 50 but overridable by configuration.</p>\n","type":"text/plain"},"key":"page_size","value":"10"},{"description":{"content":"<p>The page number (default is 1)</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"f6e2eb51-8eb8-4abe-b5cb-46152ecf54c9","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues?page_size=10&page=1","host":["{{url}}"],"path":["api","rest","issues"],"query":[{"key":"page_size","value":"10","description":"The number of issues to return per page.  Default is 50 but overridable by configuration."},{"key":"page","value":"1","description":"The page number (default is 1)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:50:12 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Set-Cookie","value":"MANTIS_PROJECT_COOKIE=0; expires=Mon, 21-Aug-2023 19:50:12 GMT; Max-Age=31536000; path=/; secure; HttpOnly; SameSite=Strict"},{"key":"ETag","value":"36e6f6971f98e7b7bf3accc66ca42476225fc1bd8ab4eddd16bbe2db9d1b5676"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"913"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"issues\": [\n        {\n            \"id\": 1,\n            \"summary\": \"This is a test issue\",\n            \"description\": \"This is a test issue\\r\\nThis is a test issue\\r\\nThis is a test issue\",\n            \"project\": {\n                \"id\": 1,\n                \"name\": \"Test Project\"\n            },\n            \"category\": {\n                \"id\": 1,\n                \"name\": \"General\"\n            },\n            \"reporter\": {\n                \"id\": 1,\n                \"name\": \"administrator\",\n                \"email\": \"root@localhost\"\n            },\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"new\",\n                \"label\": \"new\",\n                \"color\": \"#fcbdbd\"\n            },\n            \"resolution\": {\n                \"id\": 10,\n                \"name\": \"open\",\n                \"label\": \"open\"\n            },\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"priority\": {\n                \"id\": 30,\n                \"name\": \"normal\",\n                \"label\": \"normal\"\n            },\n            \"severity\": {\n                \"id\": 50,\n                \"name\": \"minor\",\n                \"label\": \"minor\"\n            },\n            \"reproducibility\": {\n                \"id\": 70,\n                \"name\": \"have not tried\",\n                \"label\": \"have not tried\"\n            },\n            \"sticky\": false,\n            \"created_at\": \"2022-08-20T16:12:56-07:00\",\n            \"updated_at\": \"2022-08-20T16:12:56-07:00\",\n            \"history\": [\n                {\n                    \"created_at\": \"2022-08-20T16:12:56-07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"administrator\",\n                        \"email\": \"root@localhost\"\n                    },\n                    \"type\": {\n                        \"id\": 1,\n                        \"name\": \"issue-new\"\n                    },\n                    \"message\": \"New Issue\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"73397753-1560-a5cb-45f0-e0ce0194ceca"},{"name":"Get all issues (specified fields)","event":[{"listen":"test","script":{"id":"22017f3a-5543-4dea-9aac-f6938398220d","exec":["pm.test(\"body contains issues array\", function() {","    const response = pm.response.json();","    const pageSize = Number(pm.collectionVariables.get('pageSize'))","    pm.expect(response.issues).length.to.be.lte(pageSize);","});"],"type":"text/javascript"}}],"id":"99cb2a74-73c2-4999-9b1b-f35fc995e2a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues?page_size=10&page=1&select=id,summary,description","description":"<p>Get paginated list of issues including specific fields.</p>\n<p>Ability to select fields is available since MantisBT 2.26.0</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The number of issues to return per page.  Default is 50 but overridable by configuration.</p>\n","type":"text/plain"},"key":"page_size","value":"10"},{"description":{"content":"<p>The page number (default is 1)</p>\n","type":"text/plain"},"key":"page","value":"1"},{"key":"select","value":"id,summary,description"}],"variable":[]}},"response":[{"id":"e59ba2a4-6459-49a4-9dd0-feecbfbfc0f3","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues?page_size=10&page=1&select=id,summary,description","host":["{{url}}"],"path":["api","rest","issues"],"query":[{"key":"page_size","value":"10","description":"The number of issues to return per page.  Default is 50 but overridable by configuration."},{"key":"page","value":"1","description":"The page number (default is 1)"},{"key":"select","value":"id,summary,description","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 09 Apr 2023 08:09:28 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"Set-Cookie","value":"MANTIS_PROJECT_COOKIE=0; expires=Mon, 08-Apr-2024 08:09:28 GMT; Max-Age=31536000; path=/; HttpOnly; SameSite=Strict"},{"key":"ETag","value":"e9c24dfe2b24fc6912c7b132fb3c0825b95149ba098b66280922091b1b5fb8a2"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"191"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"issues\": [\n        {\n            \"id\": 165,\n            \"summary\": \"Sample REST issue\",\n            \"description\": \"Description for sample REST issue.\"\n        },\n        {\n            \"id\": 112,\n            \"summary\": \"This is a test issue\",\n            \"description\": \"This is a test description\"\n        }\n    ]\n}"}],"_postman_id":"99cb2a74-73c2-4999-9b1b-f35fc995e2a6"},{"name":"Get issues for a project","event":[{"listen":"test","script":{"id":"625d3671-13f6-4a7b-b804-114175ab1944","exec":["pm.test(\"body contains issues array\", function() {","    const response = pm.response.json();","    const pageSize = Number(pm.collectionVariables.get('pageSize'))","    pm.expect(response.issues).length.to.be.lte(pageSize);","});"],"type":"text/javascript"}}],"id":"86245c1b-5203-9561-4169-bec709550eac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues?project_id=1&page_size=10&page=1","description":"<p>Get all issues for the specified project.</p>\n<p>Filtering by project is supported since MantisBT 2.5.0.  Issue history included since MantisBT 2.9.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The project id</p>\n","type":"text/plain"},"key":"project_id","value":"1"},{"key":"page_size","value":"10"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"ac5a185d-09c5-4b2e-8128-a42e6d902059","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues?project_id=1","host":["{{url}}"],"path":["api","rest","issues"],"query":[{"key":"project_id","value":"1","description":"The project id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:50:44 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Set-Cookie","value":"MANTIS_PROJECT_COOKIE=1; expires=Mon, 21-Aug-2023 19:50:44 GMT; Max-Age=31536000; path=/; secure; HttpOnly; SameSite=Strict"},{"key":"ETag","value":"36e6f6971f98e7b7bf3accc66ca42476225fc1bd8ab4eddd16bbe2db9d1b5676"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"913"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"issues\": [\n        {\n            \"id\": 1,\n            \"summary\": \"This is a test issue\",\n            \"description\": \"This is a test issue\\r\\nThis is a test issue\\r\\nThis is a test issue\",\n            \"project\": {\n                \"id\": 1,\n                \"name\": \"Test Project\"\n            },\n            \"category\": {\n                \"id\": 1,\n                \"name\": \"General\"\n            },\n            \"reporter\": {\n                \"id\": 1,\n                \"name\": \"administrator\",\n                \"email\": \"root@localhost\"\n            },\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"new\",\n                \"label\": \"new\",\n                \"color\": \"#fcbdbd\"\n            },\n            \"resolution\": {\n                \"id\": 10,\n                \"name\": \"open\",\n                \"label\": \"open\"\n            },\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"priority\": {\n                \"id\": 30,\n                \"name\": \"normal\",\n                \"label\": \"normal\"\n            },\n            \"severity\": {\n                \"id\": 50,\n                \"name\": \"minor\",\n                \"label\": \"minor\"\n            },\n            \"reproducibility\": {\n                \"id\": 70,\n                \"name\": \"have not tried\",\n                \"label\": \"have not tried\"\n            },\n            \"sticky\": false,\n            \"created_at\": \"2022-08-20T16:12:56-07:00\",\n            \"updated_at\": \"2022-08-20T16:12:56-07:00\",\n            \"history\": [\n                {\n                    \"created_at\": \"2022-08-20T16:12:56-07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"administrator\",\n                        \"email\": \"root@localhost\"\n                    },\n                    \"type\": {\n                        \"id\": 1,\n                        \"name\": \"issue-new\"\n                    },\n                    \"message\": \"New Issue\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"86245c1b-5203-9561-4169-bec709550eac"},{"name":"Get issues matching filter","event":[{"listen":"test","script":{"id":"ce169627-f041-4c2b-bf68-c8973237536a","exec":["pm.test(\"body contains issues array\", function() {","    const response = pm.response.json();","    const pageSize = Number(pm.collectionVariables.get('pageSize'))","    pm.expect(response.issues).length.to.be.lte(pageSize);","});"],"type":"text/javascript"}}],"id":"5cf35ffd-964b-ef90-5907-bd6b3efe87d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues?filter_id=1&page_size=10&page=1&project_id=1","description":"<p>Get all issues matching a user defined filter given the filter id.</p>\n<p>Filtering by project or filter is supported since MantisBT 2.5.0.  Issue history included since MantisBT 2.9.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The filter id</p>\n","type":"text/plain"},"key":"filter_id","value":"1"},{"key":"page_size","value":"10"},{"key":"page","value":"1"},{"key":"project_id","value":"1"}],"variable":[]}},"response":[{"id":"71a7201a-7de7-4c63-8be2-7fe7aecaac32","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues?filter_id=reported","host":["{{url}}"],"path":["api","rest","issues"],"query":[{"key":"filter_id","value":"reported","description":"The filter id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:51:16 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Set-Cookie","value":"MANTIS_PROJECT_COOKIE=0; expires=Mon, 21-Aug-2023 19:51:16 GMT; Max-Age=31536000; path=/; secure; HttpOnly; SameSite=Strict"},{"key":"ETag","value":"36e6f6971f98e7b7bf3accc66ca42476225fc1bd8ab4eddd16bbe2db9d1b5676"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"913"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"issues\": [\n        {\n            \"id\": 1,\n            \"summary\": \"This is a test issue\",\n            \"description\": \"This is a test issue\\r\\nThis is a test issue\\r\\nThis is a test issue\",\n            \"project\": {\n                \"id\": 1,\n                \"name\": \"Test Project\"\n            },\n            \"category\": {\n                \"id\": 1,\n                \"name\": \"General\"\n            },\n            \"reporter\": {\n                \"id\": 1,\n                \"name\": \"administrator\",\n                \"email\": \"root@localhost\"\n            },\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"new\",\n                \"label\": \"new\",\n                \"color\": \"#fcbdbd\"\n            },\n            \"resolution\": {\n                \"id\": 10,\n                \"name\": \"open\",\n                \"label\": \"open\"\n            },\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"priority\": {\n                \"id\": 30,\n                \"name\": \"normal\",\n                \"label\": \"normal\"\n            },\n            \"severity\": {\n                \"id\": 50,\n                \"name\": \"minor\",\n                \"label\": \"minor\"\n            },\n            \"reproducibility\": {\n                \"id\": 70,\n                \"name\": \"have not tried\",\n                \"label\": \"have not tried\"\n            },\n            \"sticky\": false,\n            \"created_at\": \"2022-08-20T16:12:56-07:00\",\n            \"updated_at\": \"2022-08-20T16:12:56-07:00\",\n            \"history\": [\n                {\n                    \"created_at\": \"2022-08-20T16:12:56-07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"administrator\",\n                        \"email\": \"root@localhost\"\n                    },\n                    \"type\": {\n                        \"id\": 1,\n                        \"name\": \"issue-new\"\n                    },\n                    \"message\": \"New Issue\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"5cf35ffd-964b-ef90-5907-bd6b3efe87d4"},{"name":"Get issues assigned to me","event":[{"listen":"test","script":{"id":"84376bea-477b-47fc-aab1-6f7db70a2315","exec":["pm.test(\"body contains issues array\", function() {","    const response = pm.response.json();","    const pageSize = Number(pm.collectionVariables.get('pageSize'))","    pm.expect(response.issues).length.to.be.lte(pageSize);","});"],"type":"text/javascript"}}],"id":"a7a09591-bb53-de8a-407f-08cc0de5333a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues?filter_id=assigned&page_size=10&page=1","description":"<p>This is a standard filter that gets issues assigned to the logged in user.</p>\n<p>Available since MantisBT 2.10.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The filter id</p>\n","type":"text/plain"},"key":"filter_id","value":"assigned"},{"key":"page_size","value":"10"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"f32db7c4-7a37-49a7-8966-4caad82fe4cc","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues?filter_id=reported","host":["{{url}}"],"path":["api","rest","issues"],"query":[{"key":"filter_id","value":"reported","description":"The filter id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:51:16 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Set-Cookie","value":"MANTIS_PROJECT_COOKIE=0; expires=Mon, 21-Aug-2023 19:51:16 GMT; Max-Age=31536000; path=/; secure; HttpOnly; SameSite=Strict"},{"key":"ETag","value":"36e6f6971f98e7b7bf3accc66ca42476225fc1bd8ab4eddd16bbe2db9d1b5676"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"913"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"issues\": [\n        {\n            \"id\": 1,\n            \"summary\": \"This is a test issue\",\n            \"description\": \"This is a test issue\\r\\nThis is a test issue\\r\\nThis is a test issue\",\n            \"project\": {\n                \"id\": 1,\n                \"name\": \"Test Project\"\n            },\n            \"category\": {\n                \"id\": 1,\n                \"name\": \"General\"\n            },\n            \"reporter\": {\n                \"id\": 1,\n                \"name\": \"administrator\",\n                \"email\": \"root@localhost\"\n            },\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"new\",\n                \"label\": \"new\",\n                \"color\": \"#fcbdbd\"\n            },\n            \"resolution\": {\n                \"id\": 10,\n                \"name\": \"open\",\n                \"label\": \"open\"\n            },\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"priority\": {\n                \"id\": 30,\n                \"name\": \"normal\",\n                \"label\": \"normal\"\n            },\n            \"severity\": {\n                \"id\": 50,\n                \"name\": \"minor\",\n                \"label\": \"minor\"\n            },\n            \"reproducibility\": {\n                \"id\": 70,\n                \"name\": \"have not tried\",\n                \"label\": \"have not tried\"\n            },\n            \"sticky\": false,\n            \"created_at\": \"2022-08-20T16:12:56-07:00\",\n            \"updated_at\": \"2022-08-20T16:12:56-07:00\",\n            \"history\": [\n                {\n                    \"created_at\": \"2022-08-20T16:12:56-07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"administrator\",\n                        \"email\": \"root@localhost\"\n                    },\n                    \"type\": {\n                        \"id\": 1,\n                        \"name\": \"issue-new\"\n                    },\n                    \"message\": \"New Issue\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"a7a09591-bb53-de8a-407f-08cc0de5333a"},{"name":"Get issues reported by me","event":[{"listen":"test","script":{"id":"3ee33145-3151-428e-9457-b59fc5b6aa8f","exec":["pm.test(\"body contains issues array\", function() {","    const response = pm.response.json();","    const pageSize = Number(pm.collectionVariables.get('pageSize'))","    pm.expect(response.issues).length.to.be.lte(pageSize);","});"],"type":"text/javascript"}}],"id":"f5c212bb-f33b-35d0-3644-373571bc503c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues?filter_id=reported&page_size=10&page=1","description":"<p>This is a standard filter that gets issues reported by the logged in user.</p>\n<p>Available since MantisBT 2.10.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The filter id</p>\n","type":"text/plain"},"key":"filter_id","value":"reported"},{"key":"page_size","value":"10"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"105e0f4d-3aeb-4628-a1b1-63b6c4457624","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues?filter_id=reported","host":["{{url}}"],"path":["api","rest","issues"],"query":[{"key":"filter_id","value":"reported","description":"The filter id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:51:16 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Set-Cookie","value":"MANTIS_PROJECT_COOKIE=0; expires=Mon, 21-Aug-2023 19:51:16 GMT; Max-Age=31536000; path=/; secure; HttpOnly; SameSite=Strict"},{"key":"ETag","value":"36e6f6971f98e7b7bf3accc66ca42476225fc1bd8ab4eddd16bbe2db9d1b5676"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"913"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"issues\": [\n        {\n            \"id\": 1,\n            \"summary\": \"This is a test issue\",\n            \"description\": \"This is a test issue\\r\\nThis is a test issue\\r\\nThis is a test issue\",\n            \"project\": {\n                \"id\": 1,\n                \"name\": \"Test Project\"\n            },\n            \"category\": {\n                \"id\": 1,\n                \"name\": \"General\"\n            },\n            \"reporter\": {\n                \"id\": 1,\n                \"name\": \"administrator\",\n                \"email\": \"root@localhost\"\n            },\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"new\",\n                \"label\": \"new\",\n                \"color\": \"#fcbdbd\"\n            },\n            \"resolution\": {\n                \"id\": 10,\n                \"name\": \"open\",\n                \"label\": \"open\"\n            },\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"priority\": {\n                \"id\": 30,\n                \"name\": \"normal\",\n                \"label\": \"normal\"\n            },\n            \"severity\": {\n                \"id\": 50,\n                \"name\": \"minor\",\n                \"label\": \"minor\"\n            },\n            \"reproducibility\": {\n                \"id\": 70,\n                \"name\": \"have not tried\",\n                \"label\": \"have not tried\"\n            },\n            \"sticky\": false,\n            \"created_at\": \"2022-08-20T16:12:56-07:00\",\n            \"updated_at\": \"2022-08-20T16:12:56-07:00\",\n            \"history\": [\n                {\n                    \"created_at\": \"2022-08-20T16:12:56-07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"administrator\",\n                        \"email\": \"root@localhost\"\n                    },\n                    \"type\": {\n                        \"id\": 1,\n                        \"name\": \"issue-new\"\n                    },\n                    \"message\": \"New Issue\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"f5c212bb-f33b-35d0-3644-373571bc503c"},{"name":"Get issues monitored by me","event":[{"listen":"test","script":{"id":"7b0814d6-fa4f-4269-851d-738281b166b5","exec":["pm.test(\"body contains issues array\", function() {","    const response = pm.response.json();","    const pageSize = Number(pm.collectionVariables.get('pageSize'))","    pm.expect(response.issues).length.to.be.lte(pageSize);","});"],"type":"text/javascript"}}],"id":"69591700-9b39-14bf-8e1c-23f5361b0cca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues?filter_id=monitored&page_size=10&page=1","description":"<p>This is a standard filter gets issues monitored by the logged in user.</p>\n<p>Available since MantisBT 2.10.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The filter id</p>\n","type":"text/plain"},"key":"filter_id","value":"monitored"},{"key":"page_size","value":"10"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"f1031f73-6426-4780-b2fa-31c527e5dad3","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues?filter_id=reported","host":["{{url}}"],"path":["api","rest","issues"],"query":[{"key":"filter_id","value":"reported","description":"The filter id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:51:16 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Set-Cookie","value":"MANTIS_PROJECT_COOKIE=0; expires=Mon, 21-Aug-2023 19:51:16 GMT; Max-Age=31536000; path=/; secure; HttpOnly; SameSite=Strict"},{"key":"ETag","value":"36e6f6971f98e7b7bf3accc66ca42476225fc1bd8ab4eddd16bbe2db9d1b5676"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"913"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"issues\": [\n        {\n            \"id\": 1,\n            \"summary\": \"This is a test issue\",\n            \"description\": \"This is a test issue\\r\\nThis is a test issue\\r\\nThis is a test issue\",\n            \"project\": {\n                \"id\": 1,\n                \"name\": \"Test Project\"\n            },\n            \"category\": {\n                \"id\": 1,\n                \"name\": \"General\"\n            },\n            \"reporter\": {\n                \"id\": 1,\n                \"name\": \"administrator\",\n                \"email\": \"root@localhost\"\n            },\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"new\",\n                \"label\": \"new\",\n                \"color\": \"#fcbdbd\"\n            },\n            \"resolution\": {\n                \"id\": 10,\n                \"name\": \"open\",\n                \"label\": \"open\"\n            },\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"priority\": {\n                \"id\": 30,\n                \"name\": \"normal\",\n                \"label\": \"normal\"\n            },\n            \"severity\": {\n                \"id\": 50,\n                \"name\": \"minor\",\n                \"label\": \"minor\"\n            },\n            \"reproducibility\": {\n                \"id\": 70,\n                \"name\": \"have not tried\",\n                \"label\": \"have not tried\"\n            },\n            \"sticky\": false,\n            \"created_at\": \"2022-08-20T16:12:56-07:00\",\n            \"updated_at\": \"2022-08-20T16:12:56-07:00\",\n            \"history\": [\n                {\n                    \"created_at\": \"2022-08-20T16:12:56-07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"administrator\",\n                        \"email\": \"root@localhost\"\n                    },\n                    \"type\": {\n                        \"id\": 1,\n                        \"name\": \"issue-new\"\n                    },\n                    \"message\": \"New Issue\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"69591700-9b39-14bf-8e1c-23f5361b0cca"},{"name":"Get unassigned issues","event":[{"listen":"test","script":{"id":"13d161ef-6204-4c22-98c9-450f2441acd9","exec":["pm.test(\"body contains issues array\", function() {","    const response = pm.response.json();","    const pageSize = Number(pm.collectionVariables.get('pageSize'))","    pm.expect(response.issues).length.to.be.lte(pageSize);","});"],"type":"text/javascript"}}],"id":"8a457602-0e47-f205-b2ca-117444a83765","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/issues?filter_id=unassigned&page_size=10&page=1","description":"<p>This is a standard filter that gets unassigned issues.</p>\n<p>Available since MantisBT 2.10.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The filter id</p>\n","type":"text/plain"},"key":"filter_id","value":"unassigned"},{"description":{"content":"<p>The page size</p>\n","type":"text/plain"},"key":"page_size","value":"10"},{"description":{"content":"<p>The page number</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"1bb230c0-09f6-45f2-acb4-2beac0e33af8","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues?filter_id=reported","host":["{{url}}"],"path":["api","rest","issues"],"query":[{"key":"filter_id","value":"reported","description":"The filter id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:51:16 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Set-Cookie","value":"MANTIS_PROJECT_COOKIE=0; expires=Mon, 21-Aug-2023 19:51:16 GMT; Max-Age=31536000; path=/; secure; HttpOnly; SameSite=Strict"},{"key":"ETag","value":"36e6f6971f98e7b7bf3accc66ca42476225fc1bd8ab4eddd16bbe2db9d1b5676"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"913"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"issues\": [\n        {\n            \"id\": 1,\n            \"summary\": \"This is a test issue\",\n            \"description\": \"This is a test issue\\r\\nThis is a test issue\\r\\nThis is a test issue\",\n            \"project\": {\n                \"id\": 1,\n                \"name\": \"Test Project\"\n            },\n            \"category\": {\n                \"id\": 1,\n                \"name\": \"General\"\n            },\n            \"reporter\": {\n                \"id\": 1,\n                \"name\": \"administrator\",\n                \"email\": \"root@localhost\"\n            },\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"new\",\n                \"label\": \"new\",\n                \"color\": \"#fcbdbd\"\n            },\n            \"resolution\": {\n                \"id\": 10,\n                \"name\": \"open\",\n                \"label\": \"open\"\n            },\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"priority\": {\n                \"id\": 30,\n                \"name\": \"normal\",\n                \"label\": \"normal\"\n            },\n            \"severity\": {\n                \"id\": 50,\n                \"name\": \"minor\",\n                \"label\": \"minor\"\n            },\n            \"reproducibility\": {\n                \"id\": 70,\n                \"name\": \"have not tried\",\n                \"label\": \"have not tried\"\n            },\n            \"sticky\": false,\n            \"created_at\": \"2022-08-20T16:12:56-07:00\",\n            \"updated_at\": \"2022-08-20T16:12:56-07:00\",\n            \"history\": [\n                {\n                    \"created_at\": \"2022-08-20T16:12:56-07:00\",\n                    \"user\": {\n                        \"id\": 1,\n                        \"name\": \"administrator\",\n                        \"email\": \"root@localhost\"\n                    },\n                    \"type\": {\n                        \"id\": 1,\n                        \"name\": \"issue-new\"\n                    },\n                    \"message\": \"New Issue\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"8a457602-0e47-f205-b2ca-117444a83765"},{"name":"Create an issue (minimal)","event":[{"listen":"test","script":{"id":"f768724d-f725-4262-9a0b-6f71953bd00f","exec":["pm.collectionVariables.set('issueId', pm.response.json().issue.id)"],"type":"text/javascript"}}],"id":"028dda86-2165-b74a-490b-7e0487eeb853","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"summary\": \"This is a test issue\",\n  \"description\": \"This is a test description\",\n  \"category\": {\n    \"name\": \"General\"\n  },\n  \"project\": {\n    \"id\": 1\n  }\n}"},"url":"{{url}}/api/rest/issues/","description":"<p>Shows the creation of issue with minimal information.</p>\n<p>Available since MantisBT 2.3.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"eaff921e-0ce5-4437-b4bb-4890acc24c01","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"summary\": \"Sample REST issue\",\n    \"description\": \"Description for sample REST issue.\",\n    \"additional_information\": \"More info about the issue\",\n    \"project\": {\n        \"id\": 1,\n        \"name\": \"mantisbt\"\n    },\n    \"category\": {\n        \"id\": 5,\n        \"name\": \"bugtracker\"\n    },\n    \"handler\": {\n        \"name\": \"vboctor\"\n    },\n    \"view_state\": {\n        \"id\": 10,\n        \"name\": \"public\"\n    },\n    \"priority\": {\n        \"name\": \"normal\"\n    },\n    \"severity\": {\n        \"name\": \"trivial\"\n    },\n    \"reproducibility\": {\n        \"name\": \"always\"\n    },\n    \"sticky\": false,\n    \"custom_fields\": [\n        {\n            \"field\": {\n                \"id\": 4,\n                \"name\": \"The City\"\n            },\n            \"value\": \"Seattle\"\n        }\n    ],\n    \"tags\": [\n        {\n            \"name\": \"mantishub\"\n        }\n    ]\n}\n"},"url":"{{url}}/api/rest/issues"},"status":"Issue Created with id 22131","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"2401","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 07 Jan 2018 23:47:34 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"EvilMan","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":null,"body":"{\n    \"issue\": {\n        \"id\": 1,\n        \"summary\": \"Sample REST issue\",\n        \"description\": \"Description for sample REST issue.\",\n        \"additional_information\": \"More info about the issue\",\n        \"project\": {\n            \"id\": 1,\n            \"name\": \"mantisbt\"\n        },\n        \"category\": {\n            \"id\": 5,\n            \"name\": \"bugtracker\"\n        },\n        \"reporter\": {\n            \"id\": 2,\n            \"name\": \"GermanReporter\"\n        },\n        \"handler\": {\n            \"id\": 1,\n            \"name\": \"vboctor\"\n        },\n        \"status\": {\n            \"id\": 50,\n            \"name\": \"assigned\",\n            \"label\": \"zugewiesen\",\n            \"color\": \"#c2dfff\"\n        },\n        \"resolution\": {\n            \"id\": 10,\n            \"name\": \"open\",\n            \"label\": \"offen\"\n        },\n        \"view_state\": {\n            \"id\": 10,\n            \"name\": \"public\",\n            \"label\": \"öffentlich\"\n        },\n        \"priority\": {\n            \"id\": 30,\n            \"name\": \"normal\",\n            \"label\": \"normal\"\n        },\n        \"severity\": {\n            \"id\": 20,\n            \"name\": \"trivial\",\n            \"label\": \"Trivial\"\n        },\n        \"reproducibility\": {\n            \"id\": 10,\n            \"name\": \"always\",\n            \"label\": \"immer\"\n        },\n        \"sticky\": false,\n        \"created_at\": \"2018-01-07T18:47:35-05:00\",\n        \"updated_at\": \"2018-01-07T18:47:35-05:00\",\n        \"custom_fields\": [\n            {\n                \"field\": {\n                    \"id\": 4,\n                    \"name\": \"The City\"\n                },\n                \"value\": \"Seattle\"\n            }\n        ],\n        \"tags\": [\n            {\n                \"id\": \"1\",\n                \"name\": \"mantishub\"\n            }\n        ],\n        \"history\": [\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"type\": {\n                    \"id\": 1,\n                    \"name\": \"issue-new\"\n                },\n                \"message\": \"Neuer Eintrag\"\n            },\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"field\": {\n                    \"name\": \"status\",\n                    \"label\": \"Status\"\n                },\n                \"type\": {\n                    \"id\": 0,\n                    \"name\": \"field-updated\"\n                },\n                \"old_value\": {\n                    \"id\": 10,\n                    \"name\": \"new\",\n                    \"label\": \"neu\",\n                    \"color\": \"#fcbdbd\"\n                },\n                \"new_value\": {\n                    \"id\": 50,\n                    \"name\": \"assigned\",\n                    \"label\": \"zugewiesen\",\n                    \"color\": \"#c2dfff\"\n                },\n                \"message\": \"Status\",\n                \"change\": \"neu => zugewiesen\"\n            },\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"field\": {\n                    \"name\": \"handler\",\n                    \"label\": \"Bearbeitung durch\"\n                },\n                \"type\": {\n                    \"id\": 0,\n                    \"name\": \"field-updated\"\n                },\n                \"old_value\": {\n                    \"id\": 0\n                },\n                \"new_value\": {\n                    \"id\": 1,\n                    \"name\": \"vboctor\"\n                },\n                \"message\": \"Bearbeitung durch\",\n                \"change\": \" => vboctor\"\n            },\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"type\": {\n                    \"id\": 25,\n                    \"name\": \"tag-added\"\n                },\n                \"tag\": {\n                    \"id\": \"1\",\n                    \"name\": \"mantishub\"\n                },\n                \"message\": \"Tag zugeordnet: mantishub\"\n            }\n        ]\n    }\n}"},{"id":"480aef7a-522a-4efa-b4aa-56db8003e753","name":"Access Denied","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"summary\": \"Sample REST issue\",\n    \"description\": \"Description for sample REST issue.\",\n    \"additional_information\": \"More info about the issue\",\n    \"project\": {\n        \"id\": 1,\n        \"name\": \"mantisbt\"\n    },\n    \"category\": {\n        \"id\": 5,\n        \"name\": \"bugtracker\"\n    },\n    \"handler\": {\n        \"name\": \"vboctor\"\n    },\n    \"view_state\": {\n        \"id\": 10,\n        \"name\": \"public\"\n    },\n    \"priority\": {\n        \"name\": \"normal\"\n    },\n    \"severity\": {\n        \"name\": \"trivial\"\n    },\n    \"reproducibility\": {\n        \"name\": \"always\"\n    },\n    \"sticky\": false,\n    \"custom_fields\": [\n        {\n            \"field\": {\n                \"id\": 4,\n                \"name\": \"The City\"\n            },\n            \"value\": \"Seattle\"\n        }\n    ],\n    \"tags\": [\n        {\n            \"name\": \"mantishub\"\n        }\n    ]\n}\n"},"url":"{{url}}/api/rest/issues"},"status":"User does not have access right to report issues","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:31:48 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"101"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User does not have access right to report issues\",\n    \"code\": 13,\n    \"localized\": \"Access Denied.\"\n}"},{"id":"df0ecb59-a7f1-4aaf-93de-df44ca5209e9","name":"Project not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"summary\": \"Sample REST issue\",\n    \"description\": \"Description for sample REST issue.\",\n    \"additional_information\": \"More info about the issue\",\n    \"project\": {\n        \"id\": 5,\n        \"name\": \"mantisbt\"\n    },\n    \"category\": {\n        \"id\": 5,\n        \"name\": \"bugtracker\"\n    },\n    \"handler\": {\n        \"name\": \"vboctor\"\n    },\n    \"view_state\": {\n        \"id\": 10,\n        \"name\": \"public\"\n    },\n    \"priority\": {\n        \"name\": \"normal\"\n    },\n    \"severity\": {\n        \"name\": \"trivial\"\n    },\n    \"reproducibility\": {\n        \"name\": \"always\"\n    },\n    \"sticky\": false,\n    \"custom_fields\": [\n        {\n            \"field\": {\n                \"id\": 4,\n                \"name\": \"The City\"\n            },\n            \"value\": \"Seattle\"\n        }\n    ],\n    \"tags\": [\n        {\n            \"name\": \"mantishub\"\n        }\n    ]\n}\n"},"url":"{{url}}/api/rest/issues"},"status":"Project '5' not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:33:00 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"85"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Project '5' not found\",\n    \"code\": 700,\n    \"localized\": \"Project \\\"5\\\" not found.\"\n}"}],"_postman_id":"028dda86-2165-b74a-490b-7e0487eeb853"},{"name":"Create an issue","event":[{"listen":"test","script":{"id":"bbd97cb6-a411-45fd-b449-da566ac31873","exec":["pm.collectionVariables.set('issueId', pm.response.json().issue.id)"],"type":"text/javascript"}}],"id":"a3f345e6-c4b6-1361-3b61-839f9205a954","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"summary\": \"Sample REST issue\",\n    \"description\": \"Description for sample REST issue.\",\n    \"additional_information\": \"More info about the issue\",\n    \"project\": {\n        \"id\": 1,\n        \"name\": \"mantisbt\"\n    },\n    \"category\": {\n        \"id\": 5,\n        \"name\": \"bugtracker\"\n    },\n    \"handler\": {\n        \"name\": \"vboctor\"\n    },\n    \"view_state\": {\n        \"id\": 10,\n        \"name\": \"public\"\n    },\n    \"priority\": {\n        \"name\": \"normal\"\n    },\n    \"severity\": {\n        \"name\": \"trivial\"\n    },\n    \"reproducibility\": {\n        \"name\": \"always\"\n    },\n    \"sticky\": false,\n    \"custom_fields\": [\n        {\n            \"field\": {\n                \"id\": 4,\n                \"name\": \"The City\"\n            },\n            \"value\": \"Seattle\"\n        }\n    ],\n    \"tags\": [\n        {\n            \"name\": \"mantishub\"\n        }\n    ]\n}\n"},"url":"{{url}}/api/rest/issues","description":"<p>Create an issue with most fields supplied.</p>\n<p>Available since MantisBT 2.3.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"bf92e26b-f93c-3312-34e5-c328078b5c91","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"summary\": \"Sample REST issue\",\n    \"description\": \"Description for sample REST issue.\",\n    \"additional_information\": \"More info about the issue\",\n    \"project\": {\n        \"id\": 1,\n        \"name\": \"mantisbt\"\n    },\n    \"category\": {\n        \"id\": 5,\n        \"name\": \"bugtracker\"\n    },\n    \"handler\": {\n        \"name\": \"vboctor\"\n    },\n    \"view_state\": {\n        \"id\": 10,\n        \"name\": \"public\"\n    },\n    \"priority\": {\n        \"name\": \"normal\"\n    },\n    \"severity\": {\n        \"name\": \"trivial\"\n    },\n    \"reproducibility\": {\n        \"name\": \"always\"\n    },\n    \"sticky\": false,\n    \"custom_fields\": [\n        {\n            \"field\": {\n                \"id\": 4,\n                \"name\": \"The City\"\n            },\n            \"value\": \"Seattle\"\n        }\n    ],\n    \"tags\": [\n        {\n            \"name\": \"mantishub\"\n        }\n    ]\n}\n"},"url":"{{url}}/api/rest/issues"},"status":"Issue Created with id 22131","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"2401","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 07 Jan 2018 23:47:34 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"EvilMan","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"2340","body":"{\n    \"issue\": {\n        \"id\": 1,\n        \"summary\": \"Sample REST issue\",\n        \"description\": \"Description for sample REST issue.\",\n        \"additional_information\": \"More info about the issue\",\n        \"project\": {\n            \"id\": 1,\n            \"name\": \"mantisbt\"\n        },\n        \"category\": {\n            \"id\": 5,\n            \"name\": \"bugtracker\"\n        },\n        \"reporter\": {\n            \"id\": 2,\n            \"name\": \"GermanReporter\"\n        },\n        \"handler\": {\n            \"id\": 1,\n            \"name\": \"vboctor\"\n        },\n        \"status\": {\n            \"id\": 50,\n            \"name\": \"assigned\",\n            \"label\": \"zugewiesen\",\n            \"color\": \"#c2dfff\"\n        },\n        \"resolution\": {\n            \"id\": 10,\n            \"name\": \"open\",\n            \"label\": \"offen\"\n        },\n        \"view_state\": {\n            \"id\": 10,\n            \"name\": \"public\",\n            \"label\": \"öffentlich\"\n        },\n        \"priority\": {\n            \"id\": 30,\n            \"name\": \"normal\",\n            \"label\": \"normal\"\n        },\n        \"severity\": {\n            \"id\": 20,\n            \"name\": \"trivial\",\n            \"label\": \"Trivial\"\n        },\n        \"reproducibility\": {\n            \"id\": 10,\n            \"name\": \"always\",\n            \"label\": \"immer\"\n        },\n        \"sticky\": false,\n        \"created_at\": \"2018-01-07T18:47:35-05:00\",\n        \"updated_at\": \"2018-01-07T18:47:35-05:00\",\n        \"custom_fields\": [\n            {\n                \"field\": {\n                    \"id\": 4,\n                    \"name\": \"The City\"\n                },\n                \"value\": \"Seattle\"\n            }\n        ],\n        \"tags\": [\n            {\n                \"id\": \"1\",\n                \"name\": \"mantishub\"\n            }\n        ],\n        \"history\": [\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"type\": {\n                    \"id\": 1,\n                    \"name\": \"issue-new\"\n                },\n                \"message\": \"Neuer Eintrag\"\n            },\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"field\": {\n                    \"name\": \"status\",\n                    \"label\": \"Status\"\n                },\n                \"type\": {\n                    \"id\": 0,\n                    \"name\": \"field-updated\"\n                },\n                \"old_value\": {\n                    \"id\": 10,\n                    \"name\": \"new\",\n                    \"label\": \"neu\",\n                    \"color\": \"#fcbdbd\"\n                },\n                \"new_value\": {\n                    \"id\": 50,\n                    \"name\": \"assigned\",\n                    \"label\": \"zugewiesen\",\n                    \"color\": \"#c2dfff\"\n                },\n                \"message\": \"Status\",\n                \"change\": \"neu => zugewiesen\"\n            },\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"field\": {\n                    \"name\": \"handler\",\n                    \"label\": \"Bearbeitung durch\"\n                },\n                \"type\": {\n                    \"id\": 0,\n                    \"name\": \"field-updated\"\n                },\n                \"old_value\": {\n                    \"id\": 0\n                },\n                \"new_value\": {\n                    \"id\": 1,\n                    \"name\": \"vboctor\"\n                },\n                \"message\": \"Bearbeitung durch\",\n                \"change\": \" => vboctor\"\n            },\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"type\": {\n                    \"id\": 25,\n                    \"name\": \"tag-added\"\n                },\n                \"tag\": {\n                    \"id\": \"1\",\n                    \"name\": \"mantishub\"\n                },\n                \"message\": \"Tag zugeordnet: mantishub\"\n            }\n        ]\n    }\n}"},{"id":"97d91dbc-f5a9-4c62-8423-4e8dce2524ac","name":"Access Denied","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"summary\": \"Sample REST issue\",\n    \"description\": \"Description for sample REST issue.\",\n    \"additional_information\": \"More info about the issue\",\n    \"project\": {\n        \"id\": 1,\n        \"name\": \"mantisbt\"\n    },\n    \"category\": {\n        \"id\": 5,\n        \"name\": \"bugtracker\"\n    },\n    \"handler\": {\n        \"name\": \"vboctor\"\n    },\n    \"view_state\": {\n        \"id\": 10,\n        \"name\": \"public\"\n    },\n    \"priority\": {\n        \"name\": \"normal\"\n    },\n    \"severity\": {\n        \"name\": \"trivial\"\n    },\n    \"reproducibility\": {\n        \"name\": \"always\"\n    },\n    \"sticky\": false,\n    \"custom_fields\": [\n        {\n            \"field\": {\n                \"id\": 4,\n                \"name\": \"The City\"\n            },\n            \"value\": \"Seattle\"\n        }\n    ],\n    \"tags\": [\n        {\n            \"name\": \"mantishub\"\n        }\n    ]\n}\n"},"url":"{{url}}/api/rest/issues"},"status":"User does not have access right to report issues","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:31:48 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"101"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User does not have access right to report issues\",\n    \"code\": 13,\n    \"localized\": \"Access Denied.\"\n}"},{"id":"71ba09e4-4924-4562-ad07-d0fb48e395a9","name":"Project not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"summary\": \"Sample REST issue\",\n    \"description\": \"Description for sample REST issue.\",\n    \"additional_information\": \"More info about the issue\",\n    \"project\": {\n        \"id\": 5,\n        \"name\": \"mantisbt\"\n    },\n    \"category\": {\n        \"id\": 5,\n        \"name\": \"bugtracker\"\n    },\n    \"handler\": {\n        \"name\": \"vboctor\"\n    },\n    \"view_state\": {\n        \"id\": 10,\n        \"name\": \"public\"\n    },\n    \"priority\": {\n        \"name\": \"normal\"\n    },\n    \"severity\": {\n        \"name\": \"trivial\"\n    },\n    \"reproducibility\": {\n        \"name\": \"always\"\n    },\n    \"sticky\": false,\n    \"custom_fields\": [\n        {\n            \"field\": {\n                \"id\": 4,\n                \"name\": \"The City\"\n            },\n            \"value\": \"Seattle\"\n        }\n    ],\n    \"tags\": [\n        {\n            \"name\": \"mantishub\"\n        }\n    ]\n}\n"},"url":"{{url}}/api/rest/issues"},"status":"Project '5' not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:33:00 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"85"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Project '5' not found\",\n    \"code\": 700,\n    \"localized\": \"Project \\\"5\\\" not found.\"\n}"}],"_postman_id":"a3f345e6-c4b6-1361-3b61-839f9205a954"},{"name":"Create an issue with attachments","id":"2d3878c7-4195-42f7-53b7-9cc11f7501f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"summary\": \"Sample REST issue with attachment\",\n    \"description\": \"Description for sample REST issue.\",\n    \"project\": {\n        \"id\": 1,\n        \"name\": \"mantisbt\"\n    },\n    \"category\": {\n        \"id\": 5,\n        \"name\": \"bugtracker\"\n    },\n    \"custom_fields\": [\n        {\n            \"field\": {\n                \"id\": 4,\n                \"name\": \"The City\"\n            },\n            \"value\": \"Seattle\"\n        }\n    ],\n    \"files\": [\n        {\n            \"name\": \"test.txt\",\n            \"content\": \"VGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4NClRoaXMgaXMgYSBURVNULg0KVGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4=\"\n        },\n        {\n            \"name\": \"test2.txt\",\n            \"content\": \"VGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4NClRoaXMgaXMgYSBURVNULg0KVGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4=\"\n        }\n    ]\n}\n"},"url":"{{url}}/api/rest/issues","description":"<p>Create an issue with attachments</p>\n<p>Available since MantisBT 2.12.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"a7194f57-b3e6-0a41-79fe-5bb34f3deac8","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"summary\": \"Sample REST issue\",\n    \"description\": \"Description for sample REST issue.\",\n    \"additional_information\": \"More info about the issue\",\n    \"project\": {\n        \"id\": 1,\n        \"name\": \"mantisbt\"\n    },\n    \"category\": {\n        \"id\": 5,\n        \"name\": \"bugtracker\"\n    },\n    \"handler\": {\n        \"name\": \"vboctor\"\n    },\n    \"view_state\": {\n        \"id\": 10,\n        \"name\": \"public\"\n    },\n    \"priority\": {\n        \"name\": \"normal\"\n    },\n    \"severity\": {\n        \"name\": \"trivial\"\n    },\n    \"reproducibility\": {\n        \"name\": \"always\"\n    },\n    \"sticky\": false,\n    \"custom_fields\": [\n        {\n            \"field\": {\n                \"id\": 4,\n                \"name\": \"The City\"\n            },\n            \"value\": \"Seattle\"\n        }\n    ],\n    \"tags\": [\n        {\n            \"name\": \"mantishub\"\n        }\n    ]\n}\n"},"url":"{{url}}/api/rest/issues"},"status":"Issue Created with id 22131","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"2401","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 07 Jan 2018 23:47:34 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":"The last modified date for the requested object, in RFC 2822 format"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":"Custom header"},{"key":"X-Mantis-Username","value":"EvilMan","name":"X-Mantis-Username","description":"Custom header"},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":"Custom header"},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"2340","body":"{\n    \"issue\": {\n        \"id\": 1,\n        \"summary\": \"Sample REST issue\",\n        \"description\": \"Description for sample REST issue.\",\n        \"additional_information\": \"More info about the issue\",\n        \"project\": {\n            \"id\": 1,\n            \"name\": \"mantisbt\"\n        },\n        \"category\": {\n            \"id\": 5,\n            \"name\": \"bugtracker\"\n        },\n        \"reporter\": {\n            \"id\": 2,\n            \"name\": \"GermanReporter\"\n        },\n        \"handler\": {\n            \"id\": 1,\n            \"name\": \"vboctor\"\n        },\n        \"status\": {\n            \"id\": 50,\n            \"name\": \"assigned\",\n            \"label\": \"zugewiesen\",\n            \"color\": \"#c2dfff\"\n        },\n        \"resolution\": {\n            \"id\": 10,\n            \"name\": \"open\",\n            \"label\": \"offen\"\n        },\n        \"view_state\": {\n            \"id\": 10,\n            \"name\": \"public\",\n            \"label\": \"öffentlich\"\n        },\n        \"priority\": {\n            \"id\": 30,\n            \"name\": \"normal\",\n            \"label\": \"normal\"\n        },\n        \"severity\": {\n            \"id\": 20,\n            \"name\": \"trivial\",\n            \"label\": \"Trivial\"\n        },\n        \"reproducibility\": {\n            \"id\": 10,\n            \"name\": \"always\",\n            \"label\": \"immer\"\n        },\n        \"sticky\": false,\n        \"created_at\": \"2018-01-07T18:47:35-05:00\",\n        \"updated_at\": \"2018-01-07T18:47:35-05:00\",\n        \"custom_fields\": [\n            {\n                \"field\": {\n                    \"id\": 4,\n                    \"name\": \"The City\"\n                },\n                \"value\": \"Seattle\"\n            }\n        ],\n        \"tags\": [\n            {\n                \"id\": \"1\",\n                \"name\": \"mantishub\"\n            }\n        ],\n        \"history\": [\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"type\": {\n                    \"id\": 1,\n                    \"name\": \"issue-new\"\n                },\n                \"message\": \"Neuer Eintrag\"\n            },\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"field\": {\n                    \"name\": \"status\",\n                    \"label\": \"Status\"\n                },\n                \"type\": {\n                    \"id\": 0,\n                    \"name\": \"field-updated\"\n                },\n                \"old_value\": {\n                    \"id\": 10,\n                    \"name\": \"new\",\n                    \"label\": \"neu\",\n                    \"color\": \"#fcbdbd\"\n                },\n                \"new_value\": {\n                    \"id\": 50,\n                    \"name\": \"assigned\",\n                    \"label\": \"zugewiesen\",\n                    \"color\": \"#c2dfff\"\n                },\n                \"message\": \"Status\",\n                \"change\": \"neu => zugewiesen\"\n            },\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"field\": {\n                    \"name\": \"handler\",\n                    \"label\": \"Bearbeitung durch\"\n                },\n                \"type\": {\n                    \"id\": 0,\n                    \"name\": \"field-updated\"\n                },\n                \"old_value\": {\n                    \"id\": 0\n                },\n                \"new_value\": {\n                    \"id\": 1,\n                    \"name\": \"vboctor\"\n                },\n                \"message\": \"Bearbeitung durch\",\n                \"change\": \" => vboctor\"\n            },\n            {\n                \"created_at\": \"2018-01-07T18:47:35-05:00\",\n                \"user\": {\n                    \"id\": 2,\n                    \"name\": \"GermanReporter\",\n                    \"email\": \"german-reporter@example.com\"\n                },\n                \"type\": {\n                    \"id\": 25,\n                    \"name\": \"tag-added\"\n                },\n                \"tag\": {\n                    \"id\": \"1\",\n                    \"name\": \"mantishub\"\n                },\n                \"message\": \"Tag zugeordnet: mantishub\"\n            }\n        ]\n    }\n}"},{"id":"083c0c6b-d63b-419f-9d89-6e9bfd7f6bb9","name":"Access Denied","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"summary\": \"Sample REST issue\",\n    \"description\": \"Description for sample REST issue.\",\n    \"additional_information\": \"More info about the issue\",\n    \"project\": {\n        \"id\": 1,\n        \"name\": \"mantisbt\"\n    },\n    \"category\": {\n        \"id\": 5,\n        \"name\": \"bugtracker\"\n    },\n    \"handler\": {\n        \"name\": \"vboctor\"\n    },\n    \"view_state\": {\n        \"id\": 10,\n        \"name\": \"public\"\n    },\n    \"priority\": {\n        \"name\": \"normal\"\n    },\n    \"severity\": {\n        \"name\": \"trivial\"\n    },\n    \"reproducibility\": {\n        \"name\": \"always\"\n    },\n    \"sticky\": false,\n    \"custom_fields\": [\n        {\n            \"field\": {\n                \"id\": 4,\n                \"name\": \"The City\"\n            },\n            \"value\": \"Seattle\"\n        }\n    ],\n    \"tags\": [\n        {\n            \"name\": \"mantishub\"\n        }\n    ]\n}\n"},"url":"{{url}}/api/rest/issues"},"status":"User does not have access right to report issues","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:31:48 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"101"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User does not have access right to report issues\",\n    \"code\": 13,\n    \"localized\": \"Access Denied.\"\n}"},{"id":"e9099248-9e34-4b2f-b8b4-0eafb9af3a83","name":"Project not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"summary\": \"Sample REST issue\",\n    \"description\": \"Description for sample REST issue.\",\n    \"additional_information\": \"More info about the issue\",\n    \"project\": {\n        \"id\": 5,\n        \"name\": \"mantisbt\"\n    },\n    \"category\": {\n        \"id\": 5,\n        \"name\": \"bugtracker\"\n    },\n    \"handler\": {\n        \"name\": \"vboctor\"\n    },\n    \"view_state\": {\n        \"id\": 10,\n        \"name\": \"public\"\n    },\n    \"priority\": {\n        \"name\": \"normal\"\n    },\n    \"severity\": {\n        \"name\": \"trivial\"\n    },\n    \"reproducibility\": {\n        \"name\": \"always\"\n    },\n    \"sticky\": false,\n    \"custom_fields\": [\n        {\n            \"field\": {\n                \"id\": 4,\n                \"name\": \"The City\"\n            },\n            \"value\": \"Seattle\"\n        }\n    ],\n    \"tags\": [\n        {\n            \"name\": \"mantishub\"\n        }\n    ]\n}\n"},"url":"{{url}}/api/rest/issues"},"status":"Project '5' not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:33:00 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"85"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Project '5' not found\",\n    \"code\": 700,\n    \"localized\": \"Project \\\"5\\\" not found.\"\n}"}],"_postman_id":"2d3878c7-4195-42f7-53b7-9cc11f7501f4"},{"name":"Update an issue (minimal)","id":"5f945846-95ed-5c83-759a-6a788c6f6b21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"handler\": {\n  \t\"name\": \"vboctor\"\n  },\n  \"status\": {\n  \t\"name\": \"assigned\"\n  } \n}"},"url":"{{url}}/api/rest/issues/:issue_id","description":"<p>Update an exiting issue.</p>\n<p>Available since MantisBT 2.8.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"}]}},"response":[{"id":"48e5412c-0a4b-3cb0-37e3-db9171ac9cf3","name":"Access Denied","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}","disabled":false},{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"id\": 22066,\n  \"summary\": \"This is a test rest issue w/ handler 2\",\n  \"priority\": {\n    \"name\": \"high\"\n  },\n  \"handler\": {\n  \t\"name\": \"vboctor\"\n  },\n  \"status\": {\n  \t\"name\": \"assigned\"\n  },\n  \"custom_fields\":\n  [\n    {\n      \"field\": {\n        \"name\": \"Email\"\n      },\n      \"value\": \"vboctor@gmail.com\"\n    }\n  ],\n        \"notes\": [\n            {\n                \"id\": 54527,\n                \"reporter\": {\n                    \"id\": 36771,\n                    \"name\": \"vboctoradmin\",\n                    \"real_name\": \"Victor Admin\",\n                    \"email\": \"vboctor@mantisbt.org\"\n                },\n                \"text\": \"This is a note from issue update -- 2.\",\n                \"view_state\": {\n                    \"id\": 10,\n                    \"name\": \"public\",\n                    \"label\": \"public\"\n                },\n                \"type\": \"note\"\n            },\n            {\n                \"reporter\": {\n                    \"id\": 36771,\n                    \"name\": \"vboctoradmin\",\n                    \"real_name\": \"Victor Admin\",\n                    \"email\": \"vboctor@mantisbt.org\"\n                },\n                \"text\": \"another note 1.\",\n                \"view_state\": {\n                    \"id\": 10,\n                    \"name\": \"public\",\n                    \"label\": \"public\"\n                },\n                \"type\": \"note\"\n            },\n            {\n                \"reporter\": {\n                    \"id\": 36771,\n                    \"name\": \"vboctoradmin\",\n                    \"real_name\": \"Victor Admin\",\n                    \"email\": \"vboctor@mantisbt.org\"\n                },\n                \"text\": \"Another note 2\",\n                \"view_state\": {\n                    \"id\": 10,\n                    \"name\": \"public\",\n                    \"label\": \"public\"\n                },\n                \"type\": \"note\"\n            }\n            \n        ]\n}"},"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"Access denied for user GermanReporter. Reason: Not enough rights to update issues.","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"96","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 08 Jan 2018 00:04:43 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"1264","body":"{\"message\":\"Access denied for user vboctor. Reason: Not enough rights to update issues.\"}"},{"id":"03dcb91d-d5ec-41fc-b50f-ba9bdc278c80","name":"Issue not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"Issue #1234 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"89","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 07 Jan 2018 23:35:27 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":null,"body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"5f945846-95ed-5c83-759a-6a788c6f6b21"},{"name":"Update an issue","id":"57dff6bc-64d5-7f05-23e2-2073ca85e87f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"summary\": \"This is a test rest issue\",\n  \"priority\": {\n    \"name\": \"high\"\n  },\n  \"handler\": {\n  \t\"name\": \"vboctor\"\n  },\n  \"status\": {\n  \t\"name\": \"assigned\"\n  },\n  \"custom_fields\":\n  [\n    {\n      \"field\": {\n        \"name\": \"Email\"\n      },\n      \"value\": \"vboctor@example.com\"\n    }\n  ],\n  \"notes\": [\n    {\n      \"id\": 54527,\n      \"reporter\": {\n        \"name\": \"vboctor\"\n      },\n      \"text\": \"This is a note from issue update.\",\n      \"view_state\": {\n        \"id\": 10,\n        \"name\": \"public\",\n        \"label\": \"public\"\n      },\n      \"type\": \"note\"\n    },\n    {\n      \"reporter\": {\n        \"name\": \"vboctor\"\n      },\n      \"text\": \"another note 1.\",\n      \"view_state\": {\n        \"name\": \"public\"\n      },\n      \"type\": \"note\"\n    },\n    {\n      \"reporter\": {\n        \"name\": \"vboctor\"\n      },\n      \"text\": \"Another note 2\",\n      \"view_state\": {\n        \"name\": \"public\"\n      },\n      \"type\": \"note\"\n    }\n  ]\n}"},"url":"{{url}}/api/rest/issues/:issue_id","description":"<p>Update an exiting issue.</p>\n<p>Available since MantisBT 2.8.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"}]}},"response":[{"id":"5f9c2210-7a32-5e96-6c84-dc8209b733b0","name":"Access Denied","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}","disabled":false},{"key":"Content-Type","value":"application/json","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"id\": 22066,\n  \"summary\": \"This is a test rest issue w/ handler 2\",\n  \"priority\": {\n    \"name\": \"high\"\n  },\n  \"handler\": {\n  \t\"name\": \"vboctor\"\n  },\n  \"status\": {\n  \t\"name\": \"assigned\"\n  },\n  \"custom_fields\":\n  [\n    {\n      \"field\": {\n        \"name\": \"Email\"\n      },\n      \"value\": \"vboctor@gmail.com\"\n    }\n  ],\n        \"notes\": [\n            {\n                \"id\": 54527,\n                \"reporter\": {\n                    \"id\": 36771,\n                    \"name\": \"vboctoradmin\",\n                    \"real_name\": \"Victor Admin\",\n                    \"email\": \"vboctor@mantisbt.org\"\n                },\n                \"text\": \"This is a note from issue update -- 2.\",\n                \"view_state\": {\n                    \"id\": 10,\n                    \"name\": \"public\",\n                    \"label\": \"public\"\n                },\n                \"type\": \"note\"\n            },\n            {\n                \"reporter\": {\n                    \"id\": 36771,\n                    \"name\": \"vboctoradmin\",\n                    \"real_name\": \"Victor Admin\",\n                    \"email\": \"vboctor@mantisbt.org\"\n                },\n                \"text\": \"another note 1.\",\n                \"view_state\": {\n                    \"id\": 10,\n                    \"name\": \"public\",\n                    \"label\": \"public\"\n                },\n                \"type\": \"note\"\n            },\n            {\n                \"reporter\": {\n                    \"id\": 36771,\n                    \"name\": \"vboctoradmin\",\n                    \"real_name\": \"Victor Admin\",\n                    \"email\": \"vboctor@mantisbt.org\"\n                },\n                \"text\": \"Another note 2\",\n                \"view_state\": {\n                    \"id\": 10,\n                    \"name\": \"public\",\n                    \"label\": \"public\"\n                },\n                \"type\": \"note\"\n            }\n            \n        ]\n}"},"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"22066","description":"The issue id"}]}},"status":"Access denied for user GermanReporter. Reason: Not enough rights to update issues.","code":403,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"96","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Mon, 08 Jan 2018 00:04:43 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":"The last modified date for the requested object, in RFC 2822 format"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"1264","body":"{\"message\":\"Access denied for user vboctor. Reason: Not enough rights to update issues.\"}"},{"id":"b0e184f4-c46f-4e21-9657-8eba735ae8f9","name":"Issue not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"Issue #1234 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"89","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 07 Jan 2018 23:35:27 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":null,"body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"57dff6bc-64d5-7f05-23e2-2073ca85e87f"},{"name":"Delete an issue","id":"de171ebe-9494-00ed-9ac8-c082850d55bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/api/rest/issues/:issue_id","description":"<p>Deletes an issue given its id.</p>\n<p>Available since MantisBT 2.3.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"}]}},"response":[{"id":"a5ce242c-147f-0698-25f9-0de1086d2afb","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"22125","description":"The issue id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":""},{"key":"Content-Type","value":"","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 07 Jan 2018 23:32:58 GMT","name":"Date","description":""},{"key":"ETag","value":"5584552d93eb0f34ceecc1a65cca77d6c90a90df3f7f215b917606ccc06c2876","name":"ETag","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"vboctoradmin","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"2832","body":""},{"id":"e6c692c6-beee-bfcc-633e-b6e9fdc1bfd4","name":"Issue not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"Issue #1234 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"89","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 07 Jan 2018 23:35:27 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"751","body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"de171ebe-9494-00ed-9ac8-c082850d55bf"},{"name":"Monitor an issue","id":"72743857-73d6-2f5d-f686-e998fba6c118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/rest/issues/:issue_id/monitors","description":"<p>Have logged in user monitor the specified issue.</p>\n<p>Available since MantisBT 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","monitors"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"}]}},"response":[{"id":"f24a92ea-2284-4cc5-966e-ba8f1e760003","name":"Issue not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/api/rest/issues/:issue_id/monitors","host":["{{url}}"],"path":["api","rest","issues",":issue_id","monitors"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"Issue #1234 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:36:44 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"83"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"72743857-73d6-2f5d-f686-e998fba6c118"},{"name":"Monitor an issue (for specified users)","id":"97d65d5c-eb81-13b5-e046-c1f048162ef7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"users\": [\n\t\t{\n\t\t\t\"name\": \"vboctor-admin\"\n\t\t},\n\t\t{\n\t\t\t\"name_or_realname\": \"Victor Boctor\"\n\t\t}\n\t]\n}"},"url":"{{url}}/api/rest/issues/:issue_id/monitors","description":"<p>Have one or more users monitor the specified issue.  The users can be identified via:</p>\n<ul>\n<li>id - their user id.</li>\n<li>name - their username</li>\n<li>email - their email address</li>\n<li>name_or_realname - a string that corresponds to their username or real name.</li>\n</ul>\n<p>If user id is not specified, the logged in user id is added to the issue as the monitoring user.</p>\n<p>If user id is not the same as logged in user id, a high access level is required which enables adding other users to the monitor list.</p>\n<p>Available since MantisBT 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","monitors"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"}]}},"response":[{"id":"7a3adb2c-6171-4857-8465-58c1e5263bc9","name":"Issue not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"users\": [\n\t\t{\n\t\t\t\"name\": \"vboctor-admin\"\n\t\t},\n\t\t{\n\t\t\t\"name_or_realname\": \"Victor Boctor\"\n\t\t}\n\t]\n}"},"url":{"raw":"{{url}}/api/rest/issues/:issue_id/monitors","host":["{{url}}"],"path":["api","rest","issues",":issue_id","monitors"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"Issue #1234 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:36:59 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"83"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"97d65d5c-eb81-13b5-e046-c1f048162ef7"},{"name":"Attach a tag to issue","id":"c3e51b70-05f7-724f-4124-16a68c16b110","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"tags\": [\n    {\n      \"id\": 1\n    },\n    {\n      \"name\": \"tag2\"\n    },\n    {\n      \"id\": 3,\n      \"name\": \"tag3\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/rest/issues/:issue_id/tags","description":"<p>Attach a tag to issue</p>\n<p>Available since MantisBT 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","tags"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"}]}},"response":[{"id":"14d99e4c-bd27-4937-883d-ad2e145bcbc2","name":"Issue not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"tags\": [\n    {\n      \"id\": 1\n    },\n    {\n      \"name\": \"tag2\"\n    },\n    {\n      \"id\": 3,\n      \"name\": \"tag3\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/api/rest/issues/:issue_id/tags","host":["{{url}}"],"path":["api","rest","issues",":issue_id","tags"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"Issue #1234 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:37:14 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"83"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"c3e51b70-05f7-724f-4124-16a68c16b110"},{"name":"Detach a tag from an issue","id":"2a1b98b6-7f87-8270-3d87-d1a8edf2cfdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"url":"{{url}}/api/rest/issues/:issue_id/tags/:tag_id","description":"<p>Detach a tag from an issue.</p>\n<p>Available since MantisBT 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","tags",":tag_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"},{"description":{"content":"<p>The tag id</p>\n","type":"text/plain"},"type":"any","value":"1234","key":"tag_id"}]}},"response":[{"id":"3c7633bf-fdec-47c8-95e3-902979bdcb8a","name":"Issue not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"tag_id\": 1\n}"},"url":{"raw":"{{url}}/api/rest/issues/:issue_id/tags","host":["{{url}}"],"path":["api","rest","issues",":issue_id","tags"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"Issue #1234 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:37:27 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"83"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"2a1b98b6-7f87-8270-3d87-d1a8edf2cfdf"},{"name":"Add an issue relationship","id":"e2844d5b-6f95-4aa6-8f2e-a2ec28827cbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"issue\": {\n\t\t\"id\": 1235\n\t},\n\t\"type\": {\n\t\t\"name\": \"related-to\"\n\t}\n}"},"url":"{{url}}/api/rest/issues/:issue_id/relationships/","description":"<p>Delete an issue relationship.</p>\n<p>Available since MantisBT 2.6.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","relationships",""],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"issue_id"}]}},"response":[{"id":"bf8566c0-9ecc-425c-b28f-68a601848791","name":"Issue not found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"issue\": {\n\t\t\"id\": 22030\n\t},\n\t\"type\": {\n\t\t\"name\": \"related-to\"\n\t}\n}"},"url":{"raw":"{{url}}/api/rest/issues/:issue_id/relationships/","host":["{{url}}"],"path":["api","rest","issues",":issue_id","relationships",""],"variable":[{"key":"issue_id","value":"1234","type":"string","description":"The issue id"}]}},"status":"Issue #1234 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 19:37:40 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"83"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"e2844d5b-6f95-4aa6-8f2e-a2ec28827cbd"},{"name":"Delete an issue relationship","id":"edec8ab7-eb9e-a43e-a6fc-b9530c0cbf09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/rest/issues/:issue_id/relationships/:relationship_id","description":"<p>Delete an issue relationship.</p>\n<p>Available since MantisBT 2.6.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","relationships",":relationship_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"},{"description":{"content":"<p>The relationship id</p>\n","type":"text/plain"},"type":"any","value":"","key":"relationship_id"}]}},"response":[{"id":"f62fac9b-4fde-40a0-8889-d84715bccb99","name":"Issue not found","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/api/rest/issues/:issue_id/relationships/:relationship_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id","relationships",":relationship_id"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"},{"key":"relationship_id","value":"4321","description":"The relationship id"}]}},"status":"Issue #1234 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 20:29:36 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"83"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"edec8ab7-eb9e-a43e-a6fc-b9530c0cbf09"}],"id":"6ee0caac-fc5d-8aa5-3df0-57b999274e95","description":"<p>A set of REST API for handling issues.</p>\n","_postman_id":"6ee0caac-fc5d-8aa5-3df0-57b999274e95","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"Issue Notes and Attachments","item":[{"name":"Create an issue note","id":"3ecf66d5-24e7-f059-0ae9-5da66112c24d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"test note\",\n  \"view_state\": {\n  \t\"name\": \"public\"\n  }\n}"},"url":"{{url}}/api/rest/issues/:issue_id/notes","description":"<p>Create a simple note.</p>\n<p>Available since MantisBT 2.6.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","notes"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"}]}},"response":[],"_postman_id":"3ecf66d5-24e7-f059-0ae9-5da66112c24d"},{"name":"Create an issue note with time tracking","id":"034202ba-307f-ca51-62ce-9e88c772be91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"test note\",\n  \"view_state\": {\n  \t\"name\": \"public\"\n  },\n  \"time_tracking\": {\n  \t\"duration\": \"00:15\"\n  }\n}"},"url":"{{url}}/api/rest/issues/:issue_id/notes","description":"<p>Create an issue note with time tracking information.</p>\n<p>Available since MantisBT 2.6.0.  Time tracking support available in 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","notes"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"}]}},"response":[],"_postman_id":"034202ba-307f-ca51-62ce-9e88c772be91"},{"name":"Create an issue note with attachment","id":"7d4d6265-7dab-2c8b-d0dd-ce84ff94323c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"test note\",\n  \"view_state\": {\n  \t\"name\": \"public\"\n  },\n  \"time_tracking\": {\n  \t\"duration\": \"00:15\"\n  },\n  \"files\": [\n  \t{\n  \t\t\"name\": \"test.txt\",\n  \t\t\"content\": \"VGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4NClRoaXMgaXMgYSBURVNULg0KVGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4=\"\n  \t}  \t\n  ]\n}"},"url":"{{url}}/api/rest/issues/:issue_id/notes","description":"<p>Create an issue note with an associated attachment.</p>\n<p>Available since MantisBT 2.6.0.  Attachments supported since MantisBT 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","notes"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"}]}},"response":[],"_postman_id":"7d4d6265-7dab-2c8b-d0dd-ce84ff94323c"},{"name":"Delete an issue note","id":"eb9468b4-84bc-e55b-00a1-d61b999238e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"text\": \"This is a test rest issue\",\n  \"view_state\": {\n  \t\"name\": \"private\"\n  },\n  \"reporter\": {\n  \t\"name\": \"vboctor\"\n  }\n}"},"url":"{{url}}/api/rest/issues/:issue_id/notes/:issue_note_id","description":"<p>Delete an issue note.</p>\n<p>Available since MantisBT 2.6.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","notes",":issue_note_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"},{"description":{"content":"<p>The issue note id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_note_id"}]}},"response":[],"_postman_id":"eb9468b4-84bc-e55b-00a1-d61b999238e5"},{"name":"Add attachments to issue","id":"2ca91c79-3705-9740-9e40-98259c5706ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"files\": [\n  \t{\n  \t\t\"name\": \"test.txt\",\n  \t\t\"content\": \"VGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4NClRoaXMgaXMgYSBURVNULg0KVGhpcyBpcyBhIFRFU1QuDQpUaGlzIGlzIGEgVEVTVC4=\"\n  \t}  \t\n  ]\n}"},"url":"{{url}}/api/rest/issues/:issue_id/files","description":"<p>Add attachments to an existing issue.</p>\n<p>Available since MantisBT 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","issues",":issue_id","files"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The issue id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"issue_id"}]}},"response":[],"_postman_id":"2ca91c79-3705-9740-9e40-98259c5706ef"}],"id":"fa13f3c5-697c-4cf6-be35-7cc0f02b76e7","_postman_id":"fa13f3c5-697c-4cf6-be35-7cc0f02b76e7","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"Projects","item":[{"name":"Project Users","item":[{"name":"Get Project Users","id":"c5b05718-eb96-48de-9570-61927afb48d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/projects/:project_id/users","description":"<p>Get users that have access to a project along with their effective project access levels. The list can be filtered by minimum access level where users with such access level or higher will be returned.</p>\n<p>The caller must have VIEWER access to the project, otherwise, project doesn't exist error will be returned.</p>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id","users"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>The access level code. Will show users with access level greater or equal to this value.</p>\n","type":"text/plain"},"key":"access_level","value":"25"},{"disabled":true,"description":{"content":"<p>1 to include access level for each user, 0 to skip such information</p>\n","type":"text/plain"},"key":"include_access_levels","value":"0"}],"variable":[{"type":"any","value":"1","key":"project_id"}]}},"response":[{"id":"03e8c368-bf74-4a61-aebf-0a68fd420519","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/projects/:project_id/users","host":["{{url}}"],"path":["api","rest","projects",":project_id","users"],"query":[{"key":"access_level","value":"25","disabled":true},{"key":"include_access_levels","value":"0","type":"text","disabled":true}],"variable":[{"key":"project_id","value":"1","description":"The project id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 00:16:03 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"140"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"users\": [\n        {\n            \"id\": 1,\n            \"name\": \"administrator\",\n            \"email\": \"root@localhost\",\n            \"access_level\": {\n                \"id\": 90,\n                \"name\": \"administrator\",\n                \"label\": \"administrator\"\n            }\n        }\n    ]\n}"},{"id":"2ec96c20-4ba6-465b-94d1-b798314302df","name":"Success No Access Level","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/projects/:project_id/users?include_access_levels=0","host":["{{url}}"],"path":["api","rest","projects",":project_id","users"],"query":[{"key":"access_level","value":"25","disabled":true},{"key":"include_access_levels","value":"0","type":"text"}],"variable":[{"key":"project_id","value":"1","description":"The project id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 00:16:28 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"68"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"users\": [\n        {\n            \"id\": 1,\n            \"name\": \"administrator\",\n            \"email\": \"root@localhost\"\n        }\n    ]\n}"}],"_postman_id":"c5b05718-eb96-48de-9570-61927afb48d6"},{"name":"Get Project Users that can be assigned issues","event":[{"listen":"test","script":{"id":"25e3715d-b634-4081-9fc1-12e16329f834","exec":["pm.test(\"body contains users array\", function() {","    const response = pm.response.json();","    pm.expect(response.users).to.exist();","});",""],"type":"text/javascript"}}],"id":"8db6e075-3f16-431f-9b64-1515f10b6778","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/rest/projects/:project_id/handlers","description":"<p>Get users that can be assigned issues for a project along with their effective project access levels.</p>\n<p>The caller must have VIEWER access to the project, otherwise, project doesn't exist error will be returned.</p>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id","handlers"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"1","key":"project_id"}]}},"response":[{"id":"d207fa1b-9ffd-4bbe-b660-637bb1cd8eee","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/projects/:project_id/handlers","host":["{{url}}"],"path":["api","rest","projects",":project_id","handlers"],"query":[{"key":"include_access_levels","value":"0","disabled":true}],"variable":[{"key":"project_id","value":"1","description":"The project id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 00:13:38 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"140"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"users\": [\n        {\n            \"id\": 1,\n            \"name\": \"administrator\",\n            \"email\": \"root@localhost\",\n            \"access_level\": {\n                \"id\": 90,\n                \"name\": \"administrator\",\n                \"label\": \"administrator\"\n            }\n        }\n    ]\n}"},{"id":"82d4dfcb-381a-4d93-9b7c-9ed20e394711","name":"Success No Access Level","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/projects/:project_id/handlers?include_access_levels=0","host":["{{url}}"],"path":["api","rest","projects",":project_id","handlers"],"query":[{"key":"include_access_levels","value":"0","type":"text"}],"variable":[{"key":"project_id","value":"1","description":"The project id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 00:14:32 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"68"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"users\": [\n        {\n            \"id\": 1,\n            \"name\": \"administrator\",\n            \"email\": \"root@localhost\"\n        }\n    ]\n}"}],"_postman_id":"8db6e075-3f16-431f-9b64-1515f10b6778"},{"name":"Project Add/Update User","id":"c8b0c4e2-af59-4626-adac-354f3bce81c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"user\": {\n        \"name\": \"reporter123\"\n    },\n    \"access_level\": {\n        \"name\": \"reporter\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/rest/projects/:project_id/users/","description":"<p>Add a user or update their access level to a project.</p>\n<p>Available since MantisBT 2.26.0</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id","users",""],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"1","key":"project_id"}]}},"response":[{"id":"41cd4c34-7275-4a09-a434-28e148090859","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"user\": {\n        \"name\": \"Aron76\"\n    },\n    \"access_level\": {\n        \"name\": \"reporter\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/api/rest/projects/:project_id/users/","host":["{{url}}"],"path":["api","rest","projects",":project_id","users",""],"variable":[{"key":"project_id","value":"22"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Mon, 01 May 2023 02:54:31 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/8.0.8 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.0.8"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c8b0c4e2-af59-4626-adac-354f3bce81c5"},{"name":"Project Delete User","id":"b60a4b1e-2023-48d9-9f4e-aba30f7e7281","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"user\": {\n        \"name\": \"reporter123\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/rest/projects/:project_id/users/:user_id","description":"<p>Delete user's access to a project. Note that user may continue to have access to a project based on their global access level if user has an access level higher than <code>private_project_threshold</code> config option.  </p>\n<p>Available since MantisBT 2.26.0</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id","users",":user_id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"1","key":"project_id"},{"type":"any","value":"0","key":"user_id"}]}},"response":[{"id":"8ce67872-7c47-4293-9605-6e285fdc827e","name":"Success","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"user\": {\n        \"name\": \"Aron76\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/api/rest/projects/:project_id/users/:user_id","host":["{{url}}"],"path":["api","rest","projects",":project_id","users",":user_id"],"variable":[{"key":"project_id","value":"22"},{"key":"user_id","value":"82"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Mon, 01 May 2023 04:38:00 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/8.0.8 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.0.8"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b60a4b1e-2023-48d9-9f4e-aba30f7e7281"}],"id":"84b4435c-d81a-4651-9a39-cef35c1aeea9","_postman_id":"84b4435c-d81a-4651-9a39-cef35c1aeea9","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"Project Versions","item":[{"name":"Create a project version","id":"d9c16d5e-cae9-20e6-2b46-556c68c451cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"v1.0.0yyyy\",\n  \"description\": \"Major new version\",\n  \"released\": true,\n  \"obsolete\": false,\n  \"timestamp\": \"2020-02-20\"\n}"},"url":"{{url}}/api/rest/projects/:project_id/versions/","description":"<p>Add a project version.</p>\n<p>Only name field is required. Timestamp accepts date formats that can be parsed by PHP strtotime().</p>\n<p>Available since MantisBT 2.15.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id","versions",""],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The project id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"project_id"}]}},"response":[{"id":"348c978d-f7a2-4c4d-b1cf-6610877aafcd","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"v1.0.0yyyy\",\n  \"description\": \"Major new version\",\n  \"released\": true,\n  \"obsolete\": false,\n  \"timestamp\": \"2020-02-20\"\n}"},"url":{"raw":"{{url}}/api/rest/projects/:project_id/versions/","host":["{{url}}"],"path":["api","rest","projects",":project_id","versions",""],"variable":[{"key":"project_id","value":"1","type":"string","description":"The project id"}]}},"status":"Version created with id 17","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 22 Apr 2023 17:36:38 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/8.0.8 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.0.8"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"148"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"version\": {\n        \"id\": 17,\n        \"name\": \"v1.0.0\",\n        \"description\": \"Major new version\",\n        \"released\": true,\n        \"obsolete\": false,\n        \"timestamp\": \"2020-02-20T00:00:00-08:00\"\n    }\n}"}],"_postman_id":"d9c16d5e-cae9-20e6-2b46-556c68c451cc"},{"name":"Get Project Versions","id":"f60afd7d-6ee7-43de-b710-eba808c537bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/rest/projects/:project_id/versions","description":"<p>Get project versions</p>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id","versions"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The project id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"project_id"}]}},"response":[{"id":"1ddcb3a9-96b6-4b85-8861-9f14c694156e","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/api/rest/projects/:project_id/versions","host":["{{url}}"],"path":["api","rest","projects",":project_id","versions"],"variable":[{"key":"project_id","value":"1","type":"string","description":"The project id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 22 Apr 2023 23:16:43 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/8.0.8 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.0.8"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"227"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"versions\": [\n        {\n            \"id\": 7,\n            \"name\": \"v1.0.0\",\n            \"released\": false,\n            \"obsolete\": false,\n            \"timestamp\": \"2023-04-22T15:36:16-07:00\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"v1.1.0\",\n            \"released\": false,\n            \"obsolete\": false,\n            \"timestamp\": \"2023-04-22T01:09:33-07:00\"\n        }\n    ]\n}"}],"_postman_id":"f60afd7d-6ee7-43de-b710-eba808c537bf"},{"name":"Get a Project Version","id":"d6c06b1c-3c67-4179-a2bd-558d3f0c5d47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/rest/projects/:project_id/versions/:version_id","description":"<p>Get a specific project version</p>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id","versions",":version_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The project id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"project_id"},{"type":"any","value":"18","key":"version_id"}]}},"response":[{"id":"52da92d6-3275-4a7f-bad6-251e0fab0216","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/api/rest/projects/:project_id/versions/:version_id","host":["{{url}}"],"path":["api","rest","projects",":project_id","versions",":version_id"],"variable":[{"key":"project_id","value":"1","type":"string","description":"The project id"},{"key":"version_id","value":"8"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 22 Apr 2023 23:18:13 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/8.0.8 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.0.8"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"109"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"versions\": [\n        {\n            \"id\": 8,\n            \"name\": \"v1\",\n            \"released\": false,\n            \"obsolete\": false,\n            \"timestamp\": \"2023-04-22T01:09:33-07:00\"\n        }\n    ]\n}"}],"_postman_id":"d6c06b1c-3c67-4179-a2bd-558d3f0c5d47"},{"name":"Update project version","id":"bfd090e1-230a-4696-8b97-16967cd0a0e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"obsolete\": false\n}"},"url":"{{url}}/api/rest/projects/:project_id/versions/:version_id","description":"<p>Update project version.</p>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id","versions",":version_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The project id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"project_id"},{"type":"any","value":"8","key":"version_id"}]}},"response":[{"id":"8f7e4479-231f-45d0-9742-3a457cad6f58","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"obsolete\": false\n}"},"url":{"raw":"{{url}}/api/rest/projects/:project_id/versions/:version_id","host":["{{url}}"],"path":["api","rest","projects",":project_id","versions",":version_id"],"variable":[{"key":"project_id","value":"1","type":"string","description":"The project id"},{"key":"version_id","value":"8"}]}},"status":"Version updated","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 22 Apr 2023 23:47:40 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/8.0.8 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.0.8"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"128"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"version\": {\n        \"id\": 8,\n        \"name\": \"v1x\",\n        \"description\": \"ffff\",\n        \"released\": false,\n        \"obsolete\": false,\n        \"timestamp\": \"1969-12-31T16:32:49-08:00\"\n    }\n}"}],"_postman_id":"bfd090e1-230a-4696-8b97-16967cd0a0e2"},{"name":"Delete a project version","id":"b9fc98c3-2da5-4084-a46a-320478257a1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/rest/projects/:project_id/versions/:version_id","description":"<p>Delete project version</p>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id","versions",":version_id"],"host":["{{url}}"],"query":[],"variable":[{"id":"1f344554-2f6a-4b7e-a408-6eceaaef61f7","description":{"content":"<p>The project id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"project_id"},{"type":"any","value":null,"key":"version_id"}]}},"response":[{"id":"82812057-6716-4bdb-a061-6b048bab5eae","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/api/rest/projects/:project_id/versions/:version_id","host":["{{url}}"],"path":["api","rest","projects",":project_id","versions",":version_id"],"variable":[{"key":"project_id","value":"1","type":"string","description":"The project id"},{"key":"version_id","value":"4"}]}},"status":"Version deleted","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 22 Apr 2023 08:06:42 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/8.0.8 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.0.8"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b9fc98c3-2da5-4084-a46a-320478257a1a"}],"id":"1bda3406-db35-4a95-95dc-a776a345e2fb","_postman_id":"1bda3406-db35-4a95-95dc-a776a345e2fb","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"Sub-Projects","item":[{"name":"Add a sub-project","id":"7df3b17a-6d0e-736e-fd1b-b546ef2ca048","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"project\": {\n    \"name\": \"SubProject1\"\n  },\n  \"inherit_parent\": true\n}"},"url":"{{url}}/api/rest/projects/:project_id/subprojects","description":"<p>Add a subproject to the specified project id.</p>\n<p>Available since MantisBT 2.20.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id","subprojects"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The project id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"project_id"}]}},"response":[{"id":"28cb2d32-2ade-0a2e-3ee8-83012f5216c8","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/api/rest/projects/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"51651","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 14 Jan 2018 18:01:42 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Last-Modified","value":"Sun, 14 Jan 2018 01:07:49 GMT","name":"Last-Modified","description":"The last modified date for the requested object, in RFC 2822 format"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":"Custom header"},{"key":"X-Mantis-Username","value":"vboctoradmin","name":"X-Mantis-Username","description":"Custom header"},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":"Custom header"},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"461","body":"{\n    \"projects\": [\n        {\n            \"id\": 1,\n            \"name\": \"mantisbt\",\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"development\",\n                \"label\": \"development\"\n            },\n            \"description\": \"Mantis Project\",\n            \"enabled\": true,\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"access_level\": {\n                \"id\": 90,\n                \"name\": \"administrator\",\n                \"label\": \"administrator\"\n            },\n            \"custom_fields\": [\n                {\n                    \"id\": 8,\n                    \"name\": \"Email\",\n                    \"type\": \"email\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": true,\n                    \"display_closed\": true,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                }\n            ],\n            \"versions\": [\n                {\n                    \"id\": 258,\n                    \"name\": \"2.0.x\",\n                    \"description\": \"\",\n                    \"released\": false,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-10-02T18:45:04-04:00\"\n                }\n            ],\n            \"subProjects\": [\n                {\n                    \"id\": 31,\n                    \"name\": \"SubProject1\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"7df3b17a-6d0e-736e-fd1b-b546ef2ca048"},{"name":"Update a subproject","id":"f46c8545-b34a-b0f4-daa3-07fcadc81762","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"project\": {\n       \"name\": \"Subproject1\"\n   },\n   \"inherit_parent\": true\n}"},"url":"{{url}}/api/rest/projects/:project_id/subprojects/:subproject_id","description":"<p>Update the subproject relationship properties.</p>\n<p>Available since MantisBT 2.20.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id","subprojects",":subproject_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The project id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"project_id"},{"description":{"content":"<p>The sub-project id</p>\n","type":"text/plain"},"type":"string","value":"2","key":"subproject_id"}]}},"response":[{"id":"7550d774-097a-4ea7-b936-acf9cb794c8b","name":"Project not found","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"project\": {\n       \"name\": \"Subproject1\"\n   },\n   \"inherit_parent\": true\n}"},"url":{"raw":"{{url}}/api/rest/projects/:project_id/subprojects/:subproject_id","host":["{{url}}"],"path":["api","rest","projects",":project_id","subprojects",":subproject_id"],"variable":[{"key":"project_id","value":"1","type":"string","description":"The project id"},{"key":"subproject_id","value":"2","type":"string","description":"The sub-project id"}]}},"status":"Project '2' not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 20:32:38 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"85"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Project '2' not found\",\n    \"code\": 700,\n    \"localized\": \"Project \\\"2\\\" not found.\"\n}"}],"_postman_id":"f46c8545-b34a-b0f4-daa3-07fcadc81762"},{"name":"Delete a sub-project","id":"941a1e99-6b8f-4ced-ef3f-ee1bf6595a0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/api/rest/projects/:project_id","description":"<p>Deletes a sub-project from parent project.  Note that this doesn't delete data associated with sub-project.</p>\n<p>Available since MantisBT 2.20.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The project id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"project_id"}]}},"response":[{"id":"0b0c42d9-b280-499a-8d83-375895587f99","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/api/rest/projects/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"51651","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 14 Jan 2018 18:01:42 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Last-Modified","value":"Sun, 14 Jan 2018 01:07:49 GMT","name":"Last-Modified","description":"The last modified date for the requested object, in RFC 2822 format"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":"Custom header"},{"key":"X-Mantis-Username","value":"vboctoradmin","name":"X-Mantis-Username","description":"Custom header"},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":"Custom header"},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"461","body":"{\n    \"projects\": [\n        {\n            \"id\": 1,\n            \"name\": \"mantisbt\",\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"development\",\n                \"label\": \"development\"\n            },\n            \"description\": \"Mantis Project\",\n            \"enabled\": true,\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"access_level\": {\n                \"id\": 90,\n                \"name\": \"administrator\",\n                \"label\": \"administrator\"\n            },\n            \"custom_fields\": [\n                {\n                    \"id\": 8,\n                    \"name\": \"Email\",\n                    \"type\": \"email\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": true,\n                    \"display_closed\": true,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                }\n            ],\n            \"versions\": [\n                {\n                    \"id\": 258,\n                    \"name\": \"2.0.x\",\n                    \"description\": \"\",\n                    \"released\": false,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-10-02T18:45:04-04:00\"\n                }\n            ],\n            \"subProjects\": [\n                {\n                    \"id\": 31,\n                    \"name\": \"SubProject1\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"941a1e99-6b8f-4ced-ef3f-ee1bf6595a0c"}],"id":"827701c2-8f12-4847-9a62-dabcb0706615","_postman_id":"827701c2-8f12-4847-9a62-dabcb0706615","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"Get all projects","id":"1a81b660-529e-d14c-4212-795ca54b54e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/projects/","description":"<p>Get all projects and sub-projects accessible to user.</p>\n<p>Available since MantisBT 2.5.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"db6188b1-77d8-70f3-2da0-e1a8620d2925","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/api/rest/projects/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"51651","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 14 Jan 2018 18:01:42 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 14 Jan 2018 01:07:49 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"vboctoradmin","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"461","body":"{\n    \"projects\": [\n        {\n            \"id\": 1,\n            \"name\": \"mantisbt\",\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"development\",\n                \"label\": \"development\"\n            },\n            \"description\": \"Mantis.  Report problems with the actual bug tracker here. (Do not remove this account)\",\n            \"enabled\": true,\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"access_level\": {\n                \"id\": 90,\n                \"name\": \"administrator\",\n                \"label\": \"administrator\"\n            },\n            \"custom_fields\": [\n                {\n                    \"id\": 8,\n                    \"name\": \"Email\",\n                    \"type\": \"email\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": true,\n                    \"display_closed\": true,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                },\n                {\n                    \"id\": 1,\n                    \"name\": \"Version Enum\",\n                    \"type\": \"enum\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"|0.19.0a2|0.19.0a1|0.19.0|0.18.3|0.18.2|0.18.1|0.18.0rc2|0.18.0a5|0.18.0a4|0.18.0a3|0.18.0a2|0.18.0a1\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 55,\n                        \"name\": \"developer\",\n                        \"label\": \"developer\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": true,\n                    \"display_closed\": true,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                },\n                {\n                    \"id\": 5,\n                    \"name\": \"Floaty\",\n                    \"type\": \"float\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": true,\n                    \"display_closed\": true,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                },\n                {\n                    \"id\": 6,\n                    \"name\": \"Listy\",\n                    \"type\": \"multilist\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"a|b|c|d|e|f|g\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": false,\n                    \"display_closed\": false,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                },\n                {\n                    \"id\": 3,\n                    \"name\": \"Place in Queue\",\n                    \"type\": \"float\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": false,\n                    \"display_closed\": false,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                },\n                {\n                    \"id\": 10,\n                    \"name\": \"SomeCheckbox\",\n                    \"type\": \"checkbox\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"Test|Test2\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": true,\n                    \"display_closed\": true,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                },\n                {\n                    \"id\": 7,\n                    \"name\": \"SomeDate\",\n                    \"type\": \"date\",\n                    \"default_value\": \"{+2 days}\",\n                    \"possible_values\": \"\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 25,\n                        \"name\": \"reporter\",\n                        \"label\": \"reporter\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": false,\n                    \"display_closed\": false,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                },\n                {\n                    \"id\": 11,\n                    \"name\": \"SomeRadio\",\n                    \"type\": \"9\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"Radio1|Radio2\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": true,\n                    \"display_closed\": true,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                },\n                {\n                    \"id\": 9,\n                    \"name\": \"SomeTextArea\",\n                    \"type\": \"textarea\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": true,\n                    \"display_closed\": true,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                },\n                {\n                    \"id\": 4,\n                    \"name\": \"The City\",\n                    \"type\": \"string\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 25,\n                        \"name\": \"reporter\",\n                        \"label\": \"reporter\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": true,\n                    \"display_closed\": true,\n                    \"require_report\": true,\n                    \"require_update\": true,\n                    \"require_resolved\": true,\n                    \"require_closed\": true\n                }\n            ],\n            \"versions\": [\n                {\n                    \"id\": 258,\n                    \"name\": \"2.0.x\",\n                    \"description\": \"\",\n                    \"released\": false,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-10-02T18:45:04-04:00\"\n                },\n                {\n                    \"id\": 257,\n                    \"name\": \"1.3.x\",\n                    \"description\": \"\",\n                    \"released\": false,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-10-02T18:44:00-04:00\"\n                },\n                {\n                    \"id\": 256,\n                    \"name\": \"2.0.0-beta.3\",\n                    \"description\": \"\",\n                    \"released\": true,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-10-02T11:31:00-04:00\"\n                },\n                {\n                    \"id\": 255,\n                    \"name\": \"1.3.2\",\n                    \"description\": \"\",\n                    \"released\": true,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-10-02T11:30:00-04:00\"\n                },\n                {\n                    \"id\": 254,\n                    \"name\": \"2.0.0-beta.2\",\n                    \"description\": \"\",\n                    \"released\": true,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-08-27T04:00:00-04:00\"\n                },\n                {\n                    \"id\": 253,\n                    \"name\": \"1.3.1\",\n                    \"description\": \"\",\n                    \"released\": true,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-08-27T03:00:00-04:00\"\n                },\n                {\n                    \"id\": 240,\n                    \"name\": \"1.2.20\",\n                    \"description\": \"MantisBT 1.2.20 is the final maintenance and security release for the 1.2.x series. \\r\\nAll installations that are currently running any 1.2.x version are strongly advised to upgrade. \\r\\n\\r\\nThis release resolves 3 security and a couple of PHP 7 compatibility issues.\\r\\n\",\n                    \"released\": true,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-08-14T18:00:00-04:00\"\n                },\n                {\n                    \"id\": 243,\n                    \"name\": \"2.0.0-beta.1\",\n                    \"description\": \"MantisBT 2.0.0 release focuses on improvements to the UI compared to 1.3.x release. As of this release, the db schema is the same between 1.3.x and 2.0.0-beta.1, enabling users to easily try 2.0.0-beta.1 and provide feedback.\",\n                    \"released\": true,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-07-19T14:15:00-04:00\"\n                },\n                {\n                    \"id\": 250,\n                    \"name\": \"1.3.0\",\n                    \"description\": \"MantisBT 1.3.0 stable release\",\n                    \"released\": true,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-07-09T19:26:00-04:00\"\n                }\n            ],\n            \"categories\": [\n                {\n                    \"id\": 2,\n                    \"name\": \"administration\",\n                    \"project\": {\n                        \"id\": 1,\n                        \"name\": \"mantisbt\"\n                    }\n                },\n                {\n                    \"id\": 3,\n                    \"name\": \"api soap\",\n                    \"project\": {\n                        \"id\": 1,\n                        \"name\": \"mantisbt\"\n                    }\n                },\n                {\n                    \"id\": 71,\n                    \"name\": \"attachments\",\n                    \"project\": {\n                        \"id\": 1,\n                        \"name\": \"mantisbt\"\n                    }\n                },\n                {\n                    \"id\": 70,\n                    \"name\": \"auth openid\",\n                    \"project\": {\n                        \"id\": 1,\n                        \"name\": \"mantisbt\"\n                    }\n                },\n                {\n                    \"id\": 4,\n                    \"name\": \"authentication\",\n                    \"project\": {\n                        \"id\": 1,\n                        \"name\": \"mantisbt\"\n                    }\n                },\n                {\n                    \"id\": 132,\n                    \"name\": \"authorization\",\n                    \"project\": {\n                        \"id\": 1,\n                        \"name\": \"mantisbt\"\n                    }\n                },\n                {\n                    \"id\": 5,\n                    \"name\": \"bugtracker\",\n                    \"project\": {\n                        \"id\": 1,\n                        \"name\": \"mantisbt\"\n                    }\n                },\n                {\n                    \"id\": 6,\n                    \"name\": \"change log\",\n                    \"project\": {\n                        \"id\": 1,\n                        \"name\": \"mantisbt\"\n                    }\n                }\n            ],\n            \"subProjects\": [\n                {\n                    \"id\": 31,\n                    \"name\": \"SubProject1\"\n                }\n            ]\n        },\n        {\n            \"id\": 20,\n            \"name\": \"Mylyn Connector\",\n            \"status\": {\n                \"id\": 50,\n                \"name\": \"stable\",\n                \"label\": \"stable\"\n            },\n            \"description\": \"Eclipse Mylyn Connector for MantisBT\",\n            \"enabled\": true,\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"access_level\": {\n                \"id\": 90,\n                \"name\": \"administrator\",\n                \"label\": \"administrator\"\n            },\n            \"custom_fields\": [],\n            \"versions\": [\n                {\n                    \"id\": 151,\n                    \"name\": \"Backlog\",\n                    \"description\": \"Issues accepted but not yet assigned to a release.\",\n                    \"released\": false,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2037-12-30T19:00:00-05:00\"\n                },\n                {\n                    \"id\": 237,\n                    \"name\": \"3.11.0\",\n                    \"description\": \"\",\n                    \"released\": false,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2014-08-31T17:00:00-04:00\"\n                }\n            ],\n            \"categories\": [\n                {\n                    \"id\": 75,\n                    \"name\": \"Build\",\n                    \"project\": {\n                        \"id\": 20,\n                        \"name\": \"Mylyn Connector\"\n                    }\n                },\n                {\n                    \"id\": 76,\n                    \"name\": \"Core\",\n                    \"project\": {\n                        \"id\": 20,\n                        \"name\": \"Mylyn Connector\"\n                    }\n                },\n                {\n                    \"id\": 1,\n                    \"name\": \"General\",\n                    \"project\": {\n                        \"id\": 0,\n                        \"name\": null\n                    }\n                },\n                {\n                    \"id\": 73,\n                    \"name\": \"Infrastructure\",\n                    \"project\": {\n                        \"id\": 20,\n                        \"name\": \"Mylyn Connector\"\n                    }\n                },\n                {\n                    \"id\": 77,\n                    \"name\": \"Tests\",\n                    \"project\": {\n                        \"id\": 20,\n                        \"name\": \"Mylyn Connector\"\n                    }\n                },\n                {\n                    \"id\": 78,\n                    \"name\": \"User Interface\",\n                    \"project\": {\n                        \"id\": 20,\n                        \"name\": \"Mylyn Connector\"\n                    }\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"1a81b660-529e-d14c-4212-795ca54b54e6"},{"name":"Get a project","event":[{"listen":"test","script":{"id":"1ffdbe56-7ddf-4037-9b20-e6d32efc1be4","exec":["pm.test(\"body contains projects array\", function() {","    const response = pm.response.json();","    pm.expect(response.projects).to.have.lengthOf(1);","});",""],"type":"text/javascript"}}],"id":"6f3e4516-6244-5928-68b4-0f83f2d83943","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/rest/projects/:project_id","description":"<p>Get a project given its id.</p>\n<p>Available since MantisBT 2.14.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"1","key":"project_id"}]}},"response":[{"id":"555ad27a-afbe-468e-27f8-83e25f35bc91","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/api/rest/projects/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"51651","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 14 Jan 2018 18:01:42 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 14 Jan 2018 01:07:49 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"vboctoradmin","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"461","body":"{\n    \"projects\": [\n        {\n            \"id\": 1,\n            \"name\": \"mantisbt\",\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"development\",\n                \"label\": \"development\"\n            },\n            \"description\": \"Mantis Project\",\n            \"enabled\": true,\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"access_level\": {\n                \"id\": 90,\n                \"name\": \"administrator\",\n                \"label\": \"administrator\"\n            },\n            \"custom_fields\": [\n                {\n                    \"id\": 8,\n                    \"name\": \"Email\",\n                    \"type\": \"email\",\n                    \"default_value\": \"\",\n                    \"possible_values\": \"\",\n                    \"valid_regexp\": \"\",\n                    \"length_min\": 0,\n                    \"length_max\": 0,\n                    \"access_level_r\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"access_level_rw\": {\n                        \"id\": 10,\n                        \"name\": \"viewer\",\n                        \"label\": \"viewer\"\n                    },\n                    \"display_report\": true,\n                    \"display_update\": true,\n                    \"display_resolved\": true,\n                    \"display_closed\": true,\n                    \"require_report\": false,\n                    \"require_update\": false,\n                    \"require_resolved\": false,\n                    \"require_closed\": false\n                }\n            ],\n            \"versions\": [\n                {\n                    \"id\": 258,\n                    \"name\": \"2.0.x\",\n                    \"description\": \"\",\n                    \"released\": false,\n                    \"obsolete\": false,\n                    \"timestamp\": \"2016-10-02T18:45:04-04:00\"\n                }\n            ],\n            \"subProjects\": [\n                {\n                    \"id\": 31,\n                    \"name\": \"SubProject1\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"6f3e4516-6244-5928-68b4-0f83f2d83943"},{"name":"Create a project","event":[{"listen":"test","script":{"id":"e830ca23-2798-4208-89bf-b2acfd85735f","exec":["pm.test(\"body contains project\", function() {","    const response = pm.response.json();","    pm.expect(response).to.have.property('project');","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"c9461124-0154-4698-9bc9-f61d096de5f0","exec":["const projectName = pm.variables.replaceIn('Frank_Leffler76 Project');","pm.variables.set('projectName', projectName);"],"type":"text/javascript"}}],"id":"16677869-82ac-50a0-e69f-c33986fbcf5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"name\": \"{{projectName}}\",\n   \"status\": {\n      \"name\": \"development\"\n    },\n    \"description\": \"The project description\",\n    \"file_path\": \"/tmp/\",\n    \"view_state\": {\n      \"name\": \"public\"\n    },\n    \"enabled\": true\n}"},"url":"{{url}}/api/rest/projects/","description":"<p>Create a project.</p>\n<p>Available since MantisBT 2.17.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"93bfea5a-2e11-4b42-958d-f3b9fd7bbcb1","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"name\": \"New Project\",\n   \"status\": {\n      \"id\": 10,\n      \"name\": \"development\",\n      \"label\": \"development\"\n    },\n    \"description\": \"Mantis.  Report problems with the actual bug tracker here. (Do not remove this account)\",\n    \"enabled\": true,\n    \"file_path\": \"/tmp/\",\n    \"view_state\": {\n      \"id\": 10,\n      \"name\": \"public\",\n      \"label\": \"public\"\n    }\n}"},"url":"{{url}}/api/rest/projects/"},"status":"Project created with id 2","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 20:34:21 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"455"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"project\": {\n        \"id\": 2,\n        \"name\": \"New Project\",\n        \"status\": {\n            \"id\": 10,\n            \"name\": \"development\",\n            \"label\": \"development\"\n        },\n        \"description\": \"Mantis.  Report problems with the actual bug tracker here. (Do not remove this account)\",\n        \"enabled\": true,\n        \"view_state\": {\n            \"id\": 10,\n            \"name\": \"public\",\n            \"label\": \"public\"\n        },\n        \"access_level\": {\n            \"id\": 90,\n            \"name\": \"administrator\",\n            \"label\": \"administrator\"\n        },\n        \"custom_fields\": [],\n        \"versions\": [],\n        \"categories\": [\n            {\n                \"id\": 1,\n                \"name\": \"General\",\n                \"project\": {\n                    \"id\": 0,\n                    \"name\": null\n                }\n            }\n        ]\n    }\n}"},{"id":"568ea17a-a78b-4932-a2ab-815bf138fef4","name":"Access Denied","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"name\": \"New Project\",\n   \"status\": {\n      \"id\": 10,\n      \"name\": \"development\",\n      \"label\": \"development\"\n    },\n    \"description\": \"Mantis.  Report problems with the actual bug tracker here. (Do not remove this account)\",\n    \"enabled\": true,\n    \"file_path\": \"/tmp/\",\n    \"view_state\": {\n      \"id\": 10,\n      \"name\": \"public\",\n      \"label\": \"public\"\n    }\n}"},"url":"{{url}}/api/rest/projects/"},"status":"Access denied for user reporter.","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 20:33:46 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"Content-Length","value":"46"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Access denied for user vboctor.\"\n}"}],"_postman_id":"16677869-82ac-50a0-e69f-c33986fbcf5f"},{"name":"Update a project","event":[{"listen":"test","script":{"id":"c5d271bd-064b-49cb-98b4-b4212e9ee5f0","exec":["pm.test(\"body contains project\", function() {","    const response = pm.response.json();","    pm.expect(response).to.have.property('project');","});"],"type":"text/javascript"}}],"id":"cb768a7c-4450-4d3d-c01a-4b7f03c4fab2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"id\": 18,\n   \"name\": \"Project 18\",\n   \"enabled\": false,\n   \"inherit_global\": 0\n}"},"url":"{{url}}/api/rest/projects/:project_id","description":"<p>Update a project.</p>\n<p>Available since MantisBT 2.17.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The project id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"project_id"}]}},"response":[],"_postman_id":"cb768a7c-4450-4d3d-c01a-4b7f03c4fab2"},{"name":"Delete a project","id":"8b02bb73-a6d7-0df2-f7a4-a1a2c3b2b06a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/api/rest/projects/:project_id","description":"<p>Delete a project given its id.</p>\n<p>Available since MantisBT 2.17.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","projects",":project_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The project id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"project_id"}]}},"response":[{"id":"b29d2771-7550-47bc-9ea1-e7c456f6d56e","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{url}}/api/rest/projects/:project_id","host":["{{url}}"],"path":["api","rest","projects",":project_id"],"variable":[{"key":"project_id","value":"2","type":"string","description":"The project id"}]}},"status":"Project with id 2 deleted.","code":200,"_postman_previewlanguage":"html","header":[{"key":"Date","value":"Sun, 21 Aug 2022 20:36:00 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"0"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"text/html; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8b02bb73-a6d7-0df2-f7a4-a1a2c3b2b06a"}],"id":"ebc57396-9f7b-5eda-5c6e-9a5bc13e87f1","description":"<p>A set of REST APIs for handling projects.</p>\n","_postman_id":"ebc57396-9f7b-5eda-5c6e-9a5bc13e87f1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"Filters","item":[{"name":"Get all filters","id":"93edb2eb-87aa-dd75-b92d-5ece286f8b0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/filters","description":"<p>Get all definitions for filters accessible to logged in user.</p>\n<p>Available since MantisBT 2.10.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","filters"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"091a095b-dcac-42ef-9b8a-d41d8a2744a6","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/filters"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 21 Aug 2022 20:38:32 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"14"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"filters\": []\n}"}],"_postman_id":"93edb2eb-87aa-dd75-b92d-5ece286f8b0d"},{"name":"Get a filter","id":"1d4e39b3-2e0c-72d5-d1c2-eb92c074d9bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/filters/:filter_id","description":"<p>Gets the definition of a filter given its id.</p>\n<p>Available since MantisBT 2.10.0</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","filters",":filter_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The filter id</p>\n","type":"text/plain"},"type":"string","value":"1","key":"filter_id"}]}},"response":[{"id":"83e4b9e4-7cbc-4a13-35e0-b7ec547929d5","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/filters/:filter_id","host":["{{url}}"],"path":["api","rest","filters",":filter_id"],"variable":[{"key":"filter_id","value":"123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"432","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 08 Jan 2018 00:35:10 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"vboctor","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"944","body":"{\n    \"filters\": [\n        {\n            \"id\": 123,\n            \"name\": \"Commented On\",\n            \"owner\": {\n                \"id\": 1,\n                \"name\": \"vboctor\"\n            },\n            \"public\": true,\n            \"project\": {\n                \"id\": 0,\n                \"name\": \"All Projects\"\n            },\n            \"criteria\": {\n                \"commented\": [\n                    {\n                        \"id\": \"[myself]\"\n                    }\n                ],\n                \"hide_status\": {\n                    \"id\": 80,\n                    \"name\": \"resolved\",\n                    \"label\": \"resolved\",\n                    \"color\": \"#d2f5b0\"\n                }\n            },\n            \"url\": \"http://localhost/mantisbt/search.php?project_id=1&note_user_id=-1&sticky=on&sort=last_updated&dir=DESC&per_page=50&hide_status=80&match_type=0\"\n        }\n    ]\n}"}],"_postman_id":"1d4e39b3-2e0c-72d5-d1c2-eb92c074d9bb"},{"name":"Delete a filter","id":"ddfb619e-f9c4-d8fd-10ee-0100213b0423","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/api/rest/filters/:filter_id","description":"<p>Delete a filter definition given its id.  This is usable for user defined filters and not for standard filters.</p>\n<p>Available since MantisBT 2.10.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","filters",":filter_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The filter id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"filter_id"}]}},"response":[],"_postman_id":"ddfb619e-f9c4-d8fd-10ee-0100213b0423"}],"id":"3e54e2f1-2fb4-0681-a7ec-0a52fc769c5f","description":"<p>A set of REST APIs for handling filters.</p>\n","_postman_id":"3e54e2f1-2fb4-0681-a7ec-0a52fc769c5f","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"Users","item":[{"name":"Get My User Info","id":"e4832c1d-4574-147f-f3a4-1c973d1a9871","request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/users/me","description":"<p>Get information about logged in user.</p>\n<p>created_at field is in development, expected to be added in MantisBT 2.26.0</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users","me"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"1e17ec06-5242-40a2-a0b1-a7997fbef524","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Apr 2023 02:38:57 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"909"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"administrator\",\n    \"real_name\": \"Admin Real\",\n    \"email\": \"root@localhost\",\n    \"language\": \"english\",\n    \"timezone\": \"America/Los_Angeles\",\n    \"access_level\": {\n        \"id\": 90,\n        \"name\": \"administrator\",\n        \"label\": \"administrator\"\n    },\n    \"created_at\": \"2022-08-20T16:11:58-07:00\",\n    \"projects\": [\n        {\n            \"id\": 22,\n            \"name\": \"Project 22\"\n        },\n        {\n            \"id\": 44,\n            \"name\": \"Project 44\"\n        }\n   ]\n}"}],"_postman_id":"e4832c1d-4574-147f-f3a4-1c973d1a9871"},{"name":"Get My User Info (select)","id":"e1f527a8-3f0b-4f79-850f-bfe0f4445e0e","request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/users/me","description":"<p>Get information about logged in user.</p>\n<p><code>select</code> query parameter is in development, expected to be added in MantisBT 2.26.0</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users","me"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"913fdd59-67ef-44fc-a865-7606aa57e1f8","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/users/me?select=id,name,real_name,email","host":["{{url}}"],"path":["api","rest","users","me"],"query":[{"key":"select","value":"id,name,real_name,email","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Apr 2023 02:45:37 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"81"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"administrator\",\n    \"real_name\": \"Admin Real\",\n    \"email\": \"root@localhost\"\n}"}],"_postman_id":"e1f527a8-3f0b-4f79-850f-bfe0f4445e0e"},{"name":"Get User By Id","id":"78663ed8-8d67-4332-8411-049b72d9511c","request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/users/:id","description":"<p>Get user information by id.</p>\n<p>In development, expected to ship in MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users",":id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The user id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"478f93f8-59e3-4fb5-a544-fed4c6f7fbd9","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/users/:id","host":["{{url}}"],"path":["api","rest","users",":id"],"variable":[{"key":"id","value":"1","description":"The id of the user"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Apr 2023 03:27:25 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"261"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"users\": [\n        {\n            \"id\": 1,\n            \"name\": \"administrator\",\n            \"real_name\": \"Admin Real\",\n            \"email\": \"root@localhost\",\n            \"language\": \"english\",\n            \"timezone\": \"America/Los_Angeles\",\n            \"access_level\": {\n                \"id\": 90,\n                \"name\": \"administrator\",\n                \"label\": \"administrator\"\n            },\n            \"created_at\": \"2022-08-20T16:11:58-07:00\"\n        }\n    ]\n}"},{"id":"e24bd986-fa00-4ed4-9a65-60926a4c950b","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/users/:id","host":["{{url}}"],"path":["api","rest","users",":id"],"variable":[{"key":"id","value":"1000000","description":"The id of the user"}]}},"status":"User not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Apr 2023 03:03:58 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"Content-Length","value":"89"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User not found\",\n    \"code\": 811,\n    \"localized\": \"User with id \\\"1000000\\\" not found.\"\n}"}],"_postman_id":"78663ed8-8d67-4332-8411-049b72d9511c"},{"name":"Get User By Id (select)","id":"121f49e8-efad-4b06-9491-61db6f7b62d9","request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/users/:id?select=id,name,real_name,email,access_level","description":"<p>Get user information by id.</p>\n<ul>\n<li>Showing email for other users is dependent on <code>$g_show_user_email_threshold</code></li>\n<li>Showing real_name for other users is dependent on <code>$g_show_user_realname_threshold</code></li>\n</ul>\n<p>In development, expected to ship in MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users",":id"],"host":["{{url}}"],"query":[{"key":"select","value":"id,name,real_name,email,access_level"}],"variable":[{"description":{"content":"<p>The user id</p>\n","type":"text/plain"},"type":"any","value":"1","key":"id"}]}},"response":[{"id":"6441e836-53eb-4eb0-a731-2183c79c63eb","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/users/me?select=id,name,real_name,email,access_level","host":["{{url}}"],"path":["api","rest","users","me"],"query":[{"key":"select","value":"id,name,real_name,email,access_level","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Apr 2023 02:51:47 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"153"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"administrator\",\n    \"real_name\": \"Admin Real\",\n    \"email\": \"root@localhost\",\n    \"access_level\": {\n        \"id\": 90,\n        \"name\": \"administrator\",\n        \"label\": \"administrator\"\n    }\n}"}],"_postman_id":"121f49e8-efad-4b06-9491-61db6f7b62d9"},{"name":"Get User By Username","id":"c0c24256-341e-4649-95cb-ad7bdc179399","request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/users/username/:username","description":"<p>Get user information by username.</p>\n<p>In development, expected to ship in MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users","username",":username"],"host":["{{url}}"],"query":[{"disabled":true,"key":"select","value":"id,name,real_name,email"}],"variable":[{"type":"any","value":null,"key":"username"}]}},"response":[{"id":"e177c5af-9b1c-428b-aa00-8530745c0c0b","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/users/:ref?select=id,name,real_name,email","host":["{{url}}"],"path":["api","rest","users",":ref"],"query":[{"key":"select","value":"id,name,real_name,email"}],"variable":[{"key":"ref","value":"administrator"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Apr 2023 04:12:30 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"93"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"users\": [\n        {\n            \"id\": 1,\n            \"name\": \"administrator\",\n            \"real_name\": \"Admin Real\",\n            \"email\": \"root@localhost\"\n        }\n    ]\n}"},{"id":"0c0e4072-7a76-48d2-9d47-9f641f90fd44","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/users/username/:username","host":["{{url}}"],"path":["api","rest","users","username",":username"],"query":[{"key":"select","value":"id,name,real_name,email","disabled":true}],"variable":[{"key":"username","value":"fake-user","description":"The username"}]}},"status":"User not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 22 Apr 2023 05:54:10 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/8.0.8 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.0.8"},{"key":"Cache-Control","value":"private, max-age=10800"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"Content-Length","value":"93"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User not found\",\n    \"code\": 810,\n    \"localized\": \"User with name \\\"fake-user\\\" not found.\"\n}"}],"_postman_id":"c0c24256-341e-4649-95cb-ad7bdc179399"},{"name":"Create a user","event":[{"listen":"test","script":{"id":"7e963e2e-7b11-4401-ac40-09d604ab4826","exec":["pm.collectionVariables.set('userId', pm.response.json().user.id);","","if( pm.response.status == 200) {","  pm.test(\"body contains user\", function() {","    const response = pm.response.json();","    pm.expect(response).to.have.property('user');","  });","}",""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"bcc1db67-5eb7-4eac-b2fd-e229759fefec","exec":["const username = pm.variables.replaceIn('Glenda.Graham');","pm.variables.set('username', username);"],"type":"text/javascript"}}],"id":"dd4a3af4-be79-7070-ff9a-e1632c15840e","request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"vboctor\",\n  \"password\": \"RJjO8nm1ilToeSt\",\n  \"real_name\": \"vboctor realname\",\n  \"email\": \"vboctor@example2.com\",\n  \"access_level\":\n  {\n      \"name\": \"developer\"\n  },\n  \"enabled\": true,\n  \"protected\": false\n}"},"url":"{{url}}/api/rest/users/","description":"<p>Creates a user.</p>\n<p>Available since MantisBT 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"2c52557f-a638-be54-eee9-f18f81052d57","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"testuser\",\n  \"password\": \"p@ssw0rd\",\n  \"real_name\": \"Victor Boctor\",\n  \"email\": \"victor@yet-another-domain.com\",\n  \"access_level\": { \"name\": \"updater\" },\n  \"enabled\": false,\n  \"protected\": false\n}"},"url":"{{url}}/api/rest/users/"},"status":"User created with id 41317","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"924","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sat, 13 Jan 2018 22:26:29 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sat, 13 Jan 2018 06:08:09 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"vboctoradmin","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"2258","body":"{\n    \"user\": {\n        \"id\": 1000,\n        \"name\": \"testuser\",\n        \"real_name\": \"Victor Boctor\",\n        \"email\": \"victor@yet-another-domain.com\",\n        \"language\": \"english\",\n        \"timezone\": \"America/Los_Angeles\",\n        \"access_level\": {\n            \"id\": 40,\n            \"name\": \"updater\",\n            \"label\": \"updater\"\n        },\n        \"projects\": [\n            {\n                \"id\": 1,\n                \"name\": \"mantisbt\"\n            },\n            {\n                \"id\": 12,\n                \"name\": \"MantisTouch\"\n            },\n            {\n                \"id\": 20,\n                \"name\": \"Mylyn Connector\"\n            },\n            {\n                \"id\": 25,\n                \"name\": \"Plugin - agileMantis\"\n            },\n            {\n                \"id\": 11,\n                \"name\": \"Plugin - CsvImport\"\n            },\n            {\n                \"id\": 21,\n                \"name\": \"Plugin - CustomerManagement\"\n            },\n            {\n                \"id\": 10,\n                \"name\": \"Plugin - EmailReporting\"\n            },\n            {\n                \"id\": 15,\n                \"name\": \"Plugin - FilterPageEdit\"\n            },\n            {\n                \"id\": 14,\n                \"name\": \"Plugin - InlineColumnConfiguration\"\n            },\n            {\n                \"id\": 16,\n                \"name\": \"Plugin - LinkedCustomFields\"\n            },\n            {\n                \"id\": 9,\n                \"name\": \"Plugin - MachineAD\"\n            },\n            {\n                \"id\": 22,\n                \"name\": \"Plugin - MantisTouchRedirect\"\n            },\n            {\n                \"id\": 6,\n                \"name\": \"Plugin - RecurrCall\"\n            },\n            {\n                \"id\": 13,\n                \"name\": \"Plugin - RelatedIssuesExport\"\n            },\n            {\n                \"id\": 7,\n                \"name\": \"Plugin - Reminder\"\n            },\n            {\n                \"id\": 8,\n                \"name\": \"Plugin - Tasks\"\n            },\n            {\n                \"id\": 18,\n                \"name\": \"Plugin - Time Tracking\"\n            }\n        ]\n    }\n}"}],"_postman_id":"dd4a3af4-be79-7070-ff9a-e1632c15840e"},{"name":"Create a user (minimal)","event":[{"listen":"prerequest","script":{"id":"ee110238-6388-42e7-a8aa-3df9f6b57a4f","exec":["const username = pm.variables.replaceIn('Cordia.Spencer28');","pm.variables.set('username', username);"],"type":"text/javascript"}},{"listen":"test","script":{"id":"06be76d7-009e-46bc-b74f-14ac1a831cc7","exec":["pm.collectionVariables.set('userId', pm.response.json().user.id);"],"type":"text/javascript"}}],"id":"4198ab6b-7eb0-6288-3866-cbfda550162e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"vboctor\",\n  \"password\": \"6htO0dUOcOXaxcj\",\n  \"real_name\": \"vboctor Real\",\n  \"email\": \"vboctor@example2.com\",\n  \"access_level\":\n  {\n      \"name\": \"developer\"\n  },\n  \"enabled\": true,\n  \"protected\": false\n}"},"url":"{{url}}/api/rest/users/","description":"<p>Creates a user.</p>\n<p>Available since MantisBT 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3aeb73ee-bd13-e4ce-6f62-6541c91c21ef","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"testuser\"\n}"},"url":"{{url}}/api/rest/users/"},"status":"User created with id 41318","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"855","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sat, 13 Jan 2018 22:28:35 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sat, 13 Jan 2018 06:08:09 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"vboctoradmin","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"281","body":"{\n    \"user\": {\n        \"id\": 1000,\n        \"name\": \"testuser\",\n        \"language\": \"english\",\n        \"timezone\": \"America/Los_Angeles\",\n        \"access_level\": {\n            \"id\": 25,\n            \"name\": \"reporter\",\n            \"label\": \"reporter\"\n        },\n        \"projects\": [\n            {\n                \"id\": 1,\n                \"name\": \"mantisbt\"\n            },\n            {\n                \"id\": 12,\n                \"name\": \"MantisTouch\"\n            },\n            {\n                \"id\": 20,\n                \"name\": \"Mylyn Connector\"\n            },\n            {\n                \"id\": 25,\n                \"name\": \"Plugin - agileMantis\"\n            },\n            {\n                \"id\": 11,\n                \"name\": \"Plugin - CsvImport\"\n            },\n            {\n                \"id\": 21,\n                \"name\": \"Plugin - CustomerManagement\"\n            },\n            {\n                \"id\": 10,\n                \"name\": \"Plugin - EmailReporting\"\n            },\n            {\n                \"id\": 15,\n                \"name\": \"Plugin - FilterPageEdit\"\n            },\n            {\n                \"id\": 14,\n                \"name\": \"Plugin - InlineColumnConfiguration\"\n            },\n            {\n                \"id\": 16,\n                \"name\": \"Plugin - LinkedCustomFields\"\n            },\n            {\n                \"id\": 9,\n                \"name\": \"Plugin - MachineAD\"\n            },\n            {\n                \"id\": 22,\n                \"name\": \"Plugin - MantisTouchRedirect\"\n            },\n            {\n                \"id\": 6,\n                \"name\": \"Plugin - RecurrCall\"\n            },\n            {\n                \"id\": 13,\n                \"name\": \"Plugin - RelatedIssuesExport\"\n            },\n            {\n                \"id\": 7,\n                \"name\": \"Plugin - Reminder\"\n            },\n            {\n                \"id\": 8,\n                \"name\": \"Plugin - Tasks\"\n            },\n            {\n                \"id\": 18,\n                \"name\": \"Plugin - Time Tracking\"\n            }\n        ]\n    }\n}"}],"_postman_id":"4198ab6b-7eb0-6288-3866-cbfda550162e"},{"name":"Update User","event":[{"listen":"test","script":{"id":"7e963e2e-7b11-4401-ac40-09d604ab4826","exec":["pm.collectionVariables.set('userId', pm.response.json().user.id);","","pm.test(\"Status code is 201\", () => {","  pm.response.to.have.status(201);","});",""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"bcc1db67-5eb7-4eac-b2fd-e229759fefec","exec":["const username = pm.variables.replaceIn('Rosalind.Terry');","pm.variables.set('username', username);"],"type":"text/javascript"}}],"id":"62e3978e-374e-414a-9ae7-f7851d271520","request":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"vboctor\",\n    \"real_name\": \"Victor Boctor\",\n    \"email\": \"vboctor@example.com\",\n    \"access_level\":\n    {\n        \"name\": \"developer\"\n    },\n    \"enabled\": true,\n    \"protected\": false\n}"},"url":"{{url}}/api/rest/users/:user_id","description":"<p>Update a set of user attributes. Note that attributes that are not specified will be left unchanged. Hence, it is recommended to only include fields that need to be changed.</p>\n<p>To change user's other than user calling the API, the user must have access level greater than or equal to <code>manage_user_threshold</code>.</p>\n<p>Any user can change their own user attributes excluding <code>enabled</code>, <code>protected</code>, and <code>access_level</code>.</p>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users",":user_id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":null,"key":"user_id"}]}},"response":[],"_postman_id":"62e3978e-374e-414a-9ae7-f7851d271520"},{"name":"Reset user password","id":"b98ae6d0-9fe2-4ee9-912a-7f2e6217118c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"{{url}}/api/rest/users/:user_id/reset","description":"<p>Resets password for the specific user.</p>\n<p>Available since MantisBT 2.24.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users",":user_id","reset"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The user id to reset password for</p>\n","type":"text/plain"},"type":"string","value":"1","key":"user_id"}]}},"response":[{"id":"ba9a13d8-fbec-4a4b-8935-a082d025806a","name":"Success","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"{{token}}","type":"text"}],"url":{"raw":"{{url}}/api/rest/users/:user_id/reset","host":["{{url}}"],"path":["api","rest","users",":user_id","reset"],"variable":[{"key":"user_id","value":"2","type":"string","description":"The user id to reset password for"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 21 Aug 2022 20:38:08 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Mon, 22 Feb 2021 03:58:37 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b98ae6d0-9fe2-4ee9-912a-7f2e6217118c"},{"name":"Delete a user","id":"31bdd5d1-15a5-9c2b-8d9f-6b866d1f3260","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/api/rest/users/:user_id","description":"<p>Deletes the specified user.</p>\n<p>Available since MantisBT 2.11.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users",":user_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The user id to delete</p>\n","type":"text/plain"},"type":"string","value":"1","key":"user_id"}]}},"response":[{"id":"a3f35bac-530d-c400-16eb-07222d73da3e","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}","disabled":false}],"body":{"mode":"formdata","formdata":[]},"url":"{{url}}/api/rest/users/41309"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":""},{"key":"Content-Type","value":"","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 14 Jan 2018 00:28:10 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sat, 13 Jan 2018 06:08:09 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"vboctoradmin","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"297","body":""}],"_postman_id":"31bdd5d1-15a5-9c2b-8d9f-6b866d1f3260"}],"id":"e91823cf-79bb-02bd-f1b1-5b9b3160ed1b","description":"<p>A set of REST APIs for handling users.</p>\n","_postman_id":"e91823cf-79bb-02bd-f1b1-5b9b3160ed1b","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"User Tokens","item":[{"name":"Create token for me","event":[{"listen":"test","script":{"id":"66fa3589-91cf-4f37-af5e-f33bbde271b9","exec":["pm.collectionVariables.set('apiTokenId', pm.response.json().id);","","pm.test(\"Status code is 201\", () => {","  pm.response.to.have.status(201);","});"],"type":"text/javascript"}}],"id":"cf2f4271-1a5e-4619-8e38-fde52973c1d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/rest/users/me/token","description":"<p>Create an API token for the logged in user.</p>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users","me","token"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"7a3fe925-6c67-4e76-9181-4b0f237d4f34","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/rest/users/me/token"},"status":"User token created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 09 Apr 2023 08:13:36 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"171"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 85,\n    \"name\": \"administrator created on 2023-04-09 01:13 PDT\",\n    \"token\": \"NeOfctppwNgPGfvfaIeiXT4h4HpIomUq\",\n    \"user\": {\n        \"id\": 1,\n        \"name\": \"administrator\",\n        \"email\": \"root@localhost\"\n    }\n}"}],"_postman_id":"cf2f4271-1a5e-4619-8e38-fde52973c1d5"},{"name":"Delete token for me","event":[{"listen":"test","script":{"id":"1a014c7c-3985-45ae-be29-661110cc057a","exec":["pm.test(\"Status code is 204\", () => {","  pm.response.to.have.status(204);","});"],"type":"text/javascript"}}],"id":"11f21277-a8fa-460b-820c-0a18bfc2bf07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"x\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/rest/users/me/token/:id","description":"<p>Deletes an API token for the logged in user.</p>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users","me","token",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"0deb7c75-0c23-4260-a9e4-4e347b357da4","type":"any","value":"","key":"id"}]}},"response":[{"id":"0b454b04-2050-487c-9219-11993b02e56c","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/api/rest/users/me/token/:id","host":["{{url}}"],"path":["api","rest","users","me","token",":id"],"variable":[{"id":"0deb7c75-0c23-4260-a9e4-4e347b357da4","key":"id","value":""}]}},"status":"User token deleted","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 09 Apr 2023 08:14:37 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"11f21277-a8fa-460b-820c-0a18bfc2bf07"},{"name":"Create token for user","event":[{"listen":"test","script":{"id":"31e3a981-bdf3-491e-93a8-c6125736a149","exec":["pm.collectionVariables.set('apiTokenId', pm.response.json().id);","","pm.test(\"Status code is 201\", () => {","  pm.response.to.have.status(201);","});"],"type":"text/javascript"}}],"id":"eadeaf1f-e68f-4166-b2eb-8d2f88faa75e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/rest/users/:user_id/token","description":"<p>Creates an API token for the specified user. The logged in user must have access level to impersonate another users.</p>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users",":user_id","token"],"host":["{{url}}"],"query":[],"variable":[{"id":"3e80ff24-9fab-497e-a90c-be11132ed8bf","type":"any","value":"3","key":"user_id"}]}},"response":[{"id":"2c8809f2-297c-43cf-aadc-77326c63dc92","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/api/rest/users/:user_id/token","host":["{{url}}"],"path":["api","rest","users",":user_id","token"],"variable":[{"id":"3e80ff24-9fab-497e-a90c-be11132ed8bf","key":"user_id","value":"3"}]}},"status":"User token created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 09 Apr 2023 08:15:15 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"140"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 86,\n    \"name\": \"administrator created on 2023-04-09 01:15 PDT\",\n    \"token\": \"_7H2k4aAihjgetL48y--0iO5aYz1tD0O\",\n    \"user\": {\n        \"id\": 3,\n        \"name\": \"manager\"\n    }\n}"}],"_postman_id":"eadeaf1f-e68f-4166-b2eb-8d2f88faa75e"},{"name":"Delete token for user","event":[{"listen":"test","script":{"id":"5164ae37-e9d2-4ea0-90b9-1e56a0b6a5a8","exec":["pm.test(\"Status code is 204\", () => {","  pm.response.to.have.status(204);","});"],"type":"text/javascript"}}],"id":"31c92dec-6ed7-4d60-a09c-ead93b99b5ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/rest/users/:user_id/token/:id","description":"<p>Deletes the specified user. The logged in user must have access to impersonate other users.</p>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users",":user_id","token",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"b39c6b6d-a00e-46c5-8c04-21392c1c899f","type":"any","value":"3","key":"user_id"},{"id":"6634a36b-444b-416d-9db0-e31037002905","type":"any","value":"","key":"id"}]}},"response":[{"id":"2e523eb6-7e19-4d8a-aed4-e993e4ab7e76","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/api/rest/users/:user_id/token/:id","host":["{{url}}"],"path":["api","rest","users",":user_id","token",":id"],"variable":[{"id":"b39c6b6d-a00e-46c5-8c04-21392c1c899f","key":"user_id","value":"3"},{"id":"6634a36b-444b-416d-9db0-e31037002905","key":"id","value":""}]}},"status":"User token deleted","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sun, 09 Apr 2023 08:15:53 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"31c92dec-6ed7-4d60-a09c-ead93b99b5ee"}],"id":"4a3e1813-b405-4cad-9435-f9c862b4e04b","_postman_id":"4a3e1813-b405-4cad-9435-f9c862b4e04b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"Config","item":[{"name":"Get Configuration Option","id":"b09a8b9d-5466-48f7-89dc-4be7414d7059","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/rest/config?option=csv_separator","description":"<p>Get specified config option.  If an option doesn't exist or is marked as private, it will be silently skipped.</p>\n<p>Some config options get extra handling to provide more useful response.  For example:</p>\n<ul>\n<li>Enumerations - The enumeration is parsed into an array of objects, each object including id, name and localized label.</li>\n</ul>\n<p>For list of possible config options to retrieve see the following file:\n<a href=\"https://github.com/mantisbt/mantisbt/blob/master/config_defaults_inc.php\">https://github.com/mantisbt/mantisbt/blob/master/config_defaults_inc.php</a></p>\n<p>When requesting an option, don't supply the <code>$g_</code> prefix for the string name.  Only options that are listed as public can be retrieved via this API.  Search the <code>config_defaults_inc.php</code> file for <code>$g_public_config_names</code> to see the list of public options.</p>\n<p>Available since MantisBT 2.3.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","config"],"host":["{{url}}"],"query":[{"key":"option","value":"csv_separator"}],"variable":[]}},"response":[{"id":"c8182ae5-e024-fc7d-2890-8bac35c24e37","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{url}}/api/rest/config?option=csv_separator","host":["{{url}}"],"path":["api","rest","config"],"query":[{"key":"option","value":"csv_separator"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"52","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 07 Jan 2018 22:03:40 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"EvilMan","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"705","body":"{\"configs\":[{\"option\":\"csv_separator\",\"value\":\",\"}]}"}],"_postman_id":"b09a8b9d-5466-48f7-89dc-4be7414d7059"},{"name":"Get Multiple Configuration Options","id":"651cd079-fbaf-1b0b-a663-f45f7f0dfaa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/config?option[]=crypto_master_salt&option[]=csv_separator&option[]=status_colors&option[]=does_not_exist&option[]=status_enum_string","description":"<p>Get specified config options.  If an option doesn't exist or is marked as private, it will be silently skipped.</p>\n<p>Some config options get extra handling to provide more useful response.  For example:</p>\n<ul>\n<li>Enumerations - The enumeration is parsed into an array of objects, each object including id, name and localized label.</li>\n</ul>\n<p>For list of possible config options to retrieve see the following file:\n<a href=\"https://github.com/mantisbt/mantisbt/blob/master/config_defaults_inc.php\">https://github.com/mantisbt/mantisbt/blob/master/config_defaults_inc.php</a></p>\n<p>When requesting an option, don't supply the <code>$g_</code> prefix for the string name.  Only options that are listed as public can be retrieved via this API.  Search the <code>config_defaults_inc.php</code> file for <code>$g_public_config_names</code> to see the list of public options.</p>\n<p>Available since MantisBT 2.3.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","config"],"host":["{{url}}"],"query":[{"key":"option[]","value":"crypto_master_salt"},{"key":"option[]","value":"csv_separator"},{"key":"option[]","value":"status_colors"},{"key":"option[]","value":"does_not_exist"},{"key":"option[]","value":"status_enum_string"}],"variable":[]}},"response":[{"id":"a322adce-dc7a-8125-4e7e-0e6c524027e5","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{url}}/api/rest/config?option[]=crypto_master_salt&option[]=csv_separator&option[]=status_colors&option[]=does_not_exist&option[]=status_enum_string","host":["{{url}}"],"path":["api","rest","config"],"query":[{"key":"option[]","value":"crypto_master_salt"},{"key":"option[]","value":"csv_separator"},{"key":"option[]","value":"status_colors"},{"key":"option[]","value":"does_not_exist"},{"key":"option[]","value":"status_enum_string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"618","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Sun, 07 Jan 2018 22:04:50 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"EvilMan","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"779","body":"{\"configs\":[{\"option\":\"csv_separator\",\"value\":\",\"},{\"option\":\"status_colors\",\"value\":{\"new\":\"#fcbdbd\",\"feedback\":\"#e3b7eb\",\"acknowledged\":\"#ffcd85\",\"confirmed\":\"#fff494\",\"assigned\":\"#c2dfff\",\"resolved\":\"#d2f5b0\",\"closed\":\"#c9ccc4\"}},{\"option\":\"status_enum_string\",\"value\":[{\"id\":10,\"name\":\"new\",\"label\":\"neu\"},{\"id\":20,\"name\":\"feedback\",\"label\":\"R\\u00fcckmeldung\"},{\"id\":30,\"name\":\"acknowledged\",\"label\":\"anerkannt\"},{\"id\":40,\"name\":\"confirmed\",\"label\":\"best\\u00e4tigt\"},{\"id\":50,\"name\":\"assigned\",\"label\":\"zugewiesen\"},{\"id\":80,\"name\":\"resolved\",\"label\":\"erledigt\"},{\"id\":90,\"name\":\"closed\",\"label\":\"geschlossen\"}]}]}"}],"_postman_id":"651cd079-fbaf-1b0b-a663-f45f7f0dfaa6"},{"name":"Set Configs","id":"d255fb35-960d-432c-94cd-81d2c2bf7a6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"project\": {\n        \"name\": \"New Project 2\"\n    },\n    \"configs\": [\n        {\n            \"option\": \"default_bug_description\",\n            \"value\": \"\"\n        },\n        {\n            \"option\": \"priority_enum_string\",\n            \"value\": \"5:unknown,20:low,30:normal,40:high\"\n        },\n        {\n            \"option\": \"severity_enum_string\",\n            \"value\": [\n                {\n                    \"id\": \"50\",\n                    \"name\": \"Minor_fff\"\n                },\n                {\n                    \"id\": 60,\n                    \"name\": \"major\"\n                },\n                {\n                    \"id\": 80,\n                    \"name\": \"block\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/rest/config","description":"<p>Sets the specific config options for the specified project (if supplied), otherwise, it will apply to all projects.</p>\n<p>For list of possible config options to retrieve see the following file:<br /><a href=\"https://github.com/mantisbt/mantisbt/blob/master/config_defaults_inc.php\">https://github.com/mantisbt/mantisbt/blob/master/config_defaults_inc.php</a></p>\n<p>When setting an option, don't supply the <code>$g_</code> prefix for the string name. Only options that are listed as public and not globaly only can be set via this API. Search the <code>config_defaults_inc.php</code> file for:</p>\n<ul>\n<li><code>$g_public_config_names</code> to see the list of public options.</li>\n<li><code>$g_global_settings</code> to see the list of configs that can only be set via <code>config_inc.php</code> and can't be overriden in the database.</li>\n</ul>\n<p>Available since MantisBT 2.26.0.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","config"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4ed825e9-7288-4db5-9fc2-32d06fe78ae3","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"project\": {\n        \"name\": \"New Project 2\"\n    },\n    \"configs\": [\n        {\n            \"option\": \"default_bug_description\",\n            \"value\": \"\"\n        },\n        {\n            \"option\": \"priority_enum_string\",\n            \"value\": \"5:unknown,20:low,30:normal,40:high\"\n        },\n        {\n            \"option\": \"severity_enum_string\",\n            \"value\": [\n                {\n                    \"id\": \"50\",\n                    \"name\": \"Minor_fff\"\n                },\n                {\n                    \"id\": 60,\n                    \"name\": \"major\"\n                },\n                {\n                    \"id\": 80,\n                    \"name\": \"block\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/rest/config"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Date","value":"Sun, 09 Apr 2023 08:26:04 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"0"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"text/html; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d255fb35-960d-432c-94cd-81d2c2bf7a6c"}],"id":"4e05a64c-49d8-ea78-b64a-a227445b61d3","description":"<p>A set of REST APIs for handling configurations.</p>\n","_postman_id":"4e05a64c-49d8-ea78-b64a-a227445b61d3","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"Lang","item":[{"name":"Get a localized string","id":"f4db831d-c31c-6c98-df8d-b16f490f4247","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/lang?string=all_projects","description":"<p>Get the specified localized string.  If string doesn't exist, it will be silently skipped.</p>\n<p>For list of possible strings to retrieve see the following file:\n<a href=\"https://github.com/mantisbt/mantisbt/blob/master/lang/strings_english.txt\">https://github.com/mantisbt/mantisbt/blob/master/lang/strings_english.txt</a></p>\n<p>When requesting a string, don't supply the <code>$s_</code> prefix for the string name.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","lang"],"host":["{{url}}"],"query":[{"description":{"content":"<p>The name of the localized string</p>\n","type":"text/plain"},"key":"string","value":"all_projects"}],"variable":[]}},"response":[{"id":"c88df225-6e1b-99d4-b516-999efed10961","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{url}}/api/rest/lang?string=all_projects","host":["{{url}}"],"path":["api","rest","lang"],"query":[{"key":"string","value":"all_projects"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"85","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 08 Jan 2018 00:13:07 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"GermanReporter","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"854","body":"{\"strings\":[{\"name\":\"all_projects\",\"localized\":\"Alle Projekte\"}],\"language\":\"german\"}"}],"_postman_id":"f4db831d-c31c-6c98-df8d-b16f490f4247"},{"name":"Get multiple localized strings","id":"322d81ae-0fdd-83e6-3495-f2b08f4f28dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/lang?string[]=all_projects&string[]=does_not_exist&string[]=status&string[]=move_bugs&string[]=status_enum_string","description":"<p>Get the specified localized strings.  If a string doesn't exist, it will be silently skipped.</p>\n<p>For list of possible strings to retrieve see the following file:\n<a href=\"https://github.com/mantisbt/mantisbt/blob/master/lang/strings_english.txt\">https://github.com/mantisbt/mantisbt/blob/master/lang/strings_english.txt</a></p>\n<p>When requesting a string, don't supply the <code>$s_</code> prefix for the string name.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","lang"],"host":["{{url}}"],"query":[{"key":"string[]","value":"all_projects"},{"key":"string[]","value":"does_not_exist"},{"key":"string[]","value":"status"},{"key":"string[]","value":"move_bugs"},{"key":"string[]","value":"status_enum_string"}],"variable":[]}},"response":[{"id":"7abc7818-8bec-a3e2-15da-c619270a310f","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{url}}/api/rest/lang?string[]=all_projects&string[]=does_not_exist&string[]=status&string[]=move_bugs&string[]=status_enum_string","host":["{{url}}"],"path":["api","rest","lang"],"query":[{"key":"string[]","value":"all_projects"},{"key":"string[]","value":"does_not_exist"},{"key":"string[]","value":"status"},{"key":"string[]","value":"move_bugs"},{"key":"string[]","value":"status_enum_string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":""},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":""},{"key":"Content-Length","value":"322","name":"Content-Length","description":""},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":""},{"key":"Date","value":"Mon, 08 Jan 2018 00:13:39 GMT","name":"Date","description":""},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":""},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":""},{"key":"Server","value":"Apache","name":"Server","description":""},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":""},{"key":"X-Mantis-Username","value":"GermanReporter","name":"X-Mantis-Username","description":""},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":""},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":""}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"961","body":"{\"strings\":[{\"name\":\"all_projects\",\"localized\":\"Alle Projekte\"},{\"name\":\"status\",\"localized\":\"Status\"},{\"name\":\"move_bugs\",\"localized\":\"Eintrag verschieben\"},{\"name\":\"status_enum_string\",\"localized\":\"10:neu,20:R\\u00fcckmeldung,30:anerkannt,40:best\\u00e4tigt,50:zugewiesen,80:erledigt,90:geschlossen\"}],\"language\":\"german\"}"}],"_postman_id":"322d81ae-0fdd-83e6-3495-f2b08f4f28dc"}],"id":"89aa63ab-5ea8-a007-4286-5a87a5f38cf5","description":"<p>A set of APIs for handling localized strings.</p>\n","_postman_id":"89aa63ab-5ea8-a007-4286-5a87a5f38cf5","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"Pages","item":[{"name":"Get Issue View Page","event":[{"listen":"test","script":{"id":"1d5d03af-b5fc-4019-89af-f9982c9a4a6a","exec":["pm.test(\"body contains issue\", function() {","    const response = pm.response.json();","    pm.expect(response).to.have.property('issue');","});"],"type":"text/javascript"}}],"id":"327e4921-4692-91aa-cf19-34291ac69d43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/pages/issues/view/:issue_id","description":"<p>IN DEVELOPMENT - NOT RELEASED YET!</p>\n<p>Get information necessary to render an issue view page for the specified issue.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","pages","issues","view",":issue_id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"1","key":"issue_id"}]}},"response":[{"id":"83018223-f0c5-3519-9c7d-734af4f2e75b","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"1234","description":"The issue id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"1509","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 07 Jan 2018 22:43:16 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"1625146a518db1112fdce101781fae3f6b5b936ec3b02ab77a78705489cfee67","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":"The last modified date for the requested object, in RFC 2822 format"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Mantis-LoginMethod","value":"api-token","name":"X-Mantis-LoginMethod","description":"Custom header"},{"key":"X-Mantis-Username","value":"vboctoradmin","name":"X-Mantis-Username","description":"Custom header"},{"key":"X-Mantis-Version","value":"2.11.0-dev","name":"X-Mantis-Version","description":"Custom header"},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"3201","body":"{\n    \"issues\": [\n        {\n            \"id\": 1234,\n            \"summary\": \"Sample issue title\",\n            \"description\": \"Sample issue description\",\n            \"project\": {\n                \"id\": 1,\n                \"name\": \"mantisbt\"\n            },\n            \"category\": {\n                \"id\": 135,\n                \"name\": \"General\"\n            },\n            \"reporter\": {\n                \"id\": 1,\n                \"name\": \"vboctor\",\n                \"real_name\": \"Victor Boctor\",\n                \"email\": \"vboctor@example.com\"\n            },\n            \"status\": {\n                \"id\": 10,\n                \"name\": \"new\",\n                \"label\": \"new\",\n                \"color\": \"#fcbdbd\"\n            },\n            \"resolution\": {\n                \"id\": 10,\n                \"name\": \"open\",\n                \"label\": \"open\"\n            },\n            \"view_state\": {\n                \"id\": 10,\n                \"name\": \"public\",\n                \"label\": \"public\"\n            },\n            \"priority\": {\n                \"id\": 30,\n                \"name\": \"normal\",\n                \"label\": \"normal\"\n            },\n            \"severity\": {\n                \"id\": 50,\n                \"name\": \"minor\",\n                \"label\": \"minor\"\n            },\n            \"reproducibility\": {\n                \"id\": 70,\n                \"name\": \"have not tried\",\n                \"label\": \"have not tried\"\n            },\n            \"sticky\": false,\n            \"created_at\": \"2017-04-23T13:12:28-04:00\",\n            \"updated_at\": \"2017-04-23T13:12:28-04:00\",\n            \"custom_fields\": [\n                {\n                    \"field\": {\n                        \"id\": 4,\n                        \"name\": \"The City\"\n                    },\n                    \"value\": \"Seattle\"\n                }\n            ],\n            \"history\": [\n                {\n                    \"created_at\": \"2017-04-23T13:12:28-04:00\",\n                    \"user\": {\n                        \"id\": 36771,\n                        \"name\": \"vboctor\",\n                        \"real_name\": \"Victor Boctor\",\n                        \"email\": \"vboctor@example.com\"\n                    },\n                    \"type\": {\n                        \"id\": 1,\n                        \"name\": \"issue-new\"\n                    },\n                    \"message\": \"New Issue\"\n                }\n            ]\n        }\n    ]\n}"},{"id":"4d7e1afb-8591-c816-cb0a-dc8bf1803e6c","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{url}}/api/rest/issues/:issue_id","host":["{{url}}"],"path":["api","rest","issues",":issue_id"],"variable":[{"key":"issue_id","value":"2192022","description":"The issue id"}]}},"status":"Issue #2192022 not found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, max-age=10800","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"89","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json;charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Sun, 07 Jan 2018 22:53:57 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Keep-Alive","value":"timeout=5, max=100","name":"Keep-Alive","description":"Custom header"},{"key":"Last-Modified","value":"Sun, 31 Dec 2017 19:58:54 GMT","name":"Last-Modified","description":"The last modified date for the requested object, in RFC 2822 format"},{"key":"Server","value":"Apache","name":"Server","description":"A name for the server"},{"key":"X-Powered-By","value":"PHP/7.1.8","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"localhost","path":"/","secure":false,"value":"be0edb4fdc0a4378b2ef8cbc368d7e1f","key":"PHPSESSID"}],"responseTime":"877","body":"{\n    \"message\": \"Issue #1234 not found\",\n    \"code\": 1100,\n    \"localized\": \"Issue 1234 not found.\"\n}"}],"_postman_id":"327e4921-4692-91aa-cf19-34291ac69d43"}],"id":"ddd095f8-0905-ae9d-268b-a24cddfa8740","_postman_id":"ddd095f8-0905-ae9d-268b-a24cddfa8740","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}},{"name":"Impersonation","item":[{"name":"Get My User Info with Impersonation","id":"46756cf2-1ab7-45ff-b874-a880ad7fab84","request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"},{"key":"X-Mantis-Username","value":"username-to-impersonate","type":"text"}],"url":"{{url}}/api/rest/users/me","description":"<p>This is an example of using user impersonation to access any API while impersonating the desired user. The user whose API token is used must have a global access level that is greater than or equal to <code>impersonate_user_threshold</code>.</p>\n<p>The <code>X-Mantis-Username</code> request header is used to specify the target user to impersonate for the API request. Such user must not have an access level that is greater than the user whose token is passed to the API.</p>\n<p>Available since MantisBT 2.26.0</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}},"urlObject":{"path":["api","rest","users","me"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"d0064130-a7e0-4298-afda-d44718dbfc4e","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{url}}/api/rest/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 10 Apr 2023 02:38:57 GMT"},{"key":"Server","value":"Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/7.4.21 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/7.4.21"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Last-Modified","value":"Sun, 09 Apr 2023 04:10:00 GMT"},{"key":"X-Mantis-Username","value":"administrator"},{"key":"X-Mantis-LoginMethod","value":"api-token"},{"key":"X-Mantis-Version","value":"2.26.0-dev"},{"key":"Content-Length","value":"909"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"administrator\",\n    \"real_name\": \"Admin Real\",\n    \"email\": \"root@localhost\",\n    \"language\": \"english\",\n    \"timezone\": \"America/Los_Angeles\",\n    \"access_level\": {\n        \"id\": 90,\n        \"name\": \"administrator\",\n        \"label\": \"administrator\"\n    },\n    \"created_at\": \"2022-08-20T16:11:58-07:00\",\n    \"projects\": [\n        {\n            \"id\": 22,\n            \"name\": \"Project 22\"\n        },\n        {\n            \"id\": 44,\n            \"name\": \"Project 44\"\n        }\n   ]\n}"}],"_postman_id":"46756cf2-1ab7-45ff-b874-a880ad7fab84"}],"id":"07861d00-7309-468b-8a56-fb11b16b5fa8","_postman_id":"07861d00-7309-468b-8a56-fb11b16b5fa8","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","id":"6ecad46e-cfa0-fb41-c005-2a82c25e74f6","name":"Mantis Bug Tracker REST API","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"08f494af-9188-4ad8-9c4a-248f49556252","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c4be6c27-e8ee-45dc-93ab-611d87a5b42b","type":"text/javascript","exec":["pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","pm.test(\"expect json response\", function() {","    pm.expect(pm.response.headers.get('Content-Type')).to.eql('application/json');","})","","    pm.test(\"X-Mantis-Version is present\", function () {","        pm.response.to.have.header(\"X-Mantis-Version\");","    });","","if( responseCode == 200) {","","","    pm.test(\"X-Mantis-LoginMethod is present\", function () {","        pm.response.to.have.header(\"X-Mantis-LoginMethod\", \"api-token\");","    });","","    pm.test(\"X-Mantis-Username matches username\", function () {","    pm.response.to.have.header(\"X-Mantis-Username\", pm.environment.get(\"username\"));","    });","}"]}}],"variable":[{"key":"issueId","value":"1","type":"string"},{"key":"issueFileId","value":"1","type":"string"},{"key":"projectId","value":"1","type":"string"},{"key":"filterId","value":"1","type":"string"},{"key":"issueNoteId","value":"1","type":"string"},{"key":"userId","value":"1","type":"string"},{"key":"configOption","value":"csv_separator","type":"string"},{"key":"pageSize","value":"10","type":"string"},{"key":"username","value":"vboctor","type":"string"},{"key":"apiTokenId","value":""}]}