SpyREST

Supported by Mashape

Home » api.kissmetrics.com Versions » Default Resources » Product » GET /core/products/{:product-uuid}

GET /core/products/{:product-uuid}

Description

Response Fields

Name Type Description
meta.status Integer
data.id String
data.account_id String
data.name String
data.tracking_key String
data.url
data.status String
data.environment String
data.timezone String
data.created_at String (Time ISO8601)
data.hosts Array
data.links Array
links Array
links[].name String
links[].rel String
links[].href String
links[].templated Boolean
Write
Preview

Examples

The product endpoint return...

The product endpoint returns the body of the product you are authorized to access.

Recorded at

2015-05-14 18:20:56 UTC

Try with cURL

Request URL

Requires Authorization
GET /core/products/44e90cb0-7e6d-0132-70b8-22000a9a8afc      

Request Headers

authorization: FILTERED
user-agent: curl/7.37.1
      

Response Headers

transfer-encoding: chunked
connection: close
content-length: 1260
x-runtime: 0.128424
x-request-id: fefd498c-cd64-429b-89fb-dd6949faadc4
vary: Accept-Encoding
status: 200 OK
server: nginx/1.6.2
link: <https://api.kissmetrics.com/core/products/44e90cb0-7e6d-0132-70b8-22000a9a8afc>; rel="self"; templated="false",<https://api.kissmetrics.com/core/accounts/44424650-7e6d-0132-7ec1-22000ab4dcd7>; rel="account"; templated="false",<https://api.kissmetrics.com/core/products/44e90cb0-7e6d-0132-70b8-22000a9a8afc/reports>; rel="reports"; templated="false",<https://api.kissmetrics.com/core/products/44e90cb0-7e6d-0132-70b8-22000a9a8afc/metrics>; rel="metrics"; templated="false",<https://api.kissmetrics.com/core/products/44e90cb0-7e6d-0132-70b8-22000a9a8afc/events>; rel="events"; templated="false",<https://api.kissmetrics.com/core/products/44e90cb0-7e6d-0132-70b8-22000a9a8afc/properties>; rel="properties"; templated="false"
etag: "cecae1b7a3a258ec7c4cc87154f3b1e7"
date: Thu, 14 May 2015 18:20:57 GMT
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
      

Response Body

Shortened for readability

{
  "meta": {
    "status": 200
  },
  "data": {
    "id": "44e90cb0-7e6d-0132-70b8-22000a9a8afc",
    "account_id": "44424650-7e6d-0132-7ec1-22000ab4dcd7",
    "name": "My First Product",
    "tracking_key": "38146efb334e929ea789fb6a0542f0cc676f9f93",
    "url": null,
    "status": "canceled",
    "environment": "",
    "timezone": "UTC",
    "created_at": "2015-01-14T22:47:40+00:00",
    "hosts": [

    ],
    "links": [

    ]
  },
  "links": [
    {
      "name": "Self",
      "rel": "self",
      "href": "https://api.kissmetrics.com/core/products/44e90cb0-7e6d-0132-70b8-22000a9a8afc",
      "templated": false
    },
    {
      "name": "Account",
      "rel": "account",
      "href": "https://api.kissmetrics.com/core/accounts/44424650-7e6d-0132-7ec1-22000ab4dcd7",
      "templated": false
    }
  ]
}