I’m not capable of modify or add customized information in REST API response
For that I attempted How one can Modify Drupal Developer Response of Drupal 8 Consumer Login API Endpoint, however I’m not capable of finding Drupal Developer controller for entity.person.canonical route.
If somebody is aware of about it, please assist me.
I additionally tried to switch response utilizing hook, however that did not work too.
I simply need a response from this.
"field_points": [ { "target_id": 116, "target_revision_id": 328, "target_type": "paragraph", "target_uuid": "d765f403-33d8-443a-9a12-96c1ffc62c23" } ]
To this.
"field_points": [ { "target_id": 116, "target_revision_id": 328, "target_type": "paragraph", "target_uuid": "d765f403-33d8-443a-9a12-96c1ffc62c23" "factors": 66 },