Skip to content

Commit

Permalink
Add GET members intro API contract
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-y committed Jan 8, 2022
1 parent d00abc8 commit 29fca89
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions members/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,41 @@ Creates new request for member introduction
"message": "An internal server error occurred"
}
```

## **GET /members/intro/**

Returns all requests for member introduction by recruiter in the system.

- **Params**
None
- **Query**
type=[ all | new | blocked ]
- **Body**
None
- **Headers**
None
- **Cookie**
None
- **Success Response:**
- **Code:** 200
- **Content:**
```json
{
"message": "Recruiters returned successfully!",
"recruiters": [
"<recruiter_object>",
"<recruiter_object>"
]
}
```

- **Error Response:**
- **Code:** 500
- **Content:**
```json
{
"statusCode": 500,
"error": "Internal Server Error",
"message": "Something went wrong. Please contact admin"
}
```

0 comments on commit 29fca89

Please sign in to comment.