-
Notifications
You must be signed in to change notification settings - Fork 122
(Core API) at
Thomas Muldowney edited this page Apr 6, 2011
·
7 revisions
Schedule a callback for core to send an installed service at the given time. If a service is not running it will be spawned for the callback being fired. Further callbacks are maintained if the locker goes down and will then be fired as soon as possible. The time is only provided within a one second resolution, and the call is only guaranteed to fire at or after the specified time.
Method: GET
Arguments:
- at: The time to run the callback specified as POSIX time in seconds.
- id: The service id that hosts the callback to call.
- cb: The URL to call against the service specified by id. URI encoded,if a leading / is not given it is added.
Arguments Example:
/at?at=1302099087&id=0c3f17c4ded7b27c6872d727b55336a4&cb=callback
Result Content-Type: application/json
Result:
- 200: true meaning a successful scheduling.
- 400: An argument was invalid.
- 404: The specified id is not an installed service.