{"info":{"_postman_id":"5bb6ae96-ea41-4744-a3f3-474e7d8f894a","name":"P4 REST API - Technical Preview","description":"<html><head></head><body><h1 id=\"about-the-rest-api\">About the REST API</h1>\n<p>The P4 REST API offers a web-accessible interface to the P4 Server, enabling developers to create scripts and applications that integrate with P4,  streamline workflows, and extend its capabilities.</p>\n<p>The P4 REST API is a Technology Preview feature introduced with the 2025.2 release of P4 Server. Features offered in Technology Preview are experimental and not guaranteed to always work as expected. If you have feedback and functionality suggestions, email <a href=\"mailto:techpreview@perforce.com\">techpreview@perforce.com</a>.</p>\n<p>The P4 REST API is actively evolving, and its behavior may change as we incorporate feedback. We encourage you to explore and experiment with the API, but be aware that updates are likely as it progresses toward a stable release. You may need to adjust your implementation over time.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>We plan to incorporate modern authentication in the P4 REST API in future releases. For this technical preview, users are responsible for acquiring  their own P4 tickets and including them in their REST API requests.</p>\n<p>To obtain a P4 ticket that can be used for authenticated methods in the REST  API, the ticket must be generated for a host named <code>restapi</code>. You can do this using the following command:</p>\n<blockquote>\n<p><code>p4 login -h restapi -p username</code> </p>\n</blockquote>\n<p>This command will return a ticket, which should be assigned to the <code>TICKET</code> collection variable.</p>\n<p>If you are developing your own application and not using Postman, the ticket must be supplied via Basic Authentication. In this case, use your P4 username as the username, and the ticket you received as the password.</p>\n<h1 id=\"support\">Support</h1>\n<p>Website: <a href=\"https://portal.perforce.com/s/\">https://portal.perforce.com/s/</a>\nEmail: <a href=\"mailto:support@perforce.com\">support@perforce.com</a></p>\n<p>Contact Support:\n Name: Perforce Software Support\n Email: <a href=\"mailto:support@perforce.com\">support@perforce.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"About the REST API","slug":"about-the-rest-api"},{"content":"Authentication","slug":"authentication"},{"content":"Support","slug":"support"}],"owner":"47965326","collectionId":"5bb6ae96-ea41-4744-a3f3-474e7d8f894a","publishedId":"2sB3QRoSmm","public":true,"customColor":{"top-bar":"F6F9FD","right-sidebar":"303030","highlight":"4C00FF"},"publishDate":"2026-02-05T15:26:35.000Z"},"item":[{"name":"/api","item":[{"name":"/version","id":"6ef1ebce-8fb2-4527-89c4-bb518860f351","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"/api/version","description":"<p>Get the P4 Server version.</p>\n","urlObject":{"path":["version"],"host":["/api"],"query":[],"variable":[]}},"response":[{"id":"960eab1a-1fd7-4eab-9382-0087d5b1500b","name":"version","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"key":"Accept","value":"application/json"}],"url":"/api/version"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"version\": \"P4D/NTX64/2025.2.main/2800059\"\n}"}],"_postman_id":"6ef1ebce-8fb2-4527-89c4-bb518860f351"}],"id":"486f7980-2273-47e4-9d0f-07842a06f851","description":"<p>P4 REST API endpoints that are not versioned</p>\n","_postman_id":"486f7980-2273-47e4-9d0f-07842a06f851"},{"name":"/api/v0","item":[{"name":"/v0/server/info","id":"5a5531e7-9a25-4987-ab8f-c9103b9b0066","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"bruno"},{"key":"password","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"/api/v0/server/info","description":"<p>Get a list of information about the P4 Server.</p>\n","urlObject":{"path":["v0","server","info"],"host":["/api"],"query":[],"variable":[]}},"response":[{"id":"2036c48b-5731-4eb2-a93c-1c7519b5792f","name":"200 - server/info","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":"/api/v0/server/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"ServerID\": \"commit\",\n  \"allowStreamSpecInteg\": 1,\n  \"caseHandling\": \"insensitive\",\n  \"extensionsSupport\": \"enabled\",\n  \"externalAuth\": \"enabled\",\n  \"integEngine\": 3,\n  \"memoryManager\": \"mimalloc 212\",\n  \"monitor\": \"enabled\",\n  \"parentViewDefault\": \"inheritAll\",\n  \"security\": \"enabled\",\n  \"serverAddress\": \"hostname:1777\",\n  \"serverDate\": \"2025-09-14T02:09:44+00:00\",\n  \"serverLicense\": \"20 users (expires 2027/04/11) \",\n  \"serverLicense-ip\": \"127.0.0.1\",\n  \"serverName\": \"commit\",\n  \"serverRoot\": \"C:\\\\perforce\\\\training\\\\PerforceSample\",\n  \"serverServices\": \"standard\",\n  \"serverUptime\": \"PT02H08M19S\",\n  \"serverVersion\": \"P4D/NTX64/2025.2.main/2800059 (2025/07/16)\",\n  \"tzoffset\": -14400,\n  \"unloadSupport\": \"disabled\",\n  \"userName\": \"web.user\"\n}"},{"id":"fd436e7a-3960-4e18-b698-1436efcc253d","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":"/api/v0/server/info"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"code0\": \"807672853\",\n  \"fmt0\": \"P4 password (%'P4PASSWD'%) is invalid or not set.\",\n  \"message0\": \"P4 password (P4PASSWD) is invalid or not set.\",\n  \"status_code0\": \"401\"\n}"},{"id":"89d178d5-23af-45eb-aed8-c59236c64173","name":"500 - Internal Server Error","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":"/api/v0/server/info"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    },\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    }\n  ],\n  \"variables\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  }\n}"}],"_postman_id":"5a5531e7-9a25-4987-ab8f-c9103b9b0066"},{"name":"/v0/depot","id":"d78abf54-4c02-4ea9-831d-157a5ed55117","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"bruno"},{"key":"password","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/jsonl"}],"url":"/api/v0/depot","description":"<p>Get a list of all depots defined on the server.</p>\n","urlObject":{"path":["v0","depot"],"host":["/api"],"query":[{"disabled":true,"description":{"content":"<p>Filter the list to depots with a name that matches the filter pattern. If the server is running in case sensitive mode, the filter is case sensitive.</p>\n","type":"text/plain"},"key":"filter","value":"depo*"},{"disabled":true,"description":{"content":"<p>List depots with a name that matches the pattern. If the server is running in case sensitive mode, this filter searches in a case insensitive manner.</p>\n","type":"text/plain"},"key":"ciFilter","value":"depo*"},{"disabled":true,"description":{"content":"<p>Filter the response to only include depots of the specified type</p>\n","type":"text/plain"},"key":"type","value":"graph"}],"variable":[]}},"response":[{"id":"869e0552-c722-4774-905d-1c201c483f09","name":"200 - GET /depot","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/jsonl"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/depot","host":["/api"],"path":["v0","depot"],"query":[{"description":"Filter the list to depots with a name that matches the filter pattern. If the server is running in case sensitive mode, the filter is case sensitive.","key":"filter","value":"depo*","disabled":true},{"description":"List depots with a name that matches the pattern. If the server is running in case sensitive mode, this filter searches in a case insensitive manner.","key":"ciFilter","value":"depo*","disabled":true},{"description":"Filter the response to only include depots of the specified type","key":"type","value":"graph","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/jsonl"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"desc\": \"string\",\n  \"map\": \"string\",\n  \"name\": \"string\",\n  \"time\": \"1987-12-09T14:29:13.463Z\",\n  \"depth\": \"string\",\n  \"extra\": \"string\",\n  \"type\": \"archive\"\n}"},{"id":"edcce69d-505d-446e-91e9-98645755f033","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/depot","host":["/api"],"path":["v0","depot"],"query":[{"description":"Filter the list to depots with a name that matches the filter pattern. If the server is running in case sensitive mode, the filter is case sensitive.","key":"filter","value":"depo*","disabled":true},{"description":"List depots with a name that matches the pattern. If the server is running in case sensitive mode, this filter searches in a case insensitive manner.","key":"ciFilter","value":"depo*","disabled":true},{"description":"Filter the response to only include depots of the specified type","key":"type","value":"graph","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"code0\": \"807672853\",\n  \"fmt0\": \"P4 password (%'P4PASSWD'%) is invalid or not set.\",\n  \"message0\": \"P4 password (P4PASSWD) is invalid or not set.\",\n  \"status_code0\": \"401\"\n}"},{"id":"ef98c5be-e880-49a0-bb9c-e85a1ee55a2f","name":"500 - Internal Server Error","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/depot","host":["/api"],"path":["v0","depot"],"query":[{"description":"Filter the list to depots with a name that matches the filter pattern. If the server is running in case sensitive mode, the filter is case sensitive.","key":"filter","value":"depo*","disabled":true},{"description":"List depots with a name that matches the pattern. If the server is running in case sensitive mode, this filter searches in a case insensitive manner.","key":"ciFilter","value":"depo*","disabled":true},{"description":"Filter the response to only include depots of the specified type","key":"type","value":"graph","disabled":true}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    },\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    }\n  ],\n  \"variables\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  }\n}"}],"_postman_id":"d78abf54-4c02-4ea9-831d-157a5ed55117"},{"name":"/v0/file/contents","id":"a9e42eed-7cf3-4303-9400-243a10cb5ae5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"bruno"},{"key":"password","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"text/plain"}],"url":"/api/v0/file/contents?fileSpec=//depot/path/to/file/file.txt","description":"<p>Download a file from a depot.</p>\n","urlObject":{"path":["v0","file","contents"],"host":["/api"],"query":[{"description":{"content":"<p><a href=\"https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/filespecs.html\">File Specification</a>  in depot syntax. Wildcards are not allowed. Revision specifiers are allowed.</p>\n","type":"text/plain"},"key":"fileSpec","value":"//depot/path/to/file/file.txt"}],"variable":[]}},"response":[{"id":"3fea9e48-8927-456d-98c0-6c1aa78b9a01","name":"200 - File Download","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"text/plain"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/file/contents?fileSpec=//depot/path/to/file/file.txt","host":["/api"],"path":["v0","file","contents"],"query":[{"description":"[File Specification](https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/filespecs.html)  in depot syntax. Wildcards are not allowed. Revision specifiers are allowed.","key":"fileSpec","value":"//depot/path/to/file/file.txt"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"permissions-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"referrer-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-disposition","value":"attachment; filename=\"build.xml\""}],"cookie":[],"responseTime":null,"body":"string"},{"id":"b827e6b2-de4b-4dd7-b7f3-5f53161915c7","name":"400 - Bad Request","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/file/contents?fileSpec=//depot/path/to/file/file.txt","host":["/api"],"path":["v0","file","contents"],"query":[{"description":"[File Specification](https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/filespecs.html)  in depot syntax. Wildcards are not allowed. Revision specifiers are allowed.","key":"fileSpec","value":"//depot/path/to/file/file.txt"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Wildcards and directories are not supported.\"\n}"},{"id":"164a2d30-1877-4496-bdc6-70357a4c6b23","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/file/contents?fileSpec=//depot/path/to/file/file.txt","host":["/api"],"path":["v0","file","contents"],"query":[{"description":"[File Specification](https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/filespecs.html)  in depot syntax. Wildcards are not allowed. Revision specifiers are allowed.","key":"fileSpec","value":"//depot/path/to/file/file.txt"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"code0\": \"807672853\",\n  \"fmt0\": \"P4 password (%'P4PASSWD'%) is invalid or not set.\",\n  \"message0\": \"P4 password (P4PASSWD) is invalid or not set.\",\n  \"status_code0\": \"401\"\n}"},{"id":"0c25a865-c418-46a1-a0df-37173d42c523","name":"404 - Not Found","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/file/contents?fileSpec=//depot/path/to/file/file.txt","host":["/api"],"path":["v0","file","contents"],"query":[{"description":"[File Specification](https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/filespecs.html)  in depot syntax. Wildcards are not allowed. Revision specifiers are allowed.","key":"fileSpec","value":"//depot/path/to/file/file.txt"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    },\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    }\n  ],\n  \"variables\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  }\n}"},{"id":"256b32b5-7b81-4f1b-93cc-927fc63a86b2","name":"500 - Internal Server Error","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/file/contents?fileSpec=//depot/path/to/file/file.txt","host":["/api"],"path":["v0","file","contents"],"query":[{"description":"[File Specification](https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/filespecs.html)  in depot syntax. Wildcards are not allowed. Revision specifiers are allowed.","key":"fileSpec","value":"//depot/path/to/file/file.txt"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    },\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    }\n  ],\n  \"variables\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  }\n}"}],"_postman_id":"a9e42eed-7cf3-4303-9400-243a10cb5ae5"},{"name":"/v0/file/revisions","id":"4fab430b-4a37-43af-8f2d-fe2fbc5a5b71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"bruno"},{"key":"password","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/jsonl"}],"url":"/api/v0/file/revisions?fileSpecs=//depot/path/on/server/*,//depot/other/path/to/file.txt","description":"<p>Get a list of details about specified revisions.</p>\n","urlObject":{"path":["v0","file","revisions"],"host":["/api"],"query":[{"description":{"content":"<p>Comma-separated list of <a href=\"https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/filespecs.html\">file specifications</a> in depot syntax. Wildcards and revision specifiers are allowed. Each file spec must start with \"//\"</p>\n","type":"text/plain"},"key":"fileSpecs","value":"//depot/path/on/server/*,//depot/other/path/to/file.txt"},{"disabled":true,"description":{"content":"<p>Maximum number of results to return</p>\n","type":"text/plain"},"key":"max","value":"7960"}],"variable":[]}},"response":[{"id":"e3ceef98-ec6b-43ad-8204-7a4c2dcdf534","name":"200 - file/revisions","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/jsonl"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/file/revisions?fileSpecs=//depot/path/on/server/*,//depot/other/path/to/file.txt","host":["/api"],"path":["v0","file","revisions"],"query":[{"description":"Comma-separated list of [file specifications](https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/filespecs.html) in depot syntax. Wildcards and revision specifiers are allowed. Each file spec must start with \"//\"","key":"fileSpecs","value":"//depot/path/on/server/*,//depot/other/path/to/file.txt"},{"description":"Maximum number of results to return","key":"max","value":"7960","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/jsonl"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"depotFile\": \"//gwt/branches/2.1M2/samples/dynatable/build.xml\",\n  \"headAction\": \"add\",\n  \"headChange\": \"12165\",\n  \"headModTime\": \"2025-08-18T14:45:28+00:00\",\n  \"headRev\": \"1\",\n  \"headTime\": \"2025-08-27T21:06:41+00:00\",\n  \"headType\": \"text+x\",\n  \"otherOpen\": [\n    {\n      \"otherChange\": \"default\",\n      \"otherOpen\": \"bruno@bruno_jam\",\n      \"otherAction\": \"move/add\"\n    },\n    {\n      \"otherChange\": \"default\",\n      \"otherOpen\": \"bruno@bruno_jam\",\n      \"otherAction\": \"branch\"\n    }\n  ]\n}"},{"id":"f2f32f5d-d727-4d98-a516-855cea7ba0aa","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/file/revisions?fileSpecs=//depot/path/on/server/*,//depot/other/path/to/file.txt","host":["/api"],"path":["v0","file","revisions"],"query":[{"description":"Comma-separated list of [file specifications](https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/filespecs.html) in depot syntax. Wildcards and revision specifiers are allowed. Each file spec must start with \"//\"","key":"fileSpecs","value":"//depot/path/on/server/*,//depot/other/path/to/file.txt"},{"description":"Maximum number of results to return","key":"max","value":"7960","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"code0\": \"807672853\",\n  \"fmt0\": \"P4 password (%'P4PASSWD'%) is invalid or not set.\",\n  \"message0\": \"P4 password (P4PASSWD) is invalid or not set.\",\n  \"status_code0\": \"401\"\n}"},{"id":"449a92b1-9509-4880-836e-d14b32513fb0","name":"404 - Not Found","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/file/revisions?fileSpecs=//depot/path/on/server/*,//depot/other/path/to/file.txt","host":["/api"],"path":["v0","file","revisions"],"query":[{"description":"Comma-separated list of [file specifications](https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/filespecs.html) in depot syntax. Wildcards and revision specifiers are allowed. Each file spec must start with \"//\"","key":"fileSpecs","value":"//depot/path/on/server/*,//depot/other/path/to/file.txt"},{"description":"Maximum number of results to return","key":"max","value":"7960","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    },\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    }\n  ],\n  \"variables\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  }\n}"},{"id":"7258b520-d358-4aed-a3fd-4d6e3d37814d","name":"500 - Internal Server Error","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/file/revisions?fileSpecs=//depot/path/on/server/*,//depot/other/path/to/file.txt","host":["/api"],"path":["v0","file","revisions"],"query":[{"description":"Comma-separated list of [file specifications](https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/filespecs.html) in depot syntax. Wildcards and revision specifiers are allowed. Each file spec must start with \"//\"","key":"fileSpecs","value":"//depot/path/on/server/*,//depot/other/path/to/file.txt"},{"description":"Maximum number of results to return","key":"max","value":"7960","disabled":true}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    },\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    }\n  ],\n  \"variables\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  }\n}"}],"_postman_id":"4fab430b-4a37-43af-8f2d-fe2fbc5a5b71"},{"name":"/v0/changelist/:changelistNum","id":"a439a35e-6840-4c3f-a4a4-cf6087ad12e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"bruno"},{"key":"password","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"/api/v0/changelist/:changelistNum","description":"<p>Get information about a specified changelist.</p>\n","urlObject":{"path":["v0","changelist",":changelistNum"],"host":["/api"],"query":[],"variable":[{"description":{"content":"<p>Changelist number</p>\n","type":"text/plain"},"type":"any","value":"1","key":"changelistNum"}]}},"response":[{"id":"939a9ded-afc3-4176-a682-b8ec59082697","name":"200 - changelist/{change}","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/changelist/:changelistNum","host":["/api"],"path":["v0","changelist",":changelistNum"],"variable":[{"key":"changelistNum","description":"Changelist number"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"change\": 1,\n  \"date\": \"2025-09-02T16:21:49+00:00\",\n  \"client\": \"bruno_ws\",\n  \"user\": \"bruno\",\n  \"status\": \"pending\",\n  \"type\": \"restricted\",\n  \"description\": \"string\",\n  \"isPromoted\": true,\n  \"isUnsubmitted\": false,\n  \"shelveAccess\": \"2019-03-05T01:19:30.537Z\",\n  \"shelveUpdate\": \"1992-06-19T12:58:26.511Z\",\n  \"streamStatus\": \"streamOpenedShelved\",\n  \"importedBy\": \"bruno\",\n  \"identity\": \"string\",\n  \"jobs\": [\n    \"string\",\n    \"string\"\n  ]\n}"},{"id":"6b34e154-5cfd-4838-a8ec-7e24c704944f","name":"400 - Bad Request","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/changelist/:changelistNum","host":["/api"],"path":["v0","changelist",":changelistNum"],"variable":[{"key":"changelistNum","description":"Changelist number"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Wildcards and directories are not supported.\"\n}"},{"id":"8ceaab4e-a62b-4795-b2fb-0ebe50b13917","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/changelist/:changelistNum","host":["/api"],"path":["v0","changelist",":changelistNum"],"variable":[{"key":"changelistNum","description":"Changelist number"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"code0\": \"807672853\",\n  \"fmt0\": \"P4 password (%'P4PASSWD'%) is invalid or not set.\",\n  \"message0\": \"P4 password (P4PASSWD) is invalid or not set.\",\n  \"status_code0\": \"401\"\n}"},{"id":"7e34ee9d-5a7a-4aaa-86c3-992931231095","name":"404 - Not Found","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/changelist/:changelistNum","host":["/api"],"path":["v0","changelist",":changelistNum"],"variable":[{"key":"changelistNum","description":"Changelist number"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    },\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    }\n  ],\n  \"variables\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  }\n}"},{"id":"f2572ffa-f5ba-46e0-950a-ee0d054d617d","name":"500 - Internal Server Error","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/changelist/:changelistNum","host":["/api"],"path":["v0","changelist",":changelistNum"],"variable":[{"key":"changelistNum","description":"Changelist number"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    },\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    }\n  ],\n  \"variables\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  }\n}"}],"_postman_id":"a439a35e-6840-4c3f-a4a4-cf6087ad12e1"},{"name":"/v0/changelist/:changelistNum/revisions","id":"319c18b1-6050-4bf8-a7c0-9ce6b5eb91c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"bruno"},{"key":"password","value":""}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/jsonl"}],"url":"/api/v0/changelist/:changelistNum/revisions","description":"<p>Get a list of revisions in a specified committed changelist.</p>\n","urlObject":{"path":["v0","changelist",":changelistNum","revisions"],"host":["/api"],"query":[{"disabled":true,"description":{"content":"<p>Maximum number of results to return</p>\n","type":"text/plain"},"key":"max","value":"7960"}],"variable":[{"id":"bdc42f38-b889-4f4c-b414-c6748fea47bc","description":{"content":"<p>Changelist number</p>\n","type":"text/plain"},"type":"any","value":"1","key":"changelistNum"}]}},"response":[{"id":"2b2153ba-5d61-48d7-bb8a-71583df2dcbe","name":"200 - changelist/{changelistNum}/revisions","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/jsonl"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/changelist/:changelistNum/revisions","host":["/api"],"path":["v0","changelist",":changelistNum","revisions"],"query":[{"description":"Maximum number of results to return","key":"max","value":"7960","disabled":true}],"variable":[{"key":"changelistNum","value":"1","description":"Changelist number"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/jsonl"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"depotFile\": \"//gwt/branches/2.1M2/samples/dynatable/build.xml\",\n  \"digest\": \"34E54D2E1A6CE7A67FE47AF0CAF3D8AA\",\n  \"fileSize\": 210,\n  \"headAction\": \"edit\",\n  \"headChange\": \"12165\",\n  \"headModTime\": \"2025-08-18T14:45:28+00:00\",\n  \"headRev\": \"2\",\n  \"headTime\": \"2025-08-27T21:06:41+00:00\",\n  \"headType\": \"text+x\"\n}"},{"id":"d120fdc5-ac04-4804-9fce-5a11d31864ac","name":"400 - Bad Request","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/changelist/:changelistNum/revisions","host":["/api"],"path":["v0","changelist",":changelistNum","revisions"],"query":[{"description":"Maximum number of results to return","key":"max","value":"7960","disabled":true}],"variable":[{"key":"changelistNum","value":"1","description":"Changelist number"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Wildcards and directories are not supported.\"\n}"},{"id":"0a8ad308-4315-4bbb-ae70-959363fa4adb","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/changelist/:changelistNum/revisions","host":["/api"],"path":["v0","changelist",":changelistNum","revisions"],"query":[{"description":"Maximum number of results to return","key":"max","value":"7960","disabled":true}],"variable":[{"key":"changelistNum","value":"1","description":"Changelist number"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"code0\": \"807672853\",\n  \"fmt0\": \"P4 password (%'P4PASSWD'%) is invalid or not set.\",\n  \"message0\": \"P4 password (P4PASSWD) is invalid or not set.\",\n  \"status_code0\": \"401\"\n}"},{"id":"047848c7-11e4-4038-a585-b285f1328532","name":"404 - Not Found","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/changelist/:changelistNum/revisions","host":["/api"],"path":["v0","changelist",":changelistNum","revisions"],"query":[{"description":"Maximum number of results to return","key":"max","value":"7960","disabled":true}],"variable":[{"key":"changelistNum","value":"1","description":"Changelist number"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    },\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    }\n  ],\n  \"variables\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  }\n}"},{"id":"a3daa3a2-9e84-465d-bbaa-7c6f81c1f1ba","name":"500 - Internal Server Error","originalRequest":{"method":"GET","header":[{"description":"Correlates HTTP requests between the client and server. If not provided, a unique value is assigned to every request. The correlation ID used for a request is returned with the response. If this value is provided by the client application, it should be a unique value that distinguishes this request uniquely in the log messages.","key":"x-correlation-id","value":"9m4e2mr0ui3e8a215n4g","disabled":true},{"description":"Specify the command group used to identify this command in the logs. If omitted, a UUID is generated and used automatically.","key":"x-p4d-command-group","value":"custom-command-group","disabled":true},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: basic","key":"Authorization","value":"Basic <credentials>"}],"url":{"raw":"/api/v0/changelist/:changelistNum/revisions","host":["/api"],"path":["v0","changelist",":changelistNum","revisions"],"query":[{"description":"Maximum number of results to return","key":"max","value":"7960","disabled":true}],"variable":[{"key":"changelistNum","value":"1","description":"Changelist number"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-correlation-id","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"cache-control","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"content-security-policy","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-content-type-options","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-frame-options","value":""}],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    },\n    {\n      \"code\": 838998116,\n      \"format\": \"%path% - must refer to client '%client%' or a depot.\",\n      \"message\": \"//not_on_server/... - must refer to client 'restapi' or a depot.\",\n      \"statusCode\": 404\n    }\n  ],\n  \"variables\": {\n    \"key_0\": \"string\",\n    \"key_1\": \"string\"\n  }\n}"}],"_postman_id":"319c18b1-6050-4bf8-a7c0-9ce6b5eb91c4"}],"id":"b71c961d-b940-41f1-a685-cceed39f7284","description":"<p>P4 REST API technical preview endpoints</p>\n","_postman_id":"b71c961d-b940-41f1-a685-cceed39f7284"}],"event":[{"listen":"prerequest","script":{"id":"5fa8d0d8-d4fd-45a4-8e3b-cc1c6acb12b5","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"5d630ffc-cc00-43b7-b33b-3e21766a36c8","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"/api","type":"any","description":"P4D REST API address"},{"key":"basicAuthUsername","value":"bruno","type":"any","description":"P4D Username to use when connecting to the REST API"},{"key":"basicAuthPassword","value":"","type":"any","description":"The user's P4D ticket is used as the password for basic authentication"},{"key":"TICKET","value":"","type":"any","description":"P4D Server ticket generated by `p4 login -a -p`"},{"key":"HOSTNAME","value":"localhost","type":"any","description":"P4D web server address"},{"key":"PORT","value":"8443","type":"any","description":"P4D web server port"}]}