WordPress.org

Making WordPress.org

Opened 6 years ago

Closed 17 months ago

#124 closed enhancement (worksforme)

Create a proper plugin API

Reported by: samuelsidler Owned by:
Milestone: Priority: lowest
Component: API Keywords:
Cc:

Description

While a plugins API exists, it's not a real API (doesn't return JSON for example) and it's not meant to be publicly used as much as it is. We should consider creating a real, proper plugin API meant for public usage.

Change History (7)

#2 @johnbillion
6 years ago

  • Cc johnbillion@… added

#5 @markoheijnen
3 years ago

Is there already any idea when this could be implemented? Currently trying/wanting to use it in a node.js application.

Related: #wp25692

#6 follow-up: @obenland
17 months ago

Does https://wordpress.org/plugins/wp-json/wp/v2/plugin count as a proper API?

It's not perfect, but should do the job for now.

#7 in reply to: ↑ 6 @dd32
17 months ago

  • Resolution set to worksforme
  • Status changed from new to closed

Replying to obenland:

Does https://wordpress.org/plugins/wp-json/wp/v2/plugin count as a proper API?

I would like to note, that using plugins/wp-json/v2/plugin shouldn't be relied upon, and may be disabled or limited in ways in the future in the event it causes issues (It's not cached the same way as api.wordpress.org does)

Please try to use api.wordpress.org/plugins/info/* for most things, which IMHO, is plenty proper.'

I'm going to close this, purely because I don't think we actually need anything further here.

Note: See TracTickets for help on using tickets.