Lumen help
Creates a new geo definition. Requires a geoid and a list of country codes.
Geo services manage geo definitions at both the service component and property level (service component if no alias is provided, or a property when an alias has been specified). A geo definition is a combination of a unique ID (geoid) and a list of country codes.
POST
https://ws.lumen.com
/serviceConfiguration/(version)/(scope)/GeoDefs
version [CDATA[ ]] | Values: "v1.0" (required) |
scope [CDATA[ ]] | (AG)/(SCID)[/(ALIAS)] AG = Access Group SCID = Service Component Identifier ALIAS = Optional Alias identifies Property |
{
"geoid": "<String containing [A-Za-z0-9_]>", # required
"cc": [ "<country code>", … ] # required
}
{
"geoid": "NorthAmerica",
"cc": [ "CA", "US" ]
}
200: Request Successful.
404: Not Found.
Retrieves a single geo definition by geoid. The results include the order attribute, indicating the position of this geo definition in the array of definitions.
Geo services manage geo definitions at both the service component and property level (service component if no alias is provided, or a property when an alias has been specified). A geo definition is a combination of a unique ID (geoid) and a list of country codes.
GET
https://ws.lumen.com
/serviceConfiguration/(version)/(scope)/GeoDefs/(geoid)
version [CDATA[ ]] | Values: "v1.0" (required) |
scope [CDATA[ ]] | (AG)/(SCID)[/(ALIAS)] AG = Access Group SCID = Service Component Identifier ALIAS = Optional Alias identifies Property |
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/test1.caching.cdn.lumen.net/GeoDefs/NorthAmerica
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/GeoDefs/NorthAmerica
{
"cc":
"CA, US",
"geoid": "NorthAmerica",
"order": 0
}
200: Request Successful.
404: Not Found.
Retrieves the array of geo definitions for service component or property.
Geo services manage geo definitions at both the service component and property level (service component if no alias is provided, or a property when an alias has been specified). A geo definition is a combination of a unique ID (geoid) and a list of country codes.
GET
https://ws.lumen.com
/serviceConfiguration/(version)/(scope)/GeoDefs
version [CDATA[ ]] | Values: "v1.0" (required) |
scope [CDATA[ ]] | (AG)/(SCID)[/(ALIAS)] AG = Access Group SCID = Service Component Identifier ALIAS = Optional Alias identifies Property |
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/test1.caching.cdn.lumen.net/GeoDefs
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/GeoDefs
[
{
"cc": "GE, FR",
"geoid": "Europe"
},
{
"cc": "CA, US",
"geoid": "NorthAmerica"
}
]
200: Request Successful.
Updates the country codes for an existing geo definition.
Geo services manage geo definitions at both the service component and property level (service component if no alias is provided, or a property when an alias has been specified). A geo definition is a combination of a unique ID (geoid) and a list of country codes.
PUT
https://ws.lumen.com
{
"geoid": "<String containing [A-Za-z0-9_]>", # required
"cc": [ "<country code>", … ] # required
}
/serviceConfiguration/(version)/(scope)/GeoDefs
version [CDATA[ ]] | Values: "v1.0" (required) |
scope [CDATA[ ]] | (AG)/(SCID)[/(ALIAS)] AG = Access Group SCID = Service Component Identifier ALIAS = Optional Alias identifies Property |
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/test1.caching.cdn.lumen.net/GeoDefs/NorthAmerica
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/GeoDefs/NorthAmerica
{
"geoid": "NorthAmerica",
"cc": [ "CA", "US", "MX" ]
}
[Empty]
204: Success no Content.
Removes an existing geo definition identified by geoid.
Geo services manage geo definitions at both the service component and property level (service component if no alias is provided, or a property when an alias has been specified). A geo definition is a combination of a unique id (geoid) and a list of country codes.
DELETE
https://ws.lumen.com
/serviceConfiguration/(version)/(scope)/GeoDefs
version [CDATA[ ]] | Values: "v1.0" (required) |
scope [CDATA[ ]] | (AG)/(SCID)[/(ALIAS)] AG = Access Group SCID = Service Component Identifier ALIAS = Optional Alias identifies Property |
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/test1.caching.cdn.lumen.net/GeoDefs/NorthAmerica
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/GeoDefs/NorthAmerica
[Empty]
200: Request Successful.
Explore Media portal
API articles