API – POST /sites/$site/media/$media_ID

Edit basic information about a media item.

https://developer.wordpress.com/docs/api/1/get/read/following/

https://public-api.wordpress.com/rest/v1.1/sites/$site/media/$media_ID


Rest API Handbook

https://developer.wordpress.org/rest-api/


Resource Information

   
Method GET
URL https://public-api.wordpress.com/rest/v1.1/read/following/
Requires authentication? Yes

Query Parameters

Parameter Type Description
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: 40. Default: 10.
page (int) Return the Nth 1-indexed page of posts.
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.
after (iso 8601 datetime) Return posts dated after the specified datetime.
before (iso 8601 datetime) Return posts dated before the specified datetime.

Response Parameters

Parameter Type Description
ID (int) The post ID.
site_ID (int) The site ID.
author (object) The author of the post.
date (iso 8601 datetime) The post’s creation time.
modified (iso 8601 datetime) The post’s most recent update time.
title (html) context dependent.
URL (url) The full permalink URL to the post.
short_URL (url) The wp.me short URL.
content (html) context dependent.
excerpt (html) context dependent.
slug (string) The name (slug) for the post, used in URLs.
guid (string) The GUID for the post.
status (string)
publish:
The post is published.
draft:
The post is saved as a draft.
pending:
The post is pending editorial approval.
private:
The post is published privately
future:
The post is scheduled for future publishing.
trash:
The post is in the trash.
auto-draft:
The post is a placeholder for a new post.
sticky (bool) Is the post sticky?
password (string) The plaintext password protecting the post, or, more likely, the empty string if the post is not password protected.
parent (object|false) A reference to the post’s parent, if it has one.
type (string) The post’s post_type. Post types besides post, page and revision need to be whitelisted using the rest_api_allowed_post_types filter.
comments_open (bool) Is the post open for comments?
pings_open (bool) Is the post open for pingbacks, trackbacks?
likes_enabled (bool) Is the post open to likes?
sharing_enabled (bool) Should sharing buttons show on this post?
comment_count (int) The number of comments for this post.
like_count (int) The number of likes for this post.
i_like (bool) Does the current user like this post?
is_reblogged (bool) Did the current user reblog this post?
is_following (bool) Is the current user following this blog?
global_ID (string) A unique WordPress.com-wide representation of a post.
featured_image (url) The URL to the featured image for this post if it has one.
post_thumbnail (object) The attachment object for the featured image if it has one.
format (string)
standard:
Standard
aside:
Aside
chat:
Chat
gallery:
Gallery
link:
Link
image:
Image
quote:
Quote
status:
Status
video:
Video
audio:
Audio
geo (object|false)
menu_order (int) (Pages Only) The order pages should appear in.
publicize_URLs (array) Array of Twitter and Facebook URLs published by this post.
tags (object) Hash of tags (keyed by tag name) applied to the post.
categories (object) Hash of categories (keyed by category name) applied to the post.
attachments (object) Hash of post attachments (keyed by attachment ID).
metadata (array) Array of post metadata keys and values. All unprotected meta keys are available by default for read requests. Both unprotected and protected meta keys are available for authenticated requests with access. Protected meta keys can be made available with the rest_api_allowed_public_metadata filter.
meta (object) API result meta data
current_user_can (object) List of permissions. Note, deprecated in favor of `capabilities`
capabilities (object) List of post-specific permissions for the user; publish_post, edit_post, delete_post
date_range (object) date range covered by current results.
number (int) The number of posts brought back by current query.
posts (array) An array of post objects.

Resource Errors

These are the possible errors returned by this endpoint.

HTTP Code Error Identifier Error Message
403 unauthorized User cannot view taxonomy
403 unauthorized User cannot view post
403 authorization_required An active access token must be used to query information about the current user.
403 unauthorized User cannot edit taxonomy
400 invalid_post Invalid post
400 invalid_context Invalid API CONTEXT
403 unauthorized User cannot edit post
404 unknown_post Unknown post

Example

cURL
1
2
3
curl
 -H 'authorization: Bearer YOUR_API_TOKEN'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
$options  = array (
  'http' =>
  array (
    'ignore_errors' => true,
    'header' =>
    array (
      0 => 'authorization: Bearer YOUR_API_TOKEN',
    ),
  ),
);
 
