mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-29 00:17:18 +00:00
33 lines
1.1 KiB
Python
33 lines
1.1 KiB
Python
|
from tests.common.common import USERNAME
|
||
|
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/')
|
||
|
VIRTUAL_REPOS_URL = apiurl('/api2/virtual-repos/')
|
||
|
|
||
|
GROUPS_URL = apiurl(u'/api2/groups/')
|
||
|
|
||
|
USERMSGS_URL = apiurl('/api2/user/msgs/', USERNAME)
|
||
|
USERMSGS_COUNT_URL = apiurl('/api2/unseen_messages/')
|
||
|
GROUPMSGS_URL = apiurl('/api2/group/msgs/')
|
||
|
GROUPMSGS_NREPLY_URL = apiurl('/api2/new_replies/')
|
||
|
|
||
|
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/')
|
||
|
SHARED_FILES_URL = apiurl('/api2/shared-files/')
|
||
|
F_URL = apiurl('/api2/f/')
|
||
|
S_F_URL = apiurl('/api2/s/f/')
|
||
|
|
||
|
LIST_GROUP_AND_CONTACTS_URL = apiurl('/api2/groupandcontacts/')
|
||
|
|