powered by
API methods
api_get(opts, endpoint, ..., default_endpoint = "v1/studies")api_post(opts, endpoint, ..., default_endpoint = "v1/studies")api_put(opts, endpoint, ..., default_endpoint = "v1/studies")api_delete(opts, endpoint, ..., default_endpoint = "v1/studies")
api_post(opts, endpoint, ..., default_endpoint = "v1/studies")
api_put(opts, endpoint, ..., default_endpoint = "v1/studies")
api_delete(opts, endpoint, ..., default_endpoint = "v1/studies")
Response from the API.
Antares simulation options or a list with an host = slot.
list
host =
API endpoint to interrogate, it will be added after default_endpoint. Can be a full URL (by wrapping ìn I()), in that case default_endpoint is ignored.
default_endpoint
I()
Additional arguments passed to API method.
Default endpoint to use.
if (FALSE) { # List studies with local API api_get( opts = list(host = "http://0.0.0.0:8080"), endpoint = NULL ) }
Run the code above in your browser using DataLab