Uses deployment_id instead of revision

Revision only seems to be present if you deploy a specific
version. Deployment might be a better way to correlate multi-app
deployments anyway.