orchestrate-php-client
orchestrate-php-client copied to clipboard
List events from one date to another
I'm a little confused with the List with range queries option. I didn't quite understand the description and what the variables did.
Specifically the $afterEvent
and $beforeEvent
in:
use SocalNick\Orchestrate\EventListOperation;
$evListOp = new EventListOperation("films", "pulp_fiction", "comment", 20, $startEvent, $afterEvent, $beforeEvent, $endEvent);
$evListObject = $client->execute($evListOp);
From the orchestrate documentation, there is this which just has a startEvent
and endEvent
:
curl -i "https://api.orchestrate.io/v0/users/kates-user-id/events/timeline?startEvent=1384534722568&endEvent=1403206439244" \
-u '12345678-1234-1234-1234-123456789012:'
Is there a way to use these parameters?