addPlotDirectory
Add a plot directory to the harvester configuration.
Add a plot directory to the harvester configuration.
post
/add_plot_directory
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/harvester/private_harvester.crt \
--key ~/.chia/mainnet/config/ssl/harvester/private_harvester.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8560/add_plot_directory" \
-d "{}"
Parameters
Body parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
deletePlot
Permanently delete a plot file.
Permanently delete a plot file.
post
/delete_plot
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/harvester/private_harvester.crt \
--key ~/.chia/mainnet/config/ssl/harvester/private_harvester.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8560/delete_plot" \
-d "{}"
Parameters
Body parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
getHarvesterConfig
Gets harvester configuration.
Gets harvester configuration.
post
/get_harvester_config
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/harvester/private_harvester.crt \
--key ~/.chia/mainnet/config/ssl/harvester/private_harvester.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8560/get_harvester_config" \
-d "{}"
Parameters
Body parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getPlotDirectories
Get the list of plot directories from the harvester configuration.
Get the list of plot directories from the harvester configuration.
post
/get_plot_directories
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/harvester/private_harvester.crt \
--key ~/.chia/mainnet/config/ssl/harvester/private_harvester.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8560/get_plot_directories" \
-d "{}"
Parameters
Body parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getPlots
Get information about the plots the harvester knows about.
Get information about the plots the harvester knows about.
post
/get_plots
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/harvester/private_harvester.crt \
--key ~/.chia/mainnet/config/ssl/harvester/private_harvester.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8560/get_plots" \
-d "{}"
Parameters
Body parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
refreshPlots
Refresh the list of plots.
Refresh the list of plots.
post
/refresh_plots
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/harvester/private_harvester.crt \
--key ~/.chia/mainnet/config/ssl/harvester/private_harvester.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8560/refresh_plots" \
-d "{}"
Parameters
Body parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
removePlotDirectory
Removes a plot directory from the harvester configuration.
Removes a plot directory from the harvester configuration.
post
/remove_plot_directory
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/harvester/private_harvester.crt \
--key ~/.chia/mainnet/config/ssl/harvester/private_harvester.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8560/remove_plot_directory" \
-d "{}"
Parameters
Body parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
updateHarvesterConfig
Updates the harvester configuration.
Updates the harvester configuration.
post
/update_harvester_config
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/harvester/private_harvester.crt \
--key ~/.chia/mainnet/config/ssl/harvester/private_harvester.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8560/update_harvester_config" \
-d "{}"
Parameters
Body parameters
Name | Description |
---|---|
body * |