Show

An endpoint for the retrieval of your custom data.

get
Property

https://YOUR-CONTAINER.datumfactory.com/api/v1/data/:property
This endpoint allows for the retrieval of your custom data. It has a few different query parameters that you can pass to get the data that you're after. This endpoint uses your property name as path endpoint. For example, if you had made previous requests and stored something like the following: {"product_id":"23"} You would use product_id as the property.
Request
Response
Request
Path Parameters
property
required
string
Name of your custom property.
Headers
Authorization
required
string
Authentication token.
Query Parameters
slug
optional
string
The Event slug.
value
optional
boolean
The property value.
Response
200: OK
Returns all records with the product_id as the property.
[
{
"id": 44,
"site_id": 1,
"title": "added-to-cart",
"description": "testing",
"data": {
"product_id": "23"
},
"created_at": "2019-09-14T10:07:07.485-05:00",
"updated_at": "2019-09-14T10:07:07.485-05:00",
"slug": "added-to-cart"
},
{
"id": 46,
"site_id": 1,
"title": "Purchasd Product",
"description": "testing",
"data": {
"product_id": "23"
},
"created_at": "2019-09-14T15:31:40.040-05:00",
"updated_at": "2019-09-14T15:31:40.040-05:00",
"slug": "purchased-product"
}
]

‚Äč