GET /sites/$site/posts/

Get a list of matching posts.

Resource Information

   
Method GET
URL https://public-api.wordpress.com/rest/v1.1/sites/$site/posts/
Requires authentication? No

Method Parameters

Parameter Type Description
$site (int|string) Site ID or domain

Query Parameters

Parameter Type Description
context (string)
display:
(default) Formats the output as HTML for display. Shortcodes are parsed, paragraph tags are added, etc..
edit:
Formats the output for editing. Shortcodes are left unparsed, significant whitespace is kept, etc..
http_envelope (bool)
false:
(default)
true:
Some environments (like in-browser JavaScript or Flash) block or divert responses with a non-200 HTTP status code. Setting this parameter will force the HTTP status code to always be 200. The JSON response is wrapped in an "envelope" containing the "real" HTTP status code and headers.
pretty (bool)
false:
(default)
true:
Output pretty JSON
meta (string) Optional. Loads data from the endpoints found in the 'meta' part of the response. Comma-separated list. Example: meta=site,likes
fields (string) Optional. Returns specified fields only. Comma-separated list. Example: fields=ID,title
callback (string) An optional JSONP callback function.
number (int) The number of posts to return. Limit: 100. Default: 20.
offset (int) 0-indexed offset.
page (int) Return the Nth 1-indexed page of posts. Takes precedence over the offset parameter.
page_handle (string) A page handle, returned from a previous API call as a meta.next_page property. This is the most efficient way to fetch the next page of results.
order (string)
DESC:
(default) Return posts in descending order. For dates, that means newest to oldest.
ASC:
Return posts in ascending order. For dates, that means oldest to newest.
order_by (string)
date:
(default) Order by the created time of each post.
modified:
Order by the modified time of each post.
title:
Order lexicographically by the posts' titles.
comment_count:
Order by the number of comments for each post.
ID:
Order by post ID.
after (iso 8601 datetime) Return posts dated after the specified datetime.
before (iso 8601 datetime) Return posts dated before the specified datetime.
modified_after (iso 8601 datetime) Return posts modified after the specified datetime.
modified_before (iso 8601 datetime) Return posts modified before the specified datetime.
tag (string) Specify the tag name or slug.
category (string) Specify the category name or slug.
term (object) Specify comma-separated term slugs to search within, indexed by taxonomy slug.
type (string) Specify the post type. Defaults to 'post', use 'any' to query for both posts and pages. Post types besides post and page need to be whitelisted using the rest_api_allowed_post_types filter.
parent_id (int) Returns only posts which are children of the specified post. Applies only to hierarchical post types.
exclude (array|int) Excludes the specified post ID(s) from the response
exclude_tree (int) Excludes the specified post and all of its descendants from the response. Applies only to hierarchical post types.
status (string) Comma-separated list of statuses for which to query, including any of: "publish", "private", "draft", "pending", "future", and "trash", or simply "any". Defaults to "publish"
sticky (string)
include:
(default) Sticky posts are not excluded from the list.
exclude:
Sticky posts are excluded from the list.
require:
Only include sticky posts
author (int) Author's user ID
search (string) Search query
meta_key (string) Metadata key that the post should contain
meta_value (string) Metadata value that the post should contain. Will only be applied if a `meta_key` is also given

Response Parameters

Parameter Type Description
found (int) The total number of posts found that match the request (ignoring limits, offsets, and pagination).
posts (array) An array of post objects.
meta (object) Meta data

Resource Errors

These are the possible errors returned by this endpoint.

HTTP Code Error Identifier Error Message
400 invalid_field Invalid API FIELD
403 unauthorized User cannot access this private blog.
403 unauthorized User cannot access this restricted blog
400 invalid_context Invalid API CONTEXT
404 invalid_meta_key Invalid meta key
404 unknown_post_type Unknown post type
400 invalid_number The NUMBER parameter must be less than or equal to 100.

Example

curl 'https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/?number=2'
<?php
$options  = array (
  'http' => 
  array (
    'ignore_errors' => true,
  ),
);

$context  = stream_context_create( $options );
$response = file_get_contents(
	'https://public-api.wordpress.com/rest/v1.1/sites/en.blog.wordpress.com/posts/?number=2',
	false,
	$context
);
$response = json_decode( $response );
?>

Response

