Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

parfy-io/users-service-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

users-service

CRUD service for clients and its users

API

clients

create

Request:

POST /v1/clients

{"id": "test"}

Response created:

201 CREATED
Location: /v1/clients/test

Response client already exists:

409 CONFLICT

{"message":"client already exists"}

users

create

Request:

POST /v1/clients/{{clientID}}/users

{"full_name": "My User", "names": ["My", "User"], "email":"[email protected]"}

Response created:

201 CREATED
Location: /v1/clients/{{clientID}}/users/{{userID}}

Errorcases: //TBD

internal

alive

Request:

GET /v1/internal/alive

Response:

200 OK 

{"alive":true}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages