Exemple #1
0
class UserAddURI(URI):
    methods = ['PUT']
    path = URI.api_uri('/user/add')
Exemple #2
0
class LoginURI(URI):
    methods = ['GET']
    path = URI.view_uri('/login')
Exemple #3
0
class ConfigURI(URI):
    methods = ['GET', 'POST']
    path = URI.api_uri('/config')
Exemple #4
0
class LinkIncrementHitsURI(URI):
    methods = ['POST']
    path = URI.api_uri('/link/increment-hits')
Exemple #5
0
class AuthLoginURI(URI):
    methods = ['POST']
    path = URI.api_uri('/auth/login')
Exemple #6
0
class LinkDeleteURI(URI):
    is_public = True
    methods = ['DELETE']
    path = URI.api_uri('/link/delete')
Exemple #7
0
class LinksForUserURI(URI):
    methods = ['GET', 'POST']
    path = URI.api_uri('/link/list-for-user')
Exemple #8
0
class RecentUsersURI(URI):
    methods = ['GET', 'POST']
    path = URI.api_uri('/user/recent')
Exemple #9
0
class UserAccountURI(URI):
    methods = ['GET']
    path = URI.view_uri('/account')
Exemple #10
0
class UserRegenerateAPIKeyURI(URI):
    methods = ['POST']
    path = URI.api_uri('/user/regenerate-api-key')
Exemple #11
0
class UserSearchURI(URI):
    methods = ['POST']
    path = URI.api_uri('/user/search')
Exemple #12
0
class UserRegistrationURI(URI):
    methods = ['GET']
    path = URI.view_uri('/register')
Exemple #13
0
class UserUpdatePasswordURI(URI):
    methods = ['POST']
    path = URI.api_uri('/user/update-password')
Exemple #14
0
class UserDeactivationURI(URI):
    methods = ['DELETE']
    path = URI.api_uri('/user/delete')
Exemple #15
0
class LinkEditURI(URI):
    is_public = True
    methods = ['POST']
    path = URI.api_uri('/link/edit')
Exemple #16
0
class AdminURI(URI):
    methods = ['GET']
    path = URI.view_uri('/admin')
Exemple #17
0
class LinkUpdatePasswordURI(URI):
    methods = ['POST']
    path = URI.api_uri('/link/update-password')
Exemple #18
0
class AdminLinkDetailsURI(URI):
    methods = ['GET']
    path = URI.view_uri('/admin/link/:link_id')
Exemple #19
0
class LinkHitsURI(URI):
    methods = ['GET', 'POST']
    path = URI.api_uri('/link/hits')
Exemple #20
0
class APIDocumentationURI(URI):
    methods = ['GET']
    path = URI.view_uri('/api')
Exemple #21
0
class RecentLinksURI(URI):
    methods = ['GET', 'POST']
    path = URI.api_uri('/link/recent')
Exemple #22
0
class LinkShortenSuccessURI(URI):
    methods = ['GET']
    path = URI.view_uri('/success/:alias')
Exemple #23
0
class LinkPreviewURI(URI):
    is_public = True
    methods = ['GET', 'POST']
    path = URI.api_uri('/link/preview')
Exemple #24
0
class LinkDetailsURI(URI):
    is_public = True
    methods = ['GET', 'POST']
    path = URI.api_uri('/link/details')
Exemple #25
0
class AuthLogoutURI(URI):
    methods = ['GET', 'POST']
    path = URI.api_uri('/auth/logout')
Exemple #26
0
class LinkAliasSearchURI(URI):
    methods = ['GET', 'POST']
    path = URI.api_uri('/link/search')
Exemple #27
0
class AuthCheckURI(URI):
    methods = ['GET', 'POST']
    path = URI.api_uri('/auth/check')
Exemple #28
0
class LinkAddURI(URI):
    is_public = True
    methods = ['PUT']
    path = URI.api_uri('/link/add')
Exemple #29
0
class VersionURI(URI):
    methods = ['GET', 'POST']
    path = URI.api_uri('/version')
Exemple #30
0
class UserAccountLinkDetailsURI(URI):
    methods = ['GET']
    path = URI.view_uri('/account/link/:alias')