[wp-meta] [Making WordPress.org] #3192: Provide an API endpoint to fetch plugin checksums
Making WordPress.org
noreply at wordpress.org
Thu Nov 23 05:56:48 UTC 2017
#3192: Provide an API endpoint to fetch plugin checksums
------------------------------+-----------------------
Reporter: schlessera | Owner: dd32
Type: enhancement | Status: accepted
Priority: normal | Milestone:
Component: Plugin Directory | Resolution:
Keywords: |
------------------------------+-----------------------
Comment (by dd32):
Since there's no actual need for it to be hosted on api.wordpress.org, and
it's mostly static after a chat we've decided that it'll be better to just
leave it on downloads.wordpress.org.
I've moved it to a cleaner URL structure which is easier to construct and
we can cache/route differently in the future if need be.
The new URL is: `https://downloads.wordpress.org/plugin-checksums/exploit-
scanner/1.5.2.json`, or `https://downloads.wordpress.org/plugin-
checksums/$plugin/$version.json` the `.json` is optional too.
This lacks a version in the URL structure, however, in the event we need
to version it in the future, we'll be able to add support to serve those
as `https://downloads.wordpress.org/plugin-checksums/1.1/exploit-
scanner/1.5.2.json` instead.
@schlessera final check, anything else needed before this starts rolling
out to all plugin slugs?
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3192#comment:21>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list