-
Notifications
You must be signed in to change notification settings - Fork 1
Api Doc
赵丰 (Zhao Feng) edited this page Jan 5, 2019
·
4 revisions
Method: POST Url: [webroot]/wp-admin/admin-ajax.php Headers: ... Parameters:
-
wordpress default...
- wsync_history, if equals 'wsync_Yes', fetch url data from tencent server
- offset, used to set the offset parameter, nonnegative number
- num, number of urls to fetch, between 1~20
- debug, if equals 'on', the returned json may contain more detailed information
- keep_style, if equals 'keep', keep the css of the wechat article; otherwise, don't keep.
- keep_source, if equals 'keep', keep the original source at the botumn of the wordpress post
- post_status, choices from ['publish','pending','draft']. if not provided, default to 'publish'.
- change_post_time, if equals 'true', use current time to publish the post.
Returned Results: application/json
- status_code type int, if larger than 0, no err_occurs.
- err_msg type string, See Error-Message
- data