curl --location '{{base_url}}api/index.php/v1/users/groups' --header 'Content-Type: application/json' --data '{"title": "Group Title", "parent_id": 1}'
Response Code: 200 OK
Body: { "links": { "self": "{{base_url}}api/index.php/v1/users/groups" }, "data": { "type": "groups", "id": "...", "attributes": { "id": ..., "parent_id": 1, "lft": ..., "rgt": ..., "title": "Group Title" } } }
Response Code: 400 Bad Request
Body: { "errors": [ { "title": "Field required: id" } ] }
Joomla 4.3.2
The "id" field attribute Required is "true". Thats causes the validation of the model to fail on save.
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
bug
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-07-11 12:11:32 |
Closed_By | ⇒ | richard67 |
Closing as having a pull request. Please test #41141 . Thanks in advance.