alleyinteractive / alleyinteractive/wordpress-fieldmanager

Add REST API endpoint

未关闭
#407 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
PHP
星标
563
派生
99
PR 合并指标
30 天内没有已合并 PR

描述

Fieldmanager should add a custom REST API endpoint that allows an application to query field information for a context/subcontext. This would allow apps like [Calypso](https://github.com/Automattic/wp-calypso), [mobile apps](https://wordpress.org/mobile/), etc., to leverage field data to render an editing interface for Fieldmanager fields.

At a high level, we'd need to:
- [ ] Add a GET endpoint to surface base field data (field type, label, description, etc.) for all fields added to a given context and subcontext (e.g. term/category or post/post)
- [ ] Sanitize and save data on create and update requests for posts, user, and terms
- [ ] Add endpoints for submenu contexts

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。