User tests: Successful: Unsuccessful:
Pull Request for Issue #33336 .
from GET /api/index.php/v1/installer/manage
to GET /api/index.php/v1/extensions
read #33336
or test the endpoint :
GET {{base_path}}/api/index.php/v1/extensions?core=true/false
GET {{base_path}}/api/index.php/v1/extensions?status=0/1
GET {{base_path}}/api/index.php/v1/extensions?type=component/plugin/module/template
already undocumented but should be
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Labels |
Added:
?
|
@anibalsanchez can you please retest, now just 1 pr
I have tested this item
I have tested the 3 poposed endpoints with their filters and it returns different content according to each of the proposed filters.
I have tested this item
Before applying the patch I did not manage to get any answer from the API
After applying the patch, I got correct filtered data in response to
curl -H "Authorization: Bearer XXXXXX" http://localhost/demo_j4/api/index.php/v1/extensions?status=1
and
curl -H "Authorization: Bearer XXXXXX" http://localhost/demo_j4/api/index.php/v1/extensions?status=0
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-05-15 11:46:56 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Thanks!
Just a quick follow up
The code merged was totally wrong.
$this->modelState->set('filter.status', $this->input->get('status', $this->input->get->get('status')), 'INT');
$this->modelState->set('filter.type', $this->input->get('type', $this->input->get->get('type')), 'STRING');
Those type hints at the end are wrong - Im fixing it in #33960 so follow along there if interested.
I have tested this item? unsuccessfully on 9b7acd4
It seems that I always get the same response and it doesn't use the filters: