Geoip

Repos Geoip Test

Test a list of IP addresses against the repository's current GeoIP rules.

Request

posthttps://api.cloudsmith.io/v1/repos/{owner}/{identifier}/geoip/test
Body params optional

Response body

object

object

addresses
array of strings
required

Response

Responses

Successfuly tested addresses against the repository's GeoIP rules

object

object

addresses
array of objects
required

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Geo/IP restrictions are not available; upgrade your account!

object

object

detail
string
required
length ≥ 1
fields
object
optional

Owner namespace or repository not found

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional