Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

EDC REST API

Aprašymas

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

Ekrano nuotraukos

  • get_category_index.
  • get_category_posts.
  • get_search_results
  • get_recent_posts
  • get_posts

Diegimas

After active plugin

  1. go to dashboard => settings => permalinks
  2. do save to active endpoint /api

DUK

  1. is it free YES

Atsiliepimai

Įskiepis neturi atsiliepimų.

Programuotojai ir komandos nariai

“EDC REST API” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

1.0.6

  • Update code
  • Fixed pagination

1.0.5

  • Update code

1.0.4

  • Update code

1.0.3

  • Update code

1.0.2

  • Update code

1.0.1

  • Update code

1.0.0

  • first edition