Ejemplo n.º 1
0
from flask_restplus import Namespace
from server.namespaces import extend_namespace

render_ns = Namespace('render',
                      description='**[ZEPETO]** 사용자 ID를 받아서 제페토 이미지를 렌더링합니다.')
extend_namespace(render_ns)

render_ns.add_resources('profile', 'cover')
Ejemplo n.º 2
0
from flask_restplus import Namespace
from server.namespaces import extend_namespace

user_ns = Namespace('user', description='User resources')
extend_namespace(user_ns)

user_ns.add_resources('user', 'user_all', 'register', 'recreate')
Ejemplo n.º 3
0
from flask_restplus import Namespace
from server.namespaces import extend_namespace

auth_ns = Namespace('auth', description='User authentication')
extend_namespace(auth_ns)

auth_ns.add_resources('test', 'auth', 'plain')
Ejemplo n.º 4
0
from flask_restplus import Namespace
from server.namespaces import extend_namespace

test_ns = Namespace('test', description='[DEFAULT] API test')
extend_namespace(test_ns)

test_ns.add_resources('test')
Ejemplo n.º 5
0
from flask_restplus import Namespace
from server.namespaces import extend_namespace

social_ns = Namespace('social', description='**[SOCIAL]** 사용자 간 커뮤니케이션')
extend_namespace(social_ns)

social_ns.add_resources('add_friend', 'friends')
Ejemplo n.º 6
0
from flask_restplus import Namespace
from server.namespaces import extend_namespace

auth_ns = Namespace('auth', description='[DEFAULT] User authentication')
extend_namespace(auth_ns)

auth_ns.add_resources('test', 'auth')