{
 "issue": {
  "id": 478,
  "iid": 9,
  "project_id": 401,
  "title": "implement timer/counter hooks",
  "description": "*Created by: yksflip*\n\nSome other tools (influxdb, hopglass) do need information about all nodes to work as intended. We could use the `update` hook and process the response from every single node but that is incredibly inefficient. \r\n\r\nWe could implement another api like a unix-socket and use a cronjob to do this. But i like to have the possibility to just deploy this \"as it is\" and don't rely on other tools to be configured. \r\n\r\nThat means, we need support for \"timed\" hooks that run every x seconds (or every x responses, update, ...) and take the full database a their input. \r\n\r\n(moved from gitlab)",
  "state": "closed",
  "created_at": "2020-07-29T09:12:22.000Z",
  "updated_at": "2020-08-30T20:10:55.000Z",
  "closed_at": null,
  "closed_by": null,
  "labels": [],
  "milestone": null,
  "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": 2,
  "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/requestd/-/work_items/9",
  "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": "0 of 0 checklist items completed",
  "_links": {
   "self": "https://git.chaotikum.org/api/v4/projects/401/issues/9",
   "notes": "https://git.chaotikum.org/api/v4/projects/401/issues/9/notes",
   "award_emoji": "https://git.chaotikum.org/api/v4/projects/401/issues/9/award_emoji",
   "project": "https://git.chaotikum.org/api/v4/projects/401",
   "closed_as_duplicate_of": null
  },
  "references": {
   "short": "#9",
   "relative": "#9",
   "full": "freifunk-luebeck/requestd#9"
  },
  "severity": "UNKNOWN",
  "moved_to_id": null,
  "imported": false,
  "imported_from": "none",
  "service_desk_reply_to": null
 },
 "discussions": [
  {
   "id": "e57244c5d3f9f0edb9f57f549d87d78cf74f249e",
   "reply_id": "e57244c5d3f9f0edb9f57f549d87d78cf74f249e",
   "project_id": 401,
   "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/requestd/-/issues/9/discussions/e57244c5d3f9f0edb9f57f549d87d78cf74f249e/resolve",
   "notes": [
    {
     "id": "1085",
     "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": "2020-08-30T15:57:09.000Z",
     "updated_at": "2020-08-30T15:57:09.000Z",
     "system": false,
     "noteable_id": 478,
     "noteable_type": "Issue",
     "project_id": 401,
     "resolvable": false,
     "confidential": false,
     "internal": false,
     "imported": false,
     "imported_from": "none",
     "noteable_iid": 9,
     "commands_changes": {},
     "external_author": null,
     "note": "related to #12",
     "note_html": "<p data-sourcepos=\"1:1-1:14\" dir=\"auto\">related to <a href=\"/freifunk-luebeck/requestd/-/issues/12\" data-reference-type=\"issue\" data-original=\"#12\" data-link=\"false\" data-link-reference=\"false\" data-issue=\"475\" data-project=\"401\" data-iid=\"12\" data-project-path=\"freifunk-luebeck/requestd\" data-issue-type=\"issue\" data-container=\"body\" data-placement=\"top\" title=\"expose hook result with a http api\" class=\"gfm gfm-issue\">#12 (closed)</a></p>",
     "body_first_line_html": "<p>related to #12 (closed)</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,
     "is_noteable_author": true,
     "discussion_id": "e57244c5d3f9f0edb9f57f549d87d78cf74f249e",
     "emoji_awardable": true,
     "award_emoji": [],
     "report_abuse_path": "/-/abuse_reports/add_category",
     "noteable_note_url": "https://git.chaotikum.org/freifunk-luebeck/requestd/-/work_items/9#note_1085",
     "cached_markdown_version": 2162688,
     "human_access": "Owner",
     "is_contributor": false,
     "project_name": "requestd",
     "toggle_award_path": "/freifunk-luebeck/requestd/notes/1085/toggle_award_emoji",
     "path": "/freifunk-luebeck/requestd/notes/1085"
    }
   ]
  },
  {
   "id": "60be09b50cf4483c4143548fe1075b5279c758e9",
   "reply_id": "60be09b50cf4483c4143548fe1075b5279c758e9",
   "project_id": 401,
   "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/requestd/-/issues/9/discussions/60be09b50cf4483c4143548fe1075b5279c758e9/resolve",
   "notes": [
    {
     "id": "1086",
     "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": "2020-08-30T20:10:54.000Z",
     "updated_at": "2020-08-30T20:10:54.000Z",
     "system": false,
     "noteable_id": 478,
     "noteable_type": "Issue",
     "project_id": 401,
     "resolvable": false,
     "confidential": false,
     "internal": false,
     "imported": false,
     "imported_from": "none",
     "noteable_iid": 9,
     "commands_changes": {},
     "external_author": null,
     "note": "fixed with the implementation for http-hooks",
     "note_html": "<p data-sourcepos=\"1:1-1:44\" dir=\"auto\">fixed with the implementation for http-hooks</p>",
     "body_first_line_html": "<p>fixed with the implementation for http-hooks</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,
     "is_noteable_author": true,
     "discussion_id": "60be09b50cf4483c4143548fe1075b5279c758e9",
     "emoji_awardable": true,
     "award_emoji": [],
     "report_abuse_path": "/-/abuse_reports/add_category",
     "noteable_note_url": "https://git.chaotikum.org/freifunk-luebeck/requestd/-/work_items/9#note_1086",
     "cached_markdown_version": 2162688,
     "human_access": "Owner",
     "is_contributor": false,
     "project_name": "requestd",
     "toggle_award_path": "/freifunk-luebeck/requestd/notes/1086/toggle_award_emoji",
     "path": "/freifunk-luebeck/requestd/notes/1086"
    }
   ]
  }
 ]
}