{"id":21851893,"url":"https://github.com/ulbora/ulborauserservice","last_synced_at":"2026-04-24T12:05:30.181Z","repository":{"id":87394624,"uuid":"72309258","full_name":"Ulbora/UlboraUserService","owner":"Ulbora","description":"A microservice for managing users","archived":false,"fork":false,"pushed_at":"2018-06-09T18:05:27.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-21T18:32:52.798Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ulbora.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-29T21:04:42.000Z","updated_at":"2018-06-09T18:05:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5d5c0b8-3862-491f-a691-2718ab8d50f7","html_url":"https://github.com/Ulbora/UlboraUserService","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Ulbora/UlboraUserService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraUserService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraUserService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraUserService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraUserService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ulbora","download_url":"https://codeload.github.com/Ulbora/UlboraUserService/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ulbora%2FUlboraUserService/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261380224,"owners_count":23149933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T01:12:08.267Z","updated_at":"2026-04-24T12:05:30.176Z","avatar_url":"https://github.com/Ulbora.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ulbora User Service \n==============\n\nA User Micro Service\n\n\n## Headers\nContent-Type: application/json (for POST and PUT)\nAuthorization: Bearer atToken\nclientId: clientId (example 33477)\n\n\n## Add Role\n\n```\nPOST:\nURL: http://localhost:3001/rs/role/add\n\nExample Request\n{  \n  \"role\": \"tester1234role45667\"\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true, \n  \"message\": \"\"\n}\n\n```\n\n\n\n## Get Role List\n\n```\nGET:\nURL: http://localhost:3001/rs/role/list\n\n  \n```\n\n```\nExample Response   \n\n[\n    {\n        \"id\": 1,\n        \"role\": \"admin\"\n    },\n    {\n        \"id\": 127,\n        \"role\": \"tester55\"\n    },\n    {\n        \"id\": 2,\n        \"role\": \"user\"\n    }\n]\n\n```\n\n\n\n## Get Role\n\n```\nGET:\nURL: http://localhost:3001/rs/role/get/94\n  \n```\n\n```\nExample Response   \n\n{\n    \"id\": 94,\n    \"role\": \"admin\"\n}\n\n```\n\n\n## Delete Role\n\n```\nDELETE:\nURL: http://localhost:3001/rs/role/delete/94\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n## Add User\n\n```\nPOST:\nURL: http://localhost:3001/rs/user/add\n\nExample Request\n{\n   \"username\":\"ken\",\n   \"password\":\"ken\",\n   \"enabled\":true,\n   \"emailAddress\":\"bob@bob.com\",\n   \"firstName\":\"ken\",\n   \"lastName\":\"williamson\",\n   \"roleId\":1,\n   \"clientId\":\"403\"\n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true, \n  \"emailAddress\":\"bob@bob.com\",\n  \"message\": \"\"\n}\n\n```\n\n\n## Update User (change password)\n\n```\nPUT:\nURL: http://localhost:3001/rs/user/update\n\nExample Request\n{\n   \"username\":\"ken\",\n   \"password\":\"ken\",\n   \"clientId\":\"5\"   \n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n## Update User (disable/enable)\n\n```\nPUT:\nURL: http://localhost:3001/rs/user/update\n\nExample Request\n{\n   \"username\":\"ken\",\n   \"enabled\":true,\n   \"clientId\":\"5\"   \n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n\n## Update User (info)\n\n```\nPUT:\nURL: http://localhost:3001/rs/user/update\n\nExample Request\n{\n   \"username\":\"ken\",\n   \"emailAddress\":\"bob@bob.com\",\n   \"firstName\":\"bob\",\n   \"lastName\":\"williams\",\n   \"roleId\": 1,\n   \"clientId\":\"5\"   \n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n\n## Get User\n\n```\nGET:\nURL: http://localhost:3001/rs/user/get/ken/2\n  \n```\n\n```\nExample Response   \n\n{\n    \"username\": \"ken\",\n    \"enabled\": true,\n    \"dateEntered\": \"2017-05-06T04:00:00.000Z\",\n    \"emailAddress\": \"bob@bob.com\",\n    \"firstName\": \"ken\",\n    \"lastName\": \"williamson\",\n    \"roleId\": 1,\n    \"clientId\": \"2\"\n}\n\n```\n\n\n## Get User List\n\n```\nGET:\nURL: http://localhost:3001/rs/user/list\n\n\n  \n```\n\n```\nExample Response   \n\n[\n    {\n        \"username\": \"ken\",\n        \"clientId\": \"2\",\n        \"firstName\": \"ken\",\n        \"lastName\": \"williamson\",\n        \"enabled\": true\n    },\n    {\n        \"username\": \"ken\",\n        \"clientId\": \"3\",\n        \"firstName\": \"ken\",\n        \"lastName\": \"williamson\",\n        \"enabled\": true\n    },\n    {\n        \"username\": \"ken\",\n        \"clientId\": \"4\",\n        \"firstName\": \"ken\",\n        \"lastName\": \"williamson\",\n        \"enabled\": true\n    },\n    {\n        \"username\": \"ken\",\n        \"clientId\": \"403\",\n        \"firstName\": \"ken\",\n        \"lastName\": \"williamson\",\n        \"enabled\": true\n    },\n    {\n        \"username\": \"tester2\",\n        \"clientId\": \"4454\",\n        \"firstName\": \"bob\",\n        \"lastName\": \"hope\",\n        \"enabled\": true\n    }\n]\n\n```\n\n\n\n## Delete User\n\n```\nDELETE:\nURL: http://localhost:3001/rs/user/delete/ken/5\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"message\": \"\"\n}\n\n```\n\n\n\n## Login\n\n```\nPOST:\nURL: http://localhost:3001/rs/user/login\n\nExample Request\n{\n   \"username\":\"ken\",\n   \"password\":\"ken\",\n   \"clientId\":\"5\"   \n}\n  \n```\n\n```\nExample Response   \n\n{\n  \"success\": true,\n  \"id\": 49,\n  \"message\": \"\"\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulbora%2Fulborauserservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulbora%2Fulborauserservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulbora%2Fulborauserservice/lists"}