{
 "issue": {
  "id": 540,
  "iid": 20,
  "project_id": 307,
  "title": "generated curl update command shows wrong host in url",
  "description": "",
  "state": "closed",
  "created_at": "2021-12-31T04:26:39.315Z",
  "updated_at": "2021-12-31T04:53:51.412Z",
  "closed_at": "2021-12-31T04:53:51.404Z",
  "closed_by": {
   "id": 47,
   "username": "paul",
   "public_email": "",
   "name": "Paul",
   "state": "active",
   "locked": false,
   "avatar_url": "https://secure.gravatar.com/avatar/a4106f6e9909fa9fdadf799a8c6e0382dd30483c01ed2024a82e10d6144d1754?s=80&d=identicon",
   "web_url": "https://git.chaotikum.org/paul"
  },
  "labels": [],
  "milestone": {
   "id": 21,
   "iid": 1,
   "project_id": 307,
   "title": "v0.1.0: production ready",
   "description": "get it working smoothly",
   "state": "active",
   "created_at": "2021-12-23T23:48:46.746Z",
   "updated_at": "2021-12-24T14:45:34.575Z",
   "due_date": "2021-12-31",
   "start_date": null,
   "expired": true,
   "web_url": "https://git.chaotikum.org/freifunk-luebeck/ffdyndns/-/milestones/1"
  },
  "assignees": [
   {
    "id": 47,
    "username": "paul",
    "public_email": "",
    "name": "Paul",
    "state": "active",
    "locked": false,
    "avatar_url": "https://secure.gravatar.com/avatar/a4106f6e9909fa9fdadf799a8c6e0382dd30483c01ed2024a82e10d6144d1754?s=80&d=identicon",
    "web_url": "https://git.chaotikum.org/paul"
   }
  ],
  "author": {
   "id": 47,
   "username": "paul",
   "public_email": "",
   "name": "Paul",
   "state": "active",
   "locked": false,
   "avatar_url": "https://secure.gravatar.com/avatar/a4106f6e9909fa9fdadf799a8c6e0382dd30483c01ed2024a82e10d6144d1754?s=80&d=identicon",
   "web_url": "https://git.chaotikum.org/paul"
  },
  "type": "ISSUE",
  "assignee": {
   "id": 47,
   "username": "paul",
   "public_email": "",
   "name": "Paul",
   "state": "active",
   "locked": false,
   "avatar_url": "https://secure.gravatar.com/avatar/a4106f6e9909fa9fdadf799a8c6e0382dd30483c01ed2024a82e10d6144d1754?s=80&d=identicon",
   "web_url": "https://git.chaotikum.org/paul"
  },
  "user_notes_count": 0,
  "merge_requests_count": 0,
  "upvotes": 0,
  "downvotes": 0,
  "start_date": null,
  "due_date": null,
  "confidential": false,
  "discussion_locked": null,
  "issue_type": "issue",
  "web_url": "https://git.chaotikum.org/freifunk-luebeck/ffdyndns/-/work_items/20",
  "time_stats": {
   "time_estimate": 0,
   "total_time_spent": 0,
   "human_time_estimate": null,
   "human_total_time_spent": null
  },
  "task_completion_status": {
   "count": 0,
   "completed_count": 0
  },
  "has_tasks": true,
  "task_status": "",
  "_links": {
   "self": "https://git.chaotikum.org/api/v4/projects/307/issues/20",
   "notes": "https://git.chaotikum.org/api/v4/projects/307/issues/20/notes",
   "award_emoji": "https://git.chaotikum.org/api/v4/projects/307/issues/20/award_emoji",
   "project": "https://git.chaotikum.org/api/v4/projects/307",
   "closed_as_duplicate_of": null
  },
  "references": {
   "short": "#20",
   "relative": "#20",
   "full": "freifunk-luebeck/ffdyndns#20"
  },
  "severity": "UNKNOWN",
  "moved_to_id": null,
  "imported": false,
  "imported_from": "none",
  "service_desk_reply_to": null
 },
 "discussions": [
  {
   "id": "e81f96a3d90a55efb2023ddc559a92036977c36a",
   "reply_id": "e81f96a3d90a55efb2023ddc559a92036977c36a",
   "project_id": 307,
   "commit_id": null,
   "confidential": false,
   "diff_discussion": false,
   "expanded": true,
   "for_commit": false,
   "individual_note": true,
   "resolvable": false,
   "discussion_path": null,
   "resolved": false,
   "resolved_by_push": false,
   "resolved_by": null,
   "resolved_at": null,
   "resolve_path": "/freifunk-luebeck/ffdyndns/-/issues/20/discussions/e81f96a3d90a55efb2023ddc559a92036977c36a/resolve",
   "notes": [
    {
     "id": "e81f96a3d90a55efb2023ddc559a92036977c36a",
     "type": "MilestoneNote",
     "author": {
      "id": 47,
      "username": "paul",
      "public_email": "",
      "name": "Paul",
      "state": "active",
      "locked": false,
      "avatar_url": "https://secure.gravatar.com/avatar/a4106f6e9909fa9fdadf799a8c6e0382dd30483c01ed2024a82e10d6144d1754?s=80&d=identicon",
      "status_tooltip_html": "<span class=\"user-status-emoji has-tooltip\" title=\"\" data-html=\"true\" data-placement=\"top\"><gl-emoji title=\"turtle\" data-name=\"turtle\" data-unicode-version=\"6.0\">\ud83d\udc22</gl-emoji></span>",
      "show_status": true,
      "availability": "not_set",
      "path": "/paul",
      "bot": false,
      "user_type": "human"
     },
     "created_at": "2021-12-31T04:26:39.344Z",
     "updated_at": "2021-12-31T04:26:39.344Z",
     "system": true,
     "noteable_id": 540,
     "noteable_type": "Issue",
     "project_id": 307,
     "resolvable": false,
     "confidential": false,
     "internal": false,
     "imported": false,
     "imported_from": "none",
     "noteable_iid": 20,
     "commands_changes": {},
     "external_author": null,
     "note": "changed milestone to /freifunk-luebeck/ffdyndns%1",
     "note_html": "<p data-sourcepos=\"1:1-1:49\" dir=\"auto\">changed milestone to <a href=\"/freifunk-luebeck/ffdyndns/-/milestones/1\" class=\"gfm gfm-milestone has-tooltip\" data-original=\"/freifunk-luebeck/ffdyndns%1\" data-link=\"false\" data-link-reference=\"false\" data-milestone=\"21\" data-project=\"307\" data-container=\"body\" data-placement=\"top\" data-reference-type=\"milestone\">%v0.1.0: production ready</a></p>",
     "body_first_line_html": "<p>changed milestone to %v0.1.0: production ready</p>",
     "current_user": {
      "can_edit": false,
      "can_award_emoji": false,
      "can_resolve": false,
      "can_resolve_discussion": false
     },
     "suggestions": [],
     "resolved": false,
     "resolved_by": null,
     "resolved_by_push": false,
     "system_note_icon_name": "milestone",
     "is_noteable_author": true,
     "discussion_id": "e81f96a3d90a55efb2023ddc559a92036977c36a",
     "emoji_awardable": false,
     "report_abuse_path": "/-/abuse_reports/add_category",
     "noteable_note_url": null,
     "cached_markdown_version": 2162688,
     "human_access": "Owner",
     "is_contributor": false,
     "project_name": "ffdyndns"
    }
   ]
  },
  {
   "id": "8c2150369c8269f2a7d3eeb6313c956a06806b43",
   "reply_id": "8c2150369c8269f2a7d3eeb6313c956a06806b43",
   "project_id": 307,
   "commit_id": null,
   "confidential": false,
   "diff_discussion": false,
   "expanded": true,
   "for_commit": false,
   "individual_note": true,
   "resolvable": false,
   "discussion_path": null,
   "resolved": false,
   "resolved_by_push": false,
   "resolved_by": null,
   "resolved_at": null,
   "resolve_path": "/freifunk-luebeck/ffdyndns/-/issues/20/discussions/8c2150369c8269f2a7d3eeb6313c956a06806b43/resolve",
   "notes": [
    {
     "id": "1195",
     "type": null,
     "author": {
      "id": 47,
      "username": "paul",
      "public_email": "",
      "name": "Paul",
      "state": "active",
      "locked": false,
      "avatar_url": "https://secure.gravatar.com/avatar/a4106f6e9909fa9fdadf799a8c6e0382dd30483c01ed2024a82e10d6144d1754?s=80&d=identicon",
      "status_tooltip_html": "<span class=\"user-status-emoji has-tooltip\" title=\"\" data-html=\"true\" data-placement=\"top\"><gl-emoji title=\"turtle\" data-name=\"turtle\" data-unicode-version=\"6.0\">\ud83d\udc22</gl-emoji></span>",
      "show_status": true,
      "availability": "not_set",
      "path": "/paul",
      "bot": false,
      "user_type": "human"
     },
     "created_at": "2021-12-31T04:26:39.375Z",
     "updated_at": "2021-12-31T04:26:39.376Z",
     "system": true,
     "noteable_id": 540,
     "noteable_type": "Issue",
     "project_id": 307,
     "resolvable": false,
     "confidential": false,
     "internal": false,
     "imported": false,
     "imported_from": "none",
     "noteable_iid": 20,
     "commands_changes": {},
     "external_author": null,
     "note": "assigned to @paul",
     "note_html": "<p data-sourcepos=\"1:1-1:17\" dir=\"auto\">assigned to <a href=\"/paul\" data-reference-type=\"user\" data-user=\"47\" data-container=\"body\" data-placement=\"top\" class=\"gfm gfm-project_member js-user-link\" title=\"Paul\">@paul</a></p>",
     "body_first_line_html": "<p>assigned to <a href=\"/paul\" data-reference-type=\"user\" data-user=\"47\" class=\"gfm gfm-project_member js-user-link\" title=\"Paul\">@paul</a></p>",
     "current_user": {
      "can_edit": false,
      "can_award_emoji": false,
      "can_resolve": false,
      "can_resolve_discussion": false
     },
     "suggestions": [],
     "resolved": false,
     "resolved_by": null,
     "resolved_by_push": false,
     "system_note_icon_name": "user",
     "is_noteable_author": true,
     "discussion_id": "8c2150369c8269f2a7d3eeb6313c956a06806b43",
     "emoji_awardable": false,
     "report_abuse_path": "/-/abuse_reports/add_category",
     "noteable_note_url": "https://git.chaotikum.org/freifunk-luebeck/ffdyndns/-/work_items/20#note_1195",
     "cached_markdown_version": 2162688,
     "human_access": "Owner",
     "is_contributor": false,
     "project_name": "ffdyndns",
     "path": "/freifunk-luebeck/ffdyndns/notes/1195"
    }
   ]
  },
  {
   "id": "384dfc2ade63db6ed0cd294b212b639b364540c7",
   "reply_id": "384dfc2ade63db6ed0cd294b212b639b364540c7",
   "project_id": 307,
   "commit_id": null,
   "confidential": false,
   "diff_discussion": false,
   "expanded": true,
   "for_commit": false,
   "individual_note": true,
   "resolvable": false,
   "discussion_path": null,
   "resolved": false,
   "resolved_by_push": false,
   "resolved_by": null,
   "resolved_at": null,
   "resolve_path": "/freifunk-luebeck/ffdyndns/-/issues/20/discussions/384dfc2ade63db6ed0cd294b212b639b364540c7/resolve",
   "notes": [
    {
     "id": "384dfc2ade63db6ed0cd294b212b639b364540c7",
     "type": "StateNote",
     "author": {
      "id": 47,
      "username": "paul",
      "public_email": "",
      "name": "Paul",
      "state": "active",
      "locked": false,
      "avatar_url": "https://secure.gravatar.com/avatar/a4106f6e9909fa9fdadf799a8c6e0382dd30483c01ed2024a82e10d6144d1754?s=80&d=identicon",
      "status_tooltip_html": "<span class=\"user-status-emoji has-tooltip\" title=\"\" data-html=\"true\" data-placement=\"top\"><gl-emoji title=\"turtle\" data-name=\"turtle\" data-unicode-version=\"6.0\">\ud83d\udc22</gl-emoji></span>",
      "show_status": true,
      "availability": "not_set",
      "path": "/paul",
      "bot": false,
      "user_type": "human"
     },
     "created_at": "2021-12-31T04:53:51.457Z",
     "updated_at": "2021-12-31T04:53:51.457Z",
     "system": true,
     "noteable_id": 540,
     "noteable_type": "Issue",
     "project_id": 307,
     "resolvable": false,
     "confidential": false,
     "internal": false,
     "imported": false,
     "imported_from": "none",
     "noteable_iid": 20,
     "commands_changes": {},
     "external_author": null,
     "note": "closed with commit 39e41f604f354fe768b54daba13845a3d99e3ea2",
     "note_html": "<p data-sourcepos=\"1:1-1:59\" dir=\"auto\">closed with commit <a href=\"/freifunk-luebeck/ffdyndns/-/commit/39e41f604f354fe768b54daba13845a3d99e3ea2\" title=\"fix wrong update url in template. fix #20\" class=\"gfm gfm-commit has-tooltip\" data-original=\"39e41f604f354fe768b54daba13845a3d99e3ea2\" data-link=\"false\" data-link-reference=\"false\" data-commit=\"39e41f604f354fe768b54daba13845a3d99e3ea2\" data-project=\"307\" data-project-path=\"freifunk-luebeck/ffdyndns\" data-container=\"body\" data-placement=\"top\" data-reference-type=\"commit\">39e41f60</a></p>",
     "body_first_line_html": "<p>closed with commit 39e41f60</p>",
     "current_user": {
      "can_edit": false,
      "can_award_emoji": false,
      "can_resolve": false,
      "can_resolve_discussion": false
     },
     "suggestions": [],
     "resolved": false,
     "resolved_by": null,
     "resolved_by_push": false,
     "system_note_icon_name": "issue-close",
     "is_noteable_author": true,
     "discussion_id": "384dfc2ade63db6ed0cd294b212b639b364540c7",
     "emoji_awardable": false,
     "report_abuse_path": "/-/abuse_reports/add_category",
     "noteable_note_url": null,
     "cached_markdown_version": 2162688,
     "human_access": "Owner",
     "is_contributor": false,
     "project_name": "ffdyndns"
    }
   ]
  }
 ]
}