Giter Club home page Giter Club logo

node-red-contrib-linode's Introduction

Donate

It is based on Linode API v4.102.0 and swagger-js.

Inputs

Name - string

If no name is set, the node sets the selected operation name.

Container - string

The name of the container that will receive the Linode API object.

API tag - enum

Preselector for the operation. Grouped by the 'tags' in each operation.

Operation - enum

Selector for the OpenAPI operation. The selection name is set by the 'summary'. Behind the selector field is the (unique) operation id. By mouse-over it will show the full operation Description.

Parameters depending

If the selected operation has parameters, they will be listed here. The description can be found by mouse-over the parameter name. If the parameter is required, it will be marked with a red star behind the name. For Json Objects with defined keys there will be 3 Buttons: 'set required' and 'set default' will build a json-object with the correct key names and the necessary type info as the value. 'show keys' show all possible key parameters with additional info by mouse-over the key name.

Outputs

Container - object

Returns the complete Linode API object.

Authentification

For authentification you can use the Node-Red to get your token. This token has to be set into msg.access_token.

Error handling

This handles how to react if the server returns a http status of 4xx or 5xx. You can find the last server response in msg.response.

Standard - string

The flow will move on normally so you can choose how to handle this within your flow.

Other output - string

The flow will move on in a second output.

Throw exception - string

The flow will throw an exception. This exception can be catched by the 'catch' node.

node-red-contrib-linode's People

Contributors

caputomarcos avatar snyk-bot avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

node-red-contrib-linode's Issues

Why do I get a Forbidden message

I have tested the example in two servers both running Ubuntu 20.04.2. In one I can run the example without problem. This uses node-red v2.0.6, nodejs v12.22.4 and npm 6.14.14.

In the other one which uses node-red v2.0.6m nodejs v14.17.6 and npm v6.14.15 I get in each of the Linode nodes a message in red that says Forbidden and if I use the inject error I get FetchError. In the enclosed file you will find and example

What can be be the problem?
2021-09-20_13-18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.