GET list of articles is using "articles" in plural: /api/index.php/v1/content/articles
the rest of the endpoints for single article (GET, POST, DELETE, PATCH) are using "article" in singular, but the endpoints do not work, returning 404 errors:
{ "errors": [ { "title": "Resource not found", "code": 404 } ] }
Changing article
to articles
in each corresponding endpoint fixes the issue:
/api/index.php/v1/content/article/{article_id}
-> /api/index.php/v1/content/articles/{article_id}
/api/index.php/v1/content/article
-> /api/index.php/v1/content/articles
DELETE article still doesn't work
DELETE {{base_path}}/api/index.php/v1/content/articles/4
Article gets deleted
{ "errors": [ { "title": "Forbidden" } ] }
See attachment
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-09-26 08:05:39 |
Closed_By | ⇒ | alikon |
I can confirm that issue but didnt had time to look into the details but it looks like they got changed intentionally: #34093
So the docs and the postman file needs to be updated with the new routes.