-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path409 endpoints.txt
More file actions
49 lines (36 loc) · 994 Bytes
/
409 endpoints.txt
File metadata and controls
49 lines (36 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Get user by email:
GET /users/getUser?email=XXX
Create new user:
POST /users/create
body: {name, username, email, password, bio, [skills]}
Get user info:
GET /users/:id
Change user info:
PUT /users/:id
body: {field, content}
Get user's project applications:
GET /users/applications?userId=XXX
Load home feed:
GET /projects/homepage?userId=XXX
Swipe right on project:
PUT /projects/swiperight
body: {projectId, userId}
Swipe left on project:
PUT /projects/swipeleft
body: {projectId, userId}
Creating a new project:
POST /projects/create
body: {title, description, skillset, timeline, creator}
Modify a project:
PUT /projects/:id
body: Any combination of: {title, description, skillset, timeline, membersNeeded}
Get the projects a user created:
GET /projects/createdprojects?userId=XXX
Accept an applicant into project
PUT /projects/check
body: {userId, projectId}
Uncheck an applicant from project
PUT /projects/uncheck
body: {userId, projectId}
Get project info
GET /projects/:id