Skip to content

API Endpoints

afcelimli edited this page Jan 6, 2019 · 3 revisions

API ENDPOINTS

The aim of this text showing readers to our api endpoints. When you enter these urls you will see a nice interface that helps you to understand what to send, which fields are necessary or which fields are optional. Therefore we didn't explicitly explain request and response format in this text. There are complex filtering APIs in our backend. They allow so many different query types so it isn't feasible to write all of them here. We strongly recommend to use backend interface to see full functionality. We added some screenshots from our backend interface below.
In order to use most of the functionalities you must be log in to system and use the token. You can use it easily with a chrome extension whose name is ModHeader.

USER

REGISTER

GET /api/v1/user/register/
GET /api/v1/user/register/<id>/
POST /api/v1/user/register/
PUT /api/v1/user/register/<id>/
PATCH /api/v1/user/register/<id>/
DELETE /api/v1/user/register/<id>/
GET /api/v1/user/register/?search=<search text>

LOGIN

POST /api/v1/user/login/

PROFILE

GET /api/v1/user/profile/
GET /api/v1/user/profile/<id>/
POST /api/v1/user/profile/
PUT /api/v1/user/profile/<id>/
PATCH /api/v1/user/profile/<id>/
DELETE /api/v1/user/profile/<id>/
GET /api/v1/user/profile/?search=<search text>

FREELANCER PROFILE

GET /api/v1/user/freelancerprofile/
GET /api/v1/user/freelancerprofile/<id>/
POST /api/v1/user/freelancerprofile/
PUT /api/v1/user/freelancerprofile/<id>/
PATCH /api/v1/user/freelancerprofile/<id>/
DELETE /api/v1/user/freelancerprofile/<id>/
GET /api/v1/user/freelancerprofile/?search=<search text>

CLIENT PROFILE

GET /api/v1/user/clientprofile/
GET /api/v1/user/clientprofile/<id>/
POST /api/v1/user/clientprofile/
PUT /api/v1/user/clientprofile/<id>/
PATCH /api/v1/user/clientprofile/<id>/
DELETE /api/v1/user/clientprofile/<id>/
GET /api/v1/user/clientprofile/?search=<search text>

PROJECT

PROJECT CREATE

GET /api/v1/project/create/
GET /api/v1/project/create/<id>/
POST /api/v1/project/create/
PUT /api/v1/project/create/<id>/
PATCH /api/v1/project/create/<id>/
DELETE /api/v1/project/create/<id>/
GET /api/v1/project/create/?search=<search text>

TAG

GET /api/v1/project/tag/
GET /api/v1/project/tag/<id>/
POST /api/v1/project/tag/
PUT /api/v1/project/tag/<id>/
PATCH /api/v1/project/tag/<id>/
DELETE /api/v1/project/tag/<id>/
GET /api/v1/project/tag/?search=<search text>

CATEGORY

GET /api/v1/project/category/
GET /api/v1/project/category/<id>/
POST /api/v1/project/category/
PUT /api/v1/project/category/<id>/
PATCH /api/v1/project/category/<id>/
DELETE /api/v1/project/category/<id>/
GET /api/v1/project/category/?search=<search text>

BID

GET /api/v1/project/bid/
GET /api/v1/project/bid/<id>/
POST /api/v1/project/bid/
PUT /api/v1/project/bid/<id>/
PATCH /api/v1/project/bid/<id>/
DELETE /api/v1/project/bid/<id>/
GET /api/v1/project/bid/?search=<search text>

MILESTONE

GET /api/v1/project/milestone/
GET /api/v1/project/milestone/<id>/
POST /api/v1/project/milestone/
PUT /api/v1/project/milestone/<id>/
PATCH /api/v1/project/milestone/<id>/
DELETE /api/v1/project/milestone/<id>/
GET /api/v1/project/milestone/?search=<search text>

COMMENT

FREELANCER

GET /api/v1/comment/freelancer/
GET /api/v1/comment/freelancer/<id>/
POST /api/v1/comment/freelancer/
PUT /api/v1/comment/freelancer/<id>/
PATCH /api/v1/comment/freelancer/<id>/
DELETE /api/v1/comment/freelancer/<id>/
GET /api/v1/comment/freelancer/?search=<search text>

CLIENT

GET /api/v1/comment/client/
GET /api/v1/comment/client/<id>/
POST /api/v1/comment/client/
PUT /api/v1/comment/client/<id>/
PATCH /api/v1/comment/client/<id>/
DELETE /api/v1/comment/client/<id>/
GET /api/v1/comment/client/?search=<search text>

ACCEPTED PROJECT

CREATE

GET /api/v1/acceptedproject/create/
GET /api/v1/acceptedproject/create/<id>/
POST /api/v1/acceptedproject/create/
PUT /api/v1/acceptedproject/create/<id>/
PATCH /api/v1/acceptedproject/create/<id>/
DELETE /api/v1/acceptedproject/create/<id>/

MILESTONE

GET /api/v1/acceptedproject/milestone/
GET /api/v1/acceptedproject/milestone/<id>/
POST /api/v1/acceptedproject/milestone/
PUT /api/v1/acceptedproject/milestone/<id>/
PATCH /api/v1/acceptedproject/milestone/<id>/
DELETE /api/v1/acceptedproject/milestone/<id>/
GET /api/v1/acceptedproject/milestone/?search=<search text>

ACCEPT

POST /api/v1/acceptedproject/accept/

PAYMENT

WALLET

GET /api/v1/payment/wallet/
GET /api/v1/payment/wallet/<id>/
POST /api/v1/payment/wallet/
PUT /api/v1/payment/wallet/<id>/
PATCH /api/v1/payment/wallet/<id>/
DELETE /api/v1/payment/wallet/<id>/
GET /api/v1/payment/wallet/?search=<search text>

TRANSACTION

POST /api/v1/payment/transaction/

ANNOTATION

TEXT ANNOTATION

GET /api/v1/annotation/textannotation/
GET /api/v1/annotation/textannotation/<id>/
POST /api/v1/annotation/textannotation/
PUT /api/v1/annotation/textannotation/<id>/
PATCH /api/v1/annotation/textannotation/<id>/
DELETE /api/v1/annotation/textannotation/<id>/

IMAGE ANNOTATION

GET /api/v1/annotation/imageannotation/
GET /api/v1/annotation/imageannotation/<id>/
POST /api/v1/annotation/imageannotation/
PUT /api/v1/annotation/imageannotation/<id>/
PATCH /api/v1/annotation/imageannotation/<id>/
DELETE /api/v1/annotation/imageannotation/<id>/

UPLOAD

IMAGE

GET /api/v1/upload/image/
GET /api/v1/upload/image/<id>/
POST /api/v1/upload/image/
PUT /api/v1/upload/image/<id>/
PATCH /api/v1/upload/image/<id>/
DELETE /api/v1/upload/image/<id>/

RECOMMEND

DASHBOARD

GET /api/v1/recommend/dashboard/
GET /api/v1/recommend/dashboard/<id>/

Clone this wiki locally