{"info":{"_postman_id":"e6ed1135-ca85-4952-aa0e-9f1f51c285cc","name":"accessibilityFix API","description":"<html><head></head><body><p><em>Version: v1</em></p>\n<p><strong>Accessibility Fix</strong> is a suite of APIs developed by <em>CodeMantra</em> for generating accessible documents from unaccessible ones by using Machine Learning and some logic based heuristics.</p>\n<p>Once registered with <em>CodeMantra</em> for <strong>AccessibilityFix</strong> API suite, you can use below APIs for seamless integration into your products:</p>\n<p>* <strong>Authorize</strong><br>* <strong>Accessibility Fix Request</strong><br>* File or URL<br>* Generate Prediction JSONs (and Tagged PDF)<br>* <strong>Accessibility Fix Status</strong></p>\n<p>For password management, you can use below APIs:</p>\n<p>* <strong>Change Password</strong><br>* <strong>Forgot Password</strong><br>* Password Policy<br>* Minimum password length should be 8<br>* Numbers are required<br>* Special characters are required<br>* Uppercase letters are required<br>* Lowercase letters are required<br>* The temporary password sent on registration will be valid for 365 days.<br>* The temporary password sent on registration will be valid for 365 days.</p>\n<h2 id=\"steps-for-integration\">Steps for Integration:</h2>\n<ol>\n<li>You can contact <em>CodeMantra</em> for registration.</li>\n<li>Once the API administrator from <em>CodeMantra</em> registers your email, you'll receive a welcome mail, along with the temporary password.</li>\n<li>You can set your permanent password by using the <strong>Authorize API</strong>. You'll have to send your temporary password along with your email and the password that you want to set as your permanent password.</li>\n<li>Once you've set your password, you can use the <strong>Authorize API</strong> to generate authorization token by passing your email and password. The generated authorization token will have to be passed in other APIs as a header.</li>\n<li>When you have your authorization token, you can use the <strong>Accessibility Fix Request API</strong> to upload files for making them accessible. The process will happen asynchronously, and you'll receive a <code>request_id</code> to track your upload request.<br>* In case you want to upload a file directly, you can just pass the document name and format in the request, and you'll receive a pre-signed URL to upload the file.<br>* However, if you want to upload file from a URL, you can pass the document URL, along with the document name and format.<br>* The API would be generating a Tagged PDF along with a Zip archive of the Prediction JSONs as the default output. This could be customised to generate only the Prediction JSON archive by specifying <code>generateTaggedOutput</code> JSON object as <em><strong>false</strong></em>.<br>* Optionally, if you want certain information to be added to the API response data for your downstream processing pipelines, you can pass that information as <code>info</code> JSON object. The information will be added to the file data as such.</li>\n<li>You can check the status of your document process request by using the <strong>Accessibility Fix Status API</strong> by passing the request id as the path parameter.</li>\n</ol>\n<blockquote>\n<p><strong>The accessible version of the document will be only available for download till 7 days from the time the Accessibility Fix request was received.</strong></p>\n</blockquote>\n<p>Additionally, <strong>Accessibility Fix</strong> API provides a websocket connect feature using which you can connect to receive real-time remediation status notifications. If you happen to use the websocket connect feature, you'll not need to keep track of you requests by continuously polling <strong>Accessibility Fix Status API</strong>.</p>\n<p>You can connect to the websocket using the below url:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">wss://accessibilityfix.ws.codemantra.com?Authorization=[your-access-token]\n\n</code></pre>\n<h4 id=\"nodejs-template-for-connecting-to-websocket\">NodeJs Template for connecting to Websocket:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">var WebSocketClient = require(\"websocket\").client\nvar client = new WebSocketClient();\nclient.on('connectFailed', function(error) {\n    console.log('Connect Error: ' + error.toString());\n});\nclient.on('connect', function(connection) {\n    console.log('WebSocket Client Connected');\n    connection.on('error', function(error) {\n        console.log(\"Connection Error: \" + error.toString());\n    });\n    connection.on('close', function() {\n        console.log('Connection Closed');\n    });\n    connection.on('message', function(message) {\n        const content = JSON.parse(message.utf8Data);\n        if (content.event == 'accessibility-fix-complete') {\n            console.log('Recieved new accessibility-fix-complete notification');\n            console.log(content)\n            // Add your business logic here\n        }\n    });\n});\n// Obtain valid token from Authorize API\nconst token = \"[your-access-token]\";\nclient.connect('wss://accessibilityfix.ws.codemantra.com?Authorization='+token);\n\n</code></pre>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14952611","collectionId":"e6ed1135-ca85-4952-aa0e-9f1f51c285cc","publishedId":"UVeAvohv","public":true,"customColor":{"top-bar":"00834F","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-02-03T10:41:21.000Z"},"item":[{"name":"Authorize","id":"8c4ebc69-a9c8-4c37-8157-23e9ea93b10c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"xxxxxxxx\",\r\n  \"temporaryPassword\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/authorize","description":"<p>API for retrieving authorization token for a registered user. </p>\n<p><code>token</code> provided in the response should be used as <strong>Authorization Header</strong> in other APIs.\n<br />\n<br /></p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Email of the registered user</td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>string</td>\n<td>Password of the registered user</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n\n<h3 id=\"request-parameters-when-setting-the-password-for-the-first-time\">Request Parameters when setting the password for the first time</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Email of the registered user</td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>string</td>\n<td>Password that will be set as the permanent password of the registered user</td>\n</tr>\n<tr>\n<td><code>temporaryPassword</code></td>\n<td>string</td>\n<td>Temporary password that was sent to the registered user's mail id</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n<br />\n\n<h3 id=\"response-item-object\">Response Item Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token</code></td>\n<td>string</td>\n<td>Authorization Token</td>\n</tr>\n<tr>\n<td><code>tokenType</code></td>\n<td>string</td>\n<td>Authorization Token Type. Will always have value <strong>Bearer</strong>. Authorization header format to be added in other APIs is <code>Bearer [your-access-token]</code></td>\n</tr>\n<tr>\n<td><code>expiresIn</code></td>\n<td>number</td>\n<td>Duration in seconds after which the Authorization token will expire</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","authorize"],"host":["accessibilityfix.api.codemantra.com"],"query":[],"variable":[]}},"response":[{"id":"21219a5a-096e-4b3c-8662-175a5aab8d5e","name":"401 Expired Authorization Token","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/authorize"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"46"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 08:32:06 GMT"},{"key":"x-amzn-RequestId","value":"c3ba40bb-ee52-4740-9ff8-e3c105375a7a"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmLE-HCQIAMFwgQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f25886-0d95dc10107dd21720b9485b"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4040812fc3047e1515768e16276bf7e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"5NMay0t3c1kSsBZ765FSK3GQv4hiaUA-hM_PdBvHZRN1XWcFXkhgcw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User does not exist.\",\n    \"item\": null\n}"},{"id":"825b0036-948c-4e45-abb4-44fd93e0ebf7","name":"400 Incorrect Email or Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/authorize"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 10:44:57 GMT"},{"key":"x-amzn-RequestId","value":"46189885-a5ca-4deb-a6e6-14efd56f55da"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmeiJH1WIAMFl1A="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f277a7-764d3c55551f8fed5917878b"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4040812fc3047e1515768e16276bf7e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"kbgcr5zyaHZVxHChEmZazPOGb9REEQMZ3WUkTK0rmp_q9hAWn-vKBA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Incorrect email or password\",\n    \"item\": null\n}"},{"id":"f5d1a9fd-c95d-4bbe-bfe1-c92758810bf1","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/authorize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"946"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 10:53:10 GMT"},{"key":"x-amzn-RequestId","value":"72775b4d-062d-4528-a172-a80b5febd26f"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"MmfviFUvIAMFWtg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f27996-2fac1a4d7c1b660a3f0054bc"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"Lewr86JdQVXf5Q6krrJp_CjAgkA9bRHxZLMrULQUxmokKt3sK7Xywg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\",\n    \"item\": {\n        \"token\": \"eyJraWQiOiJHZDdkT1ZCeVRqTWxuQ2tHc00rN0dNb1RRbjE5QVg4c0VTM3VjckZKOUNJPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiJhNjU4YjJjNy01YTI2LTQzMzYtYjdjYy00MDdiY2ZiYjIzZTciLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWU5JRFAwSzZWIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjp0cnVlLCJjb2duaXRvOnVzZXJuYW1lIjoiYTY1OGIyYzctNWEyNi00MzM2LWI3Y2MtNDA3YmNmYmIyM2U3Iiwib3JpZ2luX2p0aSI6IjQ5ZTIwYTk1LTMwMzEtNGU2Yy1iYjA0LWE4MGIzNjlmNzA0NiIsImF1ZCI6IjNsZW1qY2k3aWY4aDFtbXR2NGFxa2pyMXY1IiwiZXZlbnRfaWQiOiI3ZDRiZmVlMy0yY2QzLTQ3NmMtODU4ZC0zOWQ2NDRhOTJiYTIiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY0MzI4MDc5MCwicGhvbmVfbnVtYmVyIjoiKzkxOTkxMjM0NTY3OCIsImV4cCI6MTY0MzI4NDM5MCwiaWF0IjoxNjQzMjgwNzkwLCJqdGkiOiIyMWQ3MDNmOS01Njk2LTQ3N2MtYTk3YS0wYTk3ZWFhMTJhZDYiLCJlbWFpbCI6InZpc2hlc2hAY29kZW1hbnRyYS5pbiJ9.lRjhbL1eVDpUhgLdjO_eL8mRMaQFZ45C-cQBK3x8esVGkw3k5gHE0tly8QCOuJrxiKabX4kEumIs132C-Q9u-V80Yj6hmhto7qeFDFnm3SpfyTQm8mAJyT1WPdHh6M3EJU-Ko25riZByviU6g-MGCUR5jlaYDwQi0IWydLAWVqHYU8tUKtwU1IDh45tYi8u1SW0t1xd2u_apFSFjXiJapJ2312D-RhC9YeSxrJ04EUusqMogjCRxtWguqNdLeAbnpnl4u6_90ERotHGrX4Lq1STk7jpYYBrxh_QUhxonPKmG4yIjwZfG-QKx02pXf9ZWXgGiKUpauydIWkkJDnsI_Q\",\n        \"tokenType\": \"Bearer\",\n        \"expiresIn\": 3600\n    }\n}"},{"id":"a978f724-73d7-4ba6-abde-1464572727d2","name":"400 User Doesn't Exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"xxxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/authorize"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"46"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:30:50 GMT"},{"key":"x-amzn-RequestId","value":"f1c380b1-fffa-4c3c-892e-6d2dff6b7568"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmlQWHpLoAMFbUw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f28268-7fa08a2143aebe7204b675a9"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4040812fc3047e1515768e16276bf7e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"DbawDMidlXs5sZv4dpd7NEPBcNMkiXhdc0b_CuHXdgscpkebJT3s8A=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User does not exist.\",\n    \"item\": null\n}"},{"id":"33d49297-2ba0-489d-be96-503d9b522c8c","name":"400 Temporary Password is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com,\r\n  \"password\": \"m|VUpm7J\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/authorize"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"96"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 12:00:12 GMT"},{"key":"x-amzn-RequestId","value":"a7580f9b-e27d-45d9-9064-13a5fe2690db"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmpjsFCkIAMFiEQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f2894a-4d8a4f7f7b9ad7d5775fb0f7"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"B-NbQicyC5NsLej5Jchf74xSHCnIQLnNo5GShkGDTVtuu1bASdzjjg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"temporaryPassword parameter is missing for setting permanent password.\",\n    \"item\": null\n}"},{"id":"5dc0363d-a823-4128-a2aa-de9d03c56094","name":"400 Password Does Not Conform To Policy","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"xxxxxxxxx\",\r\n  \"temporaryPassword\": \"m|VUpm7J\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/authorize"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"102"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 12:02:35 GMT"},{"key":"x-amzn-RequestId","value":"24d53c44-389a-4386-af8e-55c06e8d1bb7"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"Mmp6GFRjoAMFV5Q="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f289da-3793079f1631d0a73b5ce0d8"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"YWOjdhU4N0yEwlsuYPCKuSplZ-GkiSg9hgvmV-z_Rtm6kBG3IlpFpQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password does not conform to policy: Password must have uppercase characters\",\n    \"item\": null\n}"},{"id":"a98ce203-744a-435a-a97b-3d1fb145f561","name":"200 Password Set Using Temporary Password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"user@codemantra.com\",\r\n  \"password\": \"Fixpass@1\",\r\n  \"temporaryPassword\": \"m|VUpm7J\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/authorize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"898"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 12:03:45 GMT"},{"key":"x-amzn-RequestId","value":"3c2a2ceb-6170-4854-8dbb-7c13db926a5c"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"MmqFJG9BIAMFqrQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f28a20-7cec50777faf5d6d7a065ed7"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"uxXXNuGYMHd9bHsqlbwpla02boGT_PvMUj2AfKSPdo1CKV4_On4QRw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\",\n    \"item\": {\n        \"token\": \"eyJraWQiOiJHZDdkT1ZCeVRqTWxuQ2tHc00rN0dNb1RRbjE5QVg4c0VTM3VjckZKOUNJPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiIzMTU4NjczZC03OWQzLTQyYzItODM3ZC01YjVkMjU5MDU2OWQiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfWU5JRFAwSzZWIiwiY29nbml0bzp1c2VybmFtZSI6IjMxNTg2NzNkLTc5ZDMtNDJjMi04MzdkLTViNWQyNTkwNTY5ZCIsIm9yaWdpbl9qdGkiOiIxZGQwM2U2My03ZTI5LTRjN2ItYWEyMi0xNWUyZjE0NGFkMjkiLCJhdWQiOiIzbGVtamNpN2lmOGgxbW10djRhcWtqcjF2NSIsImV2ZW50X2lkIjoiNzUzODc0ZWUtZTNmNS00ZDE2LTkxM2EtYjMwNTc4NTlhZjk2IiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE2NDMyODUwMjUsImV4cCI6MTY0MzI4ODYyNSwiaWF0IjoxNjQzMjg1MDI1LCJqdGkiOiIyYjRmNGQ0NS02YjlkLTQyZTctYWU1Zi0zMGFhYjY0NzlhMDciLCJlbWFpbCI6InY5N2FnYXJ3YWxAZ21haWwuY29tIn0.mEmDv8-kGLFrJ3N9q-fVmdj2V30v2NXEulx9SqTRwuihzA8oGtF-zRyYfvDxiUad0BW97oaWeYptM9DpCRaUVQl_tK4vr-Izx0rrZ1tmhMnsNJLRdBZmNQ9c_HowxI3cnDUFZIcGDuxvSGwXoDuURIip21fvUIov_DwKtEQ79WlgD5ZOp8-nHl60qIEIt23-3T52U0nr2Y8G6D3TMI2yMucudWewdz3qrRBYYpHuilhkU4lu1tEqLLchMefjDAWIl02fIwlIRfMartCeneohCDMiWgsmGFRS-EuXkw2aZgh0kYFZf-20uePbmlmBvV4tQrz2jir5Gjh-95wuJRSI0w\",\n        \"tokenType\": \"Bearer\",\n        \"expiresIn\": 3600\n    }\n}"}],"_postman_id":"8c4ebc69-a9c8-4c37-8157-23e9ea93b10c"},{"name":"Accessibility Fix Request","id":"742fa75e-4949-4752-8684-eb0b1bafb342","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"[your_access_token]"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"sample.pdf\",\r\n  \"format\": \"PDF\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/upload","description":"<p>API for uploading a document for accessibility remediation process to be performed on the uploaded document. Document uploads can be either <strong>direct</strong> (no <code>documentUrl</code> field in request), or <strong>via URL</strong> (<code>documentUrl</code> field contains file url value).</p>\n<p>In case of <strong>direct</strong> document uploads, response body will contain <code>uploadUrl</code> field using which document can be uploaded for accessibility remediation process.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>documentName</code></td>\n<td>string</td>\n<td>Name of the Document</td>\n</tr>\n<tr>\n<td><code>documentUrl</code>  <br />(optional)</td>\n<td>string</td>\n<td>Url of the document for which accessibility fix is requested.  <br />If <code>null</code> or missing, link will be sent in the response under <code>uploadUrl</code> field to upload document directly</td>\n</tr>\n<tr>\n<td><code>format</code></td>\n<td>string</td>\n<td>Document format. See <strong>Format Options</strong> section for valid formats</td>\n</tr>\n<tr>\n<td><code>callbackUrl</code>  <br />(optional)</td>\n<td>string</td>\n<td>A callback URL on which the accessibility fix completion notification will be <strong>posted</strong>.</td>\n</tr>\n<tr>\n<td><code>info</code>  <br />(optional)</td>\n<td>object</td>\n<td>Additional information that needs to be associated with the <em>accessibilityfix</em> API response for downstream processing pipelines.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"format-options\">Format Options</h4>\n<p>Following options are valid for <code>format</code> field:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PDF</code></td>\n<td>PDF Format</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-item-object\">Response Item Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>requestId</code></td>\n<td>string</td>\n<td>Request ID, for tracking the status</td>\n</tr>\n<tr>\n<td><code>uploadUrl</code>  <br />(optional)</td>\n<td>string</td>\n<td>Presigned URL to upload the document directly for remediation process, if the request doesn't contain the <code>documentUrl</code> parameter</td>\n</tr>\n<tr>\n<td><code>info</code>  <br />(optional)</td>\n<td>object</td>\n<td>Additional information that needs to be associated with the <em>accessibilityfix</em> API response for downstream processing pipelines.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","upload"],"host":["accessibilityfix.api.codemantra.com"],"query":[],"variable":[]}},"response":[{"id":"fdda0e62-728c-46e0-bf5f-b7e8a0ec9411","name":"401 Expired Authorization Token","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"sample.pdf\",\r\n  \"format\": \"PDF\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/upload"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"44"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 08:32:16 GMT"},{"key":"x-amzn-RequestId","value":"3891a05a-e423-4757-ad49-22dc6cc92a6d"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"MmLGjGkIIAMFbGA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f25890-6dfde80c61993ff4793f5f20"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4040812fc3047e1515768e16276bf7e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"UbxEYGzI070dNyr8IBi68LrTkcaR9a2ef_ObfuKXH7DRumio5TJyZw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The incoming token has expired\"\n}"},{"id":"c3c4e8ad-ae60-4846-81d3-bac47df329e5","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"sample.pdf\",\r\n  \"documentUrl\": \"https://aclanthology.org/N19-4010.pdf\",\r\n  \"format\": \"Test\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/upload"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 10:54:48 GMT"},{"key":"x-amzn-RequestId","value":"01c39322-fe29-484c-a861-0e53dec49201"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"BadRequestException"},{"key":"x-amz-apigw-id","value":"Mmf-yH44IAMFQig="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f279f8-2269002f50b1cea76bcec201"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"gfpr2uoSGjsAYTuwW4em73z_ZpvIFv3FBBvc_awWFFzcLJV8lnVJCg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid request body\"\n}"},{"id":"5998fa03-b18f-4604-bd52-98370d04d76f","name":"200 OK - URL Upload","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"sample_url.pdf\",\r\n  \"documentUrl\": \"https://aclanthology.org/N19-4010.pdf\",\r\n  \"format\": \"PDF\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"128"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 10:57:37 GMT"},{"key":"x-amzn-RequestId","value":"1e8eb52a-5453-4236-bf33-6eb7664e6049"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmgYvGkToAMF12w="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f27a9e-69d1a50a24e38a462a80c0d3"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"LNXTh23MI6ToQjOG1wLangaasT6fGuNC___g_0K66o1eBLZApHmoOw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\",\n    \"item\": {\n        \"requestId\": \"01FTDJY16C5CVA7Y54J2DY162P\",\n        \"info\": {\n            \"info1\": \"sample info 1\",\n            \"info2\": \"sample info 2\"\n        }\n    }\n}"},{"id":"92992074-38af-4d0a-a8bd-e23d2123b269","name":"200 OK - File Upload","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"sample_document.pdf\",\r\n  \"format\": \"PDF\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/upload"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1107"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:04:16 GMT"},{"key":"x-amzn-RequestId","value":"6b644631-80a8-4e22-9afe-a330b22e539c"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"MmhXmFS4IAMFzJw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f27c30-3ba2e44837afc84d162f30ff"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"Goo-teMghdOkHI2n40NuwuUakJ49HQdw02Pg5D88WlLqd8W-fJx1HA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\",\n    \"item\": {\n        \"requestId\": \"01FTDKA7JJDXKXDSPVTQ4X04E0\",\n        \"uploadUrl\": \"https://accessibility-fix-ts-staging-545251674201.s3.amazonaws.com/documents/a658b2c7-5a26-4336-b7cc-407bcfbb23e7/pdf/01FTDKA7JJDXKXDSPVTQ4X04E0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAX544IJBMXOD43IUM%2F20220127%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220127T110416Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEJP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIE1jTH2y8L1dhAYR03ER0brEJV0rZR5EvkhzsW9DQcwuAiEA0Z3P8fm9aCdOrtfBPoF8yfV2lqLp7s0q0Ura4JqegS4qsQIIvP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARABGgw1NDUyNTE2NzQyMDEiDBiJkU8kDPvlX0SHMSqFAjlqhViJHuz5vkeOjrvr1hFw175xuxG8IliJguHgNunsfyNYUxvW8OC9ir7SBKqxRAHUAtPCi3uaTydNl5wfATGFr2Fw2ll76ndBsLFk2WYkWOIklvLUtmgcq6nqEqEdHJRkvgpokvFPorPewARNNfSf1Ci3kWGm4mxsrmM59AZOBkXLYOyk1yyeCvth5qPfJSfcUDNQlDn8OMGXQRwToSnMy4RYCrsMgBEA3dbj8L48%2FfIGlJwCM2%2FADsVcsCs2Q5oaPWHBtgCAbRP3MR9DCP9QiKvJdLqbzAoZ%2BhDIrf4NNKx3qFj1wXqMlLeRhHuDUHPU29413Ba%2BNnfcfO%2FbdxjeRz2ghTCL%2BMmPBjqaAQ9Qdtg5%2BL%2FarmhIXY4S1hAa9tBOxX2%2B0TPxeO4Gu9K%2BbZZBzL4po2Ks8AZPzW2%2BMMEZeuwai9pFa6RuCzckb1wokmwroJaYW3wUOSi09LuXg%2FpmjyNI7nzVU2cKh1GLfKggek9tgh8cds9sOjhz9jquiONcIL8k8ZO30hwEjGz8AJZc2B8a%2FfErEwrbsBFlt4Ie6x44E32Dxg0%3D&X-Amz-Signature=10ed75e70ef010e745e7ed4e0a8b2a3d147f8844e0c8cdb2c1275c5b735038f5&X-Amz-SignedHeaders=host%3Bx-amz-meta-documentname%3Bx-amz-meta-format%3Bx-amz-meta-requestid%3Bx-amz-meta-userid&x-amz-meta-documentname=sample_document.pdf&x-amz-meta-format=pdf&x-amz-meta-requestid=01FTDKA7JJDXKXDSPVTQ4X04E0&x-amz-meta-userid=a658b2c7-5a26-4336-b7cc-407bcfbb23e7\",\n        \"info\": {\n            \"info1\": \"sample info 1\",\n            \"info2\": \"sample info 2\"\n        }\n    }\n}"},{"id":"a4d4918c-7469-46da-bfe1-6438a6d772fa","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"documentName\": \"sample_document.pdf\",\r\n  \"format\": \"PDF\",\r\n  \"info\": {\r\n      \"info1\": \"sample info 1\",\r\n      \"info2\": \"sample info 2\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/upload"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:22:02 GMT"},{"key":"x-amzn-RequestId","value":"c6b1c3ec-326d-4616-8d40-e48e90c844bd"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"Mmj-GH50oAMFwcg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f28059-0aa25b5649e0336d14b51aa4"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 e23c94448f0ca354a0e8ef42dcb2253a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"9m30JBb3XFm1tzR40YjwX_-V-GxywI7hKpAzhae0Kc4Paf9FCKJQnw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"}],"_postman_id":"742fa75e-4949-4752-8684-eb0b1bafb342"},{"name":"Accessibility Fix Status","id":"78cf06ef-02ee-41ab-a045-ab3743fe678f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"[your_access_token]"},"isInherited":false},"method":"GET","header":[],"url":"accessibilityfix.api.codemantra.com/v1/status/:requestId","description":"<p>API for retrieving accessibility remediation process status of a particular uploaded document.</p>\n<h3 id=\"response-item-object\">Response Item Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>requestId</code></td>\n<td>string</td>\n<td>Request ID, for tracking the status</td>\n</tr>\n<tr>\n<td><code>requestType</code></td>\n<td>string</td>\n<td>Type of upload request. One of <code>FILE</code>, <code>URL</code></td>\n</tr>\n<tr>\n<td><code>documentName</code></td>\n<td>string</td>\n<td>Name of the document as provided in the upload request</td>\n</tr>\n<tr>\n<td><code>format</code></td>\n<td>string</td>\n<td>Format of the document as provided in the request. Must be <code>pdf</code></td>\n</tr>\n<tr>\n<td><code>size</code></td>\n<td>number</td>\n<td>Size of the document in bytes</td>\n</tr>\n<tr>\n<td><code>accessibilityFixDocumentUrl</code>  <br />(optional)</td>\n<td>string</td>\n<td>Presigned URL to download the accessible version of the uploaded document. The URL will be added in the response till 7 days from the initial upload request date</td>\n</tr>\n<tr>\n<td><code>accessibilityFixDocumentUrlExpiry</code>  <br />(optional)</td>\n<td>string</td>\n<td>Expiry time of the accessible version of the uploaded document download URL in UTC</td>\n</tr>\n<tr>\n<td><code>statusCode</code></td>\n<td>number</td>\n<td>Status code of the accessibility remediation process request. One of <code>200</code>, <code>202</code>, <code>500</code></td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Status of the accessibility fix request. One of <code>IMAGE CONVERSION</code>, <code>PREDICTION IN PROGRESS</code>, <code>PREDICTION COMPLETED</code>, <code>PREDICTION ERROR</code>, <code>POST-PROCESSING STARTED</code>, <code>POST-PROCESSING</code>, <code>TAGGING IN PROGESS</code>, <code>TAGGING TIMED OUT</code>, <code>COMPLETED</code>,</td>\n</tr>\n<tr>\n<td><code>info</code>  <br />(optional)</td>\n<td>object</td>\n<td>Additional information that needs to be associated with the <em>accessibilityfix</em> API response data for downstream processing pipelines.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","status",":requestId"],"host":["accessibilityfix.api.codemantra.com"],"query":[],"variable":[{"id":"9d0578e7-5b36-4c9e-b726-93fa62b5e416","type":"any","value":"01FTDJY16C5CVA7Y54J2DY162P","key":"requestId"}]}},"response":[{"id":"004b420e-dff3-45b3-a60c-6ea09d3b6b6e","name":"401 Expired Authorization Token","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"accessibilityfix.api.codemantra.com/v1/status/:requestId","host":["accessibilityfix.api.codemantra.com"],"path":["v1","status",":requestId"],"variable":[{"key":"requestId","value":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"44"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 08:32:26 GMT"},{"key":"x-amzn-RequestId","value":"5c556cec-a3dc-48d2-919c-f773abcd21d7"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"MmLIGFPhIAMFnEg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f2589a-2278b5d42666285055edf0dc"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4040812fc3047e1515768e16276bf7e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"nHnlMYAuy10Ajq8Y5xY76nkMuuUwaeOsA_5GtlNbLV4XuZTaZHSjjw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The incoming token has expired\"\n}"},{"id":"9a9e424f-ba91-474b-b0d2-93118a8393f9","name":"202 - Fix is Pending","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"accessibilityfix.api.codemantra.com/v1/status/:requestId","host":["accessibilityfix.api.codemantra.com"],"path":["v1","status",":requestId"],"variable":[{"key":"requestId","value":"xxxxxxxxxxxxxxxxxxxxx"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"335"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 10:57:49 GMT"},{"key":"x-amzn-RequestId","value":"22c60d38-4d74-4aa8-a094-a1d90e8fce2b"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmgaoGnUoAMF27g="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f27aaa-017cb1d8673bd1a1068dcc8c"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"yQSmWriJbNQmjKtDo0tKTermNPC0VMPV6LUekQUW2iIFtvqfY2ONBA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Accessibility Fix is Pending\",\n    \"item\": {\n        \"requestId\": \"xxxxxxxxxxxxxxxxxxxxx\",\n        \"requestType\": \"URL\",\n        \"documentName\": \"sample_url.pdf\",\n        \"format\": \"pdf\",\n        \"size\": 216534,\n        \"documentUrl\": \"https://aclanthology.org/N19-4010.pdf\",\n        \"statusCode\": 202,\n        \"status\": \"PREDICTION IN PROGRESS\",\n        \"info\": {\n            \"info1\": \"sample info 1\",\n            \"info2\": \"sample info 2\"\n        }\n    }\n}"},{"id":"b4687478-4c50-4d25-92b1-b88a523f82b6","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"accessibilityfix.api.codemantra.com/v1/status/:requestId","host":["accessibilityfix.api.codemantra.com"],"path":["v1","status",":requestId"],"variable":[{"key":"requestId","value":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1202"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:00:16 GMT"},{"key":"x-amzn-RequestId","value":"46cc1110-70ff-4c4b-ba98-763e125942b3"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amz-apigw-id","value":"MmgxoHxZIAMF1kQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f27b3d-114f671e0115c8e515c1059d"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"Vbil2pASi3rGUnafZtxSvQj8oUeHtMa8Y7XWC19JX83uf4yzAvhSZg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Accessibility Fix is completed.\",\n    \"item\": {\n        \"requestId\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n        \"requestType\": \"URL\",\n        \"documentName\": \"sample_url.pdf\",\n        \"format\": \"pdf\",\n        \"size\": 216534,\n        \"accessibilityFixDocumentUrl\": \"https://accessibility-fix-ts-staging-545251674201.s3.amazonaws.com/output/pdf/a658b2c7-5a26-4336-b7cc-407bcfbb23e7/01FTDJY16C5CVA7Y54J2DY162P_TAGGED.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAX544IJBM3BGU5W65%2F20220127%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220127T110016Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEJP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIC1Cjb1jLKxsrrCEyzinsXL0EiPu35pvB8v1jqLSsIOiAiEA5X30h4nvy3AKRX%2Bb%2B0Tx4OIzm79Whqgeaz3BTXjwS%2F0qxAIIvP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARABGgw1NDUyNTE2NzQyMDEiDENwwrbwQflGV9smZCqYAn6oU8kBJYKhDg8l9yDW9ld8c7S2DTjftunhbgOOFnBx%2FgWqzOkBzIWyNmXmT%2BXd1UT3mFAV9ILcrqhJZCJ5LSeRVCvnvjCdOWi4%2B2RXzxZOdeegw48Ej%2FbnU5nFpDLFYynievZo71CAI1ms12e8RNbFqTI60Yk0uTZGvE%2BlG0oq9Tk94fqY7KbSqm7oCipTVWhpbQW3MZtaUJavSikku0yifzc5m799B%2B7AjV6RyamGpLUQUPmdrckI1MDOW7x8V%2FE2FvL4P4Hzqy5GGcMXIWGGKPfF8xK12cisXm8cfWiVLKv%2FOaRXuBMLJgsx0WFfUkimAIkrTH4uDpmkPS3lQsltbWfXwOzPYcIijZ6FYiWJCJjjqapRWHkwvfbJjwY6mgFMP5nhtE8I6WV5L%2B6S2Jj967VaG7NuSdQsWGvnqtfzMpVn8gFXnoO8wJez3x%2BvwUrtrNGydq5%2FTCa2DiVOawhx1xwuISqGN3bwk7EPKlQZfIiOV5DscrnLgqpxGYwUxZDnSQismZfcFsdiy3jhnPCIXAXspsvTmSUXCsxgDjY6TWYIbwQYm4SMwNjDxEf5d6nNCYRm5h6jDFMj&X-Amz-Signature=c981f2447b29681187abaf2b775a68e720211eb8c7912a9a1ea41004cfac69f5&X-Amz-SignedHeaders=host\",\n        \"accessibilityFixDocumentUrlExpiry\": \"2022-01-27T12:00:16.303Z\",\n        \"documentUrl\": \"https://aclanthology.org/N19-4010.pdf\",\n        \"statusCode\": 200,\n        \"status\": \"COMPLETED\",\n        \"info\": {\n            \"info1\": \"sample info 1\",\n            \"info2\": \"sample info 2\"\n        }\n    }\n}"},{"id":"234ff8dd-f7bf-4f2e-9c29-591931939df8","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"accessibilityfix.api.codemantra.com/v1/status/:requestId","host":["accessibilityfix.api.codemantra.com"],"path":["v1","status",":requestId"],"variable":[{"key":"requestId","value":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:01:29 GMT"},{"key":"x-amzn-RequestId","value":"c4807ceb-d78a-4816-9803-f1076b668c4f"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"Mmg9ZGRUIAMFe7A="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f27b88-40c63e79233bfea76f4c869d"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"qcOiwNfHfr58tVSXgERdzPHiA7SblKYfzWWTAxhTvY-xeXiviNdFEA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Document does not exist\",\n    \"item\": null\n}"},{"id":"6a180b55-040c-427a-aae1-ef46218a9c17","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"accessibilityfix.api.codemantra.com/v1/status/:requestId","host":["accessibilityfix.api.codemantra.com"],"path":["v1","status",":requestId"],"variable":[{"key":"requestId","value":"xxxxxxxxxxxxxxxxxxxxxxxxxx"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:22:28 GMT"},{"key":"x-amzn-RequestId","value":"4030f12a-9dd6-4d13-aaeb-cfcdf2c2828f"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"MmkCMGv5IAMFkHg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f28074-021c027e33dddf4a6139092f"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 e23c94448f0ca354a0e8ef42dcb2253a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"pHw__sql4CF1RnIIEmwwjvkjP-bfKo3UdnHZ0Tj_m_8qcii2aIA4RA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"}],"_postman_id":"78cf06ef-02ee-41ab-a045-ab3743fe678f"},{"name":"Change Password","id":"5340a9ae-65e2-41c6-8e3a-b6a9ae3739cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"[your_access_token]"},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/change","description":"<p>API to change a user's password.</p>\n<br />\n<br />\n\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>previousPassword</code></td>\n<td>string</td>\n<td>Current password of the registered user</td>\n</tr>\n<tr>\n<td><code>proposedPassword</code></td>\n<td>string</td>\n<td>New password of the registered user</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","user","password","change"],"host":["accessibilityfix.api.codemantra.com"],"query":[],"variable":[]}},"response":[{"id":"6100fe97-d2d1-470d-80ac-6b75ab155ea0","name":"401 Expired Authorization Token","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/change"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"44"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 08:33:22 GMT"},{"key":"x-amzn-RequestId","value":"3efc1ae5-df7e-4e22-ada2-502f47698d7b"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"MmLQ3FEfoAMFcHw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f258d2-25ad28ea7b7e6500678273f6"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4040812fc3047e1515768e16276bf7e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"ER26cs2BquRMJ9LtLa9ZpAGTtC8bxpd8QlofaR0ShsueCpiWmjW8OA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"The incoming token has expired\"\n}"},{"id":"3af6b844-e94e-427d-a480-5161241cee0f","name":"400 Password Did Not Conform To Policy","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/change"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"91"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:07:20 GMT"},{"key":"x-amzn-RequestId","value":"3ca4d987-dfc1-4972-8ad9-45cd93d8f01c"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"Mmh0BGeZoAMFs3Q="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f27ce6-76186e4c399802686f33aa13"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"WDkUl4R7JkyhmMl7O1Whhv7MW0ngPl8QqXJoTwhS5WaN-FsKHU29tg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password did not conform with policy: Password must have uppercase characters\"\n}"},{"id":"58318979-c86b-489d-a767-18bceea46622","name":"400 Bad Request","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/change"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:09:07 GMT"},{"key":"x-amzn-RequestId","value":"ac685dbf-47e9-48da-a582-7112efec7863"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"BadRequestException"},{"key":"x-amz-apigw-id","value":"MmiFJF_nIAMFh-Q="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f27d53-55accaaf42755094280cb4da"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"PbDtBs_DZS9VFOGSUJamzJHFIiJY8JN_etFj1mFslusPoIodqSkobQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid request body\"\n}"},{"id":"d7631a42-6715-4dd4-9c2e-bba665472f30","name":"400 Incorrect Previous Password","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/change"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"41"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:09:51 GMT"},{"key":"x-amzn-RequestId","value":"43a279b7-98c6-45ca-9a9d-a94b1b4f7ab6"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmiL8HHeoAMF21Q="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f27d7f-603a01f30d6bbf16396394f3"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"sE6DvpBulPO3k80ONZUcu_QhgAVoL_I7aHt6R8iNXXCU4xs3WPUMdA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Incorrect previous password\"\n}"},{"id":"8f8e6bd2-f2f3-4a25-8c31-6f434a450afa","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/change"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"21"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:10:52 GMT"},{"key":"x-amzn-RequestId","value":"934c4858-6270-4f21-8f34-489792667eca"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmiVWEhboAMFasQ="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f27dbb-2465e89d3b14529331d9b962"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"gquxC4C805f-AbrnSTXtcOnNow7KiNszCKOl6aKEWuV4Gfx4bLmkow=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\"\n}"},{"id":"5768b6f2-6924-4b68-80c7-1ca45d8336dc","name":"401 Unauthorized","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"previousPassword\": \"xxxxxxxxxxx\",\r\n    \"proposedPassword\": \"xxxxxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/change"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:22:41 GMT"},{"key":"x-amzn-RequestId","value":"98535ae5-d7b5-4d14-897e-ed57845ab792"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"MmkEOEmPIAMFRNA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f28081-32e20e7132c92c113e56ab6a"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 e23c94448f0ca354a0e8ef42dcb2253a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"9L9KelPaR8AP6uC0FCysMcVrFxnL5PVeBAdtM-jTH-JCxOJec-LxQA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\"\n}"}],"_postman_id":"5340a9ae-65e2-41c6-8e3a-b6a9ae3739cf"},{"name":"Forgot Password","id":"94bb9c9e-4dc1-431a-b477-ead92ceca06d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/forgot","description":"<p>API to request password reset, in case the user has forgotten his current password. </p>\n<p>Once the request is received, a mail will be sent to the user's registered email with the verification code for the password reset. The verification code can then be used in the <strong>Reset Password API</strong> to reset the user password.</p>\n<br />\n<br />\n\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Email of the registered user</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","user","password","forgot"],"host":["accessibilityfix.api.codemantra.com"],"query":[],"variable":[]}},"response":[{"id":"0f0bfc84-7a00-46ba-9da5-e8197a9a81bb","name":"400 User Doesn't exist","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/forgot"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"34"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 08:33:32 GMT"},{"key":"x-amzn-RequestId","value":"244ccff6-9442-4ad1-84a2-5e7f0226968b"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmLSOHEuIAMFkzg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f258da-0c493d4c79539d3e13d16aa8"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4040812fc3047e1515768e16276bf7e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"bnMSWQ0NtGr2NGM4lXm9lKp1ZAEqtRVgpyEMFzT0VmiGYfJS68N7aA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User does not exist.\"\n}"},{"id":"3d796e86-001c-4da7-898e-ef2e10247792","name":"400 Bad Request","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/forgot"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 11:12:07 GMT"},{"key":"x-amzn-RequestId","value":"8ff1e49b-dca3-400a-a926-fa60c87d2804"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"BadRequestException"},{"key":"x-amz-apigw-id","value":"MmihIGyxIAMFQ-w="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f27e07-5f276aef7783989a68d5ef44"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"2MO6EinsTKBdUoMTeTlTlsK6oY1Oup9OKBSJVyBKcRW9dYighS_fYQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid request body\"\n}"},{"id":"c72c93d7-58c3-46ae-8cf6-db08a96c267e","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/forgot"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"21"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 12:05:57 GMT"},{"key":"x-amzn-RequestId","value":"3c63af27-0440-42e2-ba57-6fff041238fe"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmqZiGgKoAMF1Ow="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f28aa3-4a2faf836d830fbe00f60568"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"GOUPBwTIkHAhqMD6Lq8s5QFqxaZTor8kgnbGMDgsKA4n4XIF5ZT4kA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\"\n}"},{"id":"d11ce9e8-eab4-4e46-868d-266bdf4e8a51","name":"400 User Disabled","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/forgot"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 12:29:11 GMT"},{"key":"x-amzn-RequestId","value":"162c0d9e-2842-4a01-bde1-e73e4d57358f"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmtzfFQYoAMFYIg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f29016-1cea49fc4850a12740b55443"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 de53c20ddf87c92c92f0e674a2668cda.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"qQvoNNfpmj2nTCoL9rHnz7VAVQJHtQc0a11oQgPrVb6hVkhTUjEzUw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User is disabled.\"\n}"}],"_postman_id":"94bb9c9e-4dc1-431a-b477-ead92ceca06d"},{"name":"Reset Password","id":"a72f7189-4b66-45e1-92b4-91fff7db783f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"confirmationCode\": \"xxxxxx\",\r\n    \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/reset","description":"<p>API to reset a user's password. </p>\n<p>If a user has requested password reset, a verification code will be sent to the registered email. The user can then use this API to reset his password by passing the confirmation code along with the new password.</p>\n<br />\n<br />\n\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Email of the registered user</td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>string</td>\n<td>New password of the registered user</td>\n</tr>\n<tr>\n<td><code>confirmationCode</code></td>\n<td>string</td>\n<td>Verification code that was sent to the registered user's mail for resetting the password</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","user","password","reset"],"host":["accessibilityfix.api.codemantra.com"],"query":[],"variable":[]}},"response":[{"id":"e08a18e0-9eaa-4baf-a788-22bdcd06e4c6","name":"400 User Doesn't Exist","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"confirmationCode\": \"xxxxxx\",\r\n    \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/reset"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"34"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 08:34:36 GMT"},{"key":"x-amzn-RequestId","value":"cc300f7e-1a84-47b4-91f5-e50eefc92c19"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmLcREaLoAMFxkw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f2591b-4e3fe44511b980495f0e64d6"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 4040812fc3047e1515768e16276bf7e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"q6eLgJKhUt8I5rBiUIy7N0buKdoxoe4J7G8KqX2wC-WkjEZAi_MEhQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User does not exist.\"\n}"},{"id":"e70d1869-d5ec-46ba-b907-265e4397327e","name":"400 Invalid Verification Code","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"confirmationCode\": \"xxxxxx\",\r\n    \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/reset"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"67"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 12:06:36 GMT"},{"key":"x-amzn-RequestId","value":"9ca72099-9429-4bdf-8882-ba7011dbc2a2"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"MmqfrGbqoAMFoMg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f28aca-4d5bd5473f9ec83869644a70"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"e7KCAYR7STD26dQJJrRXCJvMthvq5Vr2thXrQ3QBVRCUfM4TVdMJ6w=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid verification code provided, please try again.\"\n}"},{"id":"6868cb1d-3154-487a-a11c-138fa034380c","name":"400 Password Doesn't Conform To Policy","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"confirmationCode\": \"xxxxxxxxxxx\",\r\n    \"password\": \"xxxxxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/reset"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"90"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 12:07:52 GMT"},{"key":"x-amzn-RequestId","value":"228e3eb7-ae55-44c9-bc13-18280cf696a8"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"Mmqr2E4CoAMF2og="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f28b18-751148fa1b7aae40627c3301"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"yYitph66OD1HAs6_tzbhBee9p9Zr51bH94HeOoMe4iRCOH2hNQZKHw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Password does not conform to policy: Password must have uppercase characters\"\n}"},{"id":"6604300c-d8a1-45f6-859d-a8bd17fffaaa","name":"400 Bad Request","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"password\": \"xxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/reset"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 12:08:54 GMT"},{"key":"x-amzn-RequestId","value":"bcb4f2ae-d59d-472f-a48b-94b95f47c663"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"x-amzn-ErrorType","value":"BadRequestException"},{"key":"x-amz-apigw-id","value":"Mmq1lHCTIAMF1Vg="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f28b56-3095be2c5da2128e06d028a4"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"uomtjNzNzlVo329KTx0st_E34ooMRkKdeLEyOZzF1xocwkB-BvmFHQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid request body\"\n}"},{"id":"eb7cdb9e-8e94-4dd0-a025-ef3a0698ef3b","name":"200 OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user@codemantra.com\",\r\n    \"confirmationCode\": \"xxxxxxxxxxx\",\r\n    \"password\": \"xxxxxxxxxxx\"\r\n}","options":{"raw":{"language":"json"}}},"url":"accessibilityfix.api.codemantra.com/v1/user/password/reset"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"21"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 27 Jan 2022 12:09:30 GMT"},{"key":"x-amzn-RequestId","value":"76e8fb19-cc62-4e46-8661-1041425724d8"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"Mmq7GEKqoAMFpaw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-61f28b7a-60228364787e5ec05e5fff98"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 42e949164e75f09ce9ca4c1ab25e8974.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DEL51-P2"},{"key":"X-Amz-Cf-Id","value":"ko4Sv7pTNWobWxgIpITU6wdhNfcaqL8XcsrHV2ctMwVQkual4ni1Pg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"success\"\n}"}],"_postman_id":"a72f7189-4b66-45e1-92b4-91fff7db783f"}],"event":[{"listen":"prerequest","script":{"id":"a90df097-3de4-4893-9b3b-41c1adfdc098","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"daf21944-6683-46d3-99d7-3fe7c5ace86b","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"accessibilityfix.api.codemantra.com"},{"key":"version","value":"v1"},{"key":"token","value":"[your_access_token]"}]}