Dodanie komentarzaŚcieżka do servletu: api/comments Metoda: POST Request Content-Type: application/json Treść zapytania: Obiekt JSON zawierający definicję komentarza. Definicja powinna zawierać następujące pole:
Odpowiedź:
Pobranie komentarza po idŚcieżka do servletu: api/comments/{commentId} Metoda: GET Parametry:
Odpowiedź:
Pobranie komentarzy do zadaniaŚcieżka do servletu: api/comments/query Metoda: GET Parametry:
Odpowiedź:
Usunięcie komentarzaŚcieżka do servletu: api/comments/{commentId} Metoda: DELETE Parametry:
Odpowiedź:
|
Add commentPath to servlet: api/comments Method: POST Request Content-Type: application/json Query Content: JSON object containing the definition of the comment. The definition should contain the following field:
Answer:
Download comment by idPath to servlet: api/comments/{commentId} Method: GET Parameters:
Answer:
Downloading task commentsPath to servlet: api/comments/query Method: GET Parameters:
Answer:
Delete commentPath to servlet:: api/comments/{commentId} Method: DELETE Parameters:
Answer:
|