Is document expiration field set with date-time or seconds or milliseconds? As I know it's seconds:
"expiration": 1543086426,
So 1543086426 = Saturday, November 24, 2018 7:07:06 PM
Then why the document is being removed by Cloudant? If it's milliseconds then:
1543086426 = Sunday 18 January 1970 12:38:06
that explains. So how do I set proper expiration value for cloudant document e.g. in 1 month from now?
Also, which Cloudant task is responsible for document removal? And how often it starts?