Closed kulla closed 3 years ago
Add support for resolving /user/profile/:username in /api/alias/:alias so that https://github.com/serlo/api.serlo.org/pull/84 can be finished (see also https://github.com/serlo/api.serlo.org/issues/67 ).
/user/profile/:username
/api/alias/:alias
Example result for http://de.serlo.localhost:4567/api/alias/user/profile/Kulla:
http://de.serlo.localhost:4567/api/alias/user/profile/Kulla
{ "id": 26217, "instance": "de", "path": "/user/profile/Kulla", "source": "/user/profile/Kulla", "timestamp": "2014-07-07T18:24:52+02:00" }
source: /user/profile/:id
Add support for resolving
/user/profile/:username
in/api/alias/:alias
so that https://github.com/serlo/api.serlo.org/pull/84 can be finished (see also https://github.com/serlo/api.serlo.org/issues/67 ).Example result for
http://de.serlo.localhost:4567/api/alias/user/profile/Kulla
:source: /user/profile/:id