summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php')
-rw-r--r--plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php
index 36f2d020..98186ca3 100644
--- a/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php
+++ b/plugins/jetpack/json-endpoints/class.wpcom-json-api-update-post-v1-2-endpoint.php
@@ -11,6 +11,9 @@ new WPCOM_JSON_API_Update_Post_v1_2_Endpoint( array(
'path_labels' => array(
'$site' => '(int|string) Site ID or domain',
),
+ 'query_parameters' => array(
+ 'autosave' => '(bool) True if the post was saved automatically.',
+ ),
'request_format' => array(
// explicitly document all input