$context  = stream_context_create( $options );
$response = file_get_contents(
    false,
    $context
);
$response = json_decode( $response );
?>

Response

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
{
    "date_range": {
        "before": "2020-09-23T10:00:48+00:00",
        "after": "2020-09-21T23:59:05+00:00"
    },
    "number": 2,
    "posts": [
        {
            "ID": 43333,
            "site_ID": 3584907,
            "author": {
                "ID": 177071748,
                "login": "shaktimb",
                "email": false,
                "name": "Shakti Mb",
                "first_name": "Shakti",
                "last_name": "Mb",
                "nice_name": "shaktimb",
                "URL": "http://test92travel.wordpress.com",
                "avatar_URL": "https://0.gravatar.com/avatar/c1e06475bf3496e81c1925d90d7c890a?s=96&d=retro",
                "profile_URL": "https://en.gravatar.com/shaktimb",
                "ip_address": false,
                "site_ID": 170534264,
                "site_visible": true
            },
            "date": "2020-09-23T10:00:48+00:00",
            "modified": "2020-09-23T10:00:48+00:00",
            "title": "A Better Way to Discover Blogs and Get Inspired",
            "URL": "http://en.blog.wordpress.com/2020/09/23/discover-blogs-get-inspired-wordpress-reader/",
            "short_URL": "https://wp.me/pf2B5-bgV",
            "content": "n<p class="has-drop-cap">WordPress is home to millions of sites across countless topics. It’s a big and beautiful world, and we want to make it easier for you to discover new voices. Over the past few months, the mobile team has been working hard to improve the experience of your WordPress Reader on the mobile app. In particular, weu2019ve been exploring different ways for you to discover new blogs and find inspiration.</p>nnnn<p>The new <strong>Discover</strong> tab on your Reader will recommend blogs and posts based on topics you follow. These changes give you more control over what you see, making it easier for you to find interesting voices, while also giving you and your site the opportunity to find a bigger audience.&nbsp;</p>nnnn<figure class="wp-block-image size-large"><a href="https://en-blog.files.wordpress.com/2020/09/top-shot-4.png"><img data-attachment-id="43356" data-permalink="http://en.blog.wordpress.com/top-shot-4/" data-orig-file="https://en-blog.files.wordpress.com/2020/09/top-shot-4.png" data-orig-size="4416,3900" 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="top-shot-4" data-image-description="" data-medium-file="https://en-blog.files.wordpress.com/2020/09/top-shot-4.png?w=300" data-large-file="https://en-blog.files.wordpress.com/2020/09/top-shot-4.png?w=1024" src="https://en-blog.files.wordpress.com/2020/09/top-shot-4.png?w=1024" alt="" class="wp-image-43356" srcset="https://en-blog.files.wordpress.com/2020/09/top-shot-4.png?w=1024 1024w, https://en-blog.files.wordpress.com/2020/09/top-shot-4.png?w=2048 2048w, https://en-blog.files.wordpress.com/2020/09/top-shot-4.png?w=150 150w, https://en-blog.files.wordpress.com/2020/09/top-shot-4.png?w=300 300w, https://en-blog.files.wordpress.com/2020/09/top-shot-4.png?w=768 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>nnnn<h3>How it works</h3>nnnn<p>Add appropriate <a href="https://wordpress.com/support/posts/categories-vs-tags/">tags and categories</a> when drafting your blog posts u2014 this helps us recommend your posts to the right audience.&nbsp;</p>nnnn<p>The topics you now see in your improved Reader are a combination of tags and categories. If you want to find interesting blogs, follow topics you care about. The Discover tab will then show you recommended blogs and posts based on those topics.</p>nnnn<figure class="wp-block-image size-large"><a href="https://en-blog.files.wordpress.com/2020/09/discover-feed-2.png"><img data-attachment-id="43357" data-permalink="http://en.blog.wordpress.com/discover-feed-2/" data-orig-file="https://en-blog.files.wordpress.com/2020/09/discover-feed-2.png" data-orig-size="4416,3900" 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="discover-feed-2" data-image-description="" data-medium-file="https://en-blog.files.wordpress.com/2020/09/discover-feed-2.png?w=300" data-large-file="https://en-blog.files.wordpress.com/2020/09/discover-feed-2.png?w=1024" src="https://en-blog.files.wordpress.com/2020/09/discover-feed-2.png?w=1024" alt="" class="wp-image-43357" srcset="https://en-blog.files.wordpress.com/2020/09/discover-feed-2.png?w=1024 1024w, https://en-blog.files.wordpress.com/2020/09/discover-feed-2.png?w=2048 2048w, https://en-blog.files.wordpress.com/2020/09/discover-feed-2.png?w=150 150w, https://en-blog.files.wordpress.com/2020/09/discover-feed-2.png?w=300 300w, https://en-blog.files.wordpress.com/2020/09/discover-feed-2.png?w=768 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>nnnn<p>Each post on the Discover tab has a list of topics on top. If you want to go deeper into a topic, tap on it to see a feed of blog posts from that specific topic.</p>nnnn<figure class="wp-block-image size-large"><a href="https://en-blog.files.wordpress.com/2020/09/topic-chips.png"><img data-attachment-id="43337" data-permalink="http://en.blog.wordpress.com/topic-chips/" data-orig-file="https://en-blog.files.wordpress.com/2020/09/topic-chips.png" data-orig-size="4416,798" 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="topic-chips" data-image-description="" data-medium-file="https://en-blog.files.wordpress.com/2020/09/topic-chips.png?w=300" data-large-file="https://en-blog.files.wordpress.com/2020/09/topic-chips.png?w=1024" src="https://en-blog.files.wordpress.com/2020/09/topic-chips.png?w=1024" alt="" class="wp-image-43337" srcset="https://en-blog.files.wordpress.com/2020/09/topic-chips.png?w=1024 1024w, https://en-blog.files.wordpress.com/2020/09/topic-chips.png?w=2048 2048w, https://en-blog.files.wordpress.com/2020/09/topic-chips.png?w=150 150w, https://en-blog.files.wordpress.com/2020/09/topic-chips.png?w=300 300w, https://en-blog.files.wordpress.com/2020/09/topic-chips.png?w=768 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>nnnn<p>If youu2019d like to see more posts from a particular topic on your Discover feed, tap the <strong>Follow</strong> button from that topic feed.</p>nnnn<figure class="wp-block-image size-large"><a href="https://en-blog.files.wordpress.com/2020/09/topic-feed-1.png"><img data-attachment-id="43344" data-permalink="http://en.blog.wordpress.com/topic-feed-1/" data-orig-file="https://en-blog.files.wordpress.com/2020/09/topic-feed-1.png" data-orig-size="4416,2649" 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="topic-feed-1" data-image-description="" data-medium-file="https://en-blog.files.wordpress.com/2020/09/topic-feed-1.png?w=300" data-large-file="https://en-blog.files.wordpress.com/2020/09/topic-feed-1.png?w=1024" src="https://en-blog.files.wordpress.com/2020/09/topic-feed-1.png?w=1024" alt="" class="wp-image-43344" srcset="https://en-blog.files.wordpress.com/2020/09/topic-feed-1.png?w=1024 1024w, https://en-blog.files.wordpress.com/2020/09/topic-feed-1.png?w=2048 2048w, https://en-blog.files.wordpress.com/2020/09/topic-feed-1.png?w=150 150w, https://en-blog.files.wordpress.com/2020/09/topic-feed-1.png?w=300 300w, https://en-blog.files.wordpress.com/2020/09/topic-feed-1.png?w=768 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>nnnn<p>Soon weu2019ll be rolling out improvements to posts on the Reader as well. To give blog posts more room to shine, the featured image will be more prominent.&nbsp;</p>nnnn<figure class="wp-block-image size-large"><a href="https://en-blog.files.wordpress.com/2020/09/post-detail-view.png"><img data-attachment-id="43340" data-permalink="http://en.blog.wordpress.com/post-detail-view/" data-orig-file="https://en-blog.files.wordpress.com/2020/09/post-detail-view.png" data-orig-size="4902,2250" 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="post-detail-view" data-image-description="" data-medium-file="https://en-blog.files.wordpress.com/2020/09/post-detail-view.png?w=300" data-large-file="https://en-blog.files.wordpress.com/2020/09/post-detail-view.png?w=1024" src="https://en-blog.files.wordpress.com/2020/09/post-detail-view.png?w=1024" alt="" class="wp-image-43340" srcset="https://en-blog.files.wordpress.com/2020/09/post-detail-view.png?w=1024 1024w, https://en-blog.files.wordpress.com/2020/09/post-detail-view.png?w=2048 2048w, https://en-blog.files.wordpress.com/2020/09/post-detail-view.png?w=150 150w, https://en-blog.files.wordpress.com/2020/09/post-detail-view.png?w=300 300w, https://en-blog.files.wordpress.com/2020/09/post-detail-view.png?w=768 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>nnnn<p>If youu2019d like to try the new Discover tab, make sure you update your WordPress app to the latest version. If you donu2019t have the app yet, <a href="https://apps.wordpress.com/mobile/">you can download it for free, on both Android and iOS</a>. Weu2019d love to hear your thoughts on the new experience. For specific feedback on the updates, reach out to us from within the app by going to <strong>My Site,</strong> tapping your photo on the top right, tapping <strong>Help &amp; Support</strong> u2192 and then selecting <strong>Contact Support.</strong></p>n",
            "excerpt": "<p>Today, weu2019re announcing improvements to WordPress Reader on your mobile app.</p>n",
            "slug": "discover-blogs-get-inspired-wordpress-reader",
            "guid": "http://en.blog.wordpress.com/?p=43333",
            "status": "publish",
            "sticky": false,
            "password": "",
            "parent": false,
            "type": "post",
            "comments_open": true,
            "pings_open": false,
            "likes_enabled": true,
            "sharing_enabled": true,
            "comment_count": 16,
            "like_count": 436,
            "i_like": false,
            "is_reblogged": false,
            "is_following": true,
            "global_ID": "9604dd66e3f957038314b1000959b035",
            "featured_image": "https://en-blog.files.wordpress.com/2020/09/frame-1311.png",
            "post_thumbnail": {
                "ID": 43355,
                "URL": "https://en-blog.files.wordpress.com/2020/09/frame-1311.png",
                "guid": "http://en.blog.files.wordpress.com/2020/09/frame-1311.png",
                "mime_type": "image/png",
                "width": 4995,
                "height": 2031
            },
            "format": "standard",
            "geo": false,
            "menu_order": 0,
            "publicize_URLs": [],
            "tags": {
                "WordPress.com Reader": {
                    "ID": 79269618,
                    "name": "WordPress.com Reader",
                    "slug": "wordpress-com-reader",
                    "description": "",
                    "post_count": 8,
                    "feed_url": "http://en.blog.wordpress.com/tag/wordpress-com-reader/feed/",
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:wordpress-com-reader",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:wordpress-com-reader/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                }
            },
            "categories": {
                "Better Blogging": {
                    "ID": 172474,
                    "name": "Better Blogging",
                    "slug": "better-blogging",
                    "description": "",
                    "post_count": 102,
                    "feed_url": "http://en.blog.wordpress.com/category/better-blogging/feed/",
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:better-blogging",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:better-blogging/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                },
                "Community": {
                    "ID": 2528,
                    "name": "Community",
                    "slug": "community",
                    "description": "",
                    "post_count": 348,
                    "feed_url": "http://en.blog.wordpress.com/category/community/feed/",
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:community",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:community/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                },
                "Design": {
                    "ID": 148,
                    "name": "Design",
                    "slug": "design",
                    "description": "",
                    "post_count": 71,
                    "feed_url": "http://en.blog.wordpress.com/category/design/feed/",
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:design",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:design/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                },
                "Mobile": {
                    "ID": 120,
                    "name": "Mobile",
                    "slug": "mobile",
                    "description": "",
                    "post_count": 54,
                    "feed_url": "http://en.blog.wordpress.com/category/mobile/feed/",
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:mobile",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:mobile/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                },
                "Reading": {
                    "ID": 1473,
                    "name": "Reading",
                    "slug": "reading",
                    "description": "",
                    "post_count": 44,
                    "feed_url": "http://en.blog.wordpress.com/category/reading/feed/",
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:reading",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:reading/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                },
                "WordPress": {
                    "ID": 33,
                    "name": "WordPress",
                    "slug": "wordpress",
                    "description": "",
                    "post_count": 70,
                    "feed_url": "http://en.blog.wordpress.com/category/wordpress/feed/",
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:wordpress",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:wordpress/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                },
                "WordPress.com": {
                    "ID": 53,
                    "name": "WordPress.com",
                    "slug": "wordpress-com",
                    "description": "",
                    "post_count": 364,
                    "feed_url": "http://en.blog.wordpress.com/category/wordpress-com/feed/",
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:wordpress-com",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:wordpress-com/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                }
            },
            "attachments": {
                "43355": {
                    "ID": 43355,
                    "URL": "https://en-blog.files.wordpress.com/2020/09/frame-1311.png",
                    "guid": "http://en.blog.files.wordpress.com/2020/09/frame-1311.png",
                    "mime_type": "image/png",
                    "width": 4995,
                    "height": 2031
                },
                "43347": {
                    "ID": 43347,
                    "URL": "https://en-blog.files.wordpress.com/2020/09/top-shot-3.png",
                    "guid": "http://en.blog.files.wordpress.com/2020/09/top-shot-3.png",
                    "mime_type": "image/png",
                    "width": 5475,
                    "height": 3655
                },
                "43345": {
                    "ID": 43345,
                    "URL": "https://en-blog.files.wordpress.com/2020/09/top-shot-2.png",
                    "guid": "http://en.blog.files.wordpress.com/2020/09/top-shot-2.png",
                    "mime_type": "image/png",
                    "width": 5888,
                    "height": 5200
                }
            },
            "metadata": [
                {
                    "id": "74370",
                    "key": "_thumbnail_id",
                    "value": "43355"
                },
                {
                    "id": "74407",
                    "key": "_wpas_done_24830964",
                    "value": "1"
                }
            ],
            "meta": {
                "links": {
                    "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/posts/43333",
                    "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/posts/43333/help",
                    "site": "https://public-api.wordpress.com/rest/v1/sites/3584907",
                    "replies": "https://public-api.wordpress.com/rest/v1/sites/3584907/posts/43333/replies/",
                    "likes": "https://public-api.wordpress.com/rest/v1/sites/3584907/posts/43333/likes/"
                }
            },
            "current_user_can": {
                "publish_post": false,
                "delete_post": false,
                "edit_post": false
            },
            "capabilities": {
                "publish_post": false,
                "delete_post": false,
                "edit_post": false
            },
            "pseudo_ID": "9604dd66e3f957038314b1000959b035",
            "is_external": false,
            "site_name": "The WordPress.com Blog",
            "site_URL": "http://en.blog.wordpress.com",
            "site_is_private": false,
            "featured_media": {
                "uri": "https://en-blog.files.wordpress.com/2020/09/frame-1311.png",
                "width": 4995,
                "height": 2031,
                "type": "image"
            },
            "feed_ID": 25823
        },
        {
            "ID": 43321,
            "site_ID": 3584907,
            "author": {
                "ID": 60320595,
                "login": "yanirseroussi",
                "email": false,
                "name": "Yanir Seroussi",
                "first_name": "Yanir",
                "last_name": "Seroussi",
                "nice_name": "yanirseroussi",
                "URL": "http://yanirseroussi.com",
                "avatar_URL": "https://1.gravatar.com/avatar/dda019c47a6183120608a6aeac2db6c5?s=96&d=retro",
                "profile_URL": "https://en.gravatar.com/yanirseroussi",
                "ip_address": false,
                "site_ID": 63023584,
                "site_visible": true
            },
            "date": "2020-09-21T23:59:05+00:00",
            "modified": "2020-09-21T23:59:05+00:00",
            "title": "Toward zero: Reducing and offsetting our data center power emissions",
            "URL": "http://en.blog.wordpress.com/2020/09/21/toward-zero-reducing-and-offsetting-our-data-center-power-emissions/",
            "short_URL": "https://wp.me/pf2B5-bgJ",
            "content": "n<p>Following the massive Australian bushfires earlier this year, I was motivated to act within my role as a data scientist at Automattic to help fight <a href="https://en.wikipedia.org/wiki/Attribution_of_recent_climate_change">anthropogenic climate change</a>. Together with colleagues from across the company, we formed <a href="https://automattic.com/employee-resource-groups/">an employee resource group focused on sustainability</a>. We are pleased to announce that as a result of our efforts, Automattic now offsets data center power emissions produced from non-renewable sources. This means that the servers running WordPress.com, WordPress VIP, Tumblr, and <a href="https://automattic.com/">other Automattic services</a> contribute net zero carbon emissions to our shared atmosphere.</p>nnnn<p>Measuring and offsetting emissions is not a trivial task. In the interest of transparency, this post provides more details on the decisions we made and answers questions that readers may have on the topic. We hope that this will benefit other organizations that are in a similar position to Automattic. We welcome feedback and are happy to answer any other questions you may have.</p>nnnn<p><strong>The decision:</strong> For 2020, we decided to purchase offsets from <a href="http://www.simoshi.org">Simoshi</a> via <a href="https://offset.climateneutralnow.org/">the United Nationsu2019 offset platform</a>. These offsets are produced by improving the efficiency of cooking stoves in Ugandan schools. Emission reductions are achieved by using less wood to cook the same amount of food. This project also has third-party certification from the <a href="https://www.goldstandard.org/">Gold Standard</a>, and it contributes to nine of <a href="https://sustainabledevelopment.un.org/sdgs">the United Nationsu2019 Sustainable Development Goals</a>, including <em>No Poverty</em>, <em>Quality Education</em>, and <em>Gender Equality</em>. See <a href="https://offset.climateneutralnow.org/institutional-improved-cook-stoves-for-schools-and-institutions-in-uganda">the project page</a> and the following video for more details:</p>nnnn<figure class="wp-block-embed is-type-rich is-provider-vimeo wp-block-embed-vimeo wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">n<div class="embed-vimeo"></iframe></div>n</div></figure>nnnn<p><strong>Why did we choose this project? </strong>Anyone whou2019s tried to purchase offsets knows that it can be complicated. We donu2019t have in-house sustainability experts, so we relied on publicly-available information to better understand the topic. Resources we found useful include: <a href="https://www.offsetguide.org/">Carbon Offset Guide</a>, <a href="https://www.atmosfair.de/en/">atmosfair</a>, and <a href="https://ghgprotocol.org/">Greenhouse Gas Protocol</a>. As the price of offsets varies widely, we chose to <a href="https://blogs.microsoft.com/blog/2020/01/16/microsoft-will-be-carbon-negative-by-2030/">follow Microsoft’s approach</a> and set our own internal price of $15 per metric tonne of CO<sub>2</sub>e. Simoshiu2019s project stood out because it matches our budget, has a clear emission reduction mechanism, is certified by the United Nations and the Gold Standard, and has many benefits beyond emission reductions, which align with our companyu2019s values.</p>nnnn<p><strong>What emissions do our offsets cover?</strong> Automattic has servers in many data centers around the world, operated by different providers.<strong> </strong>As we donu2019t control the data center providersu2019 choice of energy utilities, we treat the emissions from data center power use as being in <a href="https://ghgprotocol.org/sites/default/files/standards_supporting/FAQ.pdf">Scope 3</a>, i.e., as indirect emissions from our value chain. For each data center, we used publicly-available information from our providers to determine whether theyu2019re powered by renewable resources. This led us to conclude that approximately half of our data center energy use is covered by renewables paid for by the data center providers. For the other data centers, we used our serversu2019 power consumption logs to get the estimated power used over a period of one year. We then multiplied these figures by 1.5 to obtain a conservative estimate that accounts for <a href="https://en.wikipedia.org/wiki/Power_usage_effectiveness">power usage effectiveness</a>. Using a variety of resources on grid carbon intensity, such as those published by <a href="https://www.epa.gov/egrid/emissions-generation-resource-integrated-database-egrid">the American Environmental Protection Agency</a> and <a href="https://www.eea.europa.eu/data-and-maps/daviz/co2-emission-intensity-5#tab-googlechartid_chart_11_filters=%7B%22rowFilters%22%3A%7B%7D%3B%22columnFilters%22%3A%7B%22pre_config_ugeo%22%3A%5B%22European%20Union%20(current%20composition)%22%5D%7D%7D">the European Environment Agency</a>, we converted these power use estimates to emission estimates. This gave us an overall figure of 1,850 tonnes of CO<sub>2</sub>e<strong> </strong>for 2020.</p>nnnn<p><strong>Why offset rather than reduce emissions?</strong> We are aware that offsetting is an imperfect solution. Ideally, we would source all our energy from renewables. In a perfect world, it wouldnu2019t even be possible to buy energy generated by burning fossil fuels. However, given the current reality, setting our own price on carbon and offsetting non-renewable data center emissions is a good temporary solution. This also gives us a financial incentive to work with providers and shift toward greener data centers. In fact, this sort of shift happened last year when we changed our main European data center to a provider that operates on 100% renewables.<strong> </strong>We hope to continue making such changes in coming years, i.e., reducing emissions where feasible and offsetting the rest.</p>nnnn<p><strong>Why arenu2019t we doing more? </strong>From watching the climate action space, it seems like every announcement is greeted with demands to do more. This is a positive thing u2014 society should hold companies accountable for their actions. As a company, we believe that we can always do better: The opening sentence of <a href="https://automattic.com/creed/">our creed</a> is<strong> </strong><em>u201cI will never stop learningu201d</em>, and we know that we are <em>u201cin a marathon, not a sprint.u201d</em> It is our hope that as we learn more about the space and our impact, we will be able to take stronger climate action.</p>nnnn<p><strong>What are we planning to do next?</strong> Automattic is a fully-distributed company. This means that our employees arenu2019t required to commute to central offices, which leads to significant savings in carbon emissions. However, we historically relied on flying to in-person meetups a few times a year to foster collaboration and bonding. Since March 2020, all business travel has been suspended, and it is still unclear what travel will look like in the post-pandemic world. In any case, as an employee resource group, we are planning on quantifying our travel emissions, and advocating for reducing avoidable trips and offsetting emissions from trips that are deemed essential. One change that is already taking place is aligning more teams around fewer time zones. In addition to helping with synchronous collaboration and decreasing isolation, this will reduce the distance traveled per person once meetups resume. We will share more on other actions we take in the future u2014 watch this space! We also welcome feedback from our customers, so please comment on this post or <a href="https://wordpress.com/help/contact">contact us</a> to share your thoughts.</p>n",
            "excerpt": "<p>Following the massive Australian bushfires earlier this year, I was motivated to act within my role as a data scientist at Automattic to help fight anthropogenic climate change. Together with colleagues from across the company, we formed an employee resource group focused on sustainability. We are pleased to announce that as a result of our [&hellip;]</p>n",
            "slug": "toward-zero-reducing-and-offsetting-our-data-center-power-emissions",
            "guid": "http://en.blog.wordpress.com/?p=43321",
            "status": "publish",
            "sticky": false,
            "password": "",
            "parent": false,
            "type": "post",
            "comments_open": true,
            "pings_open": false,
            "likes_enabled": true,
            "sharing_enabled": true,
            "comment_count": 23,
            "like_count": 593,
            "i_like": false,
            "is_reblogged": false,
            "is_following": true,
            "global_ID": "4386442705dde9a7526a2ffa9c99116e",
            "featured_image": "https://en-blog.files.wordpress.com/2020/09/wind-turbine-field.jpg",
            "post_thumbnail": {
                "ID": 43327,
                "URL": "https://en-blog.files.wordpress.com/2020/09/wind-turbine-field.jpg",
                "guid": "http://en.blog.files.wordpress.com/2020/09/wind-turbine-field.jpg",
                "mime_type": "image/jpeg",
                "width": 5364,
                "height": 3576
            },
            "format": "standard",
            "geo": false,
            "menu_order": 0,
            "publicize_URLs": [],
            "tags": {
                "Automattic": {
                    "ID": 55574,
                    "name": "Automattic",
                    "slug": "automattic",
                    "description": "",
                    "post_count": 22,
                    "feed_url": "http://en.blog.wordpress.com/tag/automattic/feed/",
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:automattic",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:automattic/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                },
                "carbon offsets": {
                    "ID": 531765,
                    "name": "carbon offsets",
                    "slug": "carbon-offsets",
                    "description": "",
                    "post_count": 1,
                    "feed_url": "http://en.blog.wordpress.com/tag/carbon-offsets/feed/",
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:carbon-offsets",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:carbon-offsets/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                },
                "climate": {
                    "ID": 6108,
                    "name": "climate",
                    "slug": "climate",
                    "description": "",
                    "post_count": 1,
                    "feed_url": "http://en.blog.wordpress.com/tag/climate/feed/",
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:climate",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:climate/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                },
                "data center": {
                    "ID": 78171,
                    "name": "data center",
                    "slug": "data-center",
                    "description": "",
                    "post_count": 1,
                    "feed_url": "http://en.blog.wordpress.com/tag/data-center/feed/",
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:data-center",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:data-center/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                },
                "emissions": {
                    "ID": 74960,
                    "name": "emissions",
                    "slug": "emissions",
                    "description": "",
                    "post_count": 1,
                    "feed_url": "http://en.blog.wordpress.com/tag/emissions/feed/",
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:emissions",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/tags/slug:emissions/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                }
            },
            "categories": {
                "Automattic": {
                    "ID": 55574,
                    "name": "Automattic",
                    "slug": "automattic",
                    "description": "",
                    "post_count": 57,
                    "feed_url": "http://en.blog.wordpress.com/category/automattic/feed/",
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:automattic",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:automattic/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                },
                "behind the scenes": {
                    "ID": 59824,
                    "name": "behind the scenes",
                    "slug": "behind-the-scenes",
                    "description": "",
                    "post_count": 27,
                    "feed_url": "http://en.blog.wordpress.com/category/behind-the-scenes/feed/",
                    "parent": 0,
                    "meta": {
                        "links": {
                            "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:behind-the-scenes",
                            "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/categories/slug:behind-the-scenes/help",
                            "site": "https://public-api.wordpress.com/rest/v1/sites/3584907"
                        }
                    }
                }
            },
            "attachments": {
                "43328": {
                    "ID": 43328,
                    "URL": "https://en-blog.files.wordpress.com/2020/09/pexels-photo-414837.jpeg",
                    "guid": "http://en.blog.files.wordpress.com/2020/09/pexels-photo-414837.jpeg",
                    "mime_type": "image/jpeg",
                    "width": 1880,
                    "height": 1253
                },
                "43327": {
                    "ID": 43327,
                    "URL": "https://en-blog.files.wordpress.com/2020/09/wind-turbine-field.jpg",
                    "guid": "http://en.blog.files.wordpress.com/2020/09/wind-turbine-field.jpg",
                    "mime_type": "image/jpeg",
                    "width": 5364,
                    "height": 3576
                }
            },
            "metadata": [
                {
                    "id": "74317",
                    "key": "_thumbnail_id",
                    "value": "43327"
                },
                {
                    "id": "74334",
                    "key": "_wpas_done_24830964",
                    "value": "1"
                }
            ],
            "meta": {
                "links": {
                    "self": "https://public-api.wordpress.com/rest/v1/sites/3584907/posts/43321",
                    "help": "https://public-api.wordpress.com/rest/v1/sites/3584907/posts/43321/help",
                    "site": "https://public-api.wordpress.com/rest/v1/sites/3584907",
                    "replies": "https://public-api.wordpress.com/rest/v1/sites/3584907/posts/43321/replies/",
                    "likes": "https://public-api.wordpress.com/rest/v1/sites/3584907/posts/43321/likes/"
                }
            },
            "current_user_can": {
                "publish_post": false,
                "delete_post": false,
                "edit_post": false
            },
            "capabilities": {
                "publish_post": false,
                "delete_post": false,
                "edit_post": false
            },
            "pseudo_ID": "4386442705dde9a7526a2ffa9c99116e",
            "is_external": false,
            "site_name": "The WordPress.com Blog",
            "site_URL": "http://en.blog.wordpress.com",
            "site_is_private": false,
            "featured_media": {
                "uri": "https://en-blog.files.wordpress.com/2020/09/pexels-photo-414837.jpeg",
                "width": 1880,
                "height": 1253,
                "type": "image"
            },
            "feed_ID": 25823
        }
    ]
}
Scroll to Top