GET /api/v1/owner/:owner/campaigns/:campaign/urls

Get details on all URLS in a particular campaign

Accepts a request and responds with and array of URL objects.

Request Parameters

None

Response Parameters

Each value of the array behaves like a regular URL object, with each having the following parameters:

Name Description
id 6 character unique ID for URL.
campaign_id Unique ID specifying the campaign the URL belongs to.
url Long URL that the service redirects to.
description Description associated with the URL.
date_created Date that the URL was created.

Examples

Sample Request

GET:/api/v1/users/me/campaigns/camp1/urls

Sample Response

            
{ 
    "urls": [
        {
            "id": "iW6Y87",
            "campaign_id": "54c2c6b1aa7b47cfc140691c",
            "url": "http://example.com",
            "description": "Trying out BlackSeal, just a test",
            "date_created": "2015-02-17T18:04:16.099Z"
        }, {
            "id": "oU6aQf",
            "campaign_id": "54c2c6b1aa7b47cfc140691c",
            "url": "http://example.com",
            "description": "A second reference to example.com",
            "date_created": "2015-01-17T18:04:16.099Z"
        }
    ]
}