Title: EDC REST API
Author: edckwt
Published: <strong>12 april 2023</strong>
Last modified: 29 april 2024

---

Sök tillägg

![](https://ps.w.org/edc-rest-api/assets/banner-772x250.png?rev=2897767)

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://ps.w.org/edc-rest-api/assets/icon-256x256.png?rev=2897767)

# EDC REST API

 Av [edckwt](https://profiles.wordpress.org/edckwt/)

[Ladda ner](https://downloads.wordpress.org/plugin/edc-rest-api.1.0.6.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/edc-rest-api/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/edc-rest-api/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/edc-rest-api/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/edc-rest-api/#developers)

 [Support](https://wordpress.org/support/plugin/edc-rest-api/)

## Beskrivning

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

## Skärmdumpar

[⌊get_category_index.⌉⌊get_category_index.⌉[

get_category_index.

[⌊get_category_posts.⌉⌊get_category_posts.⌉[

get_category_posts.

[⌊get_search_results⌉⌊get_search_results⌉[

get_search_results

[⌊get_recent_posts⌉⌊get_recent_posts⌉[

get_recent_posts

[⌊get_posts⌉⌊get_posts⌉[

get_posts

## Installation

After active plugin

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

## Vanliga frågor

 1. is it free YES

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”EDC REST API” är programvara med öppen källkod. Följande personer har bidragit 
till detta tillägg.

Bidragande personer

 *   [ edckwt ](https://profiles.wordpress.org/edckwt/)

[Översätt ”EDC REST API” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/edc-rest-api)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/edc-rest-api/), kika
på [SVN-filförvaret](https://plugins.svn.wordpress.org/edc-rest-api/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/edc-rest-api/) via [RSS](https://plugins.trac.wordpress.org/log/edc-rest-api/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 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

## Meta

 *  Version **1.0.6**
 *  Senast uppdaterat **2 år sedan**
 *  Aktiva installationer **40+**
 *  WordPress-version ** 5.2 eller senare **
 *  Testat upp till **6.5.8**
 *  PHP-version ** 7.4 eller senare **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/edc-rest-api/)
 * Etiketter
 * [api](https://sv.wordpress.org/plugins/tags/api/)[JSON](https://sv.wordpress.org/plugins/tags/json/)
   [rest](https://sv.wordpress.org/plugins/tags/rest/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/edc-rest-api/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

[Your review](https://wordpress.org/support/plugin/edc-rest-api/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/edc-rest-api/reviews/)

## Bidragande personer

 *   [ edckwt ](https://profiles.wordpress.org/edckwt/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/edc-rest-api/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](https://edc.org.kw)