forked from prijindal/kuzzle_dart
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from kuzzleio/2.4.0-proposal
Release 2.4.0
- Loading branch information
Showing
7 changed files
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
## [2.4.0] | ||
|
||
- Add custom properties to a KuzzleRequest | ||
|
||
## [2.3.0] | ||
|
||
- Add an option to accept bad SSL certificate | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
code: true | ||
type: branch | ||
title: KuzzleRequest | ||
description: KuzzleRequest object documentation | ||
order: 0 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
code: false | ||
type: page | ||
title: Introduction | ||
description: KuzzleRequest object description | ||
order: 0 | ||
--- | ||
|
||
## KuzzleRequest | ||
|
||
`KuzzleRequest` is a **serializable** class representing a raw Kuzzle request. | ||
|
||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
|--- |--- |--- | | ||
| `action` | <pre>String</pre> | Executed Kuzzle API controller's action ` | ||
| `body` | <pre>Map<String, dynamic> body</pre> | | ||
| `collection` | <pre>String</pre> | Impacted collection | | ||
| `controller` | <pre>String</pre> | Executed Kuzzle API controller | | ||
| `index` | <pre>String</pre> | Impacted index | | ||
| `jwt` | <pre>String</pre> | Authentication token | | ||
| `lang` | <pre>String</pre> | ES lang | | ||
| `requestId` | <pre>String</pre> | Request unique identifier | | ||
| `waitForRefresh` | <pre>bool</pre> | If set to `true`, Kuzzle will wait for the persistence layer to finish indexing | | ||
| `volatile` | <pre>Map<String, dynamic></pre> | Volatile data | | ||
| `from` | <pre>int</pre><br/>(`0`) | Offset of the first document to fetch | | ||
| `size` | <pre>int</pre><br/>(`10`) | Maximum number of documents to retrieve per page | | ||
| `scroll` | <pre>String</pre><br/>(`""`) | When set, gets a forward-only cursor having its ttl set to the given value (ie `1s`; cf [elasticsearch time limits](https://www.elastic.co/guide/en/elasticsearch/reference/7.3/common-options.html#time-units)) | | ||
| `scrollId` | <pre>String</pre> | The scrollId if using scroll option | | ||
| `sort` | <pre>List<dynamic></pre> | Contains a list of fields, used to [sort search results](https://www.elastic.co/guide/en/elasticsearch/reference/7.3/search-request-sort.html), in order of importance. | | ||
|
||
## Overrided operators | ||
|
||
The `[]` and `[]=` are overrided so you can dynamically add any args you want to this class and it will be taken in consideration in the request sent to Kuzzle. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters