#kavin-events-list

1 messages · Page 1 of 1 (latest)

onyx crownBOT
old phoenix
#

Not sure what you mean. If you list Events, the individual event objects in the data hash will have a created property

white hatch
#

i just used a created parameter when calling the Event.list endpoint like this: stripe.Event.list(created={"gt": unix_timestamp})

#

it seems to work fine

#

but i just wanted to check if it's something i can rely on or if it might be going away since it's not documented

old phoenix
#

Ah, I see. Thanks for clarifying

white hatch
#

np

#

is it safe to use ythink?

old phoenix
#

I think so. I'm trying to find why we removed this from our docs

white hatch
#

cool thanks!

old phoenix
#

Okay, so since this is not currently in our API reference, I don't recommend relying on it

#

I recommend listing all events and filtering on your end instead

white hatch
#

aw man

#

are they guaranteed to be in chronological order?

#

or just random?

#

also how do i put in a request to make this parameter official? 🙂

old phoenix
#

I can share that feedback on your behalf!

#

As for order, I believe these should be in chronological order

white hatch
#

thx, appreciate it

#

(also would you guys mind updating the docs to reflect the chronological order thing - it doesn't seem to specify this currently)

old phoenix
#

I'll flag this, too! Looks like we explicitly mention this for other list endpoints but not Events

onyx crownBOT
#

kavin-events-list