.wrap_as_api_response | R Documentation |
Used for overriding the OpenAPI-autogenerated HTTP-response handling.
.wrap_as_api_response(resp)
resp |
A |
Makes the handling compatible with TileDB REST-server response format; surfaces error messages back to the user. Not intended to be exported from this package; for package-internal use only.
An object of type ApiResponse
. In the success case (HTTP 2xx)
its content
slot is the raw HTTP body. In the failure case (otherwise)
its content
slot is error-text from the server.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.