kuzzleio / documentation-old

Source of http://docs.kuzzle.io/
Apache License 2.0
1 stars 2 forks source link

Issue related to "The plugin context/Accessor/execute" section #79

Closed dbengsch closed 7 years ago

dbengsch commented 7 years ago

This section is not clear enough about what is expected as second argument of the Request constructor and from where it comes.

scottinet commented 7 years ago

@dbengsch > the second argument of the Request constructor is detailed at length in the Plugin context/Constructors/Request section (http://docs.kuzzle.io/plugin-reference/#request)

How would you improve the execute documentation exactly?

dbengsch commented 7 years ago

The data argument could lead more easily to the idea that it can use the same format than an API call, and forward them to the Other protocols section of the API documentation, where all controllers and actions are documented. At the time, it forwards to the RequestInput documentation that isn't related to the API documentation at all.