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