<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def documentation(default=None, api_version=None, api=None, **kwargs):
 """returns documentation for the current api"""

    api_version = default or api_version
    if api:
        return api.http.documentation(base_url="", api_version=api_version)