/
Domain List [DEPRECATED]
Domain List [DEPRECATED]
Service
/domain-list
Method
GET
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | int | N | Domain List Id. |
advertiser_id | int | Y | If this is set, it will only return the domain lists where the name contains the advertiser id. |
Response
Example where the advertiser id is 12345.
{ "response":{ "status":"OK", "domainlists":[{ "id":1, "name":"[12345] name", "description":"short description", "type":"white", "last_modified":"2014-08-27 11:57:08", "domains":[ "domain1.com", "domain2.com" ], "num_domains":2 },{...} ] } }
Service
/domain-list
Method
POST
Parameters
Name | Type | Required | Description |
---|---|---|---|
name | string | Y | The name of the domain list as specified by the user |
description | string | N | A description of the domain list as specified by the user |
type | string | Y | The type of domain list, possible values are "black" and "white. This is strictly informational. |
domains | string | N | String of domains where each domain is on a new line ("\n) |
advertiser_id | int | Y | Used as a prefix for the name |
Service
/domain-list
Method
PUT
Parameters
Same as POST.
Name | Type | Required | Description |
---|---|---|---|
id | int | Y | The internal system identifier for the domain list |