async def METHOD_NAME(request: web.Request):
    if not config.getboolean("General", "enable_export"):
        return web.HTTPForbidden(reason="Import is disabled by the server.")
    await check_authorized(request)
    name = request.match_info["name"]
    data = await request.json()
    try:
        length = data["totalChunks"]
    except KeyError:
        return web.HTTPBadRequest(
            reason="Bad Request: something went wrong with this import request. (missing chunk length)"
        )
    try:
        length = int(length)
    except ValueError:
        return web.HTTPBadRequest(
            reason="Bad Request: something went wrong with this import request. (Chunk Length is not an integer)"
        )
    import_mapping[name] = {
        "totalLength": length,
        "chunks": [None for _ in range(length)],
        "sid": data.get("sid", None),
    }
    # todo: some timer / or other condition to clear the import_mapping
    return web.HTTPOk()