{"info":{"_postman_id":"4ce1077d-ecc1-4f4c-b232-350feb40f2c0","name":"CredentialsController","description":"<html><head></head><body><p>Manipulation of Credentials Entities</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18570764","collectionId":"4ce1077d-ecc1-4f4c-b232-350feb40f2c0","publishedId":"UzBvFNHe","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-06-29T16:33:16.000Z"},"item":[{"name":"get all Credentials","id":"273f8592-a22c-407f-b62b-76720f79b730","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{localUrl}}/api/v1/credentials/?pageNo=0&pageSize=10&sortBy=username","description":"<p><strong>Action:</strong> Get all Credentials Entities from repository</p>\n<p><strong>Path required:</strong> Optional parameters. Will use <em>default-values</em> (used as example here) if no param is used.</p>\n<p><strong>Roles permitted:</strong> ADMIN</p>\n","urlObject":{"path":["api","v1","credentials",""],"host":["{{localUrl}}"],"query":[{"key":"pageNo","value":"0"},{"key":"pageSize","value":"10"},{"key":"sortBy","value":"username"}],"variable":[]}},"response":[],"_postman_id":"273f8592-a22c-407f-b62b-76720f79b730"},{"name":"create Credentials","id":"920ba9ec-7888-4000-9170-dbdd937d18ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n   \"username\": \"username_example\",\r\n   \"password\": \"pass_example\",\r\n   \"role\": \"USER\",\r\n   \"personUuid\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{localUrl}}/api/v1/credentials/","description":"<p><strong>Action:</strong> Create a new Credential Entity and store into repository</p>\n<p><strong>Path required:</strong> none</p>\n<p><strong>Roles permitted:</strong> ADMIN</p>\n<p><strong>Validations processed:</strong></p>\n<ul>\n<li>A Credential must have a unique 'username' in database.</li>\n</ul>\n","urlObject":{"path":["api","v1","credentials",""],"host":["{{localUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"920ba9ec-7888-4000-9170-dbdd937d18ae"},{"name":"deactivate Credentials","id":"9b17242e-dd00-4dfb-9d9d-8662275d5949","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n   \"username\": \"user_example\",\r\n   \"password\": \"pass_example\",\r\n   \"role\": \"user\",\r\n   \"personUuid\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{localUrl}}/api/v1/credentials/<username>","description":"<p><strong>Action:</strong> Deactivate a Credential Entity from repository</p>\n<p><strong>Path required:</strong> Username as String</p>\n<p><strong>Roles permitted:</strong> ADMIN</p>\n<p><strong>Note:</strong> A deactivated Credential will lost its authorization to execute any task.</p>\n","urlObject":{"path":["api","v1","credentials","<username>"],"host":["{{localUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b17242e-dd00-4dfb-9d9d-8662275d5949"}]}