{"id":27401,"date":"2020-04-14T06:49:03","date_gmt":"2020-04-14T13:49:03","guid":{"rendered":"https:\/\/kinsta.com\/?p=59382"},"modified":"2024-03-01T15:58:40","modified_gmt":"2024-03-01T06:58:40","slug":"wordpress-rest-api","status":"publish","type":"post","link":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/","title":{"rendered":"\u3010\u5fb9\u5e95\u89e3\u8aac\u3011WordPress REST API\u3068\u306f"},"content":{"rendered":"<p>WordPress REST API\u304c\u3001WordPress\u3092\u5909\u3048\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u591a\u304f\u304c\u5185\u90e8\u306b\u96a0\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u6c17\u4ed8\u304f\u3053\u3068\u306f\u3042\u307e\u308a\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u305d\u308c\u3067\u3082REST API\u306e\u5f71\u97ff\u306f\u3001WordPress\u306e\u30b3\u30fc\u30c9\u3068\u305d\u306e\u7528\u9014\u306e\u4e21\u9762\u3067\u5927\u304d\u306a\u9055\u3044\u3092\u3082\u305f\u3089\u3057\u307e\u3059\u3002<\/p>\n<p>WordPress REST API\u3092\u4f7f\u7528\u3057\u305f\u3053\u3068\u304c\u306a\u3044\u4eba\u306b\u3068\u3063\u3066\u306f\u3001\u3053\u308c\u304c\u4f55\u3067\u3042\u308b\u304b\u3001\u3068\u3082\u3059\u308b\u3068\u898b\u5f53\u3082\u3064\u304b\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u305d\u308c\u3067\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u308c\u3067\u306f\u65e9\u901f\u3001REST API\u3068\u306f\u4f55\u304b\u3092\u4e00\u7dd2\u306b\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>WordPress REST API\u3068\u306f<\/h2>\n<p>WordPress REST API\u306f\u3001 <a href=\"https:\/\/kinsta.com\/jp\/blog\/hire-wordpress-developer\/\">\u958b\u767a\u8005<\/a>\u304c\u4f7f\u7528\u3059\u308b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u3001\u3053\u308c\u306b\u3088\u308a\u3001WordPress\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u5916\u90e8\u304b\u3089WordPress\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30a2\u30af\u30bb\u30b9\u306b\u4f7f\u7528\u3059\u308b\u306e\u306fJavaScript\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3084\u30a2\u30d7\u30ea\u306e\u4f5c\u6210\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>REST\u306f\u300cRepresentational State Transfer\u300d\u306e\u7565\u3067\u3001API\u306f\u300cApplication Programming Interface\u300d\u306e\u7565\u3067\u3059\u3002\u305d\u308c\u305e\u308c\u306e\u610f\u5473\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>Application Programming Interface\uff08API\uff09\u306e\u5b9a\u7fa9<\/h3>\n<p>\u300cApplication Programming Interface\uff08API\uff09\u300d\u306f\u6b21\u306e\u3088\u3046\u306b<a href=\"https:\/\/en.wikipedia.org\/wiki\/Application_programming_interface\">\u5b9a\u7fa9<\/a>\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u69cb\u7bc9\u7c21\u7d20\u5316\u3092\u76ee\u7684\u3068\u3057\u305f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff1d\u30b5\u30fc\u30d0\u30fc\u9593\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u307e\u305f\u306f\u901a\u4fe1\u30d7\u30ed\u30c8\u30b3\u30eb<\/p><\/blockquote>\n<p>API\u306b\u3059\u3067\u306b\u7cbe\u901a\u3057\u3066\u3044\u306a\u3044\u9650\u308a\u3001\u3053\u306e\u8aac\u660e\u306f\u3042\u307e\u308a\u610f\u5473\u3092\u6210\u3057\u307e\u305b\u3093\u3002\u3082\u3063\u3068\u7c21\u5358\u306b\u8a00\u3046\u3068\u3001API\u306f\u3001\u3042\u308b\u30b7\u30b9\u30c6\u30e0\u304c\u5225\u306e\u30b7\u30b9\u30c6\u30e0\u3068\u9023\u643a\uff08\u30a4\u30f3\u30bf\u30e9\u30af\u30b7\u30e7\u30f3\uff09\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u30b3\u30fc\u30c9\u306e\u304b\u305f\u307e\u308a\u3067\u3059\u3002<a href=\"https:\/\/kinsta.com\/blog\/wordpress-google-maps\/\">Google\u30de\u30c3\u30d7\u3092WordPress\u30b5\u30a4\u30c8\u306b\u8ffd\u52a0<\/a>\u3057\u305f\u3053\u3068\u306f\u3042\u308b\u3067\u3057\u3087\u3046\u304b\u3002\u305d\u3093\u306a\u30b1\u30fc\u30b9\u3067\u306f\u3001Google\u306eMaps API\u3092\u4f7f\u7528\u3057\u3001WordPress\u30b5\u30a4\u30c8\u3092Google\u30de\u30c3\u30d7\u3068\u9023\u52d5\u3055\u305b\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30b7\u30b9\u30c6\u30e0\u306f\u5b8c\u5168\u306b\u72ec\u7acb\u3057\u3066\u3044\u308b\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002WordPress\u306b\u306f\u3059\u3067\u306b\u3001<a href=\"https:\/\/kinsta.com\/jp\/topics\/wordpress-plugins\/\">\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u3001\u8a2d\u5b9a\u3001 <a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-shortcodes\/\">\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9<\/a>\u306a\u3069\u306e\u305f\u3081\u306e\u3001\u8907\u6570\u306e<a href=\"https:\/\/codex.wordpress.org\/WordPress_API's\">API<\/a>\u304c\u3042\u308a\u307e\u3059\u3002\u30d7\u30e9\u30b0\u30a4\u30f3\u3001\u30c6\u30fc\u30de\u306e\u958b\u767a\u8005\u306f\u3053\u308c\u3092\u4f7f\u7528\u3057\u3066\u3001WordPress\u30b3\u30a2\u3068\u3084\u308a\u53d6\u308a\u3057\u3001\u69d8\u3005\u306a\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u307e\u3059\uff08\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u306e\u4f5c\u6210\u3084WordPress\u7ba1\u7406\u753b\u9762\u3078\u306e\u8a2d\u5b9a\u64cd\u4f5c\u753b\u9762\u306e\u8ffd\u52a0\u306a\u3069\uff09\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u3053\u308c\u3068REST API\u306e\u9055\u3044\u3068\u3057\u3066\u2026REST API\u3092\u4f7f\u3046\u3068\u3001WordPress\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5916\u306e\u30b7\u30b9\u30c6\u30e0\u304c\u3001WordPress\u3068\u9023\u52d5\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>Representational State Transfer\uff08REST\uff09\u306e\u5b9a\u7fa9<\/h3>\n<p>\u300cRepresentational State Transfer\uff08REST\uff09\u300d\u306f\u3001\u30a6\u30a7\u30d6\u30b7\u30b9\u30c6\u30e0\u304c\u9023\u52d5\u3059\u308b\u305f\u3081\u306e\u6a19\u6e96\u3067\u3059\u3002REST\u304c\u306a\u3044\u3068\u30012\u3064\u306e\u30b7\u30b9\u30c6\u30e0\u306f\u304a\u4e92\u3044\u3092\u7406\u89e3\u3067\u304d\u305a\u3001\u30c7\u30fc\u30bf\u3092\u3084\u308a\u53d6\u308a\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c<a href=\"https:\/\/restfulapi.net\/rest-architectural-constraints\/\">REST\u306b\u6e96\u62e0\u3059\u308b<\/a>\u305f\u3081\u306b\u306f\u30015\u3064\u306e\u539f\u5247\u3092\u6e80\u305f\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u7d71\u4e00\u3055\u308c\u305f\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\uff1a\u30b7\u30b9\u30c6\u30e0\u5185\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306eURL\u306f\u3001\u5747\u4e00\u3067\u4e00\u8cab\u6027\u304c\u3042\u308a\u3001GET\u306a\u3069\u306e\u4e00\u822c\u7684\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u4ecb\u3057\u3066\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff08\u8a73\u7d30\u306f\u5f8c\u307b\u3069\u8aac\u660e\uff09\u3002<\/li>\n<li>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30fc\u30d0\u30fc\uff1a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u30b5\u30fc\u30d0\u30fc\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u72ec\u7acb\u3057\u3066\u958b\u767a\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u5225\u3005\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u5074\u306e\u6280\u8853\uff08\u4f8b\uff1aWordPress\uff09\u304c\u5909\u66f4\u3055\u308c\u3066\u3082\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff08\u4f8b\uff1a\u30a2\u30d7\u30ea\u306a\u3069\uff09\u306f\u3001\u540c\u3058\u30b7\u30f3\u30d7\u30eb\u306a\u65b9\u6cd5\u3067\u5f15\u304d\u7d9a\u304d\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li>\u30b9\u30c6\u30fc\u30c8\u30ec\u30b9\uff1a\u30b9\u30c6\u30fc\u30c8\u30ec\u30b9\uff08API\u3092\u4f7f\u7528\u3057\u3066\u65b0\u3057\u3044\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u884c\u308f\u308c\u3066\u3082\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u72b6\u614b\u306f\u5909\u308f\u3089\u306a\u3044\uff09\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u4fdd\u6301\u3055\u308c\u306a\u3044\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<li>\u30ad\u30e3\u30c3\u30b7\u30e5\u53ef\u80fd\uff1a\u901f\u5ea6\u306e\u6539\u5584\u3068\u30a6\u30a7\u30d6\u6a19\u6e96\u3078\u306e\u6e96\u62e0\u306e\u305f\u3081\u306b\u3001\u3059\u3079\u3066\u306e\u30ea\u30bd\u30fc\u30b9\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u53ef\u80fd\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-caching-plugins\/\">\u30ad\u30e3\u30c3\u30b7\u30e5<\/a>\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u307e\u305f\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>\u968e\u5c64\u5316\u30b7\u30b9\u30c6\u30e0\uff1aRESTful\uff08REST\u306e\u539f\u5247\u306b\u5247\u308a\u5b9f\u88c5\u3055\u308c\u308b\uff09\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u8907\u6570\u306e\u30ec\u30a4\u30e4\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3057\u3001\u5fc5\u8981\u3067\u3042\u308c\u3070\u3001\u4e2d\u9593\u30b5\u30fc\u30d0\u30fc\u306b\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u6700\u7d42\u7684\u306a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u30b5\u30fc\u30d0\u30fc\u306b\u76f4\u63a5\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u65ad\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/li>\n<\/ol>\n<p>\u4e0a\u306e\u5236\u7d04\u306f\u3059\u3079\u3066\u3001\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u95a2\u9023\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068API\u3068\u306e\u9023\u643a\u306e\u4ed5\u65b9\u3092\u7ba1\u7406\u3057\u307e\u3059\u3002<\/p>\n<h3>WordPress\u3068\u306e\u95a2\u4fc2\u6027<\/h3>\n<p>WordPress\u306e\u6587\u8108\u3067\u300cREST\u300d\u3068\u300cAPI\u300d\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306a\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u3002WordPress REST API\u306f\u3001\u4ed6\u306e\u30b7\u30b9\u30c6\u30e0\u304cWordPress\u3068\u9023\u643a\u3067\u304d\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3067\u3001\u95a2\u9023\u3059\u308b\u30b7\u30b9\u30c6\u30e0\u304c\u76f8\u4e92\u306b\u7406\u89e3\u3059\u308b\u306e\u3092\u52a9\u3051\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3084\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u304c\u3001\u3042\u306a\u305f\u306e<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-database\/\">WordPress\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u305d\u3053\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u305f\u308a\u3001\u305d\u3053\u306b\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u3053\u308c\u306b\u306f\u591a\u304f\u306e\u610f\u5473\u3068\u7528\u9014\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>WordPress REST API\u3092\u7406\u89e3\u3059\u308b<\/h2>\n<p>WordPress REST API\u306f\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3068\u30a2\u30d7\u30ea\u306e\u958b\u767a\u65b9\u6cd5\u306e\u5909\u5316\u3001\u305d\u3057\u3066\u3001WordPress\u3092\u3088\u308a\u5e83\u304f\u958b\u304f\u3053\u3068\u306e\u5fc5\u8981\u6027\u306b\u547c\u5fdc\u3059\u308b\u304b\u305f\u3061\u3067\u958b\u767a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<h3>WordPress REST API\u306e\u80cc\u666f<\/h3>\n<p>WordPress REST API\u306f\u30012016\u5e7412\u6708\u306b\u30d0\u30fc\u30b8\u30e7\u30f34.7\u306e\u30b3\u30a2\u306e\u4e00\u90e8\u3068\u3057\u3066<a href=\"https:\/\/kinsta.com\/blog\/wordpress-4-7\/#rest-api-additions\">\u30ea\u30ea\u30fc\u30b9<\/a>\u3055\u308c\u307e\u3057\u305f\u304c\u3001\u305d\u308c\u4ee5\u524d\u306f\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u3057\u3066\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>WordPress\u3067\u69cb\u7bc9\u3055\u308c\u305f\u3055\u307e\u3056\u307e\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3001WordPress\u3092<a href=\"https:\/\/kinsta.com\/jp\/blog\/content-management-system\/\">\u30b3\u30f3\u30c6\u30f3\u30c4\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0<\/a>\u304b\u3089\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u5909\u63db\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-com-vs-wordpress-org\/\">WordPress.com<\/a>\u3067\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u304a\u308a\u3001\u3053\u306eJavaScript\u30d9\u30fc\u30b9\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304cREST API\u3092\u4f7f\u7528\u3057\u3066WordPress\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u9023\u52d5\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u30012019\u5e74\u306b\u30b3\u30a2\u306e\u4e00\u90e8\u3068\u306a\u3063\u305f<a href=\"https:\/\/kinsta.com\/jp\/blog\/gutenberg-wordpress-editor\/\">\u30b0\u30fc\u30c6\u30f3\u30d9\u30eb\u30af\u7de8\u96c6\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9<\/a>\u3067\u3082\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>REST API\u306f\u3001WordPress\u306e\u7528\u9014\u3092\u5e83\u3052\u307e\u3059\u3002\u30b3\u30f3\u30c6\u30f3\u30c4\u30de\u30cd\u30fc\u30b8\u30e1\u30f3\u30c8\u30b7\u30b9\u30c6\u30e0\u306f\u8907\u96d1\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u5b9f\u884c\u306b\u5f37\u307f\u3092\u767a\u63ee\u3057\u307e\u3059\u304c\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a6\u30a7\u30d6\u30d9\u30fc\u30b9\u306e\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084SPA\u3092\u5f37\u5316\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\uff08<a href=\"https:\/\/kinsta.com\/blog\/google-docs-to-wordpress\/\">Google\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u4f7f\u7528\u3057\u305f\u3053\u3068\u304c\u3042\u308c\u3070\u3001\u3059\u3067\u306b\u305d\u306e\u52b9\u679c\u3092\u3001\u591a\u304b\u308c\u5c11\u306a\u304b\u308c\u4f53\u611f\u3057\u3066\u3044\u308b\u306f\u305a\u3067\u3059\uff09\u3002<\/p>\n<p>\u305d\u3053\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u65b0\u3057\u3044\u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3080\u4ee3\u308f\u308a\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002<a href=\"https:\/\/kinsta.com\/jp\/blog\/is-php-dead\/\">PHP<\/a>\uff08\u30b5\u30fc\u30d0\u30fc\u5074\u306e\u8a00\u8a9e\uff09\u306e\u4ee3\u308f\u308a\u306bJavaScript\uff08\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u8a00\u8a9e\uff09\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u7d76\u3048\u305a\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u3042\u3089\u3086\u308b\u6a5f\u80fd\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>WordPress\u30e6\u30fc\u30b6\u30fc\u304a\u3088\u3073\u958b\u767a\u8005\u3078\u306e\u5f71\u97ff<\/h3>\n<p>\u3042\u306a\u305f\u304cWordPress\u306e\u30e6\u30fc\u30b6\u30fc\u3001\u958b\u767a\u8005\u3001\u3042\u308b\u3044\u306f\u305d\u306e\u4e21\u65b9\u3067\u3042\u308b\u5834\u5408\u3001REST API\u304b\u3089\u591a\u304f\u306e\u5f71\u97ff\u3092\u53d7\u3051\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u306e\u5f71\u97ff\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30b0\u30fc\u30c6\u30f3\u30d9\u30eb\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u542b\u3080\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u5909\u5316<\/li>\n<li>WordPress\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u306e\u5909\u5316\u3068\u6539\u5584<\/li>\n<li>\u30bb\u30eb\u30d5\u30db\u30b9\u30c6\u30a3\u30f3\u30b0WordPress\u306e\u753b\u9762\u304c\u3001\u5f90\u3005\u306b<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-com-to-wordpress-org\/\">com<\/a>\u306e\u753b\u9762\u3088\u308a\u306b\u5909\u5316\u3057\u3066\u3044\u308b<\/li>\n<\/ul>\n<p>\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u306f\u3001\u3088\u308a\u5e83\u7bc4\u306a\u9055\u3044\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>REST API\u3092\u4f7f\u7528\u3057\u3066SPA\u3092\u4f5c\u6210\u3059\u308b\u6a5f\u80fd\uff1aWordPress\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u8fbc\u3080\u3082\u306e\u306e\u3001WordPress\u306e\u898b\u305f\u76ee\u3068\u306f\u5927\u304d\u304f\u7570\u306a\u308b<\/li>\n<li>WordPress\u3092\u4ed6\u306e\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u3084\u30b7\u30b9\u30c6\u30e0\u3068\u7d71\u5408\u3059\u308b\u6a5f\u80fd<\/li>\n<li>PHP\u3092\u5c02\u9580\u3068\u3057\u306a\u3044\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u958b\u767a\u8005\u3067\u3082WordPress\u3067\u958b\u767a\u304c\u53ef\u80fd\u306b<\/li>\n<li>PHP\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u306f\u3001JavaScript\u306b\u3082\u7cbe\u901a\u3057\u3066\u304a\u304f\u3079\u304d\u5fc5\u8981\u6027\u304c\u5897\u52a0<\/li>\n<li>\u305d\u306e\u4ed6\u3001\u7279\u5b9a\u306e\u90e8\u4f4d\u3067\u306e\u5909\u5316\uff1a\u30da\u30fc\u30b8\u3001\u6295\u7a3f\u7de8\u96c6\u753b\u9762\u3067\u30e1\u30bf\u30dc\u30c3\u30af\u30b9\u306e\u4ee3\u308f\u308a\u306b\u30b0\u30fc\u30c6\u30f3\u30d9\u30eb\u30af\u30d6\u30ed\u30c3\u30af\u3092\u69cb\u7bc9\u3059\u308b\u5fc5\u8981\u6027<\/li>\n<\/ul>\n<p>\u6642\u306e\u7d4c\u904e\u3068\u5171\u306b\u3001WordPress REST API\u306b\u3088\u308a\u3001WordPress\u30b3\u30a2\u306e\u591a\u304f\u304cPHP\u3067\u306f\u306a\u304fJavaScript\u3067\u8a18\u8ff0\u3055\u308c\u308b\u6d41\u308c\u306b\u79fb\u884c\u3057\u3066\u3044\u307e\u3059\u3002WordPress\u958b\u767a\u8005\u304cJavaScript\u3092\u5b66\u3076\u5fc5\u8981\u6027\u304c\u9ad8\u307e\u3063\u3066\u3044\u308b\u3068\u8a00\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2>WordPress REST API\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u305d\u308c\u3067\u306f\u3001\u3069\u306e\u3088\u3046\u306b\u3057\u3066\u3001WordPress REST API\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>WP-REST API\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u884c\u3044\u307e\u3059\u3002WordPress\u3067\u306f\u3001\u3053\u308c\u306f<a href=\"https:\/\/kinsta.com\/jp\/blog\/wp-cli\/\">WP-CLI<\/a>\u3068\u547c\u3070\u308c\u3066\u3044\u307e\u3059\u3002\u5b9f\u969b\u3001\u7ba1\u7406\u753b\u9762\u3092\u4ecb\u3057\u3066\u3001\u307e\u305f\u306f\u30b5\u30a4\u30c8\u306e\u30b3\u30fc\u30c9\u306b\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u305d\u306e\u65b9\u6cd5\u3078\u3068\u9032\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>WP-CLI\u3092\u4f7f\u3063\u3066WP-REST\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b<\/h3>\n<p>WP-CLI\u306f\u3001WordPress\u7528\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\uff08CLI\uff09\u3067\u3059\u3002\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306eCLI\u3092\u4ecb\u3057\u3066\u3001WordPress\u306b\u30a2\u30af\u30bb\u30b9\u3057\u4f5c\u696d\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3061\u306a\u307f\u306bWP-CLI\u306f\u3001\u3059\u3079\u3066\u306eKinsta\u306e\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d0\u30fc\u30d7\u30e9\u30f3\u306b\u30d7\u30ea\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>CLI\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u3001Mac\u307e\u305f\u306fLinux\u3067\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304f\u304b\u3001Windows\u3067\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<figure style=\"width: 1500px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2019\/10\/Terminal-on-Mac-1.jpg\" alt=\"Mac\u306e\u30bf\u30fc\u30df\u30ca\u30eb\" width=\"1500\" height=\"408\"><figcaption class=\"wp-caption-text\">Mac\u306e\u30bf\u30fc\u30df\u30ca\u30eb<\/figcaption><\/figure>\n<p>\u30ea\u30e2\u30fc\u30c8\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/how-to-use-ssh\/\">SSH\u3067\u30b5\u30fc\u30d0\u30fc<\/a>\u306b\u63a5\u7d9a\u3057\u3066\u3001WP-CLI\u7d4c\u7531\u3067\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/install-wordpress-locally\/\">\u30ed\u30fc\u30ab\u30eb\u30b5\u30a4\u30c8<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u6b63\u3057\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3092\u4f7f\u7528\u3059\u308b\u3060\u3051\u3067OK\u3067\u3059\u3002\u672c\u756a\u30b5\u30a4\u30c8\u3067\u8a66\u3059\u524d\u306b\u3001\u30ed\u30fc\u30ab\u30eb\u30c6\u30b9\u30c8\u30b5\u30a4\u30c8\u3067REST API\u3092\u8a66\u3059\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u3088\u3046\u306b\u3001\u3042\u306a\u305f\u306e\u30b5\u30a4\u30c8\u3092\u6307\u5b9a\u3057\u3066\u3001REST API\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code>yoursite.com\/wp\/v2<\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001\u7279\u5b9a\u306e\u7a2e\u985e\u306e\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u8981\u7d20\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3064\u3044\u3066\u306f\u3001\u5f8c\u307b\u3069\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\u3061\u306a\u307f\u306b\u3053\u306e\u3088\u3046\u306a\u8981\u7d20\u306f\u3001\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3068\u547c\u3070\u308c\u307e\u3059\u3002<\/p>\n<h3>\u8a8d\u8a3c<\/h3>\n<p>\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3089\u3001\u8a8d\u8a3c\u304c\u5fc5\u8981\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u4e00\u90e8\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f\u30d1\u30d6\u30ea\u30c3\u30af\u3067\u3042\u308a\u3001\u8a8d\u8a3c\u3092\u5fc5\u8981\u3068\u3057\u307e\u305b\u3093\u304c\u3001\u3053\u308c\u304c\u5fc5\u8981\u306b\u306a\u308b\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-login-url\/\">\u30b5\u30a4\u30c8\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3<\/a>\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002RESTAPI\u306e\u52d5\u4f5c\u306f\u5c11\u3057\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>WP-CLI\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30a4\u30c8\u8a8d\u8a3c\u3092\u884c\u3046\u306b\u306f\u3001\u8a8d\u8a3c\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u958b\u767a\u74b0\u5883\u5411\u3051\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306a\u3089\u3001<a href=\"https:\/\/github.com\/WP-API\/Basic-Auth\">Basic Auth<\/a>\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u5229\u7528\u304c\u7c21\u5358\u3067\u3001\u3053\u308c\u3067\u5341\u5206\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u672c\u756a\u30b5\u30a4\u30c8\u306e\u5834\u5408\u306f\u3001<a href=\"https:\/\/wordpress.org\/plugins\/jwt-authentication-for-wp-rest-api\/\">JWT Authentication<\/a>\u30d7\u30e9\u30b0\u30a4\u30f3\uff08JSON Web Token\u3092\u4f7f\u7528\u3057\u3001\u3088\u308a\u5b89\u5168\uff09\u306a\u3069\u306e\u3001\u3088\u308a\u5805\u7262\u306a\u8a8d\u8a3c\u624b\u6bb5\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<aside role=\"note\" class=\"wp-block-kinsta-notice is-style-info\">\n            <h3>Info<\/h3>\n        <p>OAuth\u306fKinsta\u5168\u4f53\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u300c\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u300d\u4ee5\u4e0a\u306e\u30d7\u30e9\u30f3\u3067\u306f\u3001OAuth\u306e\u5b9f\u88c5\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/aside>\n\n<p>\u305d\u306e\u5f8c\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u8a8d\u8a3c\u3092\u542b\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001\u300c<code>curl<\/code>\u300d\u3092\u4f7f\u7528\u3057\u3066WordPress\u3078\u306e\u63a5\u7d9a\u3092\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002\u4e0b\u66f8\u304d\u72b6\u614b\u306b\u3042\u308b\u6295\u7a3f\u306e\u30ea\u30b9\u30c8\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">curl -X GET --user username:password -i http:\/\/yoursite.com\/wp\/v2\/posts?status=draft<\/code><\/pre>\n<p>\u4e0b\u66f8\u304d\u306e\u6295\u7a3f\u306f\u516c\u958b\u60c5\u5831\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306f\u8a8d\u8a3c\u304c\u5fc5\u8981\u3067\u3059\u3002\u4e00\u65b9\u3067\u3001\u3059\u3067\u306b\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u3092\u63a2\u3059\u5834\u5408\u306b\u306f\u3001\u8a8d\u8a3c\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002\u516c\u958b\u72b6\u614b\u306e\u6295\u7a3f\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u304c\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">curl -X GET http:\/\/yoursite.com\/wp\/v2\/posts<\/code><\/pre>\n<p>\u3053\u308c\u3067\u3001\u3059\u3067\u306b\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u6295\u7a3f\u304c\u53d6\u5f97\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>WordPress REST API\u30b3\u30de\u30f3\u30c9\u306e\u6982\u8981<\/h2>\n<p>\u30b5\u30a4\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u304c\u5b8c\u4e86\u3057\u3001\u8a8d\u8a3c\u306e\u4f7f\u3044\u65b9\uff08\u305d\u3057\u3066\u3001\u3053\u308c\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308b\u306e\u304b\uff09\u304c\u308f\u304b\u3063\u305f\u3089\u3001\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u30b9\u30c6\u30fc\u30b8\u3078\u3068\u9032\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u306b\u3001\u5177\u4f53\u7684\u306a\u30b3\u30de\u30f3\u30c9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><code> GET<\/code>\uff1a\u6295\u7a3f\u306a\u3069\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/li>\n<li><code> POST<\/code>\uff1a\u6295\u7a3f\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<li><code> PUT<\/code>\uff1a\u3059\u3067\u306b\u30b5\u30fc\u30d0\u30fc\u306b\u3042\u308b\u30ea\u30bd\u30fc\u30b9\u306e\u7de8\u96c6\u3084\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><code> DELETE<\/code>\uff1a\u30b5\u30fc\u30d0\u30fc\u306b\u3042\u308b\u30ea\u30bd\u30fc\u30b9\u3092\u524a\u9664\u3057\u307e\u3059\u3002\u3053\u308c\u306e\u4f7f\u7528\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/li>\n<\/ul>\n<p>\u305d\u308c\u305e\u308c\u306b\u3064\u3044\u3066\u3001\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>GET<\/h3>\n<figure style=\"width: 1500px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2019\/10\/GET-command.jpg\" alt=\"\u300cGET\u300d\u30b3\u30de\u30f3\u30c9\" width=\"1500\" height=\"479\"><figcaption class=\"wp-caption-text\">\u300cGET\u300d\u30b3\u30de\u30f3\u30c9<\/figcaption><\/figure>\n<p><code>GET<\/code>\u00a0\u30b3\u30de\u30f3\u30c9\u306f\u3001\u3068\u3082\u3059\u308b\u3068\u3001\u6700\u3082\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002\u3053\u308c\u306f\u3001\u30c7\u30fc\u30bf\u306e\u53d6\u5f97\u3092\u884c\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u3042\u306a\u305f\u306e\u30b5\u30a4\u30c8\u3067\u516c\u958b\u3055\u308c\u305f\u5168\u3066\u306e\u6295\u7a3f\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">GET \/wp\/v2\/posts\/?status=published<\/code><\/pre>\n<p>\u3059\u3067\u306bWP-CLI\u3092\u4f7f\u3063\u3066\u30a2\u30af\u30bb\u30b9\u304c\u5b8c\u4e86\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4e0a\u306e\u4f8b\u306b\u306f\u3001\u5b8c\u5168\u306a\u30d1\u30b9\u3092\u8a18\u8ff0\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u306e\u53d6\u5f97\u3092\u3057\u305f\u5f8c\u306f\u3001\u6b21\u306e\u64cd\u4f5c\u306b\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3042\u308b\u6295\u7a3f\u3092\u524a\u9664\u3057\u305f\u308a\u3001\u7de8\u96c6\u3057\u305f\u308a\u3001\u66f4\u65b0\u3057\u305f\u308a\u3002\u307e\u305f\u306f\u3001\u6295\u7a3f\u3092\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u306b\u51fa\u529b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6700\u65b0\u306e\u6295\u7a3f\u3092\u53d6\u5f97\u3057\u305f\u3044\u3068\u3057\u307e\u3059\u3002\u305d\u3093\u306a\u6642\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">GET \/wp\/v2\/posts\/?per_page=1<\/code><\/pre>\n<p>\u6295\u7a3f\u306e\u64cd\u4f5c\u306b\u4f7f\u7528\u3067\u304d\u308b\u5f15\u6570\u306f\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001 <a href=\"https:\/\/developer.wordpress.org\/rest-api\/reference\/posts\/#arguments\">WordPress REST API\u30cf\u30f3\u30c9\u30d6\u30c3\u30af<\/a>\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>POST<\/h3>\n<figure style=\"width: 1500px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2019\/10\/POST-command.jpg\" alt=\"\u300cPost\u300d\u30b3\u30de\u30f3\u30c9\" width=\"1500\" height=\"381\"><figcaption class=\"wp-caption-text\">\u300cPost\u300d\u30b3\u30de\u30f3\u30c9<\/figcaption><\/figure>\n<p><code>POST<\/code>\u00a0\u3092\u4f7f\u3063\u3066\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u3084\u30ea\u30bd\u30fc\u30b9\u3092\u30b5\u30a4\u30c8\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u6295\u7a3f\u3092\u4f5c\u6210\u3057\u305f\u3044\u3068\u3059\u308b\u3068\u3001\u00a0<code>POST<\/code>\u00a0\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3053\u3068\u304b\u3089\u59cb\u3081\u307e\u3059\u3002<\/p>\n<pre><code>POST \/wp\/v2\/posts\/<\/code><\/pre>\n<p>\u3053\u308c\u3067\u3001\u7a7a\u767d\u306e\u65b0\u3057\u3044\u6295\u7a3f\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u00a0<code>PUT<\/code>\u00a0\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3048\u3070\u3001\u3053\u306e\u6295\u7a3f\u304c\u66f4\u65b0\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001<code>POST<\/code>\u00a0\u30b3\u30de\u30f3\u30c9\u3067\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3084\u305d\u306e\u4ed6\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306a\u3069\u3001\u6295\u7a3f\u4ee5\u5916\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u56fa\u5b9a\u30da\u30fc\u30b8\u3092\u30b5\u30a4\u30c8\u306b\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">POST \/wp\/v2\/posts\/pages<\/code><\/pre>\n<p>\u3053\u308c\u3067\u3001\u6295\u7a3f\u306e\u5834\u5408\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u7a7a\u767d\u306e\u56fa\u5b9a\u30da\u30fc\u30b8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>PUT<\/h3>\n<figure style=\"width: 1500px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2019\/10\/PUT-command.jpg\" alt=\"\u300cPOST\u300d\u30b3\u30de\u30f3\u30c9\" width=\"1500\" height=\"476\"><figcaption class=\"wp-caption-text\">\u300cPOST\u300d\u30b3\u30de\u30f3\u30c9<\/figcaption><\/figure>\n<p><code>PUT<\/code>\u00a0\u30b3\u30de\u30f3\u30c9\u3067\u306f\u3001\u6295\u7a3f\u306a\u3069\u306e\u65e2\u5b58\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u7de8\u96c6\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3042\u306a\u305f\u306e\u30b5\u30a4\u30c8\u306b\u591a\u6570\u306e\u4e0b\u66f8\u304d\u72b6\u614b\u306e\u6295\u7a3f\u304c\u3042\u308a\u3001\u3053\u308c\u3092\u30c1\u30a7\u30c3\u30af\u3001\u66f4\u65b0\u3057\u3001\u516c\u958b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u3059\u3079\u3066\u306e\u4e0b\u66f8\u304d\u72b6\u614b\u306e\u6295\u7a3f\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304b\u3089\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-php\">POST \/wp\/v2\/posts\/?status=\"draft\"<\/code><\/pre>\n<p>\u30b7\u30b9\u30c6\u30e0\u304b\u3089\u3001\u73fe\u5728\u4e0b\u66f8\u304d\u72b6\u614b\u306b\u3042\u308b\u5168\u3066\u306e\u6295\u7a3f\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u305d\u3057\u3066\u3001ID\u3092\u4f7f\u7528\u3057\u3066\u3001\u305d\u306e\u3044\u305a\u308c\u304b\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">PUT \/wp\/v2\/posts\/567<\/code><\/pre>\n<p>\u3053\u308c\u3067\u3001\u7279\u5b9a\u306e\u6307\u5b9a\u3057\u305f\u6295\u7a3f\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u7de8\u96c6\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u5909\u66f4\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u5f15\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">{\n\"status\" = \"publish\"\n}<\/code><\/pre>\n<p>\u307e\u305f\u306f\u3001\u6295\u7a3f\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8ffd\u52a0\u3057\u3066\u3001\u516c\u958b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">{\n\"status\" = \"publish\"\n\"content\" = \"content here\"\n}<\/code><\/pre>\n<p>\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u306f\u3001PUT\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u3088\u3063\u3066\u6295\u7a3f\u304c\u6b63\u5e38\u306b\u7de8\u96c6\u3055\u308c\u305f\u3053\u3068\u3092\u610f\u5473\u3059\u308b <code>200 - OK<\/code> \u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>DELETE<\/h3>\n<figure style=\"width: 1500px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2019\/10\/DELETE-command.jpg\" alt=\"\u300cDELETE\u300d\u30b3\u30de\u30f3\u30c9\" width=\"1500\" height=\"472\"><figcaption class=\"wp-caption-text\">\u300cDELETE\u300d\u30b3\u30de\u30f3\u30c9<\/figcaption><\/figure>\n<p><code>DELETE<\/code>\u00a0\u30b3\u30de\u30f3\u30c9\u306f\u6587\u5b57\u901a\u308a\u306e\u5f79\u76ee\u3092\u62c5\u3044\u3001\u30ea\u30bd\u30fc\u30b9\u3092\u524a\u9664\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u3053\u308c\u3067\u6295\u7a3f\u3092\u300c\u524a\u9664\u300d\u3059\u308b\u3068\u3001\u5b8c\u5168\u306b\u524a\u9664\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30b4\u30df\u7bb1\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f5c\u6210\u3057\u305f\u6295\u7a3f\u3092\u30b4\u30df\u7bb1\u306b\u79fb\u52d5\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">DELETE \/wp\/v2\/posts\/567<\/code><\/pre>\n<p>\u4e00\u65b9\u3067\u3001\u30b4\u30df\u7bb1\u3092\u7d4c\u7531\u305b\u305a\u306b\u3001\u5b8c\u5168\u306b\u524a\u9664\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5f15\u6570\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">DELETE \/wp\/v2\/posts\/567?force=true<\/code><\/pre>\n<p>\u3053\u308c\u3067\u3001\u6295\u7a3f\u306f\u5b8c\u5168\u306b\u524a\u9664\u3055\u308c\u3001\u5fa9\u5e30\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u3053\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h2>WordPress REST API\u3092\u4f7f\u3046\u3079\u304d\u3067\u306f\u306a\u3044\u30b1\u30fc\u30b9<\/h2>\n<p>WordPress REST API\u306f\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3084\u30a2\u30d7\u30ea\u306e\u958b\u767a\u306b\u5fc5\u305a\u3057\u3082\u9069\u5207\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002\u958b\u767a\u306b\u4f7f\u7528\u3059\u308b\u524d\u306b\u6ce8\u610f\u3059\u3079\u304d\u3044\u304f\u3064\u304b\u306e\u4e8b\u9805\u3092\u4ee5\u4e0b\u306b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>\u4e92\u63db\u6027<\/h3>\n<p>JavaScript\u3092\u5b9f\u884c\u3057\u306a\u3044\u30c7\u30d0\u30a4\u30b9\u4e0a\u3067\u3001\u307e\u305f\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304cJavaScript\u3092\u30aa\u30d5\u306b\u3057\u3066\u3044\u308b\u30b1\u30fc\u30b9\u3067\u306f\u3001REST API\u3092\u4f7f\u7528\u3057\u305f\u30a2\u30d7\u30ea\u306f\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>\u4e00\u65b9\u3067\u3001PHP\u3067\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3057\u305fWordPress\u30b5\u30a4\u30c8\u306fHTML\u3092\u51fa\u529b\u3059\u308b\u305f\u3081\u3001\u3053\u306e\u554f\u984c\u306f\u767a\u751f\u3057\u307e\u305b\u3093\u3002JavaScript\u3092\u4f7f\u7528\u3057\u306a\u3044\u30c7\u30d0\u30a4\u30b9\u306f\u5e0c\u5c11\u306b\u306a\u308a\u3064\u3064\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u3088\u3046\u306a\u30c7\u30d0\u30a4\u30b9\u5c02\u7528\u306b\u958b\u767a\u3059\u308b\u3068\u306a\u308b\u3068\u3001REST API\u3092\u4f7f\u3063\u3066\u3044\u3066\u306f\u6a5f\u80fd\u3057\u306a\u3044\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u540c\u69d8\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u304cJavaScript\u3092\u30aa\u30d5\u306b\u3059\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u5834\u5408\u3001REST API\u3092\u4f7f\u7528\u3059\u308b\u3068\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u4e00\u90e8\u306e\u30e6\u30fc\u30b6\u30fc\u306f\u3001\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u307e\u305f\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u7406\u7531\u304b\u3089\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u3067JavaScript\u3092\u30aa\u30d5\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3<\/h3>\n<p>JavaScript\u3092\u4f7f\u7528\u3057\u3066\u958b\u767a\u3057\u305f\u30b5\u30a4\u30c8\u3084\u30a2\u30d7\u30ea\u306f\u3001HTML\u3067\u51fa\u529b\u3055\u308c\u308b\u3082\u306e\u307b\u3069\u30a2\u30af\u30bb\u30b9\u3057\u3084\u3059\u3044\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u308c\u306f\u4e3b\u306b\u3001JavaScript\u3092\u4f7f\u7528\u3057\u3066\u52d5\u7684\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u914d\u4fe1\u3059\u308b\u65b9\u6cd5\u304c\u539f\u56e0\u306b\u306a\u308a\u307e\u3059\u3002\u52d5\u7684\u30b3\u30f3\u30c6\u30f3\u30c4\u306f\u3001\u30b9\u30af\u30ea\u30fc\u30f3\u30ea\u30fc\u30c0\u30fc\u3067\u3046\u307e\u304f\u518d\u751f\u3067\u304d\u305a\u3001\u8996\u899a\u969c\u304c\u3044\u3084\u5149\u904e\u654f\u6027\u767a\u4f5c\u3092\u6301\u3064\u4eba\u306b\u3001\u554f\u984c\u3092\u5f15\u304d\u8d77\u3053\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>REST API\u3092\u4f7f\u7528\u3057\u3066WordPress\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u3092\u8003\u616e\u3057\u305f\u5f62\u5f0f\u3067\u30c7\u30fc\u30bf\u3092\u51fa\u529b\u3059\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306a\u554f\u984c\u3092\u514b\u670d\u3067\u304d\u307e\u3059\u304c\u3001\u958b\u767a\u3092\u3057\u306a\u304c\u3089\u3001\u30b5\u30a4\u30c8\u306e\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<h3>SEO<\/h3>\n<p>\u983b\u7e41\u306b\u66f4\u65b0\u3055\u308c\u308b\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff08SPA\uff09\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/decline-seo-rankings\/\">SEO\u306e\u554f\u984c<\/a>\u3092\u5f15\u304d\u8d77\u3053\u3059\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3068\u3044\u3046\u306e\u3082\u3001\u30da\u30fc\u30b8\u304c\u6700\u521d\u306b\u51fa\u529b\u3055\u308c\u305f\u3068\u304d\u306b\u914d\u4fe1\u3055\u308c\u306a\u304b\u3063\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306b\u3088\u308a\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u767b\u9332\u3055\u308c\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u73fe\u5728\u591a\u304f\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u304cSPA\u3092\u5229\u7528\u3057\u3066\u304a\u308a\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/alternative-search-engines\/\">Google\u3084\u305d\u306e\u4ed6\u306e\u691c\u7d22\u30a8\u30f3\u30b8\u30f3<\/a>\u306f\u3001\u3053\u306e\u4e8b\u5b9f\u3092\u53cd\u6620\u3059\u308b\u3088\u3046\u306b\u3001\u9069\u5207\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u884c\u3044\u3064\u3064\u3042\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001REST API\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30a4\u30c8\u3092\u958b\u767a\u3059\u308b\u969b\u306b\u306f\u3001\u5fb9\u5e95\u7684\u306b<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-seo\/\">SEO\u306e\u89b3\u70b9\u304b\u3089\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0<\/a>\u3092\u884c\u3046\u3053\u3068\u304c\u91cd\u8981\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>WordPress REST API\u3092\u7121\u52b9\u306b\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304cREST API\u3092\u4f7f\u7528\u3057\u30b5\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306e\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u3001\u3053\u308c\u3092\u7121\u52b9\u5316\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u516c\u958b\u30c7\u30fc\u30bf\u306b\u306f\u3001\u3042\u306a\u305f\u3060\u3051\u3067\u306a\u304f\u3001\u8ab0\u3067\u3082\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u306e\u3067\u3001\u305d\u306e\u9055\u3044\u306b\u306f\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001<a href=\"https:\/\/wordpress.org\/plugins\/disable-wp-rest-api\/\">Disable WP REST API<\/a>\u3068\u3044\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b5\u30a4\u30c8\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u306a\u3044\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u306eREST API\u304c\u7121\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<figure style=\"width: 1500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2019\/12\/disable-wp-rest-api.jpg\" alt=\"\u30d7\u30e9\u30b0\u30a4\u30f3\u300cDisable WP REST API\u300d\" width=\"1500\" height=\"885\"><figcaption class=\"wp-caption-text\">\u30d7\u30e9\u30b0\u30a4\u30f3\u300cDisable WP REST API\u300d<\/figcaption><\/figure>\n<p>\u307e\u305f\u306f\u3001\u30c6\u30fc\u30de\u306e\u95a2\u6570\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u304b\u3001\u72ec\u81ea\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u30c6\u30fc\u30de\u56fa\u6709\u306e\u6a5f\u80fd\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u3057\u3066\u4f5c\u6210\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u4e8c\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">add_filter( 'json_enabled', '__return_false' );\nadd_filter( 'json_jsonp_enabled', '__return_false' );\n<\/code><\/pre>\n<p>\u3053\u308c\u3067\u3001\u30b5\u30a4\u30c8\u306eREST API\u304c\u5b8c\u5168\u306b\u7121\u52b9\u306b\u306a\u308a\u307e\u3059\u3002\u7ba1\u7406\u753b\u9762\u3067\u9023\u9396\u53cd\u5fdc\u304c\u5f15\u304d\u8d77\u3053\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001\u8ffd\u52a0\u3057\u305f\u3089\u3001\u3059\u3079\u3066\u304c\u6b63\u5e38\u306b\u6a5f\u80fd\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3001\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>WordPress REST API\u3092\u4f7f\u3063\u305f\u4fbf\u5229\u306a\u5b9f\u4f8b<\/h2>\n<p>REST API\u306f\u3001WordPress\u306e\u672a\u6765\u306b\u65b0\u305f\u306a\u53ef\u80fd\u6027\u3092\u3082\u305f\u3089\u3059\u53ef\u80fd\u6027\u3092\u79d8\u3081\u3066\u3044\u307e\u3059\u3002WordPress REST API\u3092\u4f7f\u7528\u3057\u3066SPA\u3092\u4f5c\u6210\u3057\u305f\u308a\u3001WordPress\u3092\u4ed6\u306e\u30b5\u30a4\u30c8\u3084\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u306b\u30ea\u30f3\u30af\u3057\u305f\u308a\u2026\u305d\u3093\u306a\u6a5f\u80fd\u306e\u5b9f\u88c5\u3055\u308c\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30b5\u30a4\u30c8\u306e\u4f8b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>WordPress.com<\/h3>\n<figure style=\"width: 1500px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2019\/10\/WordPressdotcom-interface.jpg\" alt=\"WordPress.com\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\" width=\"1500\" height=\"721\"><figcaption class=\"wp-caption-text\">WordPress.com\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9<\/figcaption><\/figure>\n<p>WordPress.com\u306e\u7ba1\u7406\u753b\u9762\u306f\u5b8c\u5168\u306bREST API\u3092\u4f7f\u7528\u3057\u3066\u69cb\u7bc9\u3055\u308c\u3066\u304a\u308a\u3001\u3053\u3053\u306b\u3042\u308bSPA\u3092\u4f7f\u3063\u3066\u30e6\u30fc\u30b6\u30fc\u304c\u30b5\u30a4\u30c8\u306e\u7ba1\u7406\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3068\u30b5\u30fc\u30d0\u30fc\u9593\u306e\u52d5\u7684\u306a\u901a\u4fe1\u304c\u53ef\u80fd\u306b\u306a\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\uff08WordPress.org\u304c\u3084\u304c\u3066\u6a21\u5023\u3059\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\uff09\u304c\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\uff08\u30b0\u30fc\u30c6\u30f3\u30d9\u30eb\u30af\uff09<\/h3>\n<figure style=\"width: 1500px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2019\/10\/Gutenberg-editor.jpg\" alt=\"\u30b0\u30fc\u30c6\u30f3\u30d9\u30eb\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\" width=\"1500\" height=\"998\"><figcaption class=\"wp-caption-text\">\u30b0\u30fc\u30c6\u30f3\u30d9\u30eb\u30af\u30a8\u30c7\u30a3\u30bf\u30fc<\/figcaption><\/figure>\n<p>\u3082\u3046\u4e00\u3064\u306e\u3001WordPress\u7ba1\u7406\u753b\u9762\u306e\u4f8b\u304c\u3053\u3061\u3089\uff08\u305f\u3060\u3057\u3053\u3061\u3089\u306f\u3001\u30bb\u30eb\u30d5\u30db\u30b9\u30c8\u578b\u306eWordPress\u306e\u8a71\u3067\u3059\uff09\u3002\u30b0\u30fc\u30c6\u30f3\u30d9\u30eb\u30af\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306f\u3001REST API\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u901a\u4fe1\u3057\u3001\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u6295\u7a3f\u30bf\u30a4\u30d7\u304c\u30b0\u30fc\u30c6\u30f3\u30d9\u30eb\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u6a5f\u80fd\u3059\u308b\u305f\u3081\u306b\u306f\u3001REST API\u304c\u6709\u52b9\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3064\u307e\u308a\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-custom-post-types\/\">\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7<\/a>\u3092\u767b\u9332\u3057\u3001\u3053\u308c\u3092\u30b0\u30fc\u30c6\u30f3\u30d9\u30eb\u30af\u3067\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u884c\u3092\u8ffd\u52a0\u3057\u3066\u305d\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">\"show_in_rest\" = true;<\/code><\/pre>\n<h3>Event Espresso<\/h3>\n<figure style=\"width: 1500px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2019\/10\/Event-Espresso.jpg\" alt=\"Event Espresso\" width=\"1500\" height=\"990\"><figcaption class=\"wp-caption-text\">Event Espresso<\/figcaption><\/figure>\n<p><a href=\"https:\/\/kinsta.com\/blog\/wordpress-events\/#5-event-espresso-lite\">Event Espresso<\/a>\u306f\u3001\u30a4\u30d9\u30f3\u30c8\u306e\u6574\u7406\u3068\u516c\u958b\u3092\u53ef\u80fd\u306b\u3059\u308bWordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u304cWordPress\u306e\u5916\u90e8\u304b\u3089\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3001REST API\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30a4\u30d9\u30f3\u30c8\u7ba1\u7406\u306e\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u3084SPA\u304c\u69cb\u7bc9\u3067\u304d\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<h3>UsTwo<\/h3>\n<figure style=\"width: 1500px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2019\/10\/UsTwo.jpg\" alt=\"UsTwo\" width=\"1500\" height=\"775\"><figcaption class=\"wp-caption-text\">UsTwo<\/figcaption><\/figure>\n<p><a href=\"https:\/\/www.ustwo.com\/\">UsTwo<\/a>\u306f\u3001REST API\u3092\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u4f7f\u7528\u3057\u3001\u30b5\u30a4\u30c8\u3092\u69cb\u7bc9\u3057\u305f\u30c7\u30b8\u30bf\u30eb\u30a8\u30fc\u30b8\u30a7\u30f3\u30b7\u30fc\u3067\u3059\u3002React\u3092\u4f7f\u7528\u3057\u3066\u69cb\u7bc9\u3057\u305f\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3068WordPress\u642d\u8f09\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3044\u307e\u3059\u3002\uff08\u95a2\u9023\u8a18\u4e8b\uff1a\u00a0<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-agency\/\">WordPress\u30a8\u30fc\u30b8\u30a7\u30f3\u30b7\u30fc\u306e\u958b\u59cb\u3068\u904b\u55b6\u3092\u6210\u529f\u3055\u305b\u308b\u65b9\u6cd5\u5fb9\u5e95\u30ac\u30a4\u30c9<\/a>\uff09<\/p>\n<p>\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u5f0f\u3067\u3001\u901a\u5e38\u306eWordPress\u30da\u30fc\u30b8\u3068\u306f\u7570\u306a\u308b\u69cb\u9020\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30e2\u30b8\u30e5\u30fc\u30eb\u5f0f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8ffd\u52a0\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u30ab\u30b9\u30bf\u30e0\u30da\u30fc\u30b8\u30d3\u30eb\u30c0\u30fc\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>USA Today<\/h3>\n<figure style=\"width: 1500px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2019\/10\/USA-today.jpg\" alt=\"USA Today\" width=\"1500\" height=\"1028\"><figcaption class=\"wp-caption-text\">USA Today<\/figcaption><\/figure>\n<p><a href=\"http:\/\/usatoday.com\/\">USA Today<\/a>\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306f\u3001\u30b5\u30a4\u30c8\u5185\u306b\u3082\u3068\u304b\u3089\u3042\u308b\u30b7\u30b9\u30c6\u30e0\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3001WordPress REST API\u3092\u7d71\u5408\u3092\u4f7f\u7528\u3057\u3066\u3001\u518d\u69cb\u7bc9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>REST API\u306e\u529b\u306b\u3088\u308a\u3001JSON\u3092\u4f7f\u7528\u3057\u3001\u30b5\u30a4\u30c8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092<a href=\"https:\/\/kinsta.com\/blog\/facebook-instant-articles\/\">Facebook Instant Articles<\/a>\u3084Apple News\u306a\u3069\u306e\u4ed6\u306e\u30a2\u30a6\u30c8\u30ec\u30c3\u30c8\u306b\u9001\u4fe1\u3067\u304d\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002\u307e\u305f\u3001\u30b9\u30dd\u30fc\u30c4\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u306f\u3001JavaScript\u3067\u69cb\u7bc9\u3055\u308c\u305f\u30aa\u30f3\u30e9\u30a4\u30f3\u30bd\u30fc\u30b7\u30e3\u30eb\u30b2\u30fc\u30e0\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n<h2>\u307e\u3068\u3081<\/h2>\n<p>WordPress REST API\u306f\u3001WordPress\u30e6\u30fc\u30b6\u30fc\u3068\u958b\u767a\u8005\u306e\u4e21\u65b9\u306b\u3068\u3063\u3066\u3001\u60f3\u50cf\u529b\u3092\u63bb\u304d\u7acb\u3066\u308b\u8ab2\u984c\u3001\u305d\u3057\u3066\u3001\u8208\u5473\u6df1\u3044\u65b0\u305f\u306a\u6a5f\u4f1a\u3092\u3082\u305f\u3089\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u8a00\u3046\u306a\u308c\u3070\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/why-use-wordpress\/\">WordPress\u306e\u672a\u6765<\/a>\u3067\u3042\u308a\u3001WordPress\u306e\u958b\u767a\u306e\u4ed5\u65b9\u3068\u4f7f\u3044\u65b9\u3092\u6839\u672c\u7684\u306b\u5909\u3048\u308b\u53ef\u80fd\u6027\u3059\u3089\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3042\u306a\u305f\u306f\u3001REST API\u3092\u3069\u3046\u601d\u3044\u307e\u3059\u304b\uff1f\u3059\u3067\u306b\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u4f7f\u7528\u3057\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u304b\uff1f\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u6b04\u3067\u6559\u3048\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress REST API\u304c\u3001WordPr &#8230;<\/p>\n","protected":false},"author":105,"featured_media":27414,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[236,36],"topic":[751],"class_list":["post-27401","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-rest","tag-wordpress","topic-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u5fb9\u5e95\u89e3\u8aac\u3011WordPress REST API\u3068\u306f<\/title>\n<meta name=\"description\" content=\"WordPress REST API\u306f\u3001WordPress\u306e\u672a\u6765\u3092\u5909\u3048\u308b\u5927\u4e8b\u306a\u5b58\u5728\u3067\u3059\u3002\u3053\u308c\u304c\u79c1\u305f\u3061\u306b\u3082\u305f\u3089\u3057\u3066\u304f\u308c\u308b\u53ef\u80fd\u6027\u3068\u5229\u7528\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u5fb9\u5e95\u89e3\u8aac\u3011WordPress REST API\u3068\u306f\" \/>\n<meta property=\"og:description\" content=\"WordPress REST API\u306f\u3001WordPress\u306e\u672a\u6765\u3092\u5909\u3048\u308b\u5927\u4e8b\u306a\u5b58\u5728\u3067\u3059\u3002\u3053\u308c\u304c\u79c1\u305f\u3061\u306b\u3082\u305f\u3089\u3057\u3066\u304f\u308c\u308b\u53ef\u80fd\u6027\u3068\u5229\u7528\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-14T13:49:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-01T06:58:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Rachel McCollin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"WordPress REST API\u306f\u3001WordPress\u306e\u672a\u6765\u3092\u5909\u3048\u308b\u5927\u4e8b\u306a\u5b58\u5728\u3067\u3059\u3002\u3053\u308c\u304c\u79c1\u305f\u3061\u306b\u3082\u305f\u3089\u3057\u3066\u304f\u308c\u308b\u53ef\u80fd\u6027\u3068\u5229\u7528\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rachel McCollin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/\"},\"author\":{\"name\":\"Rachel McCollin\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/52eb266d622b565d3206e355caac172e\"},\"headline\":\"\u3010\u5fb9\u5e95\u89e3\u8aac\u3011WordPress REST API\u3068\u306f\",\"datePublished\":\"2020-04-14T13:49:03+00:00\",\"dateModified\":\"2024-03-01T06:58:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/\"},\"wordCount\":430,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg\",\"keywords\":[\"rest\",\"WordPress\"],\"articleSection\":[\"WordPress\u958b\u767a\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/\",\"name\":\"\u3010\u5fb9\u5e95\u89e3\u8aac\u3011WordPress REST API\u3068\u306f\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg\",\"datePublished\":\"2020-04-14T13:49:03+00:00\",\"dateModified\":\"2024-03-01T06:58:40+00:00\",\"description\":\"WordPress REST API\u306f\u3001WordPress\u306e\u672a\u6765\u3092\u5909\u3048\u308b\u5927\u4e8b\u306a\u5b58\u5728\u3067\u3059\u3002\u3053\u308c\u304c\u79c1\u305f\u3061\u306b\u3082\u305f\u3089\u3057\u3066\u304f\u308c\u308b\u53ef\u80fd\u6027\u3068\u5229\u7528\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#primaryimage\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg\",\"width\":1460,\"height\":730,\"caption\":\"WordPress REST API\u306e\u57fa\u672c\u60c5\u5831\u5b8c\u5168\u7db2\u7f85\u30ac\u30a4\u30c9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https:\/\/kinsta.com\/jp\/topics\/api\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u3010\u5fb9\u5e95\u89e3\u8aac\u3011WordPress REST API\u3068\u306f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinsta.com\/jp\/#website\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/52eb266d622b565d3206e355caac172e\",\"name\":\"Rachel McCollin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f99f27294a4a0acb07caa4d0604a1fef?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f99f27294a4a0acb07caa4d0604a1fef?s=96&d=mm&r=g\",\"caption\":\"Rachel McCollin\"},\"description\":\"Rachel McCollin has been helping people build websites with WordPress since 2010. She's a huge fan of self-hosted WordPress and wants to help as many people as possible create an awesome website with it.\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/author\/rachelmccollin\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u3010\u5fb9\u5e95\u89e3\u8aac\u3011WordPress REST API\u3068\u306f","description":"WordPress REST API\u306f\u3001WordPress\u306e\u672a\u6765\u3092\u5909\u3048\u308b\u5927\u4e8b\u306a\u5b58\u5728\u3067\u3059\u3002\u3053\u308c\u304c\u79c1\u305f\u3061\u306b\u3082\u305f\u3089\u3057\u3066\u304f\u308c\u308b\u53ef\u80fd\u6027\u3068\u5229\u7528\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/","og_locale":"ja_JP","og_type":"article","og_title":"\u3010\u5fb9\u5e95\u89e3\u8aac\u3011WordPress REST API\u3068\u306f","og_description":"WordPress REST API\u306f\u3001WordPress\u306e\u672a\u6765\u3092\u5909\u3048\u308b\u5927\u4e8b\u306a\u5b58\u5728\u3067\u3059\u3002\u3053\u308c\u304c\u79c1\u305f\u3061\u306b\u3082\u305f\u3089\u3057\u3066\u304f\u308c\u308b\u53ef\u80fd\u6027\u3068\u5229\u7528\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","og_url":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2020-04-14T13:49:03+00:00","article_modified_time":"2024-03-01T06:58:40+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg","type":"image\/jpeg"}],"author":"Rachel McCollin","twitter_card":"summary_large_image","twitter_description":"WordPress REST API\u306f\u3001WordPress\u306e\u672a\u6765\u3092\u5909\u3048\u308b\u5927\u4e8b\u306a\u5b58\u5728\u3067\u3059\u3002\u3053\u308c\u304c\u79c1\u305f\u3061\u306b\u3082\u305f\u3089\u3057\u3066\u304f\u308c\u308b\u53ef\u80fd\u6027\u3068\u5229\u7528\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter_image":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg","twitter_creator":"@Kinsta_JP","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Rachel McCollin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#article","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/"},"author":{"name":"Rachel McCollin","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/52eb266d622b565d3206e355caac172e"},"headline":"\u3010\u5fb9\u5e95\u89e3\u8aac\u3011WordPress REST API\u3068\u306f","datePublished":"2020-04-14T13:49:03+00:00","dateModified":"2024-03-01T06:58:40+00:00","mainEntityOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/"},"wordCount":430,"commentCount":0,"publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg","keywords":["rest","WordPress"],"articleSection":["WordPress\u958b\u767a"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/","url":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/","name":"\u3010\u5fb9\u5e95\u89e3\u8aac\u3011WordPress REST API\u3068\u306f","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#primaryimage"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg","datePublished":"2020-04-14T13:49:03+00:00","dateModified":"2024-03-01T06:58:40+00:00","description":"WordPress REST API\u306f\u3001WordPress\u306e\u672a\u6765\u3092\u5909\u3048\u308b\u5927\u4e8b\u306a\u5b58\u5728\u3067\u3059\u3002\u3053\u308c\u304c\u79c1\u305f\u3061\u306b\u3082\u305f\u3089\u3057\u3066\u304f\u308c\u308b\u53ef\u80fd\u6027\u3068\u5229\u7528\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#primaryimage","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2020\/04\/wordpress-rest-api.jpg","width":1460,"height":730,"caption":"WordPress REST API\u306e\u57fa\u672c\u60c5\u5831\u5b8c\u5168\u7db2\u7f85\u30ac\u30a4\u30c9"},{"@type":"BreadcrumbList","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-rest-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"API","item":"https:\/\/kinsta.com\/jp\/topics\/api\/"},{"@type":"ListItem","position":3,"name":"\u3010\u5fb9\u5e95\u89e3\u8aac\u3011WordPress REST API\u3068\u306f"}]},{"@type":"WebSite","@id":"https:\/\/kinsta.com\/jp\/#website","url":"https:\/\/kinsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/52eb266d622b565d3206e355caac172e","name":"Rachel McCollin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f99f27294a4a0acb07caa4d0604a1fef?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f99f27294a4a0acb07caa4d0604a1fef?s=96&d=mm&r=g","caption":"Rachel McCollin"},"description":"Rachel McCollin has been helping people build websites with WordPress since 2010. She's a huge fan of self-hosted WordPress and wants to help as many people as possible create an awesome website with it.","url":"https:\/\/kinsta.com\/jp\/blog\/author\/rachelmccollin\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/27401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/users\/105"}],"replies":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/comments?post=27401"}],"version-history":[{"count":6,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/27401\/revisions"}],"predecessor-version":[{"id":55446,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/27401\/revisions\/55446"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/27401\/translations\/en"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/27401\/translations\/es"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/27401\/translations\/pt"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/27401\/translations\/it"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/27401\/translations\/fr"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/27401\/translations\/de"},{"embeddable":true,"hreflang":"nl","title":"Dutch","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/27401\/translations\/nl"},{"embeddable":true,"hreflang":"sv","title":"Swedish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/27401\/translations\/se"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/27401\/translations\/jp"},{"href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/27401\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media\/27414"}],"wp:attachment":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media?parent=27401"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/tags?post=27401"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/topic?post=27401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}