Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

update ruleset api question

Michael.R.Taylor-OracleFeb 15 2019 — edited Mar 6 2019

Originally posted by leom on dyncommunity.com on 29 January 2019

Hi,

I have a question with this api
https://help.dyn.com/update-dsf-ruleset-api/

Is there a sample criteria for geoip that can be shared, how to call it for the REST api. I am getting confused with the description for ruleset criteria field in that page (also listed below) as to how that is constructed.

Thanks, Leo

string criteria — dependent upon criteria_type.
Valid values:
hash geoip — A hash where each element contains a list of ISO-3166 two letter codes to represent the names of countries and their subdivisions, one of the predefined groups, or one of the legacy regions.
array region — A list of ISO-3166 two letter codes representing Regions. Regions contain a set of countries.
array country — A list of ISO-3166 two letter codes representing Countries
array province — A list of ISO-3166 two letter codes representing Provinces

This post has been answered by Michael.R.Taylor-Oracle on Feb 15 2019
Jump to Answer
Comments
Post Details
Added on Feb 15 2019
1 comment
587 views