Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 16, 20178 yr 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 );
Archived
This topic is now archived and is closed to further replies.