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/')
|
2015-03-03 08:35:00 +00:00
|
|
|
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/')
|
|
|
|
|
2015-03-03 08:35:00 +00:00
|
|
|
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/')
|
2015-04-27 06:54:12 +00:00
|
|
|
|
|
|
|
CLIENT_LOGIN_TOKEN_URL = apiurl('/api2/client-login/')
|