Crew

CrewfindAll

GET https://server.dorunapp.com/crew

Headers

Name
Type
Description

Authorization*

String


    "data":[
    {crew1},
    {crew2},
    ....
    ],
     "message" : "success"
}

CrewCreate

POST https://server.dorunapp.com/crew

Headers

Name
Type
Description

Authorization*

String

Request Body

Name
Type
Description

level

String

time

String

location

String

title

String

desc

String

personnel

String

date

String

departure

String

distance

String

{
    "data":{
       "id" : number,
       "title" : "string",
       "desc" : "string",
       "limit" : number,
       "level" : "string",
       "time" : "string",
       "location" : "string"
    } 
     "message" : "success"
}

CrewEdit

PATCH https://server.dorunapp.com/crew/{crewId}

Headers

Name
Type
Description

Authorization*

String

Request Body

Name
Type
Description

title

String

desc

String

limit

int

level

String

time

String

location

String

{
    "data":{
       "id" : number,
       "title" : "string",
       "desc" : "string",
       "limit" : number,
       "level" : "string",
       "time" : "string",
       "location" : "string"
    } 
     "message" : "success"
}

Crew

GET https://server.dorunapp.com/crew/{crewId}

Headers

Name
Type
Description

Authorization*

String

{
    "data":{
       "id" : number,
       "masterId" : number,
       "recruit" : number,
       "difficulty" : "string",
       "time" : number,
       "location" : "string",
       "userId" : [...,number]
    } 
     "message" : "success"
}

CrewDelete

DELETE https://server.dorunapp.com/crew/{userId}

Headers

Name
Type
Description

Authorization*

String

{
    "message" : "success"
}

JoinCrew

GET https://server.dorunapp.com/{userId}/{crewId}

Headers

Name
Type
Description

Authorization*

String

{
    "message" : "Internal Server Error",
    "errormsg" : error
}

Last updated