feat: Add batch renewals to batching plugin
All checks were successful
Build Docker / Build Image (push) Successful in 44s
All checks were successful
Build Docker / Build Image (push) Successful in 44s
This commit is contained in:
parent
f5fc0766a1
commit
4b7b9f991b
@ -211,6 +211,28 @@ functions = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"renew":{
|
||||||
|
"name": "Batch renew domains",
|
||||||
|
"type": "default",
|
||||||
|
"description": "Renew a ton of domain",
|
||||||
|
"params": {
|
||||||
|
"domains": {
|
||||||
|
"name": "Domains to renew (one per line)",
|
||||||
|
"type": "longText"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"returns": {
|
||||||
|
"status": {
|
||||||
|
"name": "Status",
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"transaction":
|
||||||
|
{
|
||||||
|
"name": "Hash of the transaction",
|
||||||
|
"type": "tx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"advancedBid":{
|
"advancedBid":{
|
||||||
"name": "Bid on domains with csv",
|
"name": "Bid on domains with csv",
|
||||||
"type": "default",
|
"type": "default",
|
||||||
@ -382,6 +404,8 @@ def register(params, authentication):
|
|||||||
"transaction":response['hash']
|
"transaction":response['hash']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def renew(params, authentication):
|
||||||
|
return simple("RENEW", params, authentication)
|
||||||
|
|
||||||
def advancedBid(params, authentication):
|
def advancedBid(params, authentication):
|
||||||
bids = params["bids"]
|
bids = params["bids"]
|
||||||
|
Loading…
Reference in New Issue
Block a user