def METHOD_NAME(self, obj, view_name, request, _format):
    kwargs = get_api_url_kwargs(self.context.get("object"), request)
    kwargs["version"] = obj.id
    return reverse(view_name, kwargs=kwargs, request=request, format=_format)