{"id":3323,"date":"2011-09-24T16:45:02","date_gmt":"2011-09-24T08:45:02","guid":{"rendered":"http:\/\/edsionte.com\/techblog\/?p=3323"},"modified":"2011-10-09T09:43:45","modified_gmt":"2011-10-09T01:43:45","slug":"inotify%e6%9c%ba%e5%88%b6%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/edsionte.com\/techblog\/archives\/3323","title":{"rendered":"inotify\u673a\u5236\u5728\u7528\u6237\u6001\u4e0b\u7684\u4f7f\u7528\u65b9\u6cd5"},"content":{"rendered":"<h3>1.inotify\u662f\u4ec0\u4e48\uff1f<\/h3>\n<p>inotify\u673a\u5236\u7528\u4e8e\u76d1\u63a7\u6587\u4ef6\u7cfb\u7edf\uff0c\u901a\u8fc7\u5b83\u53ef\u4ee5\u76d1\u63a7\u4e00\u4e2a\u6216\u591a\u4e2a\u6587\u4ef6\uff0c\u5982\u679c\u8be5\u6587\u4ef6\u53d1\u751f\u4e86\u6307\u5b9a\u4e8b\u4ef6\uff0c\u6bd4\u5982\u6253\u5f00\uff0c\u8bfb\u6216\u5199\u7b49\uff0c\u8be5\u673a\u5236\u4f1a\u5f02\u6b65\u7684\u54cd\u5e94\u7528\u7a0b\u5e8f\u53d1\u51fa\u901a\u77e5\uff08\u6216\u79f0\u4e3a\u8b66\u544a\uff09\uff0c\u5e94\u7528\u7a0b\u5e8f\u6839\u636e\u6587\u4ef6\u7cfb\u7edf\u53d1\u751f\u7684\u4e8b\u4ef6\u7c7b\u578b\u505a\u51fa\u76f8\u5e94\u7684\u53cd\u5e94\u3002<\/p>\n<h3>2.inotify\u53ef\u4ee5\u76d1\u63a7\u7684\u4e8b\u4ef6<\/h3>\n<p>inotify\u4f7f\u7528\u4e00\u7ec4\u5b8f\u6765\u8868\u793a\u6587\u4ef6\u53ef\u4ee5\u88ab\u76d1\u63a7\u7684\u4e8b\u4ef6\uff0c\u8fd9\u4e9b\u5b8f\u5728\u7a0d\u5019\u4ecb\u7ecd\u7684inotify_add_watch()\u4e2d\u4f7f\u7528\u3002\u5728\u6ca1\u6709\u7279\u522b\u8bf4\u660e\u7684\u60c5\u51b5\u4e0b\uff0c\u4e0b\u9762\u89e3\u91ca\u4e2d\u7684\u6587\u4ef6\u5747\u6307\u88ab\u76d1\u63a7\u7684\u6587\u4ef6\uff0c\u5e76\u4e14\u5373\u53ef\u4ee5\u662f\u666e\u901a\u6587\u4ef6\u53c8\u53ef\u4ee5\u662f\u76ee\u5f55\u6587\u4ef6\u3002<\/p>\n<p>IN_ACCESS\uff1a\u6587\u4ef6\u88ab\u8bbf\u95ee\uff0c\u5982\u679c\u662f\u76ee\u5f55\u6587\u4ef6\uff0c\u5219\u6307\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u540d\u88ab\u8bbf\u95ee\u3002<\/p>\n<p>IN_MODIFY\uff1a\u6587\u4ef6\u88ab\u4fee\u6539\uff0c\u5982\u679c\u662f\u76ee\u5f55\u6587\u4ef6\uff0c\u5219\u6307\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u540d\u88ab\u4fee\u6539\u3002<\/p>\n<p>IN_ATTRIB\uff1a\u6587\u4ef6\u5c5e\u6027\u88ab\u4fee\u6539\uff0c\u6bd4\u5982\u4f7f\u7528chmod\u547d\u4ee4\u3002<\/p>\n<p>IN_CLOSE_WRITE\uff1a\u53ef\u5199\u7684\u6587\u4ef6\u88ab\u5173\u95ed\u3002<\/p>\n<p>IN_CLOSE_NOWRITE\uff1a\u4e0d\u53ef\u5199\u6587\u4ef6\u88ab\u5173\u95ed\u3002<\/p>\n<p>IN_CLOSE\uff1a\u6587\u4ef6\u88ab\u5173\u95ed\uff0c\u5b83\u7b49\u540c\u4e8e(IN_CLOSE_WRITE | IN_CLOSE_NOWRITE)\u7684\u6548\u679c\u3002<\/p>\n<p>IN_OPEN\uff1a\u6587\u4ef6\u88ab\u6253\u5f00\u3002<\/p>\n<p>IN_MOVED_FROM\uff1a\u6587\u4ef6\u88ab\u79fb\u51fa\u76d1\u63a7\u533a\uff0c\u6bd4\u5982\u4f7f\u7528mv\u547d\u4ee4\u5c06\u4e00\u4e2a\u6587\u4ef6\u79fb\u51fa\u76d1\u63a7\u76ee\u5f55\u3002<\/p>\n<p>IN_MOVED_TO\uff1a\u6587\u4ef6\uff08\u8fd9\u4e2a\u6587\u4ef6\u65e2\u53ef\u4ee5\u662f\u53d7\u76d1\u63a7\u7684\u53c8\u53ef\u4ee5\u662f\u672a\u53d7\u76d1\u63a7\u7684\uff09\u88ab\u79fb\u5165\u76d1\u63a7\u533a\uff0c\u6bd4\u5982\u4f7f\u7528mv\u548ccp\u547d\u4ee4\u3002<\/p>\n<p>IN_MOVE\uff1a\u6587\u4ef6\u88ab\u79fb\u52a8\uff0c\u5b83\u7b49\u540c\u4e8e(IN_MOVED_FROM | IN_MOVED_TO)\u7684\u4f5c\u7528\u6548\u679c\u3002<\/p>\n<p>IN_CREATE\uff1a\u5728\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u6587\u4ef6\uff0c\u6bd4\u5982touch\u6216mkdir\u547d\u4ee4\u3002<\/p>\n<p>IN_DELETE\uff1a\u6587\u4ef6\u88ab\u5220\u9664\uff0c\u6bd4\u5982\u4f7f\u7528rm\u547d\u4ee4\u3002<\/p>\n<p>IN_DELETE_SELF\uff1a\u81ea\u5220\u9664\uff0c\u5373\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u5728\u6267\u884c\u65f6\u5220\u9664\u81ea\u5df1\u3002<\/p>\n<p>IN_MOVE_SELF\uff1a\u81ea\u79fb\u52a8\uff0c\u5373\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u5728\u6267\u884c\u65f6\u79fb\u52a8\u81ea\u5df1\u3002<\/p>\n<p>IN_UNMOUNT\uff1a\u5bbf\u4e3b\u6587\u4ef6\u7cfb\u7edf\u88ab umount\u3002<\/p>\n<p>\u53e6\u5916\uff0cIN_ISDIR\u5b8f\u7528\u6765\u5224\u65ad\u88ab\u76d1\u63a7\u7684\u6587\u4ef6\u662f\u5426\u4e3a\u76ee\u5f55\u6587\u4ef6\uff0c\u8be5\u5b8f\u53ef\u4ee5\u5728\u5e94\u7528\u7a0b\u5e8f\u5bf9\u76d1\u63a7\u6587\u4ef6\u4f5c\u76d1\u63a7\u5904\u7406\u65f6\u5e94\u7528\u3002<\/p>\n<h3>3.inotify\u7528\u6237\u6001\u4f7f\u7528\u6982\u8ff0<\/h3>\n<p>inotify\u673a\u5236\u5c5e\u4e8eLinux\u57282.6.13\u4e4b\u540e\u589e\u52a0\u7684\u4e00\u4e2a\u65b0\u7279\u6027\uff0c\u5b83\u5c5e\u4e8ednotify\u673a\u5236\u7684\u5347\u7ea7\u7248\u3002\u8981\u4f7f\u7528inotify\u673a\u5236\u76d1\u63a7\u6587\u4ef6\u7cfb\u7edf\uff0c\u90a3\u4e48\u5fc5\u987b\u5148\u521b\u5efa\u4e00\u4e2ainotify\u7684\u5b9e\u4f8b\u3002\u7531\u4e8eLinux\u4e2d\u7684\u4e00\u5207\u7686\u4e3a\u6587\u4ef6\uff0c\u53ef\u4ee5\u5c06inotify\u5b9e\u4f8b\u7406\u89e3\u4e3a\u4e00\u4e2a\u201cinotify\u7c7b\u578b\u7684\u6587\u4ef6\u201d\uff0c\u56e0\u6b64\u8be5\u5b9e\u4f8b\u4f1a\u5bf9\u5e94\u4e00\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26\uff0c\u8fd9\u4e5f\u5c5e\u4e8einotify\u4f18\u4e8ednotify\u7684\u4e00\u5927\u7279\u6027\u3002<\/p>\n<p>inotify\u673a\u5236\u7684\u53e6\u4e00\u5927\u7279\u6027\u5373\u4e3a\u76d1\u63a7\u7a0b\u5e8f\u5bf9\u6587\u4ef6\u7684\u76d1\u63a7\u4e0d\u5fc5\u8f6e\u8be2\u53bb\u67e5\u770b\uff0c\u4e00\u65e6\u76d1\u63a7\u7684\u6587\u4ef6\u6709\u6307\u5b9a\u7684\u4e8b\u4ef6\u53d1\u751f\uff0c\u5b83\u4f1a\u5f02\u6b65\u901a\u77e5\u76d1\u63a7\u7a0b\u5e8f\uff0c\u76d1\u63a7\u7a0b\u5e8f\u6536\u5230\u8b66\u544a\u540e\u4f1a\u7acb\u9a6c\u505a\u51fa\u76f8\u5e94\u7684\u54cd\u5e94\u3002\u800c\u5728\u6ca1\u6709\u53d1\u751f\u76d1\u63a7\u4e8b\u4ef6\u7684\u65f6\u5019\uff0c\u76d1\u63a7\u7a0b\u5e8f\u5219\u4e00\u76f4\u5904\u4e8e\u963b\u585e\u72b6\u6001\u3002<\/p>\n<p>\u8fd9\u91cc\u7684\u963b\u585e\u901a\u8fc7read()\u5373\u53ef\u5b8c\u6210\u3002\u5f53\u6ca1\u6709\u76d1\u63a7\u65f6\u95f4\u53d1\u751f\u65f6\uff0cinotify\u5b9e\u4f8b\u4e2d\u6ca1\u6709\u6570\u636e\u5219read()\u963b\u585e\uff1b\u5f53\u6709\u76d1\u63a7\u4e8b\u4ef6\u53d1\u751f\u65f6\uff0c\u76d1\u63a7\u4e8b\u4ef6\u5c06\u88ab\u5199\u5165inotify\u5b9e\u4f8b\u4e2d\uff0c\u6b64\u65f6read\u51fd\u6570\u88ab\u5524\u9192\u8bfb\u53d6\u8be5\u4e8b\u4ef6\uff0c\u76d1\u63a7\u7a0b\u5e8f\u6839\u636e\u8bfb\u53d6\u7684\u6570\u636e\u505a\u51fa\u76f8\u5e94\u5904\u7406\u3002\u8fd9\u91cc\u7684\u4e8b\u4ef6\u5176\u5b9e\u662f\u901a\u8fc7\u5b57\u8282\u6d41\u53d1\u9001\u5230inotify\u5b9e\u4f8b\u4e2d\u7684\uff0c\u56e0\u6b64\u53ef\u4ee5\u901a\u8fc7read()\u51fd\u6570\u6765\u8bfb\u53d6\u3002\u4e3a\u6b64\uff0c\u4e13\u95e8\u6709\u4e00\u4e2a\u6570\u636e\u7ed3\u6784\u6765\u5b58\u50a8\u76d1\u63a7\u4e8b\u4ef6\uff0c\u5373\u4e3astruct inotify_event\uff1a<\/p>\n<pre class=\"brush:c\"> struct inotify_event\r\nstruct inotify_event {\r\n\t__s32\t\twd;\t\t\/* watch descriptor *\/\r\n\t__u32\t\tmask;\t\t\/* watch mask *\/\r\n\t__u32\t\tcookie;\t\t\/* cookie to synchronize two events *\/\r\n\t__u32\t\tlen;\t\t\/* length (including nulls) of name *\/\r\n\tchar\t\tname[0];\t\/* stub for possible name *\/\r\n}; \r\n<\/pre>\n<p>\u8be5\u7ed3\u6784\u7684\u5b9a\u4e49\u4f4d\u4e8e\u7528\u6237\u6001\u6587\u4ef6\u76ee\u5f55include\/linux\/inotify.h\u4e2d\uff0c\u6bcf\u4e2a\u5b57\u6bb5\u4ee3\u8868\u7684\u542b\u4e49\u5982\u4e0b\uff1a<\/p>\n<p>wd\uff1a\u4e00\u4e2a\u76d1\u89c6\u5668\uff08watch\uff09\u7684\u63cf\u8ff0\u7b26\uff0c\u6240\u8c13\u76d1\u89c6\u5668\u5c31\u662f\u4e00\u4e2a\u4e8c\u5143\u7ec4\uff08\u76d1\u89c6\u6587\u4ef6\uff0c\u4e8b\u4ef6\u63a9\u7801\uff09\uff0c\u5176\u4e2d\u4e8b\u4ef6\u63a9\u7801\u5305\u542b\u8be5\u6587\u4ef6\u88ab\u76d1\u89c6\u7684\u6240\u6709\u4e8b\u4ef6\u3002wd\u662f\u901a\u8fc7inotify_add_watch()\u8fd4\u56de\u7684\uff0cwd\u5728\u6b64\u7ed3\u6784\u4e2d\u4e0e\u4e00\u4e2a\u76d1\u89c6\u4e8b\u4ef6\u5173\u8054\uff0c\u5373\u8bf4\u660ewd\u76d1\u89c6\u5668\u4e0a\u53d1\u751f\u4e86\u5f53\u524dinotify_event\u8fd9\u4e2a\u4e8b\u4ef6\u3002<\/p>\n<p>mask\uff1a\u8be5\u4e8b\u4ef6\u7684\u7c7b\u578b\u5373\u4e3a\u5f53\u524d\u7ed3\u6784\u4e2d\u7684mask\uff0c\u5b83\u662fwd\u4e2d\u6240\u6307\u5b9amask\u7684\u4e00\u4e2a\u5b50\u96c6\u3002<\/p>\n<p>len\uff1a\u8868\u793a\u5f53\u524d\u7ed3\u6784\u4e2dname\u7684\u957f\u5ea6\uff0c\u4f46\u6709\u65f6\u5019name\u4e3a\u4e86\u5b57\u8282\u5bf9\u9f50\u4f1a\u586b\u5145\u82e5\u5e72\u4e2a0\uff0c\u56e0\u6b64len\u4f1a\u5927\u4e8e\u7b49\u4e8ename\u7684\u957f\u5ea6\u3002<\/p>\n<p>name\uff1a\u8868\u793a\u76d1\u63a7\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u8fd9\u91cc\u901a\u8fc7GNU C\u4e2d\u76840\u957f\u5ea6\u6570\u7ec4\u6765\u8868\u793a\u53d8\u957f\u7684\u6587\u4ef6\u8def\u5f84\u3002<\/p>\n<p>\u5bf9inotify\u673a\u5236\u7684\u5178\u578b\u4f7f\u7528\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<p><strong>1.\u521b\u5efa\u5e76\u521d\u59cb\u5316\u4e00\u4e2ainotify\u7684\u5b9e\u4f8b\uff0c\u901a\u8fc7inotify_init()\u5373\u53ef\u5b9e\u73b0\uff0c\u8be5\u51fd\u6570\u8fd4\u56de\u4e00\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26\u3002<\/strong><\/p>\n<p><strong>2.\u6dfb\u52a0\u4e00\u4e2a\u6216\u591a\u4e2a\u76d1\u63a7\u6587\u4ef6\uff0c\u5373\u76d1\u89c6\u5668\uff0c\u901a\u8fc7inotify_add_watch()\u5373\u53ef\u5b9e\u73b0\uff0c\u8be5\u51fd\u6570\u5c31\u8fd4\u56de\u4e00\u4e2a\u76d1\u89c6\u5668\u7684\u6587\u4ef6\u63cf\u8ff0\u7b26\u3002<\/strong><\/p>\n<p><strong>3.\u5faa\u73af\u7b49\u5f85\u76d1\u63a7\u4e8b\u4ef6\u7684\u53d1\u751f\uff0c\u901a\u8fc7\u5faa\u73afread()inotify\u5b9e\u4f8b\u7684fd\u5373\u53ef\u5b9e\u73b0\u3002<\/strong><\/p>\n<p><strong>4.\u5982\u679c\u6709\u76d1\u63a7\u4e8b\u4ef6\u53d1\u751f\uff0c\u5219\u5c06fd\u4e2d\u7684\u5b57\u8282\u6d41\u8bfb\u53d6\u5230inotify_event\u7ed3\u6784\u4e2d\uff0c\u76d1\u63a7\u7a0b\u5e8f\u968f\u4e4b\u4f5c\u9002\u5f53\u5904\u7406\uff0c\u5904\u7406\u5b8c\u6bd5\u540e\u8fd4\u56de\u7ee7\u7eed\u7b49\u5f85\u3002<\/strong><\/p>\n<p><strong>5.\u5f53\u4e0d\u9700\u8981\u7ee7\u7eed\u76d1\u63a7\u6216\u6536\u5230\u67d0\u4e2a\u4ee3\u8868\u76d1\u63a7\u7ed3\u675f\u7684\u4fe1\u53f7\u65f6\uff0c\u5173\u95edinotify\u5b9e\u4f8b\u7684\u6587\u4ef6\u63cf\u8ff0\u7b26\u3002<\/strong><\/p>\n<p>\u5173\u4e8e\u57fa\u672c\u7684\u4f7f\u7528\u6d41\u7a0b\u8fd8\u53ef\u4ee5\u53c2\u8003\u4e0b\u56fe\uff1a<\/p>\n<p><a href=\"http:\/\/edsionte.com\/techblog\/archives\/3323\/inotify\" rel=\"attachment wp-att-3329\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3329\" title=\"inotify\" src=\"http:\/\/edsionte.com\/techblog\/wordpress\/wp-content\/uploads\/2011\/09\/inotify.jpeg\" alt=\"\" width=\"303\" height=\"585\" srcset=\"http:\/\/edsionte.com\/techblog\/wordpress\/wp-content\/uploads\/2011\/09\/inotify.jpeg 303w, http:\/\/edsionte.com\/techblog\/wordpress\/wp-content\/uploads\/2011\/09\/inotify-155x300.jpg 155w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/a><\/p>\n<h3>4.inotify\u7528\u6237\u6001API<\/h3>\n<p>inotify\u7684API\u90fd\u4f7f\u7528\u6587\u4ef6\u63cf\u8ff0\u7b26\uff0c\u8fd9\u6837\u53ef\u4ee5\u5c06\u76d1\u63a7\u7c92\u5ea6\u63a7\u5236\u5230\u5355\u4e2a\u6587\u4ef6\uff0c\u800cdnotify\u673a\u5236\u7684\u63a7\u5236\u7c92\u5ea6\u5219\u4e3a\u5355\u4e2a\u76ee\u5f55\u3002\u4f7f\u7528\u6587\u4ef6\u63cf\u8ff0\u7b26\u66f4\u5927\u7684\u4f18\u52bf\u5728\u4e8e\u5bf9inotify\u7684\u64cd\u4f5c\u4e5f\u53ef\u4ee5\u4f7f\u7528read()\u3001close()\u3001select()\u7b49\u8fd9\u4e9b\u4f20\u7edf\u7684\u6587\u4ef6\u64cd\u4f5c\u51fd\u6570\u3002<\/p>\n<p>1.int inotify_init (void)<\/p>\n<p>\u521b\u5efa\u5e76\u521d\u59cb\u5316\u4e00\u4e2ainotify\u5b9e\u4f8b\uff0c\u8be5\u51fd\u6570\u8fd4\u56de\u4e00\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26\u3002\u53ef\u4ee5\u8ba4\u4e3a\u8fd9\u4e2a\u51fd\u6570\u662f\u6253\u5f00\u4e00\u4e2ainotify\u7c7b\u578b\u7684\u6587\u4ef6\u5e76\u8fd4\u56de\u8be5\u7c7b\u578b\u6587\u4ef6\u7684\u63cf\u8ff0\u7b26\u3002<\/p>\n<p>2.int inotify_add_watch (int __fd, const char *__name, uint32_t __mask)<\/p>\n<p>\u589e\u52a0\u76d1\u89c6\u6587\u4ef6\uff08\u76d1\u89c6\u5668\uff09\uff0cfd\u7528\u4e8e\u6307\u660e\u8be5\u6587\u4ef6\u88ab\u6dfb\u52a0\u4e8e\u54ea\u4e2ainotify\u5b9e\u4f8b\uff0cname\u7528\u4e8e\u6307\u540d\u8be5\u6587\u4ef6\u7684\u8def\u5f84\uff0cmask\u5219\u6307\u660e\u4e86\u8be5\u6587\u4ef6\u6240\u6709\u7684\u76d1\u63a7\u4e8b\u4ef6\u3002\u8be5\u51fd\u6570\u8c03\u7528\u6210\u529f\u540e\u8fd4\u56de\u4e00\u4e2a\u76d1\u89c6\u5668\u7684\u63cf\u8ff0\u7b26\u3002<\/p>\n<p>3.int inotify_rm_watch (int __fd, int __wd)<\/p>\n<p>\u4ecefd\u4e2d\u5220\u9664\u4e00\u4e2a\u76d1\u89c6\u5668\uff0cwd\u6307\u540d\u5177\u4f53\u7684\u76d1\u89c6\u5668\u3002<\/p>\n<p>\u5173\u4e8e\u4e0a\u8ff0\u51fd\u6570\u7684\u8be6\u7ec6\u7684\u4f7f\u7528\u65b9\u6cd5\u4ee5\u53ca\u9519\u8bef\u8fd4\u56de\u503c\u7b49\u5185\u5bb9\u53ef\u4ee5\u53c2\u8003man\u624b\u518c\u3002<\/p>\n<p><strong>\u53c2\u8003\uff1a<\/strong><\/p>\n<p><strong>IBM Developer Works\uff1a<a href=\"http:\/\/www.ibm.com\/developerworks\/cn\/linux\/l-ubuntu-inotify\/index.html\">http:\/\/www.ibm.com\/developerworks\/cn\/linux\/l-ubuntu-inotify\/index.html<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.inotify\u662f\u4ec0\u4e48\uff1f inotify\u673a\u5236\u7528\u4e8e\u76d1\u63a7\u6587\u4ef6\u7cfb\u7edf\uff0c\u901a\u8fc7\u5b83\u53ef\u4ee5\u76d1\u63a7\u4e00\u4e2a\u6216\u591a\u4e2a\u6587\u4ef6\uff0c\u5982\u679c\u8be5\u6587\u4ef6\u53d1\u751f\u4e86 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110],"tags":[252,404],"class_list":["post-3323","post","type-post","status-publish","format-standard","hentry","category-linux","tag-inotify","tag-404"],"views":12835,"_links":{"self":[{"href":"http:\/\/edsionte.com\/techblog\/wp-json\/wp\/v2\/posts\/3323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/edsionte.com\/techblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/edsionte.com\/techblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/edsionte.com\/techblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/edsionte.com\/techblog\/wp-json\/wp\/v2\/comments?post=3323"}],"version-history":[{"count":0,"href":"http:\/\/edsionte.com\/techblog\/wp-json\/wp\/v2\/posts\/3323\/revisions"}],"wp:attachment":[{"href":"http:\/\/edsionte.com\/techblog\/wp-json\/wp\/v2\/media?parent=3323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/edsionte.com\/techblog\/wp-json\/wp\/v2\/categories?post=3323"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/edsionte.com\/techblog\/wp-json\/wp\/v2\/tags?post=3323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}