New answers tagged plugin-json-api
I assume you're using this plugin? From the docs it seems you can use standard query arguments, so try: /api/get_posts/?job_loc=yangon&page=10&count=5
To get only child pages (pages that have parent selected), you can use this query: http://example.com/api/get_posts/?post_type=page&posts_per_page=1&orderby=rand&post_parent__not_in= And that should also give you the answer for your second question, I guess ;) If you want to pass array(1=>'foo', 2=>'bar') as param called my_array, you ...
As @TheDeadMedic mentioned the API will exclude any meta with underscore. It's not a good idea to remove the underscore as it might break something in your code or dependencies, however you can try adding a code like this in your functions.php to unprotect the desired meta add_filter( 'is_protected_meta', 'wp692_meta_unprotect', 10, 2 ); function ...
Top 50 recent answers are included