Created
June 27, 2021 10:59
-
-
Save lushkant/96ba642a3000d2c7d360147f494e0116 to your computer and use it in GitHub Desktop.
[GET] /templates - Response Data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "body": [ | |
| { | |
| "id": 32, | |
| "date": "2021-06-27T10:57:32", | |
| "date_gmt": "2021-06-27T10:57:32", | |
| "guid": { | |
| "rendered": "http://mediabrew.local/?web-story-page=32", | |
| "raw": "http://mediabrew.local/?web-story-page=32" | |
| }, | |
| "modified": "2021-06-27T10:57:32", | |
| "modified_gmt": "2021-06-27T10:57:32", | |
| "password": "", | |
| "slug": "32", | |
| "status": "publish", | |
| "type": "web-story-page", | |
| "link": "http://mediabrew.local/?web-story-page=32", | |
| "title": { | |
| "raw": "", | |
| "rendered": "Untitled" | |
| }, | |
| "excerpt": { | |
| "raw": "", | |
| "rendered": "", | |
| "protected": false | |
| }, | |
| "author": 1, | |
| "template": "", | |
| "story_data": { | |
| "elements": [ | |
| { | |
| "opacity": 100, | |
| "flip": { | |
| "vertical": false, | |
| "horizontal": false | |
| }, | |
| "rotationAngle": 0, | |
| "lockAspectRatio": true, | |
| "backgroundColor": { | |
| "color": { | |
| "r": 255, | |
| "g": 255, | |
| "b": 255 | |
| } | |
| }, | |
| "x": 1, | |
| "y": 1, | |
| "width": 1, | |
| "height": 1, | |
| "mask": { | |
| "type": "rectangle" | |
| }, | |
| "isBackground": true, | |
| "isDefaultBackground": true, | |
| "type": "shape", | |
| "id": "e29b249f-dc95-40af-b561-7f8aba7e55eb" | |
| }, | |
| { | |
| "opacity": 100, | |
| "flip": { | |
| "vertical": false, | |
| "horizontal": false | |
| }, | |
| "rotationAngle": 0, | |
| "lockAspectRatio": true, | |
| "backgroundColor": { | |
| "color": { | |
| "r": 196, | |
| "g": 196, | |
| "b": 196 | |
| } | |
| }, | |
| "type": "shape", | |
| "x": 207, | |
| "y": 74, | |
| "width": 137, | |
| "height": 137, | |
| "scale": 100, | |
| "focalX": 50, | |
| "focalY": 50, | |
| "mask": { | |
| "type": "triangle" | |
| }, | |
| "id": "8cf72cf0-f26f-4373-9eaa-0cafc99de4a4" | |
| }, | |
| { | |
| "opacity": 100, | |
| "flip": { | |
| "vertical": false, | |
| "horizontal": false | |
| }, | |
| "rotationAngle": 0, | |
| "lockAspectRatio": true, | |
| "backgroundColor": { | |
| "color": { | |
| "r": 196, | |
| "g": 196, | |
| "b": 196 | |
| } | |
| }, | |
| "type": "shape", | |
| "x": 82, | |
| "y": 278, | |
| "width": 159, | |
| "height": 137, | |
| "scale": 100, | |
| "focalX": 50, | |
| "focalY": 50, | |
| "mask": { | |
| "type": "hexagon" | |
| }, | |
| "id": "ca7e4178-5a53-454c-aaf9-86b91e19a729" | |
| }, | |
| { | |
| "opacity": 100, | |
| "flip": { | |
| "vertical": false, | |
| "horizontal": false | |
| }, | |
| "rotationAngle": 0, | |
| "lockAspectRatio": true, | |
| "scale": 100, | |
| "focalX": 50, | |
| "focalY": 50, | |
| "resource": { | |
| "type": "image", | |
| "mimeType": "image/jpeg", | |
| "src": "http://mediabrew.local/wp-content/uploads/2021/06/brew.jpg", | |
| "width": 1200, | |
| "height": 630, | |
| "id": 26, | |
| "title": "brew", | |
| "alt": "brew", | |
| "sizes": { | |
| "medium": { | |
| "file": "brew-300x158.jpg", | |
| "width": 300, | |
| "height": 158, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-300x158.jpg" | |
| }, | |
| "large": { | |
| "file": "brew-1024x538.jpg", | |
| "width": 1024, | |
| "height": 538, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-1024x538.jpg" | |
| }, | |
| "thumbnail": { | |
| "file": "brew-150x150.jpg", | |
| "width": 150, | |
| "height": 150, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-150x150.jpg" | |
| }, | |
| "medium_large": { | |
| "file": "brew-768x403.jpg", | |
| "width": 768, | |
| "height": 403, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-768x403.jpg" | |
| }, | |
| "web-stories-poster-portrait": { | |
| "file": "brew-640x630.jpg", | |
| "width": 640, | |
| "height": 630, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-640x630.jpg" | |
| }, | |
| "web-stories-publisher-logo": { | |
| "file": "brew-96x96.jpg", | |
| "width": 96, | |
| "height": 96, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-96x96.jpg" | |
| }, | |
| "web-stories-thumbnail": { | |
| "file": "brew-150x79.jpg", | |
| "width": 150, | |
| "height": 79, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-150x79.jpg" | |
| }, | |
| "full": { | |
| "file": "brew.jpg", | |
| "width": 1200, | |
| "height": 630, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew.jpg" | |
| } | |
| }, | |
| "local": false, | |
| "isOptimized": false | |
| }, | |
| "type": "image", | |
| "x": 48, | |
| "y": 73, | |
| "width": 330, | |
| "height": 173, | |
| "mask": { | |
| "type": "rectangle", | |
| "showInLibrary": true, | |
| "name": "Rectangle", | |
| "path": "M 0,0 1,0 1,1 0,1 0,0 Z", | |
| "ratio": 1, | |
| "supportsBorder": true | |
| }, | |
| "id": "7e223c49-c2d8-43d1-8306-cf0d64aa7dd7" | |
| } | |
| ], | |
| "backgroundColor": { | |
| "color": { | |
| "r": 255, | |
| "g": 255, | |
| "b": 255 | |
| } | |
| }, | |
| "type": "page", | |
| "id": "9740c6eb-61af-4293-9df2-1de665fca702", | |
| "animations": [], | |
| "title": null | |
| }, | |
| "_links": { | |
| "self": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/web-stories/v1/web-story-page/32" | |
| } | |
| ], | |
| "collection": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/web-stories/v1/web-story-page" | |
| } | |
| ], | |
| "about": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/wp/v2/types/web-story-page" | |
| } | |
| ], | |
| "author": [ | |
| { | |
| "embeddable": true, | |
| "href": "http://mediabrew.local/wp-json/wp/v2/users/1" | |
| } | |
| ], | |
| "wp:attachment": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/wp/v2/media?parent=32" | |
| } | |
| ], | |
| "wp:action-publish": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/web-stories/v1/web-story-page/32" | |
| } | |
| ], | |
| "wp:action-unfiltered-html": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/web-stories/v1/web-story-page/32" | |
| } | |
| ], | |
| "wp:action-assign-author": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/web-stories/v1/web-story-page/32" | |
| } | |
| ], | |
| "curies": [ | |
| { | |
| "name": "wp", | |
| "href": "https://api.w.org/{rel}", | |
| "templated": true | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 31, | |
| "date": "2021-06-27T10:48:58", | |
| "date_gmt": "2021-06-27T10:48:58", | |
| "guid": { | |
| "rendered": "http://mediabrew.local/?web-story-page=31", | |
| "raw": "http://mediabrew.local/?web-story-page=31" | |
| }, | |
| "modified": "2021-06-27T10:48:58", | |
| "modified_gmt": "2021-06-27T10:48:58", | |
| "password": "", | |
| "slug": "31", | |
| "status": "publish", | |
| "type": "web-story-page", | |
| "link": "http://mediabrew.local/?web-story-page=31", | |
| "title": { | |
| "raw": "", | |
| "rendered": "Untitled" | |
| }, | |
| "excerpt": { | |
| "raw": "", | |
| "rendered": "", | |
| "protected": false | |
| }, | |
| "author": 1, | |
| "template": "", | |
| "story_data": { | |
| "elements": [ | |
| { | |
| "opacity": 100, | |
| "flip": { | |
| "vertical": false, | |
| "horizontal": false | |
| }, | |
| "rotationAngle": 0, | |
| "lockAspectRatio": true, | |
| "backgroundColor": { | |
| "color": { | |
| "r": 255, | |
| "g": 255, | |
| "b": 255 | |
| } | |
| }, | |
| "x": 1, | |
| "y": 1, | |
| "width": 1, | |
| "height": 1, | |
| "mask": { | |
| "type": "rectangle" | |
| }, | |
| "isBackground": true, | |
| "isDefaultBackground": true, | |
| "type": "shape", | |
| "id": "e29b249f-dc95-40af-b561-7f8aba7e55eb" | |
| }, | |
| { | |
| "opacity": 100, | |
| "flip": { | |
| "vertical": false, | |
| "horizontal": false | |
| }, | |
| "rotationAngle": 0, | |
| "lockAspectRatio": true, | |
| "backgroundColor": { | |
| "color": { | |
| "r": 196, | |
| "g": 196, | |
| "b": 196 | |
| } | |
| }, | |
| "type": "shape", | |
| "x": 207, | |
| "y": 74, | |
| "width": 137, | |
| "height": 137, | |
| "scale": 100, | |
| "focalX": 50, | |
| "focalY": 50, | |
| "mask": { | |
| "type": "triangle" | |
| }, | |
| "id": "8cf72cf0-f26f-4373-9eaa-0cafc99de4a4" | |
| }, | |
| { | |
| "opacity": 100, | |
| "flip": { | |
| "vertical": false, | |
| "horizontal": false | |
| }, | |
| "rotationAngle": 0, | |
| "lockAspectRatio": true, | |
| "backgroundColor": { | |
| "color": { | |
| "r": 196, | |
| "g": 196, | |
| "b": 196 | |
| } | |
| }, | |
| "type": "shape", | |
| "x": 82, | |
| "y": 278, | |
| "width": 159, | |
| "height": 137, | |
| "scale": 100, | |
| "focalX": 50, | |
| "focalY": 50, | |
| "mask": { | |
| "type": "hexagon" | |
| }, | |
| "id": "ca7e4178-5a53-454c-aaf9-86b91e19a729" | |
| }, | |
| { | |
| "opacity": 100, | |
| "flip": { | |
| "vertical": false, | |
| "horizontal": false | |
| }, | |
| "rotationAngle": 0, | |
| "lockAspectRatio": true, | |
| "scale": 100, | |
| "focalX": 50, | |
| "focalY": 50, | |
| "resource": { | |
| "type": "image", | |
| "mimeType": "image/jpeg", | |
| "src": "http://mediabrew.local/wp-content/uploads/2021/06/brew.jpg", | |
| "width": 1200, | |
| "height": 630, | |
| "id": 26, | |
| "title": "brew", | |
| "alt": "brew", | |
| "sizes": { | |
| "medium": { | |
| "file": "brew-300x158.jpg", | |
| "width": 300, | |
| "height": 158, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-300x158.jpg" | |
| }, | |
| "large": { | |
| "file": "brew-1024x538.jpg", | |
| "width": 1024, | |
| "height": 538, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-1024x538.jpg" | |
| }, | |
| "thumbnail": { | |
| "file": "brew-150x150.jpg", | |
| "width": 150, | |
| "height": 150, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-150x150.jpg" | |
| }, | |
| "medium_large": { | |
| "file": "brew-768x403.jpg", | |
| "width": 768, | |
| "height": 403, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-768x403.jpg" | |
| }, | |
| "web-stories-poster-portrait": { | |
| "file": "brew-640x630.jpg", | |
| "width": 640, | |
| "height": 630, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-640x630.jpg" | |
| }, | |
| "web-stories-publisher-logo": { | |
| "file": "brew-96x96.jpg", | |
| "width": 96, | |
| "height": 96, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-96x96.jpg" | |
| }, | |
| "web-stories-thumbnail": { | |
| "file": "brew-150x79.jpg", | |
| "width": 150, | |
| "height": 79, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew-150x79.jpg" | |
| }, | |
| "full": { | |
| "file": "brew.jpg", | |
| "width": 1200, | |
| "height": 630, | |
| "mime_type": "image/jpeg", | |
| "source_url": "http://mediabrew.local/wp-content/uploads/2021/06/brew.jpg" | |
| } | |
| }, | |
| "local": false, | |
| "isOptimized": false | |
| }, | |
| "type": "image", | |
| "x": 48, | |
| "y": 73, | |
| "width": 330, | |
| "height": 173, | |
| "mask": { | |
| "type": "rectangle", | |
| "showInLibrary": true, | |
| "name": "Rectangle", | |
| "path": "M 0,0 1,0 1,1 0,1 0,0 Z", | |
| "ratio": 1, | |
| "supportsBorder": true | |
| }, | |
| "id": "7e223c49-c2d8-43d1-8306-cf0d64aa7dd7" | |
| } | |
| ], | |
| "backgroundColor": { | |
| "color": { | |
| "r": 255, | |
| "g": 255, | |
| "b": 255 | |
| } | |
| }, | |
| "type": "page", | |
| "id": "1b85de36-76c9-47ce-9ba7-e803d26d9b56", | |
| "animations": [], | |
| "title": null | |
| }, | |
| "_links": { | |
| "self": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/web-stories/v1/web-story-page/31" | |
| } | |
| ], | |
| "collection": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/web-stories/v1/web-story-page" | |
| } | |
| ], | |
| "about": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/wp/v2/types/web-story-page" | |
| } | |
| ], | |
| "author": [ | |
| { | |
| "embeddable": true, | |
| "href": "http://mediabrew.local/wp-json/wp/v2/users/1" | |
| } | |
| ], | |
| "wp:attachment": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/wp/v2/media?parent=31" | |
| } | |
| ], | |
| "wp:action-publish": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/web-stories/v1/web-story-page/31" | |
| } | |
| ], | |
| "wp:action-unfiltered-html": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/web-stories/v1/web-story-page/31" | |
| } | |
| ], | |
| "wp:action-assign-author": [ | |
| { | |
| "href": "http://mediabrew.local/wp-json/web-stories/v1/web-story-page/31" | |
| } | |
| ], | |
| "curies": [ | |
| { | |
| "name": "wp", | |
| "href": "https://api.w.org/{rel}", | |
| "templated": true | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "status": 200, | |
| "headers": { | |
| "X-WP-Total": 2, | |
| "X-WP-TotalPages": 1 | |
| }, | |
| "qm": { | |
| "conditionals": [], | |
| "db_queries": { | |
| "dbs": { | |
| "$wpdb": { | |
| "total": 13, | |
| "time": 0.0025, | |
| "queries": [ | |
| { | |
| "i": 1, | |
| "sql": "SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes'", | |
| "time": 0.0003, | |
| "stack": [ | |
| "wp_load_alloptions()", | |
| "is_blog_installed()", | |
| "wp_not_installed()" | |
| ], | |
| "result": 123 | |
| }, | |
| { | |
| "i": 2, | |
| "sql": "SELECT option_value FROM wp_options WHERE option_name = 'WPLANG' LIMIT 1", | |
| "time": 0.0002, | |
| "stack": [ | |
| "get_option()", | |
| "get_locale()", | |
| "determine_locale()", | |
| "load_default_textdomain()" | |
| ], | |
| "result": 0 | |
| }, | |
| { | |
| "i": 3, | |
| "sql": "SELECT * FROM wp_users WHERE user_login = 'editor' LIMIT 1", | |
| "time": 0.0002, | |
| "stack": [ | |
| "WP_User::get_data_by()", | |
| "get_user_by()", | |
| "wp_validate_auth_cookie()", | |
| "wp_validate_logged_in_cookie()", | |
| "apply_filters('determine_current_user')", | |
| "_wp_get_current_user()", | |
| "wp_get_current_user()", | |
| "get_user_locale()", | |
| "determine_locale()", | |
| "load_default_textdomain()" | |
| ], | |
| "result": 1 | |
| }, | |
| { | |
| "i": 4, | |
| "sql": "SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN (1) ORDER BY umeta_id ASC", | |
| "time": 0.0001, | |
| "stack": [ | |
| "update_meta_cache()", | |
| "get_metadata_raw()", | |
| "get_metadata()", | |
| "get_user_meta()", | |
| "WP_User->get_caps_data()", | |
| "WP_User->for_site()", | |
| "WP_User->init()", | |
| "get_user_by()", | |
| "wp_validate_auth_cookie()", | |
| "wp_validate_logged_in_cookie()", | |
| "apply_filters('determine_current_user')", | |
| "_wp_get_current_user()", | |
| "wp_get_current_user()", | |
| "get_user_locale()", | |
| "determine_locale()", | |
| "load_default_textdomain()" | |
| ], | |
| "result": 20 | |
| }, | |
| { | |
| "i": 5, | |
| "sql": "SELECT option_value FROM wp_options WHERE option_name = 'web_stories_customizer_settings' LIMIT 1", | |
| "time": 0.0002, | |
| "stack": [ | |
| "get_option()", | |
| "Google\\W\\I\\Core_Themes_Support->register()", | |
| "Google\\W\\I\\ServiceBasedPlugin->register_service()", | |
| "Google\\W\\I\\ServiceBasedPlugin->Google\\W\\I\\{closure}()", | |
| "do_action('after_setup_theme')" | |
| ], | |
| "result": 0 | |
| }, | |
| { | |
| "i": 6, | |
| "sql": "SELECT option_value FROM wp_options WHERE option_name = 'can_compress_scripts' LIMIT 1", | |
| "time": 0.0001, | |
| "stack": [ | |
| "get_option()", | |
| "get_network_option()", | |
| "get_site_option()", | |
| "script_concat_settings()", | |
| "wp_register_tinymce_scripts()", | |
| "wp_default_packages()", | |
| "do_action_ref_array('wp_default_scripts')", | |
| "WP_Scripts->init()", | |
| "WP_Scripts->__construct()", | |
| "wp_scripts()", | |
| "wp_add_inline_script()", | |
| "WP_Widget_Text->_register_one()", | |
| "WP_Widget->_register()", | |
| "WP_Widget_Factory->_register_widgets()", | |
| "do_action('widgets_init')", | |
| "wp_widgets_init()", | |
| "do_action('init')" | |
| ], | |
| "result": 1 | |
| }, | |
| { | |
| "i": 7, | |
| "sql": "SELECT option_value FROM wp_options WHERE option_name = 'googlesitekit_analytics_settings' LIMIT 1", | |
| "time": 0.0002, | |
| "stack": [ | |
| "get_option()", | |
| "Google\\W\\I\\Site_Kit->is_analytics_module_active()", | |
| "Google\\W\\I\\Site_Kit->register()", | |
| "Google\\W\\I\\ServiceBasedPlugin->register_service()", | |
| "Google\\W\\I\\ServiceBasedPlugin->Google\\W\\I\\{closure}()", | |
| "do_action('init')" | |
| ], | |
| "result": 0 | |
| }, | |
| { | |
| "i": 8, | |
| "sql": "SELECT option_value FROM wp_options WHERE option_name = 'web_stories_experiments' LIMIT 1", | |
| "time": 0.0001, | |
| "stack": [ | |
| "get_option()", | |
| "Google\\W\\Experiments->is_experiment_enabled()", | |
| "Google\\W\\M\\SVG->register()", | |
| "Google\\W\\I\\ServiceBasedPlugin->register_service()", | |
| "Google\\W\\I\\ServiceBasedPlugin->Google\\W\\I\\{closure}()", | |
| "do_action('init')" | |
| ], | |
| "result": 0 | |
| }, | |
| { | |
| "i": 9, | |
| "sql": "SELECT option_value FROM wp_options WHERE option_name = 'theme_switched' LIMIT 1", | |
| "time": 0.0003, | |
| "stack": [ | |
| "get_option()", | |
| "check_theme_switched()", | |
| "do_action('init')" | |
| ], | |
| "result": 0 | |
| }, | |
| { | |
| "i": 10, | |
| "sql": "SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND wp_posts.post_type = 'web-story-page' AND ((wp_posts.post_status = 'publish')) ORDER BY wp_posts.post_date DESC LIMIT 0, 100", | |
| "time": 0.0003, | |
| "stack": [ | |
| "WP_Query->get_posts()", | |
| "WP_Query->query()", | |
| "WP_REST_Posts_Controller->get_items()", | |
| "Google\\W\\R\\Page_Template_Controller->get_items()", | |
| "WP_REST_Server->respond_to_request()", | |
| "WP_REST_Server->dispatch()", | |
| "WP_REST_Server->serve_request()", | |
| "rest_api_loaded()", | |
| "do_action_ref_array('parse_request')", | |
| "WP->parse_request()", | |
| "WP->main()", | |
| "wp()" | |
| ], | |
| "result": 2 | |
| }, | |
| { | |
| "i": 11, | |
| "sql": "SELECT FOUND_ROWS()", | |
| "time": 0.0001, | |
| "stack": [ | |
| "WP_Query->set_found_posts()", | |
| "WP_Query->get_posts()", | |
| "WP_Query->query()", | |
| "WP_REST_Posts_Controller->get_items()", | |
| "Google\\W\\R\\Page_Template_Controller->get_items()", | |
| "WP_REST_Server->respond_to_request()", | |
| "WP_REST_Server->dispatch()", | |
| "WP_REST_Server->serve_request()", | |
| "rest_api_loaded()", | |
| "do_action_ref_array('parse_request')", | |
| "WP->parse_request()", | |
| "WP->main()", | |
| "wp()" | |
| ], | |
| "result": 1 | |
| }, | |
| { | |
| "i": 12, | |
| "sql": "SELECT wp_posts.* FROM wp_posts WHERE ID IN (32,31)", | |
| "time": 0.0002, | |
| "stack": [ | |
| "_prime_post_caches()", | |
| "WP_Query->get_posts()", | |
| "WP_Query->query()", | |
| "WP_REST_Posts_Controller->get_items()", | |
| "Google\\W\\R\\Page_Template_Controller->get_items()", | |
| "WP_REST_Server->respond_to_request()", | |
| "WP_REST_Server->dispatch()", | |
| "WP_REST_Server->serve_request()", | |
| "rest_api_loaded()", | |
| "do_action_ref_array('parse_request')", | |
| "WP->parse_request()", | |
| "WP->main()", | |
| "wp()" | |
| ], | |
| "result": 2 | |
| }, | |
| { | |
| "i": 13, | |
| "sql": "SELECT post_id, meta_key, meta_value FROM wp_postmeta WHERE post_id IN (31,32) ORDER BY meta_id ASC", | |
| "time": 0.0002, | |
| "stack": [ | |
| "update_meta_cache()", | |
| "update_postmeta_cache()", | |
| "update_post_caches()", | |
| "_prime_post_caches()", | |
| "WP_Query->get_posts()", | |
| "WP_Query->query()", | |
| "WP_REST_Posts_Controller->get_items()", | |
| "Google\\W\\R\\Page_Template_Controller->get_items()", | |
| "WP_REST_Server->respond_to_request()", | |
| "WP_REST_Server->dispatch()", | |
| "WP_REST_Server->serve_request()", | |
| "rest_api_loaded()", | |
| "do_action_ref_array('parse_request')", | |
| "WP->parse_request()", | |
| "WP->main()", | |
| "wp()" | |
| ], | |
| "result": 0 | |
| } | |
| ] | |
| } | |
| }, | |
| "dupes": { | |
| "total": 0, | |
| "queries": [] | |
| } | |
| }, | |
| "cache": { | |
| "hit_percentage": 95.1, | |
| "hits": 587, | |
| "misses": 30 | |
| }, | |
| "http": [], | |
| "logger": [], | |
| "transients": [] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment