Hello All,

Just wanting to get some feedback from the community as I start rewriting
the client and the api behind it (to replace the Gwt code in the repo and
the current servlets).

http://localhost:9898/api/auth/login?format=json
http://localhost:9898/api/auth/login?format=protobuf
http://localhost:9898/api/auth/login    // defaults to the protobuf

currently using url's like the ones above with a response like:

{
  "email": true
}
which states that email authentication is available (allows us to add
oauth providers latter). The change of URL is due to using client side
frameworks (Angular 2) instead of GWT to achieve the UI which will be
at a non /api/ route. This also lets the server be more easily
configured to be of use to SwellRT and other projects as our client
isn't part of the backend anymore and the server is an abstract
element.Ive also made the source for this endpoint at
/wave/src/main/java/org/apache/wave/server/api/v1/LoginServlet.java so
that we can remove dead code as we transition into one naming scheme
instead of the 3 that exist atm.

~ Evan Hughes

Reply via email to