{
    "found": 1446,
    "posts": [
        {
            "ID": 41414,
            "site_ID": 3584907,
            "author": {
                "ID": 64259130,
                "login": "annezazu",
                "email": false,
                "name": "Anne McCarthy",
                "first_name": "Anne",
                "last_name": "McCarthy",
                "nice_name": "annezazu",
                "URL": "http:\/\/nomad.blog",
                "avatar_URL": "https:\/\/0.gravatar.com\/avatar\/0e2249a7de3404bc6d5207a45e911187?s=96&d=retro",
                "profile_URL": "http:\/\/en.gravatar.com\/annezazu",
                "site_ID": 67167882
            },
            "date": "2019-06-03T12:00:08+00:00",
            "modified": "2019-06-03T12:24:48+00:00",
            "title": "Celebrating Pride Month with WordPress.com",
            "URL": "http:\/\/en.blog.wordpress.com\/2019\/06\/03\/celebrating-pride-month-with-wordpress-com\/",
            "short_URL": "https:\/\/wp.me\/pf2B5-aLY",
            "content": "\n<p style=\"text-align:left;\">Happy Pride Month! My favorite parts about celebrating this month are the stories shared from LGBTQ+ folks, their loved ones, and organizations looking to show support. At WordPress.com, we strive to be a platform that democratizes publishing so that anyone can share their stories <a href=\"https:\/\/ma.tt\/2018\/12\/democratize-publishing-revisited\/\">regardless of income, gender, politics, language, or where they live in the world<\/a>. This month is a great reminder for why we work hard to expand the open web. <\/p>\n\n\n\n<p>For me, democratizing publishing means more than just my ability to publish my own story. It\u2019s about being able to share, but also being able to receive. As I celebrate Pride Month as a young, queer person, I think back to early online communities on which I found other LGBTQ+ people and how much I resonated with their stories. I feel lucky to be able to share my own story, but there are many LGBTQ+ folks who can\u2019t. <\/p>\n\n\n\n<p>To this end, we wanted to provide resources, inspire, and highlight organizations to support as you celebrate Pride Month in your own way, whether that\u2019s seeking out stories or writing your own.<\/p>\n\n\n\n<h3><strong>Resources<\/strong><\/h3>\n\n\n\n<p>The LGBTQ+ community is vast \u2014 I\u2019m part of it, but I\u2019m still learning new things daily. Whether you identify as LGBTQ+ or not, make sure you properly represent the community at large when you share your story with the help of these resources: &nbsp;<\/p>\n\n\n\n<ul><li>It Gets Better Project\u2019s <a href=\"https:\/\/itgetsbetter.org\/blog\/lesson\/glossary\/\">Glossary<\/a><\/li><li>The Trevor Project\u2019s <a href=\"https:\/\/www.thetrevorproject.org\/trvr_support_center\/glossary\/\">Glossary<\/a><\/li><li>ILGA Europe\u2019s <a href=\"https:\/\/www.ilga-europe.org\/resources\/glossary\/letter_a\">Glossary<\/a><\/li><\/ul>\n\n\n\n<p><a href=\"https:\/\/en.blog.wordpress.com\/2018\/08\/02\/diverse-stock-photo-library-pexels\/\">We know how important it is<\/a> to find an image that perfectly fits your writing and, since stock-image libraries <a href=\"https:\/\/medium.com\/@NikkyMill\/where-to-find-free-stock-photos-of-people-of-color-f262b851a1b5\">have historically struggled<\/a> to represent all experiences, we wanted to share some free image options to ease your search this month:<\/p>\n\n\n\n<ul><li><a href=\"https:\/\/broadlygenderphotos.vice.com\/\">The Gender Spectrum Collection<\/a> from Vice<\/li><li><a href=\"https:\/\/www.pexels.com\/search\/gay%20pride\/\">Pexels\u2019 Pride Images<\/a><\/li><li><a href=\"https:\/\/www.pexels.com\/search\/lgbt\/\">Pexels\u2019 LGBT Images<\/a><\/li><\/ul>\n\n\n\n<p>Have any resources to recommend? Please share them in the comments below! Part of our company creed is to <a href=\"https:\/\/automattic.com\/creed\/never-stop-learning\/\">never stop learning<\/a>, and I\u2019d love to learn what resources you all have found useful.<\/p>\n\n\n\n<p><em>Tip: Use&nbsp;the <a href=\"https:\/\/wordpress.com\/tag\/celebratingpride\">#celebratingpride<\/a>&nbsp;tag to connect with other folks sharing their stories. Here’s more information about <\/em><a href=\"https:\/\/en.support.wordpress.com\/posts\/tags\/\"><em>using tags<\/em><\/a><em>. <\/em><\/p>\n\n\n\n<h3><strong>Inspiration from WordPress.com Bloggers<\/strong><\/h3>\n\n\n\n<p>If you want to write but are feeling stuck trying to find the words, take some inspiration this month from these writers with strong voices and varied perspectives: <\/p>\n\n\n\n<ul><li>CN Lester, the author of <a href=\"https:\/\/www.amazon.com\/Trans-Like-Me-Journey-All\/dp\/0349008604\"><em>Trans Like Me<\/em><\/a>, shares their experience at <a href=\"https:\/\/cnlester.wordpress.com\/\"><em>A Gentleman and a Scholar<\/em><\/a><em>.<\/em> <\/li><li>Sam Dylan Finch explores queen\/trans identity, mental health, and self-care on his personal blog, <a href=\"https:\/\/letsqueerthingsup.com\/\"><em>Let\u2019s Queer Things Up!<\/em><\/a> <\/li><li>Blogger and memoirist Lori Duron shares her parenting journey of raising a gender<strong>\u2013<\/strong>creative child at <a href=\"https:\/\/raisingmyrainbow.com\/\"><em>Raising My Rainbow<\/em><\/a>.<\/li><li>Marlo Mack writes about her experience as a single mom of a transgender daughter at <a href=\"https:\/\/gendermom.wordpress.com\/\"><em>Gendermom<\/em><\/a>. <\/li><\/ul>\n\n\n\n<p><em>Tip: Make sure to <\/em><a href=\"https:\/\/en.support.wordpress.com\/following\/\"><em>follow these sites<\/em><\/a><em> so you don’t miss any future posts. <\/em><\/p>\n\n\n\n<h3><strong>Organizations to Support from Around the World<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"41420\" data-permalink=\"http:\/\/en.blog.wordpress.com\/organizations\/\" data-orig-file=\"https:\/\/en-blog.files.wordpress.com\/2019\/05\/organizations.png\" data-orig-size=\"1724,292\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"organizations\" data-image-description=\"\" data-medium-file=\"https:\/\/en-blog.files.wordpress.com\/2019\/05\/organizations.png?w=300\" data-large-file=\"https:\/\/en-blog.files.wordpress.com\/2019\/05\/organizations.png?w=1024\" src=\"https:\/\/en-blog.files.wordpress.com\/2019\/05\/organizations.png\" alt=\"\" class=\"wp-image-41420\" \/><\/figure>\n\n\n\n<p>In partnership with <a href=\"https:\/\/outintech.com\/\">Out in Tech<\/a>, volunteers, including some of my awesome colleagues, have worked together over the last few years to create websites for LGBTQ+ organizations around the world. As you look to find organizations to support, remember to think globally, especially considering <a href=\"https:\/\/76crimes.com\/76-countries-where-homosexuality-is-illegal\/\">there are still 73 nations with laws against being LGBTQ+<\/a>. We hope this list gives you a great place to start:<\/p>\n\n\n\n<ul><li><a href=\"https:\/\/href.li\/?http:\/\/roopbaan.org\/\">Roopbaan<\/a> (Bangladesh)<\/li><li><a href=\"https:\/\/href.li\/?https:\/\/samabhabona.wordpress.com\/\">Samabhabona<\/a> (India)<\/li><li><a href=\"https:\/\/href.li\/?https:\/\/almascautivas.org\/\">Almas Cautivas<\/a> (Mexico)<\/li><li><a href=\"https:\/\/href.li\/?https:\/\/transwaveja.org\/\">TransWave Jamaica<\/a> (Jamaica)<\/li><li><a href=\"https:\/\/tweetindia.org\/\">TweetIndia<\/a> (India)<\/li><li><a href=\"https:\/\/href.li\/?https:\/\/ftmpanama.com\/\">Hombres Trans Panam\u00e1<\/a> (Panam\u00e1)<\/li><li><a href=\"https:\/\/href.li\/?https:\/\/discriminationalphabet.com\/\">Russian LGBT Network<\/a> (Russia)<\/li><li><a href=\"https:\/\/diversidaddominicana.org\">Diversidad Dominicana<\/a> (Dominican Republic &amp; Carribean)<\/li><li><a href=\"https:\/\/stopaidsinliberia.org\/\">SAIL<\/a>: Stop Aids in Liberia (Liberia)<\/li><li><a href=\"https:\/\/aqyi.org\/\">African Queer Youth Initiative<\/a> (Across Africa)<\/li><li><a href=\"https:\/\/rainbowegypt.org\/\">Rainbow Egypt<\/a> (Egypt)<\/li><li><a href=\"https:\/\/href.li\/?https:\/\/rasanorg.com\/\">Rasan<\/a> (Iraq)<\/li><li><a href=\"https:\/\/rustinfund.org\/\">The Rustin Fund<\/a> (USA)<\/li><\/ul>\n\n\n\n<h3><strong>Happy WordPress-ing. Happy Pride.<\/strong><\/h3>\n\n\n\n<p>For those of you sharing your own stories of being LGBTQ+ in this world, thank you for your bravery and vulnerability. <\/p>\n\n\n\n<p>For those of you who can\u2019t share your story, please know that <a href=\"https:\/\/itgetsbetter.org\/\">it gets better<\/a> and that you aren\u2019t alone this month. <\/p>\n\n\n\n<p>For those of you seeking out other people\u2019s stories, thank you for being supportive, being open, and seeking to expand your perspective. <\/p>\n",
            "excerpt": "<p>Happy Pride Month! At Automattic, we strive to be a platform that democratizes publishing so that anyone can share their stories. This month is a great reminder for why we work hard to expand the open web. <\/p>\n",
            "slug": "celebrating-pride-month-with-wordpress-com",
            "guid": "http:\/\/en.blog.wordpress.com\/?p=41414",
            "status": "publish",
            "sticky": false,
            "password": "",
            "parent": false,
            "type": "post",
            "discussion": {
                "comments_open": false,
                "comment_status": "open",
                "pings_open": false,
                "ping_status": "closed",
                "comment_count": 23
            },
            "likes_enabled": true,
            "sharing_enabled": true,
            "like_count": 1085,
            "i_like": false,
            "is_reblogged": false,
            "is_following": false,
            "global_ID": "1d33f4dd58d67b50f1b9b5ec0d4b8769",
            "featured_image": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/art-art-materials-background-1191710-e1558552968889.jpg",
            "post_thumbnail": {
                "ID": 41434,
                "URL": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/art-art-materials-background-1191710-e1558552968889.jpg",
                "guid": "http:\/\/en.blog.files.wordpress.com\/2020\/06\/art-art-materials-background-1191710.jpg",
                "mime_type": "image\/jpeg",
                "width": 2000,
                "height": 888
            },
            "format": "standard",
            "geo": false,
            "menu_order": 0,
            "page_template": "",
            "publicize_URLs": [],
            "terms": {
                "category": {
                    "Community": {
                        "ID": 2528,
                        "name": "Community",
                        "slug": "community",
                        "description": "",
                        "post_count": 327,
                        "parent": 0,
                        "meta": {
                            "links": {
                                "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:community",
                                "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:community\/help",
                                "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907"
                            }
                        }
                    },
                    "Diversity &amp; Inclusion": {
                        "ID": 19542473,
                        "name": "Diversity &amp; Inclusion",
                        "slug": "diversity-inclusion",
                        "description": "",
                        "post_count": 10,
                        "parent": 0,
                        "meta": {
                            "links": {
                                "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:diversity-inclusion",
                                "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:diversity-inclusion\/help",
                                "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907"
                            }
                        }
                    },
                    "WordPress.com": {
                        "ID": 53,
                        "name": "WordPress.com",
                        "slug": "wordpress-com",
                        "description": "",
                        "post_count": 333,
                        "parent": 0,
                        "meta": {
                            "links": {
                                "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:wordpress-com",
                                "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:wordpress-com\/help",
                                "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907"
                            }
                        }
                    }
                },
                "post_tag": {},
                "post_format": {},
                "mentions": {}
            },
            "tags": {},
            "categories": {
                "Community": {
                    "ID": 2528,
                    "name": "Community",
                    "slug": "community",
                    "description": "",
                    "post_count": 327,
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:community",
                            "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:community\/help",
                            "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907"
                        }
                    }
                },
                "Diversity &amp; Inclusion": {
                    "ID": 19542473,
                    "name": "Diversity &amp; Inclusion",
                    "slug": "diversity-inclusion",
                    "description": "",
                    "post_count": 10,
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:diversity-inclusion",
                            "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:diversity-inclusion\/help",
                            "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907"
                        }
                    }
                },
                "WordPress.com": {
                    "ID": 53,
                    "name": "WordPress.com",
                    "slug": "wordpress-com",
                    "description": "",
                    "post_count": 333,
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:wordpress-com",
                            "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:wordpress-com\/help",
                            "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907"
                        }
                    }
                }
            },
            "attachments": {
                "41434": {
                    "ID": 41434,
                    "URL": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/art-art-materials-background-1191710-e1558552968889.jpg",
                    "guid": "http:\/\/en.blog.files.wordpress.com\/2020\/06\/art-art-materials-background-1191710.jpg",
                    "date": "2019-05-22T19:22:02+00:00",
                    "post_ID": 41414,
                    "author_ID": 64259130,
                    "file": "art-art-materials-background-1191710-e1558552968889.jpg",
                    "mime_type": "image\/jpeg",
                    "extension": "jpg",
                    "title": "art-art-materials-background-1191710",
                    "caption": "Photo by Sharon McCutcheon from Pexels",
                    "description": "",
                    "alt": "",
                    "thumbnails": {
                        "thumbnail": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/art-art-materials-background-1191710-e1558552968889.jpg?w=150",
                        "medium": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/art-art-materials-background-1191710-e1558552968889.jpg?w=300",
                        "large": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/art-art-materials-background-1191710-e1558552968889.jpg?w=1024"
                    },
                    "height": 888,
                    "width": 2000,
                    "exif": {
                        "aperture": "0",
                        "credit": "",
                        "camera": "",
                        "caption": "",
                        "created_timestamp": "0",
                        "copyright": "",
                        "focal_length": "0",
                        "iso": "0",
                        "shutter_speed": "0",
                        "title": "",
                        "orientation": "0",
                        "keywords": []
                    },
                    "meta": {
                        "links": {
                            "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/media\/41434",
                            "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/media\/41434\/help",
                            "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907",
                            "parent": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41414"
                        }
                    }
                },
                "41419": {
                    "ID": 41419,
                    "URL": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/art-close-up-conceptual-1280638.jpg",
                    "guid": "http:\/\/en.blog.files.wordpress.com\/2020\/06\/art-close-up-conceptual-1280638.jpg",
                    "date": "2019-05-21T22:15:01+00:00",
                    "post_ID": 41414,
                    "author_ID": 64259130,
                    "file": "art-close-up-conceptual-1280638.jpg",
                    "mime_type": "image\/jpeg",
                    "extension": "jpg",
                    "title": "art-close-up-conceptual-1280638",
                    "caption": "",
                    "description": "",
                    "alt": "",
                    "thumbnails": {
                        "thumbnail": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/art-close-up-conceptual-1280638.jpg?w=150",
                        "medium": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/art-close-up-conceptual-1280638.jpg?w=300",
                        "large": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/art-close-up-conceptual-1280638.jpg?w=1024"
                    },
                    "height": 1125,
                    "width": 2000,
                    "exif": {
                        "aperture": "0",
                        "credit": "",
                        "camera": "",
                        "caption": "",
                        "created_timestamp": "0",
                        "copyright": "",
                        "focal_length": "0",
                        "iso": "0",
                        "shutter_speed": "0",
                        "title": "",
                        "orientation": "1",
                        "keywords": []
                    },
                    "meta": {
                        "links": {
                            "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/media\/41419",
                            "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/media\/41419\/help",
                            "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907",
                            "parent": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41414"
                        }
                    }
                },
                "41418": {
                    "ID": 41418,
                    "URL": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/alphabet-blur-color-1152661.jpg",
                    "guid": "http:\/\/en.blog.files.wordpress.com\/2020\/06\/alphabet-blur-color-1152661.jpg",
                    "date": "2019-05-21T22:14:59+00:00",
                    "post_ID": 41414,
                    "author_ID": 64259130,
                    "file": "alphabet-blur-color-1152661.jpg",
                    "mime_type": "image\/jpeg",
                    "extension": "jpg",
                    "title": "alphabet-blur-color-1152661",
                    "caption": "",
                    "description": "",
                    "alt": "",
                    "thumbnails": {
                        "thumbnail": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/alphabet-blur-color-1152661.jpg?w=150",
                        "medium": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/alphabet-blur-color-1152661.jpg?w=300",
                        "large": "https:\/\/en-blog.files.wordpress.com\/2020\/06\/alphabet-blur-color-1152661.jpg?w=1024"
                    },
                    "height": 1170,
                    "width": 2000,
                    "exif": {
                        "aperture": "0",
                        "credit": "",
                        "camera": "",
                        "caption": "",
                        "created_timestamp": "0",
                        "copyright": "",
                        "focal_length": "0",
                        "iso": "0",
                        "shutter_speed": "0",
                        "title": "",
                        "orientation": "1",
                        "keywords": []
                    },
                    "meta": {
                        "links": {
                            "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/media\/41418",
                            "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/media\/41418\/help",
                            "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907",
                            "parent": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41414"
                        }
                    }
                },
                "41416": {
                    "ID": 41416,
                    "URL": "https:\/\/en-blog.files.wordpress.com\/2019\/05\/pride.jpg",
                    "guid": "http:\/\/en.blog.files.wordpress.com\/2019\/05\/pride.jpg",
                    "date": "2019-05-21T22:13:37+00:00",
                    "post_ID": 41414,
                    "author_ID": 64259130,
                    "file": "pride.jpg",
                    "mime_type": "image\/jpeg",
                    "extension": "jpg",
                    "title": "pride",
                    "caption": "Photo by Steve Johnson from Pexels",
                    "description": "",
                    "alt": "",
                    "thumbnails": {
                        "thumbnail": "https:\/\/en-blog.files.wordpress.com\/2019\/05\/pride.jpg?w=150",
                        "medium": "https:\/\/en-blog.files.wordpress.com\/2019\/05\/pride.jpg?w=300",
                        "large": "https:\/\/en-blog.files.wordpress.com\/2019\/05\/pride.jpg?w=1024"
                    },
                    "height": 1645,
                    "width": 2000,
                    "exif": {
                        "aperture": "0",
                        "credit": "",
                        "camera": "",
                        "caption": "",
                        "created_timestamp": "0",
                        "copyright": "",
                        "focal_length": "0",
                        "iso": "0",
                        "shutter_speed": "0",
                        "title": "",
                        "orientation": "1",
                        "keywords": []
                    },
                    "meta": {
                        "links": {
                            "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/media\/41416",
                            "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/media\/41416\/help",
                            "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907",
                            "parent": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41414"
                        }
                    }
                }
            },
            "attachment_count": 4,
            "metadata": [
                {
                    "id": "70243",
                    "key": "_thumbnail_id",
                    "value": "41434"
                },
                {
                    "id": "70291",
                    "key": "_wpas_done_6699487",
                    "value": "1"
                }
            ],
            "meta": {
                "links": {
                    "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41414",
                    "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41414\/help",
                    "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907",
                    "replies": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41414\/replies\/",
                    "likes": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41414\/likes\/"
                }
            },
            "capabilities": {
                "publish_post": false,
                "delete_post": false,
                "edit_post": false
            },
            "other_URLs": {}
        },
        {
            "ID": 41388,
            "site_ID": 3584907,
            "author": {
                "ID": 29094555,
                "login": "nheagy",
                "email": false,
                "name": "Nate Heagy",
                "first_name": "Nate",
                "last_name": "Heagy",
                "nice_name": "nheagy",
                "URL": "",
                "avatar_URL": "https:\/\/0.gravatar.com\/avatar\/328e440869684940f9e641857199fe53?s=96&d=retro",
                "profile_URL": "http:\/\/en.gravatar.com\/nheagy",
                "site_ID": 108096872
            },
            "date": "2019-05-13T06:00:15+00:00",
            "modified": "2019-05-13T13:00:16+00:00",
            "title": "Publishing to WordPress from Bear Just Got Better",
            "URL": "http:\/\/en.blog.wordpress.com\/2019\/05\/13\/publishing-to-wordpress-from-bear-just-got-better\/",
            "short_URL": "https:\/\/wp.me\/pf2B5-aLy",
            "content": "\n<p>Sharing is a core part of the iOS experience, and <a href=\"https:\/\/wordpress.org\/about\/\">WordPress<\/a> is committed to helping people share their stories, products, or services freely and widely. &nbsp;So when the fine folks at Shiny Frog\u2014makers of the excellent writing app <a href=\"http:\/\/bear.app\/\">Bear<\/a>\u2014asked for an easier way turn Bear notes into WordPress posts, we enthusiastically said yes. We\u2019ve been working together to create a great publishing experience, and today Bear and WordPress both have <a href=\"https:\/\/apps.wordpress.com\/mobile\/\">app updates<\/a> that incorporate this latest and greatest integration.<\/p>\n\n\n\n<p><strong>Go ahead, give it a try! <\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><img data-attachment-id=\"41397\" data-permalink=\"http:\/\/en.blog.wordpress.com\/bear-screen-recording\/\" data-orig-file=\"https:\/\/en-blog.files.wordpress.com\/2019\/05\/bear-screen-recording.gif\" data-orig-size=\"400,710\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"bear-screen-recording\" data-image-description=\"\" data-medium-file=\"https:\/\/en-blog.files.wordpress.com\/2019\/05\/bear-screen-recording.gif?w=169\" data-large-file=\"https:\/\/en-blog.files.wordpress.com\/2019\/05\/bear-screen-recording.gif?w=400\" src=\"https:\/\/en-blog.files.wordpress.com\/2019\/05\/bear-screen-recording.gif\" alt=\"A 10 second screen recording of the process of sharing a note from Bear to WordPress\" class=\"wp-image-41397\" \/><\/figure><\/div>\n\n\n\n<p>The Bear and WordPress apps work together seamlessly to turn your note into a fully-formatted blog post.<\/p>\n\n\n\n<ul><li>Update your <a href=\"https:\/\/itunes.apple.com\/app\/bear\/id1016366447?mt=8\">Bear<\/a> and <a href=\"https:\/\/itunes.apple.com\/app\/bear\/id1016366447?mt=8\">WordPress<\/a> apps to make sure you\u2019re using the latest versions.<\/li><li>Open Bear, and tap the share icon at the top right of a note.<\/li><li>Tap WordPress in the top row of options (learn <a href=\"https:\/\/support.apple.com\/guide\/iphone\/install-app-extensions-iph1750a2241\/ios\">how to enable app extensions on iOS<\/a>).<\/li><li>The WordPress app will open and prepare a new blog post with the contents of your note, complete with proper formatting of headings, links, formatting, lists, and even photos.<\/li><\/ul>\n\n\n\n<p>To automatically give your blog post a title, make sure your Bear note begins with an <strong>H1<\/strong>. You\u2019re all set\u2014the only thing left to do is publish.<\/p>\n\n\n\n<p><strong>How we did it<\/strong><\/p>\n\n\n\n<p>If you\u2019re curious about the technical details: our mobile team updated the app to support <a href=\"http:\/\/textbundle.org\/\">TextBundle<\/a> files shared from other apps. On Bear\u2019s end, the app now knows WordPress for iOS supports TextBundle, and automatically shares notes in that format.<\/p>\n\n\n\n<p>TextBundle is made for sharing plain text files that include attachments like photos, and since it\u2019s &nbsp;built on an open standard, other developers can integrate their apps with it. If you\u2019re an app developer looking to improve your WordPress publishing experience, you can start with Shiny Frog\u2019s <a href=\"https:\/\/github.com\/shinyfrog\/TextBundle\">open source TextBundle library<\/a>, the same one that\u2019s used in WordPress for iOS.<\/p>\n\n\n\n<p>Finally, if you try out this new integration, let us know what you think! <a href=\"https:\/\/apps.wordpress.com\/mobile\/\">Download the WordPress mobile app for iOS and Android<\/a>.<\/p>\n",
            "excerpt": "<p>Sharing is a core part of the iOS experience, and WordPress is committed to helping people share their stories, products, or services freely and widely. &nbsp;So when the fine folks at Shiny Frog\u2014makers of the excellent writing app Bear\u2014asked for an easier way turn Bear notes into WordPress posts, we enthusiastically said yes. We\u2019ve been [&hellip;]<\/p>\n",
            "slug": "publishing-to-wordpress-from-bear-just-got-better",
            "guid": "http:\/\/en.blog.wordpress.com\/?p=41388",
            "status": "publish",
            "sticky": false,
            "password": "",
            "parent": false,
            "type": "post",
            "discussion": {
                "comments_open": false,
                "comment_status": "open",
                "pings_open": false,
                "ping_status": "closed",
                "comment_count": 8
            },
            "likes_enabled": true,
            "sharing_enabled": true,
            "like_count": 765,
            "i_like": false,
            "is_reblogged": false,
            "is_following": false,
            "global_ID": "5378f2126f0a39150be26e32df5ebe0b",
            "featured_image": "https:\/\/en-blog.files.wordpress.com\/2019\/05\/wp-simple-heart.png",
            "post_thumbnail": {
                "ID": 41389,
                "URL": "https:\/\/en-blog.files.wordpress.com\/2019\/05\/wp-simple-heart.png",
                "guid": "http:\/\/en.blog.files.wordpress.com\/2019\/05\/wp-simple-heart.png",
                "mime_type": "image\/png",
                "width": 2048,
                "height": 880
            },
            "format": "standard",
            "geo": false,
            "menu_order": 0,
            "page_template": "",
            "publicize_URLs": [],
            "terms": {
                "category": {
                    "Admin Bar": {
                        "ID": 270,
                        "name": "Admin Bar",
                        "slug": "admin-bar",
                        "description": "",
                        "post_count": 47,
                        "parent": 0,
                        "meta": {
                            "links": {
                                "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:admin-bar",
                                "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:admin-bar\/help",
                                "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907"
                            }
                        }
                    }
                },
                "post_tag": {},
                "post_format": {},
                "mentions": {}
            },
            "tags": {},
            "categories": {
                "Admin Bar": {
                    "ID": 270,
                    "name": "Admin Bar",
                    "slug": "admin-bar",
                    "description": "",
                    "post_count": 47,
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:admin-bar",
                            "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/categories\/slug:admin-bar\/help",
                            "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907"
                        }
                    }
                }
            },
            "attachments": {
                "41389": {
                    "ID": 41389,
                    "URL": "https:\/\/en-blog.files.wordpress.com\/2019\/05\/wp-simple-heart.png",
                    "guid": "http:\/\/en.blog.files.wordpress.com\/2019\/05\/wp-simple-heart.png",
                    "date": "2019-05-09T18:44:38+00:00",
                    "post_ID": 41388,
                    "author_ID": 29094555,
                    "file": "wp-simple-heart.png",
                    "mime_type": "image\/png",
                    "extension": "png",
                    "title": "WP Simple Heart",
                    "caption": "",
                    "description": "",
                    "alt": "",
                    "thumbnails": {
                        "thumbnail": "https:\/\/en-blog.files.wordpress.com\/2019\/05\/wp-simple-heart.png?w=150",
                        "medium": "https:\/\/en-blog.files.wordpress.com\/2019\/05\/wp-simple-heart.png?w=300",
                        "large": "https:\/\/en-blog.files.wordpress.com\/2019\/05\/wp-simple-heart.png?w=1024"
                    },
                    "height": 880,
                    "width": 2048,
                    "exif": {
                        "aperture": "0",
                        "credit": "",
                        "camera": "",
                        "caption": "",
                        "created_timestamp": "0",
                        "copyright": "",
                        "focal_length": "0",
                        "iso": "0",
                        "shutter_speed": "0",
                        "title": "",
                        "orientation": "0",
                        "keywords": []
                    },
                    "meta": {
                        "links": {
                            "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/media\/41389",
                            "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/media\/41389\/help",
                            "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907",
                            "parent": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41388"
                        }
                    }
                }
            },
            "attachment_count": 1,
            "metadata": [
                {
                    "id": "70197",
                    "key": "_thumbnail_id",
                    "value": "41389"
                },
                {
                    "id": "70195",
                    "key": "_wpas_skip_6699487",
                    "value": "1"
                }
            ],
            "meta": {
                "links": {
                    "self": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41388",
                    "help": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41388\/help",
                    "site": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907",
                    "replies": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41388\/replies\/",
                    "likes": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/posts\/41388\/likes\/"
                }
            },
            "capabilities": {
                "publish_post": false,
                "delete_post": false,
                "edit_post": false
            },
            "other_URLs": {}
        }
    ],
    "meta": {
        "links": {
            "counts": "https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/3584907\/post-counts\/post"
        },
        "next_page": "value=2019-05-13T06%3A00%3A15%2B00%3A00&id=41388",
        "wpcom": true
    }
}