3 const remoteAddress
= '127.0.0.10';
4 const callbackUrl
= 'https://example.com/consume?id=123&token=abc';
5 const topicUrl
= 'https://example.com/some_blog';
6 const modeSubscribe
= 'subscribe';
11 leaseSecondsPreferred: null,
12 leaseSecondsMin: 86400,
13 leaseSecondsMax: 8640000,
14 publisherValidationUrl: null,
17 url: 'https://example.com/another_blog/',
18 leaseSecondsPreferred: null,
19 leaseSecondsMin: 86400,
20 leaseSecondsMax: 8640000,
21 publisherValidationUrl: null,
25 leaseSecondsPreferred: 864000,
30 contentHash: 'b2d1d285b5199c85f988d03649c37e44fd3dde01e5d69c50fef90651962f48110e9340b60d49a479c4c0b53f5f07d690686dd87d2481937a512e8b85ee7c617f',
31 contentType: 'text/plain',
34 callback: callbackUrl
,
37 secret: 'SecretSecret',
38 httpRemoteAddr: remoteAddress
,
42 callback: callbackUrl
,
44 secret: 'SecretSecret',
46 httpRemoteAddr: remoteAddress
,
47 isPublisherValidated: false,
52 isPublisherValidated: true,