The jobqueueAddJob Web API Method
Create a new job.
Version: 1.6
Required Permissions: Full
HTTP method: POST
Supported by Editions: Zend Server
Request Parameters:
Parameter |
Type |
Required |
Description |
url |
Array |
Yes |
A URL for the job. |
vars |
Array |
No |
Variables for the rule, passed to the ZendJobQueue API. |
options |
Array |
Yes |
Rule options, passed to the ZendJobQueue API. |
Note:
Details about the options and vars parameters can be found in the
createHttpJob reference. For all intents and purposes, they should be identical.
Expected Response Code: 200 OK - Returned for successfully creating the rule according to the provided parameters. For more information see Response Format.
Possible Action Specific Error Codes: None.
Example
|
Request
Response
|
See Also
createHttpJob for creating / dropping a new job from your application code.