By Slug

get
By Slug

https://YOUR-CONTAINER.datumfactory.com/api/v1/events/by-slug/:slug
Retrieve all events by a specific event slug.
Request
Response
Request
Path Parameters
slug
required
string
The slug of the event to retrieve.
Headers
Authorization
required
string
Authentication token.
Response
200: OK
[
{
"id": 47,
"site_id": 1,
"title": "added-to-cart",
"description": "testing",
"data": {
"product_id": "78"
},
"created_at": "2019-09-14T16:00:27.605-05:00",
"updated_at": "2019-09-14T16:00:27.605-05:00",
"slug": "added-to-cart"
},
{
"id": 48,
"site_id": 1,
"title": "added-to-cart",
"description": "testing",
"data": {
"product_id": "78"
},
"created_at": "2019-09-15T15:14:54.707-05:00",
"updated_at": "2019-09-15T15:14:54.707-05:00",
"slug": "added-to-cart"
}
]

‚Äč