User tests: Successful: Unsuccessful:
Pull Request for Issue #34224.
This is a followup pr of #34314, where I continue the great work of @pjdevries. I had to change the endpoints slightly as adapters are now also supported. The new endpoints are:
GET {{base_path}}/api/index.php/v1/media/adapters
GET {{base_path}}/api/index.php/v1/media/adapters/{id}
GET {{base_path}}/api/index.php/v1/media/files/{path}
POST {{base_path}}/api/index.php/v1/media/files
PATCH {{base_path}}/api/index.php/v1/media/files/{path}
DELETE {{base_path}}/api/index.php/v1/media/files/{path}
This is in early stage as system tests are still under development which will reveal some more issues along the way.
Check the system tests. If you want to test it by yourself, see #34314 for testing instructions with curl (don't forget to adapt the endpoints to the new ones mentioned above). Or use postman.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests |
Labels |
Added:
?
Language Change
Composer Dependency Changed
?
|
Category | Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests | ⇒ | Administration com_media Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests |
Category | Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests com_media | ⇒ | Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests |
Added some more system tests. The pr can now be reviewed. @PhilETaylor can you have another look on the code style?
@Hackwar and @bembelimen should I make another pr with the system test changes which are not related to this pr?
Category | Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests | ⇒ | Administration Language & Strings JavaScript Repository NPM Change External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests |
Labels |
Added:
NPM Resource Changed
?
|
Category | Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests JavaScript Repository NPM Change | ⇒ | Administration Language & Strings External Library Composer Change SQL Installation Postgresql Libraries Front End Plugins Unit Tests |
Labels |
Removed:
NPM Resource Changed
|
The pr can now be tested. @PhilETaylor can you have another look on the code style?
@Hackwar and @bembelimen should I make another pr with the system test changes which are not related to this pr?
Labels |
Removed:
?
|
i've tested successfully with adapter local-images
all' GET, POST,DELETE and PATCH
Here is the link to the latest version of DPMedia https://joomla.digital-peak.com/download/dpmedia where you will find the latest version.
I have tested this item
I have tested this item
@bembelimen synced with 4.1 and changes since the test from @alikon were only CS stuff.
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-11-23 19:20:11 |
Closed_By | ⇒ | bembelimen |
Thanks!
I tried to use these media services in different sites, both through curls and directly from postman but in no case work.
Other web services work regularly.
The error it displays is always the same:
"errors":["title":"Resource not found","code":404?]
Is it possible to have a little guide step by step to understand how to use them?
Thank you
I tried to use these media services in different sites, both through curls and directly from postman but in no case work. Other web services work regularly.
The error it displays is always the same: "errors":["title":"Resource not found","code":404?]
Is it possible to have a little guide step by step to understand how to use them?
Thank you
I am also facing the same issue...Till date is there any breakthrough?
Just an update here, most of the code style issues are fixed, thanks for that @PhilETaylor. Will do the system tests next week, so we will have a good coverage here.