WordPress.org

Plugin Directory

Changeset 613647


Ignore:
Timestamp:
10/17/12 16:13:25 (18 months ago)
Author:
jblz
Message:

Jetpack: Synchronize class.json-api-endpoints.php with dotcom

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/class.json-api-endpoints.php

    r613394 r613647  
    55    // The API Object 
    66    var $api; 
     7 
     8    var $pass_wpcom_user_details = false; 
     9    var $can_use_user_details_instead_of_blog_membership = false; 
    710 
    811    // One liner. 
     
    9093            'example_request'      => '', 
    9194            'example_request_data' => '', 
    92             'example_response'     => '' 
     95            'example_response'     => '', 
     96 
     97            'pass_wpcom_user_details' => false, 
     98            'can_use_user_details_instead_of_blog_membership' => false, 
    9399        ); 
    94100 
     
    32973303    ), 
    32983304 
     3305    'pass_wpcom_user_details' => true, 
     3306    'can_use_user_details_instead_of_blog_membership' => true, 
     3307 
    32993308    'example_request'      => 'https://public-api.wordpress.com/rest/v1/sites/30434183/posts/1222/replies/new/', 
    33003309    'example_request_data' =>  array( 
     
    33643373    ), 
    33653374 
     3375    'pass_wpcom_user_details' => true, 
     3376    'can_use_user_details_instead_of_blog_membership' => true, 
     3377 
    33663378    'example_request'      => 'https://public-api.wordpress.com/rest/v1/sites/30434183/comments/8/replies/new/', 
    33673379    'example_request_data' => array( 
Note: See TracChangeset for help on using the changeset viewer.