|
|
|
@ -114,3 +114,11 @@ std::generator<binary_package_publishing_history> source_package_publishing_hist
|
|
|
|
|
data=nlohmann::json::parse(response.value());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool source_package_publishing_history::requestDeletion(const std::string& removal_comment) {
|
|
|
|
|
std::map<std::string, std::string> params;
|
|
|
|
|
params["ws.op"] = "requestDeletion";
|
|
|
|
|
params["removal_comment"] = removal_comment;
|
|
|
|
|
auto resp = lp->api_post(self_link, params);
|
|
|
|
|
return resp.has_value();
|
|
|
|
|
}
|
|
|
|
|