Skip to main content
GET
/
landscapes
/
{landscapeId}
/
versions
/
{versionId}
/
drafts
/
{draftId}
/
conflicts
List Conflicts
curl --request GET \
  --url https://api.icepanel.io/v1/landscapes/{landscapeId}/versions/{versionId}/drafts/{draftId}/conflicts \
  --header 'Authorization: <authorization>'
{
  "draftConflicts": [
    {
      "currentValue": "<string>",
      "draftTaskId": "<string>",
      "draftValue": "<string>",
      "entityId": "<string>",
      "fieldName": "<string>",
      "originalValue": "<string>",
      "taskToReplaceCurrent": {
        "entityId": "<string>",
        "props": {
          "body": {
            "content": "<string>",
            "showContentPreview": true,
            "status": "open",
            "type": "question"
          },
          "commit": 123,
          "mentionedUserIds": [
            "<string>"
          ],
          "handleId": "<string>"
        },
        "type": "draft-comment-create"
      },
      "taskToReplaceDraft": {
        "entityId": "<string>",
        "props": {
          "body": {
            "content": "<string>",
            "showContentPreview": true,
            "status": "open",
            "type": "question"
          },
          "commit": 123,
          "mentionedUserIds": [
            "<string>"
          ],
          "handleId": "<string>"
        },
        "type": "draft-comment-create"
      },
      "taskToReplaceOriginal": {
        "entityId": "<string>",
        "props": {
          "body": {
            "content": "<string>",
            "showContentPreview": true,
            "status": "open",
            "type": "question"
          },
          "commit": 123,
          "mentionedUserIds": [
            "<string>"
          ],
          "handleId": "<string>"
        },
        "type": "draft-comment-create"
      },
      "type": "overwrite"
    }
  ]
}

Headers

Authorization
string
required

Path Parameters

landscapeId
string
required
versionId
string
required
draftId
string
required

Response

OK

draftConflicts
object[]
required