You can configure the monetization servers using the following API:
Property Change API Details | |
---|---|
Endpoint | https://monetization_server_IP/mint/config/properties/property_name?value=property_value |
Request | Notes about the request that you send:
|
Response | The response is returned in plain text. |
When you call the property change API, the change applies to the server you called only. It does not apply to other servers in the pod. You must call this API on all servers on which you want to change the property.
Server configuration properties
The following table describes the monetization server properties that you can set:
Property | Description |
---|---|
mint.invalidTscStorage.setting |
Monetization rating servers log all invalid Transaction Status Code (TSC) messages in Postgres. TSCs include any invalid transaction, whether it's from the client's back-end or a result of another criteria not being met in Apigee Edge for Private Cloud. The number and frequency of TSC messages can be large, which means that they can cause your queries to take extra time to process. The Valid values are:
The default value is To change this |
Set server property example
The following example sets the mint.invalidTscStorage.setting
property:
curl -u admin:admin123 -X PUT "https://monetization_server_IP:8080/v1/mint/properties/mint.invalidTscStorage.setting?value=discard"