Add the Ping api endpoint.