跳到内容

API Endpoints

v1.1

meglio · 2015年8月7日 上架

Add WordPress API endpoints and access your site's data in JSON, XML, RSS/ATOM, YAML or HTML.

正在使用
10+
评分
暂无
累计下载
4,819
最近更新
2015年8月14日
需要 WordPress 3.6.1+已测试到 4.2.39

贡献者

截图

The slick API Endpoints configuration panel with settings for error/success templates, URL names, capability roles set individually per API endpoint, and templates to use for each API.
The slick API Endpoints configuration panel with settings for error/success templates, URL names, capability roles set individually per API endpoint, and templates to use for each API.
HTTP headers configuration: by default, anti-cache headers are set, but you can add any headers depending on what format you want your API to output. It hints you about headers to use for most popular formats: JSON, XML, RSS and YAML.
HTTP headers configuration: by default, anti-cache headers are set, but you can add any headers depending on what format you want your API to output. It hints you about headers to use for most popular formats: JSON, XML, RSS and YAML.
An API endpoint in JSON format that gets information from a local CSV file and converts it into API.
An API endpoint in JSON format that gets information from a local CSV file and converts it into API.
Insufficient permissions when calling a protected API with a wrong username/password
Insufficient permissions when calling a protected API with a wrong username/password

Choose which of your site’s data to make available via WordPress API
and in which format.

Features

  • Customize API URLs: http://mywordpress.com/my-api/name1 – change my-api and name1 in the plugin settings
  • Set minimal capability permission individually for every API endpoint
  • Customize HTTP headers
  • Use any data from your sites’s MySQL database: posts/pages, custom posts, comments, settings, users, site options, post metadata, users, drafts, activity and much more
  • Turn any local file into an API (CSV, JSON, XML, you name it)
  • Fetch any data from 3rd party APIs and turn into your own API
  • Boost API speed with the caching system out of the box
  • Output API in any format, including, but not limited to, JSON, XML, RSS/ATOM, YAML and HTML.
  • Get full control over the API output by using a simple template language.
  • Two dedicated templates: 1) for successful API calls and 2) for API failures (e.g. authentication error)
  • Intelligent template editor with code highlighting and full screen mode

This is a free add-on to the
Twig Anything WordPress plugin.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums