List domains
Get a list of domains.
Request
GET or POST https://api.wattspeed.com/v1/domains
Headers
Authorization string required
Your API token.
Example request
GET
https://api.wattspeed.com/v1/domains
POST
The request body should be empty.
Responses
- 200
- 400
- 401
- 405
- 406
- 500
[
"advancedwebranking.com",
"wattspeed.com"
]
The message
and errors
are subject to change and may include more info than listed here.
{
"status": "BAD_REQUEST",
"message": "Required request header 'Authorization' is not present",
"errors": [
"Required request header 'Authorization' is not present"
]
}
The message
and errors
are subject to change and may include more info than listed here.
{
"status": "UNAUTHORIZED",
"message": "API token not valid. Please enter a valid API token",
"errors": [
"API token not valid. Please enter a valid API token"
]
}
The message
and errors
are subject to change and may include more info than listed here.
{
"status": "METHOD_NOT_ALLOWED",
"message": "Request method 'PUT' not supported",
"errors": [
"PUT method is not supported for this request. Supported methods are GET, POST"
]
}
The message
and errors
are subject to change and may include more info than listed here.
{
"status" : "NOT_ACCEPTABLE",
"message" : "No acceptable representation",
"errors" : [
"Media type is not supported. Supported media type is application/json"
]
}
The message
and errors
are subject to change and may include more info than listed here.
{
"status": "INTERNAL_SERVER_ERROR",
"message": "Something went wrong, please try again",
"errors": [
"Something went wrong, please try again"
]
}