parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Return PushStatus ID from push endpoint.

Open anatolydwnld opened this issue 10 years ago • 3 comments

Currently, the PushRouter, drops the PushController's results on the floor. It would be nice to propagate the PushStatus's object ID to the response. Adding a field to the response shouldn't break legacy clients.

Is there any reason why this wouldn't be a good idea?

anatolydwnld avatar Mar 23 '16 15:03 anatolydwnld

Pull requests are welcome but as it may break clients and that the _PushStatus class is not meant to be exposed by the clients, that would require end to end testing with all the clients.

flovilmart avatar Mar 30 '16 22:03 flovilmart

Parse.com exposes the pushStatus object ID back as part of the response header "x-Parse-Push-Status-Id". Any way we can do a similar implementation?

alanphoon avatar Apr 06 '16 23:04 alanphoon

Definitely.

flovilmart avatar Apr 07 '16 00:04 flovilmart