Skip to content

Commit 39debf3

Browse files
Aschenbenoitvidis
authored andcommitted
Add since (#292)
Add Since 6.1.1 for extends SDK page
1 parent 4cd466f commit 39debf3

File tree

1 file changed

+3
-1
lines changed
  • src/sdk-reference/js/6/extend-sdk

1 file changed

+3
-1
lines changed

src/sdk-reference/js/6/extend-sdk/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ order: 410
77

88
# Extend the SDK with a custom SDK controller
99

10+
{{{since "6.1.1"}}}
11+
1012
It is possible to extend the SDK's API by adding new controllers.
1113

1214
These controllers correspond to [custom controllers created in a plugin]({{ site_base_path }}plugins/1/essentials/controllers). Thus, it is possible to use the actions of a core plugin in the SDK in the same way as the other actions of the Kuzzle API.
@@ -23,7 +25,7 @@ After defining your new controller based on `BaseController`, you can add it to
2325

2426
The constructor of a custom SDK controller will be called by passing the SDK instance to it. It must call the parent constructor with this instance of the SDK and its name as defined in the API.
2527

26-
For instance, if there is a plugin named `nyc-open-data-taxi`, extending Kuzzle's API with the following controller:
28+
For instance, if there is a plugin named `nyc-open-data-plugin`, extending Kuzzle's API with the following controller:
2729

2830
```javascript
2931
this.controllers = {

0 commit comments

Comments
 (0)