Get swap packet from couchdb