Skip to main content
GET
/
landscapes
/
{landscapeId}
/
versions
/
{versionId}
/
drafts
/
{draftId}
/
tasks
/
{draftTaskId}
Find
curl --request GET \
  --url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/drafts/{draftId}/tasks/{draftTaskId} \
  --header 'Authorization: <authorization>'
{
  "draftTask": {
    "commit": 123,
    "task": {
      "entityId": "<string>",
      "props": {
        "body": {
          "content": "<string>",
          "showContentPreview": true,
          "status": "open",
          "type": "question"
        },
        "commit": 123,
        "mentionedUserIds": [
          "<string>"
        ],
        "handleId": "<string>"
      },
      "type": "draft-comment-create"
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "draftId": "<string>",
    "id": "<string>",
    "landscapeId": "<string>",
    "latestEntityId": "<string>",
    "versionId": "<string>"
  }
}

Headers

Authorization
string
required

Path Parameters

landscapeId
string
required
versionId
string
required
draftId
string
required
draftTaskId
string
required

Response

OK

draftTask
object
required