Vote count:
0
I am wondering if anyone has figured out a way to retrieve the status of a job (preferably some sort of push response) after it has been initiated. I currently can start the Cloud Code Job using the REST API:
curl -X POST \
-H "X-Parse-Application-Id: appIDgoesHERE" \
-H "X-Parse-Master-Key: masterKEYgoesHERE" \
-H "Content-Type: application/json" \
-d '{"payload":"example"}' \
http://ift.tt/1yxAy5s
I know that I personally can proceed to the dashboard and see the status manually, but I am curious if I can have a user kick off a job (if even from Cloud Code) and then be updated as the status changes by error
, message
, or success
.
I've checked through the docs quite a bit so far, but have yet to see anything about querying the status or having the status pushed to an endpoint or something. Ideally I would be able to kick off the job and then have a promise that is satisfied upon success
/error
.
asked 1 min ago
Parse.com cloud code job response
Aucun commentaire:
Enregistrer un commentaire