Retrieves a comment by ID.
Removes a comment.
Creates a new comment.
Updates a comment.
const response = await fetch('/v1/workspace/{workspaceId}/comments/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
const response = await fetch('/v1/workspace/{workspaceId}/comments/{id}', { method: 'DELETE', headers: {}, }); const data = await response.json();
const response = await fetch('/v1/workspace/{workspaceId}/comments', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
const response = await fetch('/v1/workspace/{workspaceId}/comments/{id}', { method: 'PATCH', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();