Function | Method | URL |
---|---|---|
List | GET | /repositories |
Add | POST | /repositories |
Edit | PUT | /repositories/:id |
Delete | DELETE | /repositories/:id |
Likes | POST | /repositories/:id/like |
-
List:
- Query Parameter "title";
- It is able to search for repositories with a specific title.
-
Add:
- Body Parameter "title", "url", "techs";
- It is able to add a repository with a title, url and their technologies.
-
Edit and Delete:
- Route Parameter "id";
- It is able to edit or delete a repository by ID.
-
Likes:
- Route Parameter "id";
- It is able to like a repository by ID.