AL B Posted February 16, 2017 Posted February 16, 2017 The REST API is great but fairly restricted. Can we not have this added: GET /core/members/{email} In the file applications/core/api/members.php we have: public function GETitem( $id ) { try { $member = \IPS\Member::load( $id ); This could be changed to: public function GETitem( $id ) { $idField = filter_var( $id , FILTER_VALIDATE_EMAIL ) ? 'email' : 'member_id'; try { $member = \IPS\Member::load( $id, $idField );
Recommended Posts
Archived
This topic is now archived and is closed to further replies.