User tests: Successful: Unsuccessful:
Bugfix Pull Request for pr #35788.
POST and PATCH are not working for the media web service when an adapter is set.
curl --location --request PATCH 'https://[your J4 website]/api/index.php/v1/files/local-images:/joomla_black.png' \
--header 'Content-Type: application/json' \
--header 'X-Joomla-Token: [your user token]' \
--data-raw '{
"path": "local-images:/joomla_black.png",
"content": "[your base64 content]"
}'
Returns 404 not found and image is not created.
Returns 200 and image contains the new created.
Status | New | ⇒ | Pending |
Category | ⇒ | Unit Tests |
I have tested this item
Labels |
Added:
?
?
|
Labels |
Added:
?
|
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-01-06 11:59:21 |
Closed_By | ⇒ | bembelimen | |
Labels |
Added:
?
|
Thanks
now it works with and without adapters
