Skip to contents

Its /health endpoint answers with status "ok", bibr TRUE when the server's bibr is ready, and grobid "local" when the server has a GROBID of its own. Its /convert uses that GROBID when bibr is not ready or fails (.convert_paper() in the surf-research-cloud repository), so the server can convert a PDF when either one is there.

Usage

.surf_isalive(api_url = .surf_api_url(), error = TRUE)

Arguments

api_url

the URL of the API

error

whether to generate an error on failure

Value

boolean