EDC REST API

plugin banner

EDC REST API

Author:EDC TEAM (profile at wordpress.org)
WordPress version required:5.2
WordPress version tested:6.5.2
Plugin version:1.0.6
Added to WordPress repository:12-04-2023
Last updated:29-04-2024
Rating, %:0
Rated by:0
Plugin URI:https://edc.org.kw/
Total downloads:887
Active installs:40+
plugin download
Click to start download

This plugin enables you to fetch the contents of your site in JSON format by REST API
Such as sections, articles and search results
and return it as json
To be able to use it in your applications or other sites

Endpoints

  1. recent posts
  2. posts
  3. search
  4. categories
  5. category

For develpoers

  • /api/get_category_posts?type={string}&slug={string}&id={int}&count={int}&page={int}
  • /api/get_category_index
  • /api/get_search_results?type={string}&count={int}&page={int}
  • /api/get_recent_posts?type={string}
  • /api/get_posts?type={string}&cat={int}&count={int}&page={int}

Parameters

  1. slug : {string} default: empty post slug
  2. id : {int} default: empty post id
  3. count: {int} default: 5 data display limit
  4. page : {int} default: 1 data display offset
  5. type : {string} default: post post_type

Screenshots
FAQ
ChangeLog