humanmade / humanmade/HM-Related-Posts

REST API support

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
12
Forks
2
PR merge metrics
No merged PRs in 30d

Description

It'd be good to have an API endpoint to query related posts for a post ID.

It should be added to the `_links` for a post response and any post type with support for related posts enabled.

Suggestion:

- CREATE: `/wp-json/related-posts/v1/post/` `@param int[] Manually set IDs`
- READ: `/wp-json/related-posts/v1/post/`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.