Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all request properties are exposed. #12

Open
rummyr opened this issue Jul 12, 2018 · 1 comment
Open

Not all request properties are exposed. #12

rummyr opened this issue Jul 12, 2018 · 1 comment

Comments

@rummyr
Copy link

rummyr commented Jul 12, 2018

There are some properties that aren't exposed in the msg from Action Request.
Of particular interest would be the trigger_query [ app.getArgument('trigger_query') ], which is populated when you say
"ask my test project for a random number"
instead of having to say
"talk to my test project"
and then
"random number"

some other properties are not exposed, though I accept most are not useful
"user.accessToken" -- I actually use this one in an OAuth implementation running in node-red
app.isRequestFromGoogle()
app.getApiVersion()
app.getActionVersionLabel()

@DeanCording
Copy link
Owner

I'm currently rewriting this node to use the version 2.0 API so I'll look at adding these properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants