I am trying to return the diffence in field values between two revisions using app authentication but I'm getting an empty array. And when trying to use the api function "Get Item revision" I'm getting "Object not found" response.
Any help would be much appreciated :)
const podio = new Podio({
authType: 'app',
clientId: clientId,
clientSecret: clientSecret });
podio.authenticateWithApp(app_id, appToken, (err) => {
if (err) throw new Error(err);
podio.isAuthenticated().then(function () {
// ready to make API calls
apiRoutes.get('/item', function (req, res) {
podio.request('GET', `/item/702620400/revision/1899410196/1910867632`).then(function (responseData) {
res.json(responseData);
});
});
}).catch(err => res.send(err));
});