PUT
/
serverconfig
/
misc
Update Server Miscellaneous Configuration
curl --request PUT \
  --url https://use.hoop.dev/api/serverconfig/misc \
  --header 'Content-Type: application/json' \
  --data '{
  "grpc_server_url": "grpc://127.0.0.1:8010",
  "postgres_server_config": {
    "listen_address": "0.0.0.0:15432"
  },
  "product_analytics": "active"
}'
{
  "grpc_server_url": "grpc://127.0.0.1:8010",
  "postgres_server_config": {
    "listen_address": "0.0.0.0:15432"
  },
  "product_analytics": "active"
}

Body

application/json

The request body resource

grpc_server_url
string
default:grpc://127.0.0.1:8010

The gRPC server URL used to advertise the gRPC server to clients

postgres_server_config
object

The PostgreSQL server proxy configuration

product_analytics
string

Either to enable or disable the product analytics tracking

Example:

"active"

Response

OK

grpc_server_url
string
default:grpc://127.0.0.1:8010

The gRPC server URL used to advertise the gRPC server to clients

postgres_server_config
object

The PostgreSQL server proxy configuration

product_analytics
string

Either to enable or disable the product analytics tracking

Example:

"active"