The function extracts the response attribute from a cu object after an ClickUp API call.
Value
A response object as returned by httr::response()
.
Only calls to existing API endpoints return a response attribute.
Wrapper functions that make multiple calls to endpoints
(e.g. due to paging etc.) do not store the responses
and return NULL
.
See also
httr::response()
for the response object,
and cu for the cu object class.
Examples
if (FALSE) {
task <- cu_get_task("8ach57")
cu_response(task)
}