1 # GNU MediaGoblin -- federated, autonomous media hosting
2 # Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS.
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU Affero General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU Affero General Public License for more details.
14 # You should have received a copy of the GNU Affero General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 from mediagoblin
.tools
.routing
import add_route
21 "mediagoblin.federation.user",
22 "/api/user/<string:username>/",
23 "mediagoblin.federation.views:user"
27 "mediagoblin.federation.profile",
28 "/api/user/<string:username>/profile",
29 "mediagoblin.federation.views:user"
32 # Inbox and Outbox (feed)
34 "mediagoblin.federation.feed",
35 "/api/user/<string:username>/feed",
36 "mediagoblin.federation.views:feed"
40 "mediagoblin.federation.inbox",
41 "/api/user/<string:username>/inbox",
42 "mediagoblin.federation.views:inbox"