Do we have any API documentation for node.js? Some...
# support
t
Do we have any API documentation for node.js? Someone just asked about this. Thanks so much.
1
n
t
Thanks for this @Nikhil Gupta. The user followed up with another question. Do you know if there's more information I can share with him?
Hi, thanks, this is super helpful. When I go to v2 version for NodeJS, I don't see the field for exogenous data. For the v1, there is x field, but I don't see it in v2. Also, how can I imput future exogenous data in the NodeJS API?
n
I think if the user clicks on the "Example >> Request Example", the one that shows up is with exogenous variables (denoted by x)
Wait
Sorry
That was v1.
I am not sure why v2 is not showing the exogenous variables. I think the page is broken for v2.
Who maintains this page?
t
They're generated from somewhere different than https://github.com/Nixtla/nixtla/tree/main/nbs/docs. @José Morales I think knows more.
j
I think that page shows the default values for each endpoint and v2 doesn't have defaults for the data, but clicking the request example button generates the expected structure. The exogenous go in
series.X
and
series.X_future
t
Thank you! And do you know where that documentation is generated from? We could update to do things like take off the 'Beta' tag.
j
It's generated from the OpenAPI schema generated by the model API