# Path: restapi/views.py
# def get_authenticated_user(request):
# def get_all_users(request):
# def get_user_chats(request):
# def create_chat(request):
# def load_chat_messages(request):


from django.conf.urls import url, include
from rest_framework import routers
from restapi import views



urlpatterns = [
    url(r'^get_authenticated_user$', views.get_authenticated_user, name='get_authenticated_user'),
    url(r'^get_all_users$', views.get_all_users, name='get_all_users'),
    url(r'^get_user_chats$', views.get_user_chats, name='get_user_chats'),

# Path: restapi/views.py
# def get_authenticated_user(request):
# def get_all_users(request):
# def get_user_chats(request):
# def create_chat(request):
# def load_chat_messages(request):


# Path: restapi/urls.py
from django.conf.urls import url, include
from rest_framework import routers
from restapi import views




urlpatterns = [
    url(r'^get_authenticated_user$', views.get_authenticated_user, name='get_authenticated_user'),
    url(r'^get_all_users$', views.get_all_users, name='get_all_users'),
    url(r'^get_user_chats$', views.get_user_chats, name='get_user_chats'),

    url(r'^create_chat$', views.create_chat, name='create_chat'),