X Tutup
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 0 additions & 113 deletions docs/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -702,116 +702,3 @@ Get stats from Akismet filtered spam.
}
}
```

### VaultPress data

#### GET /wp-json/jetpack/v4/module/vaultpress/data

Get date of last backup or status and information about actions for user to take.

**Example response**
```
{
"code": "success",
"message": "Your site was successfully backed-up 28 mins ago.",
"data": {
"features": {
"backups": true,
"security": true
},
"settings": {
"has_filesystem_connection": true
},
"errors": {},
"site_id": 86437,
"active": true,
"ticker": {
"message": "Processing db changes from ping"
},
"backups": {
"full_backup_status": "100% complete",
"stats": {
"users": 0,
"comments": 0,
"attachments": "61",
"custom_css": "2",
"jp_img_sitemap": "2",
"jp_sitemap": "2",
"jp_sitemap_master": "2",
"nav_menu_item": "1",
"pages": "3",
"posts": "39",
"revisions": "319",
"categories": "4",
"nav_menu": "1",
"post_format": "3",
"post_tags": "16",
"published_posts": "22",
"post_types": {
"attachment": "61",
"custom_css": "2",
"jp_img_sitemap": "2",
"jp_sitemap": "2",
"jp_sitemap_master": "2",
"nav_menu_item": "1",
"page": "3",
"post": "39",
"revision": "319"
},
"uploads": "274",
"themes": "12",
"plugins": "9",
"total_snapshots": "2592",
"oldest_snapshot": 85499292
},
"last_backup": 892388,
"has_full_backup": true
},
"security": {
"notice_count": 0
},
"activity": {
"1933": {
"when": 1506428487,
"message": "Completed a full sync of the wp_comments table"
},
"1934": {
"when": 1506428495,
"message": "Completed a full sync of the wp_links table"
},
"1935": {
"when": 1506428505,
"message": "Completed a full sync of the wp_options table"
},
"1936": {
"when": 1506428513,
"message": "Completed a full sync of the wp_postmeta table"
},
"1937": {
"when": 1506428528,
"message": "Completed a full sync of the wp_posts table"
},
"1938": {
"when": 1506428536,
"message": "Completed a full sync of the wp_commentmeta table"
},
"1939": {
"when": 1506428544,
"message": "Completed a full sync of the wp_users table"
},
"1940": {
"when": 1506428552,
"message": "Completed a full sync of the wp_usermeta table"
},
"1941": {
"when": 1506428560,
"message": "Completed a full sync of the wp_termmeta table"
},
"1942": {
"when": 1506428566,
"message": "VaultPress has just fully synchronized with your site"
}
}
}
}
```
X Tutup