excellarateinc / voyage-api-dotnet

Enterprise grade C# .NET Web Services API implementing industry standard best practices
Apache License 2.0
16 stars 14 forks source link

Convert /accounts to /profiles/register #168

Closed tmichalski closed 6 years ago

tmichalski commented 6 years ago

To keep the API consistent, rework the endpoint /accounts POST (or any other method) to live under /profiles. The only two that appear to be needed are

/profiles/register POST - create a user record (PUBLICLY ACCESSIBLE, BE CAUTIOUS) /profiles/me GET - fetch the current user's (login required, get currently logged in user) /profiles/me PUT - update the current users profile (login required, get currently logged in user) /profiles/me DELETE - logically deletes the current user and logs out the user

tmichalski commented 6 years ago

Fixed in https://github.com/lssinc/voyage-api-dotnet/pull/170