Implemented device information API endpoint.