[
  {
    "id": "7ea01498f8d0e9f5",
    "type": "tab",
    "label": "REST API",
    "disabled": false,
    "info": "",
    "env": []
  },
  {
    "id": "333d07c793050145",
    "type": "http in",
    "z": "7ea01498f8d0e9f5",
    "url": "/tags",
    "method": "get",
    "upload": false,
    "x": 200,
    "y": 100,
    "wires": [
      [
        "e6305f931d6d2564"
      ]
    ]
  },
  {
    "id": "e6305f931d6d2564",
    "type": "function",
    "z": "7ea01498f8d0e9f5",
    "name": "tags 반환",
    "func": "var d=global.get(\"tags_cache\")||[];msg.payload=JSON.stringify({result:\"OK\",count:d.length,data:d,ts:new Date().toISOString()});msg.statusCode=200;msg.headers={\"Content-Type\":\"application/json\"};return msg;",
    "outputs": 1,
    "x": 420,
    "y": 100,
    "wires": [
      [
        "f823a0c68999a359"
      ]
    ]
  },
  {
    "id": "f823a0c68999a359",
    "type": "http response",
    "z": "7ea01498f8d0e9f5",
    "x": 640,
    "y": 100,
    "wires": []
  },
  {
    "id": "dd33b660c211d0b0",
    "type": "http in",
    "z": "7ea01498f8d0e9f5",
    "url": "/metrics",
    "method": "get",
    "upload": false,
    "x": 200,
    "y": 180,
    "wires": [
      [
        "a6944b28b153beac"
      ]
    ]
  },
  {
    "id": "a6944b28b153beac",
    "type": "function",
    "z": "7ea01498f8d0e9f5",
    "name": "metrics 반환",
    "func": "var d=global.get(\"metrics_cache\")||{};msg.payload=JSON.stringify({result:\"OK\",data:d,ts:new Date().toISOString()});msg.statusCode=200;msg.headers={\"Content-Type\":\"application/json\"};return msg;",
    "outputs": 1,
    "x": 420,
    "y": 180,
    "wires": [
      [
        "876a083b1fa547c3"
      ]
    ]
  },
  {
    "id": "876a083b1fa547c3",
    "type": "http response",
    "z": "7ea01498f8d0e9f5",
    "x": 640,
    "y": 180,
    "wires": []
  }
]
