Get and set IPFS config values.
arg [string]: The key of the config entry (e.g. "Addresses.API"). Required: yes.
arg
arg [string]: The value to set the config entry to. Required: no.
bool [bool]: Set a boolean value. Required: no.
bool
json [bool]: Parse stringified JSON. Required: no.
json
On success, the call to this endpoint will return with 200 and the following body:
{ "Key": "<string>", "Value": "<object>" }
curl -X POST "http://127.0.0.1:5001/api/v0/config?arg=<key>&arg=<value>&bool=<value>&json=<value>"
Last updated 1 year ago