Appearance
Retrieve details of a specific comment.
issue_id
Issue ID
pk
Comment ID
project_id
Project ID
slug
Workspace slug
projects.work_items.comments:read
curl -X GET \ "https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/work-items/550e8400-e29b-41d4-a716-446655440001/comments/550e8400-e29b-41d4-a716-446655440000/" \ -H "X-API-Key: $PLANE_API_KEY" \ # Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
import requests response = requests.get( "https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/work-items/550e8400-e29b-41d4-a716-446655440001/comments/550e8400-e29b-41d4-a716-446655440000/", headers={"X-API-Key": "your-api-key"} ) print(response.json())
const response = await fetch( "https://api.plane.so/api/v1/workspaces/my-workspace/projects/550e8400-e29b-41d4-a716-446655440000/work-items/550e8400-e29b-41d4-a716-446655440001/comments/550e8400-e29b-41d4-a716-446655440000/", { method: "GET", headers: { "X-API-Key": "your-api-key", }, } ); const data = await response.json();
{ "id": "550e8400-e29b-41d4-a716-446655440000", "comment_html": "<p>Example content</p>", "comment_json": { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "This issue has been resolved by implementing OAuth 2.0 flow." } ] } ] }, "actor": { "id": "550e8400-e29b-41d4-a716-446655440000", "first_name": "John", "last_name": "Doe", "display_name": "Example Name", "avatar": "https://example.com/assets/example-image.png" }, "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-01T00:00:00Z" }
Retrieve a work item comment ​
Retrieve details of a specific comment.
Path Parameters ​
issue_id:requiredstringIssue ID
pk:requiredstringComment ID
project_id:requiredstringProject ID
slug:requiredstringWorkspace slug
Scopes ​
projects.work_items.comments:read