1
0
Fork 0

Update UPGRADE-2.0.md

pull/9115/head
Jordi Boggiano 2020-08-03 12:55:15 +02:00 committed by GitHub
parent e008a4f4a5
commit 54aac000ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -81,3 +81,5 @@ The providers-api is optional, but if you implement it it should return packages
This is also optional, it should accept an optional `?filter=xx` query param, which can contain `*` as wildcards matching any substring. This is also optional, it should accept an optional `?filter=xx` query param, which can contain `*` as wildcards matching any substring.
It must return an array of package names as `{"packageNames": ["a/b", "c/d"]}`. See <https://packagist.org/packages/list.json?filter=composer/*> for example. It must return an array of package names as `{"packageNames": ["a/b", "c/d"]}`. See <https://packagist.org/packages/list.json?filter=composer/*> for example.
It should return the names of package which names match the filter (or all names if no filter is present). Replace/provide rules should not be considered here.