{"id":7866,"date":"2017-01-06T19:39:09","date_gmt":"2017-01-06T10:39:09","guid":{"rendered":"http:\/\/nanoappli.com\/blog\/?p=7866"},"modified":"2017-01-09T19:04:36","modified_gmt":"2017-01-09T10:04:36","slug":"wordpressrest-api%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e8%a8%98%e4%ba%8b%e3%81%ae%e5%8f%96%e5%be%97%e3%82%92%e8%a1%8c%e3%81%86","status":"publish","type":"post","link":"http:\/\/nanoappli.com\/blog\/archives\/7866","title":{"rendered":"[WordPress]REST API\u3092\u4f7f\u3063\u3066\u8a18\u4e8b\u306e\u53d6\u5f97\u3092\u884c\u3046"},"content":{"rendered":"<p>\nWordPress4.7\u304b\u3089\u53d6\u308a\u8fbc\u307e\u308c\u305fREST API v2\u3092\u4f7f\u3063\u305f\u3001\u8a18\u4e8b\u3078\u306e\u30a2\u30af\u30bb\u30b9\u65b9\u6cd5\u3067\u3059<br \/>\n<br \/>\n<h2>\u8a18\u4e8b\u306e\u691c\u7d22<\/h2>\n<br \/>\n<h3>\u76f4\u8fd1\u306e\u8a18\u4e8b10\u4ef6\u3092\u53d6\u5f97<\/h3>\n<br \/>\nhttp:\/\/example.com\/wp-json\/wp\/v2\/posts<br \/>\n<br \/>\n<ul>\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u306e\u672b\u5c3e\u306b&#8221;\/wp-json\/wp\/v2\/posts&#8221;\u3092\u4ed8\u3051\u308c\u3070\u3001\u8a18\u4e8b\u304cjson\u5f62\u5f0f\u3067\u53d6\u5f97\u3067\u304d\u307e\u3059<\/li>\n<\/ul>\n<br \/>\n<h3>2\u30da\u30fc\u30b8\u76ee\u3092\u53d6\u5f97(11\uff5e20\u4ef6\u76ee)<\/h3>\n<br \/>\nhttp:\/\/example.com\/wp-json\/wp\/v2\/posts?page=2<br \/>\n<br \/>\n<ul>\n<li>page=n\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4ed8\u3051\u308c\u3070n\u30da\u30fc\u30b8\u76ee\u306e\u5024\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059<\/li>\n<\/ul>\n<br \/>\n<h3>1\u5ea6\u306b20\u4ef6\u53d6\u5f97\u3059\u308b(\u6700\u5927100\u307e\u3067\u6307\u5b9a\u53ef\u80fd)<\/h3>\n<br \/>\nhttp:\/\/example.com\/wp-json\/wp\/v2\/posts?per_page=20<br \/>\n<br \/>\n<ul>\n<li>1\u30da\u30fc\u30b8\u5f53\u305f\u308a\u306e\u4ef6\u6570\u3082\u6307\u5b9a\u53ef\u80fd\u3067\u3059\u304c\u3001\u6307\u5b9a\u3067\u304d\u308b\u306e\u306f1\uff5e20\u306e\u5024\u306e\u307f\u3067\u3059<\/li>\n<\/ul>\n<br \/>\n<h3>\u8a18\u4e8b\u53d6\u5f97\u306e\u958b\u59cb\u4f4d\u7f6e\u30aa\u30d5\u30bb\u30c3\u30c8\u3092\u6307\u5b9a<\/h3>\n<br \/>\nhttp:\/\/example.com\/wp-json\/wp\/v2\/posts?offset=6<br \/>\n<br \/>\n<ul>\n<li>\u3053\u306e\u70ba\u3001?per_page=5&amp;page=4\u3068\u3001?per_page=5&amp;offset=15\u306f\u540c\u3058\u610f\u5473\u3067\u3059<br \/>\n(16\u4ef6\u76ee\u304b\u30895\u4ef6\u5206\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059)<\/li>\n<\/ul>\n<br \/>\n<h3>\u30c8\u30fc\u30bf\u30eb\u3067\u4f55\u30da\u30fc\u30b8\u5206\u3042\u308b\u304b<\/h3>\n<br \/>\n\u30c8\u30fc\u30bf\u30eb\u3067\u4f55\u30da\u30fc\u30b8\u5206\u3042\u308b\u304b\u306f\u3001json\u306e\u5fdc\u7b54\u30c7\u30fc\u30bf\u3092\u898b\u3066\u3082\u5206\u304b\u3089\u306a\u3044\u304c\u3001HTTP\u30d8\u30c3\u30c0\u3067\u628a\u63e1\u3067\u304d\u308b\u3002<br \/>\n<br \/>\n<ul>\n<li>X-WP-Total: Post\u304c\u5168\u90e8\u3067\u4f55\u4ef6\u3042\u308b\u304b<\/li>\n<li>X-WP-TotalPages: \u4f55\u30da\u30fc\u30b8\u3042\u308b\u304b(1\u30da\u30fc\u30b8\u306e\u4ef6\u6570\u306fper_page\u3067\u6307\u5b9a)<\/li>\n<\/ul><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress4.7\u304b\u3089\u53d6\u308a\u8fbc\u307e\u308c\u305fREST API v2\u3092\u4f7f\u3063\u305f\u3001\u8a18\u4e8b\u3078\u306e\u30a2\u30af\u30bb\u30b9\u65b9\u6cd5\u3067\u3059 \u8a18\u4e8b\u306e\u691c\u7d22 \u76f4\u8fd1\u306e\u8a18\u4e8b10\u4ef6\u3092\u53d6\u5f97 http:\/\/example.com\/wp-json\/wp\/v2\/posts \u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u306e\u672b\u5c3e\u306b&#8221;\/wp-json\/wp\/v2\/posts&#8221;\u3092\u4ed8\u3051\u308c\u3070\u3001\u8a18\u4e8b\u304cjson\u5f62\u5f0f\u3067\u53d6\u5f97\u3067\u304d\u307e\u3059 2\u30da\u30fc\u30b8\u76ee\u3092\u53d6\u5f97(11\uff5e20\u4ef6\u76ee) http:\/\/example.com\/wp-json\/wp\/v2\/posts?page=2 page=n\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4ed8\u3051\u308c\u3070n\u30da\u30fc\u30b8\u76ee\u306e\u5024\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059 1\u5ea6\u306b20\u4ef6\u53d6\u5f97\u3059\u308b(\u6700\u5927100\u307e\u3067\u6307\u5b9a\u53ef\u80fd) http:\/\/\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[13],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":7881,"url":"http:\/\/nanoappli.com\/blog\/archives\/7881","url_meta":{"origin":7866,"position":0},"title":"[WordPress] Rest API\u306b\u95a2\u3059\u308b\u60c5\u5831\u30b5\u30a4\u30c8\u4e00\u89a7","date":"2017\u5e741\u67085\u65e5","format":false,"excerpt":"[WordPress] Rest API\u306b\u95a2\u3059\u308b\u60c5\u5831\u30b5\u30a4\u30c8\u4e00\u89a7 \u30aa\u30d5\u30a3\u30b7\u30e3\u30eb\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 REST\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1967,"url":"http:\/\/nanoappli.com\/blog\/archives\/1967","url_meta":{"origin":7866,"position":1},"title":"AmazonMWS\u3067\u6ce8\u6587\u3055\u308c\u305f\u5546\u54c1\u306e\u30b3\u30f3\u30c7\u30a3\u30b7\u30e7\u30f3\u30fb\u30b3\u30e1\u30f3\u30c8\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5","date":"2012\u5e743\u670828\u65e5","format":false,"excerpt":"\u672c\u8a18\u4e8b\u3067\u306f\u3001Amazon\u306e\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30fc\u30b9\u5927\u53e3\u51fa\u54c1\u8005\u304c\u5229\u7528\u3067\u304d\u308bMarketplace\u3000WebSe\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2542,"url":"http:\/\/nanoappli.com\/blog\/archives\/2542","url_meta":{"origin":7866,"position":2},"title":"[C#]\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30ab\u30a6\u30f3\u30bf\u304b\u3089\u53d6\u5f97\u3057\u305f\u5024\u306e\u5c65\u6b74\u3092,\u4e00\u5b9a\u4ef6\u6570\u899a\u3048\u3066\u304a\u304f","date":"2012\u5e745\u670818\u65e5","format":false,"excerpt":"Windows\u306b\u6a19\u6e96\u3067\u642d\u8f09\u3055\u308c\u3066\u3044\u308b\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30d1\u30cd\u30eb\u3084\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30e2\u30cb\u30bf\u3067\u306f\u3001PC\u306e\u73fe\u5728\u306e\u72b6\u614b\u3092\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/05\/20120518_03-500x333.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4817,"url":"http:\/\/nanoappli.com\/blog\/archives\/4817","url_meta":{"origin":7866,"position":3},"title":"[WordPress]\u30ab\u30c6\u30b4\u30ea\u5225\/\u30bf\u30b0\u5225\u306eRSS\u30ea\u30f3\u30af\u3092\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u308f\u305a\u306b\u8ffd\u52a0\u3059\u308b","date":"2012\u5e749\u670830\u65e5","format":false,"excerpt":"WordPress\u3067\u30ab\u30c6\u30b4\u30ea\u5225\u3084\u30bf\u30b0\u5225\u306e\u30ea\u30f3\u30af\u96c6\u3092\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u305b\u305a\u306b\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002 \u51fa\u6765\u3042\u304c\u308a\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/09\/20120930_03.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2490,"url":"http:\/\/nanoappli.com\/blog\/archives\/2490","url_meta":{"origin":7866,"position":4},"title":"[C#]WebBrowser\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u6307\u5b9a\u3057\u305f\u30b5\u30a4\u30c8\u5168\u4f53\u306e\u753b\u50cf\u3092\u53d6\u5f97(DLL\u5316\u3057\u307e\u3057\u305f)","date":"2012\u5e745\u670815\u65e5","format":false,"excerpt":"WebBrowser\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u6307\u5b9a\u3057\u305f\u30b5\u30a4\u30c8\u5168\u4f53\u306e\u753b\u50cf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 \u30b5\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2896,"url":"http:\/\/nanoappli.com\/blog\/archives\/2896","url_meta":{"origin":7866,"position":5},"title":"Reserch Artisan Lite\u306e\u660e\u7d30\u753b\u9762\u3067\u30011\u30da\u30fc\u30b8\u3042\u305f\u308a\u306e\u8868\u793a\u4ef6\u6570\u3092\u5909\u66f4\u3059\u308b","date":"2012\u5e745\u670827\u65e5","format":false,"excerpt":"PHP\u88fd\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3068\u3057\u3066\u3001\u6709\u540d\u306a\u30e2\u30ce\u306bReserch Artisan \u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/05\/20120527_06.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/7866"}],"collection":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/comments?post=7866"}],"version-history":[{"count":7,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/7866\/revisions"}],"predecessor-version":[{"id":7926,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/7866\/revisions\/7926"}],"wp:attachment":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/media?parent=7866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/categories?post=7866"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/tags?post=7866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}