pckhib / node-red-contrib-google-oauth2

Node-RED node for Google APIs using OAuth2.
MIT License
5 stars 11 forks source link

Error: entity.resource #2

Open DiogoAngelim opened 5 years ago

DiogoAngelim commented 5 years ago

I'm using the Google Drive API v3, and the resource I'm using is files.watch. I pass the fileId parameter but when I trigger the flow, I'm getting: "Error: entity.resource". It seems that I'm missing the request body, but I'm not sure how to send them properly:

{ "kind": "api#channel", "id": string, "resourceId": string, "resourceUri": string, "token": string, "expiration": long, "type": string, "address": string, "payload": boolean, "params": { (key): string } }

So which value should I set for each key?