List the zones that are currently using this Railgun.
/railguns/{identifier}/zones
get
Railgun
railgun-list-railgun-zones
{
"business": true,
"enterprise": true,
"free": false,
"pro": false
} null [
{
"in": "path",
"name": "identifier",
"required": true,
"schema": {
"description": "Railgun identifier tag.",
"example": "e928d310693a83094309acf9ead50448",
"maxLength": 32,
"readOnly": true,
"type": "string"
}
}
] null {
"200": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"allOf": [
{
"properties": {
"errors": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"messages": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"result": {
"anyOf": [
{
"type": "object"
},
{
"items": {},
"type": "array"
},
{
"type": "string"
}
]
},
"success": {
"description": "Whether the API call was successful",
"enum": [
true
],
"example": true,
"type": "boolean"
}
},
"required": [
"success",
"errors",
"messages",
"result"
],
"type": "object"
},
{
"properties": {
"result": {
"items": {},
"nullable": true,
"type": "array"
},
"result_info": {
"properties": {
"count": {
"description": "Total number of results for the requested service",
"example": 1,
"type": "number"
},
"page": {
"description": "Current page within paginated list of results",
"example": 1,
"type": "number"
},
"per_page": {
"description": "Number of results per page of results",
"example": 20,
"type": "number"
},
"total_count": {
"description": "Total results available without any search parameters",
"example": 2000,
"type": "number"
}
},
"type": "object"
}
}
}
],
"type": "object"
},
{
"properties": {
"result": {
"items": {
"properties": {
"activated_on": {
"description": "The last time proof of ownership was detected and the zone was made\nactive",
"example": "2014-01-02T00:01:00.12345Z",
"format": "date-time",
"nullable": true,
"readOnly": true,
"type": "string"
},
"created_on": {
"description": "When the zone was created",
"example": "2014-01-01T05:20:00.12345Z",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"development_mode": {
"description": "The interval (in seconds) from when development mode expires\n(positive integer) or last expired (negative integer) for the\ndomain. If development mode has never been enabled, this value is 0.",
"example": 7200,
"readOnly": true,
"type": "number"
},
"id": {
"description": "Identifier",
"example": "023e105f4ecef8ad9ca31a8372d0c353",
"maxLength": 32,
"readOnly": true,
"type": "string"
},
"modified_on": {
"description": "When the zone was last modified",
"example": "2014-01-01T05:20:00.12345Z",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"name": {
"description": "The domain name",
"example": "example.com",
"maxLength": 253,
"pattern": "^([a-zA-Z0-9][\\-a-zA-Z0-9]*\\.)+[\\-a-zA-Z0-9]{2,20}$",
"readOnly": true,
"type": "string"
},
"original_dnshost": {
"description": "DNS host at the time of switching to Cloudflare",
"example": "NameCheap",
"maxLength": 50,
"nullable": true,
"readOnly": true,
"type": "string"
},
"original_name_servers": {
"description": "Original name servers before moving to Cloudflare\nNotes: Is this only available for full zones?",
"example": [
"ns1.originaldnshost.com",
"ns2.originaldnshost.com"
],
"items": {
"format": "hostname",
"type": "string"
},
"nullable": true,
"readOnly": true,
"type": "array"
},
"original_registrar": {
"description": "Registrar for the domain at the time of switching to Cloudflare",
"example": "GoDaddy",
"nullable": true,
"readOnly": true,
"type": "string"
}
},
"required": [
"id",
"name",
"development_mode",
"owner",
"account",
"meta",
"original_name_servers",
"original_registrar",
"original_dnshost",
"created_on",
"modified_on",
"activated_on"
],
"type": "object"
},
"type": "array"
}
}
}
]
}
}
},
"description": "List Railgun zones response"
},
"4xx": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"allOf": [
{
"allOf": [
{
"properties": {
"errors": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"messages": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"result": {
"anyOf": [
{
"type": "object"
},
{
"items": {},
"type": "array"
},
{
"type": "string"
}
]
},
"success": {
"description": "Whether the API call was successful",
"enum": [
true
],
"example": true,
"type": "boolean"
}
},
"required": [
"success",
"errors",
"messages",
"result"
],
"type": "object"
},
{
"properties": {
"result": {
"items": {},
"nullable": true,
"type": "array"
},
"result_info": {
"properties": {
"count": {
"description": "Total number of results for the requested service",
"example": 1,
"type": "number"
},
"page": {
"description": "Current page within paginated list of results",
"example": 1,
"type": "number"
},
"per_page": {
"description": "Number of results per page of results",
"example": 20,
"type": "number"
},
"total_count": {
"description": "Total results available without any search parameters",
"example": 2000,
"type": "number"
}
},
"type": "object"
}
}
}
],
"type": "object"
},
{
"properties": {
"result": {
"items": {
"properties": {
"activated_on": {
"description": "The last time proof of ownership was detected and the zone was made\nactive",
"example": "2014-01-02T00:01:00.12345Z",
"format": "date-time",
"nullable": true,
"readOnly": true,
"type": "string"
},
"created_on": {
"description": "When the zone was created",
"example": "2014-01-01T05:20:00.12345Z",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"development_mode": {
"description": "The interval (in seconds) from when development mode expires\n(positive integer) or last expired (negative integer) for the\ndomain. If development mode has never been enabled, this value is 0.",
"example": 7200,
"readOnly": true,
"type": "number"
},
"id": {
"description": "Identifier",
"example": "023e105f4ecef8ad9ca31a8372d0c353",
"maxLength": 32,
"readOnly": true,
"type": "string"
},
"modified_on": {
"description": "When the zone was last modified",
"example": "2014-01-01T05:20:00.12345Z",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"name": {
"description": "The domain name",
"example": "example.com",
"maxLength": 253,
"pattern": "^([a-zA-Z0-9][\\-a-zA-Z0-9]*\\.)+[\\-a-zA-Z0-9]{2,20}$",
"readOnly": true,
"type": "string"
},
"original_dnshost": {
"description": "DNS host at the time of switching to Cloudflare",
"example": "NameCheap",
"maxLength": 50,
"nullable": true,
"readOnly": true,
"type": "string"
},
"original_name_servers": {
"description": "Original name servers before moving to Cloudflare\nNotes: Is this only available for full zones?",
"example": [
"ns1.originaldnshost.com",
"ns2.originaldnshost.com"
],
"items": {
"format": "hostname",
"type": "string"
},
"nullable": true,
"readOnly": true,
"type": "array"
},
"original_registrar": {
"description": "Registrar for the domain at the time of switching to Cloudflare",
"example": "GoDaddy",
"nullable": true,
"readOnly": true,
"type": "string"
}
},
"required": [
"id",
"name",
"development_mode",
"owner",
"account",
"meta",
"original_name_servers",
"original_registrar",
"original_dnshost",
"created_on",
"modified_on",
"activated_on"
],
"type": "object"
},
"type": "array"
}
}
}
]
},
{
"properties": {
"errors": {
"allOf": [
{
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
}
],
"example": [
{
"code": 7003,
"message": "No route for the URI"
}
],
"minLength": 1
},
"messages": {
"allOf": [
{
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
}
],
"example": []
},
"result": {
"enum": [
null
],
"nullable": true,
"type": "object"
},
"success": {
"description": "Whether the API call was successful",
"enum": [
false
],
"example": false,
"type": "boolean"
}
},
"required": [
"success",
"errors",
"messages",
"result"
],
"type": "object"
}
]
}
}
},
"description": "List Railgun zones response failure"
}
} [
{
"api_email": [],
"api_key": []
},
{
"api_token": []
}
]