1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-27 15:37:43 +00:00
seahub/tests/api/urls.py

31 lines
970 B
Python
Raw Normal View History

2014-09-05 02:07:33 +00:00
from tests.common.utils import apiurl
PING_URL = apiurl('/api2/ping/')
TOKEN_URL = apiurl('/api2/auth-token/')
AUTH_PING_URL = apiurl('/api2/auth/ping/')
ACCOUNTS_URL = apiurl('/api2/accounts/')
ACCOUNT_INFO_URL = apiurl('/api2/account/info/')
AVATAR_BASE_URL = apiurl(u'/api2/avatars/')
REPOS_URL = apiurl('/api2/repos/')
DEFAULT_REPO_URL = apiurl('/api2/default-repo/')
GET_REPO_TOKENS_URL = apiurl('/api2/repo-tokens/')
2014-09-05 02:07:33 +00:00
GROUPS_URL = apiurl(u'/api2/groups/')
USERMSGS_COUNT_URL = apiurl('/api2/unseen_messages/')
STARREDFILES_URL = apiurl('/api2/starredfiles/')
SHARED_LINKS_URL = apiurl('/api2/shared-links/')
SHARED_LIBRARIES_URL = apiurl('/api2/shared-repos/')
BESHARED_LIBRARIES_URL = apiurl('/api2/beshared-repos/')
F_URL = apiurl('/api2/f/')
DOWNLOAD_REPO_URL = apiurl('api2/repos/%s/download-info/')
LOGOUT_DEVICE_URL = apiurl('api2/logout-device/')
2014-09-05 02:07:33 +00:00
2014-12-25 03:27:44 +00:00
SERVER_INFO_URL = apiurl('/api2/server-info/')
CLIENT_LOGIN_TOKEN_URL = apiurl('/api2/client-login/')