def METHOD_NAME():
    log.debug("REQUEST: %s %s", request.method, request.url)
    try:
        version = arg_integer("api")
        if version is None:
            version = 1
        if version > max_api:
            return not_implemented(
                "No API above %s is supported" % (max_api))
    except ValueError as ex:
        return bad_request("Invalid API value '%s': %s" %(arg_string("api"), str(ex)))
    # All went well.
    return None