Provide a public new-queue count endpoint - #760
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
@davidperezgar Looks like this needs a rebase. There's no other endpoint this can be folded into? |
21bc4b9 to
b95fd54
Compare
|
Rebased onto the current trunk. I also folded this into the existing Internal_Stats API: the public endpoint is now GET /plugins/wp-json/plugins/v1/stats and returns only queue_count. The existing POST /update-stats endpoint remains authenticated for writes. |
949b7a7 to
218205b
Compare
218205b to
504e4a5
Compare
Summary
GET /plugins/wp-json/plugins/v1/statsendpoint.Testing
php -lon changed PHP filesCloses #758