cheminee 0.1.5 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69f9d4856f7f3d4f693aa9affb128fc80a79870f2a7ef0125ab5629ecc31a104
4
- data.tar.gz: 9a33b5e2cbb5f8e8f6793d7f83db0c88b245f376f062404fec10eff4363dbba6
3
+ metadata.gz: cf3f1cc1f61325ed72814ecfb9ad13976b2b9b43bffd304f10c4de5bd603ce54
4
+ data.tar.gz: 61ad6610334dc684ac553c30be8374c62a3a9f9448ab30587b1ac415b17cdaf7
5
5
  SHA512:
6
- metadata.gz: 99e125d536f7bbda6e0242d20ba225284d5a9abb3aa0f8edad28a6d42ff9e88086785bd54e3deaed2d4393860079fac1f1b960350f9f063c9c50d15343447b38
7
- data.tar.gz: dd107d62aef25c62a8664e7b9ea8843af3d49955e67e71efcedaa1106e4401379c2975f2a6e90d87727ea9a40e775ab5dc712ed05d8c6f89389b156afa77080b
6
+ metadata.gz: ed7d0328a375607eaea0685985af853dbbdd2b36a4d1ad9d2f010e588a1fbfd0c614054f76e66ff16cc7d8aec4de9f41857df3bf6f5c12c785d2a3ad5d34ac36
7
+ data.tar.gz: 6560589c555645180d94e14ec6e28d88a6c2f0c12ca5c971b353063062873b899745d74b80c560c0498297995a7fdfcc164394878f2f60525785c978c4b70b2b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cheminee (0.1.5)
4
+ cheminee (0.1.7)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -7,7 +7,7 @@ Cheminée: The Chemical Structure Search Engine
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0
10
- - Package version: 0.1.5
10
+ - Package version: 0.1.7
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://github.com/rdkit-rs/cheminee](https://github.com/rdkit-rs/cheminee)
13
13
 
@@ -24,16 +24,16 @@ gem build cheminee.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./cheminee-0.1.5.gem
27
+ gem install ./cheminee-0.1.7.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./cheminee-0.1.5.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./cheminee-0.1.7.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'cheminee', '~> 0.1.5'
36
+ gem 'cheminee', '~> 0.1.7'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -60,6 +60,7 @@ require 'cheminee'
60
60
  api_instance = Cheminee::DefaultApi.new
61
61
 
62
62
  begin
63
+ #List indexes
63
64
  result = api_instance.v1_indexes_get
64
65
  p result
65
66
  rescue Cheminee::ApiError => e
@@ -74,20 +75,26 @@ All URIs are relative to *http://localhost:3000/api*
74
75
 
75
76
  Class | Method | HTTP request | Description
76
77
  ------------ | ------------- | ------------- | -------------
77
- *Cheminee::DefaultApi* | [**v1_indexes_get**](docs/DefaultApi.md#v1_indexes_get) | **GET** /v1/indexes |
78
- *Cheminee::DefaultApi* | [**v1_indexes_index_get**](docs/DefaultApi.md#v1_indexes_index_get) | **GET** /v1/indexes/{index} |
79
- *Cheminee::DefaultApi* | [**v1_indexes_index_post**](docs/DefaultApi.md#v1_indexes_index_post) | **POST** /v1/indexes/{index} |
80
- *Cheminee::DefaultApi* | [**v1_indexes_index_search_substructure_get**](docs/DefaultApi.md#v1_indexes_index_search_substructure_get) | **GET** /v1/indexes/{index}/search/substructure |
81
- *Cheminee::DefaultApi* | [**v1_schemas_get**](docs/DefaultApi.md#v1_schemas_get) | **GET** /v1/schemas |
82
- *Cheminee::DefaultApi* | [**v1_standardize_post**](docs/DefaultApi.md#v1_standardize_post) | **POST** /v1/standardize |
78
+ *Cheminee::DefaultApi* | [**v1_indexes_get**](docs/DefaultApi.md#v1_indexes_get) | **GET** /v1/indexes | List indexes
79
+ *Cheminee::DefaultApi* | [**v1_indexes_index_bulk_index_post**](docs/DefaultApi.md#v1_indexes_index_bulk_index_post) | **POST** /v1/indexes/{index}/bulk_index | Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
80
+ *Cheminee::DefaultApi* | [**v1_indexes_index_get**](docs/DefaultApi.md#v1_indexes_index_get) | **GET** /v1/indexes/{index} | Get extended information about an index
81
+ *Cheminee::DefaultApi* | [**v1_indexes_index_post**](docs/DefaultApi.md#v1_indexes_index_post) | **POST** /v1/indexes/{index} | Create an index
82
+ *Cheminee::DefaultApi* | [**v1_indexes_index_search_substructure_get**](docs/DefaultApi.md#v1_indexes_index_search_substructure_get) | **GET** /v1/indexes/{index}/search/substructure | Perform substructure search against index
83
+ *Cheminee::DefaultApi* | [**v1_schemas_get**](docs/DefaultApi.md#v1_schemas_get) | **GET** /v1/schemas | List schemas available for creating indexes
84
+ *Cheminee::DefaultApi* | [**v1_standardize_post**](docs/DefaultApi.md#v1_standardize_post) | **POST** /v1/standardize | Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
83
85
 
84
86
 
85
87
  ## Documentation for Models
86
88
 
89
+ - [Cheminee::BulkRequest](docs/BulkRequest.md)
90
+ - [Cheminee::BulkRequestDoc](docs/BulkRequestDoc.md)
87
91
  - [Cheminee::CreateIndexError](docs/CreateIndexError.md)
88
92
  - [Cheminee::GetIndexesResponseError](docs/GetIndexesResponseError.md)
89
93
  - [Cheminee::IndexMeta](docs/IndexMeta.md)
90
94
  - [Cheminee::ListIndexResponseErr](docs/ListIndexResponseErr.md)
95
+ - [Cheminee::PostIndexBulkResponseError](docs/PostIndexBulkResponseError.md)
96
+ - [Cheminee::PostIndexBulkResponseOk](docs/PostIndexBulkResponseOk.md)
97
+ - [Cheminee::PostIndexBulkResponseOkStatus](docs/PostIndexBulkResponseOkStatus.md)
91
98
  - [Cheminee::Schema](docs/Schema.md)
92
99
  - [Cheminee::Smile](docs/Smile.md)
93
100
  - [Cheminee::StandardizedSmile](docs/StandardizedSmile.md)
@@ -0,0 +1,18 @@
1
+ # Cheminee::BulkRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **docs** | [**Array<BulkRequestDoc>**](BulkRequestDoc.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'cheminee'
13
+
14
+ instance = Cheminee::BulkRequest.new(
15
+ docs: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # Cheminee::BulkRequestDoc
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **smile** | **String** | | |
8
+ | **extra_data** | **Object** | This value can store an arbitrary JSON object like '{}' | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'cheminee'
14
+
15
+ instance = Cheminee::BulkRequestDoc.new(
16
+ smile: null,
17
+ extra_data: null
18
+ )
19
+ ```
20
+
data/docs/DefaultApi.md CHANGED
@@ -4,19 +4,20 @@ All URIs are relative to *http://localhost:3000/api*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**v1_indexes_get**](DefaultApi.md#v1_indexes_get) | **GET** /v1/indexes | |
8
- | [**v1_indexes_index_get**](DefaultApi.md#v1_indexes_index_get) | **GET** /v1/indexes/{index} | |
9
- | [**v1_indexes_index_post**](DefaultApi.md#v1_indexes_index_post) | **POST** /v1/indexes/{index} | |
10
- | [**v1_indexes_index_search_substructure_get**](DefaultApi.md#v1_indexes_index_search_substructure_get) | **GET** /v1/indexes/{index}/search/substructure | |
11
- | [**v1_schemas_get**](DefaultApi.md#v1_schemas_get) | **GET** /v1/schemas | |
12
- | [**v1_standardize_post**](DefaultApi.md#v1_standardize_post) | **POST** /v1/standardize | |
7
+ | [**v1_indexes_get**](DefaultApi.md#v1_indexes_get) | **GET** /v1/indexes | List indexes |
8
+ | [**v1_indexes_index_bulk_index_post**](DefaultApi.md#v1_indexes_index_bulk_index_post) | **POST** /v1/indexes/{index}/bulk_index | Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable |
9
+ | [**v1_indexes_index_get**](DefaultApi.md#v1_indexes_index_get) | **GET** /v1/indexes/{index} | Get extended information about an index |
10
+ | [**v1_indexes_index_post**](DefaultApi.md#v1_indexes_index_post) | **POST** /v1/indexes/{index} | Create an index |
11
+ | [**v1_indexes_index_search_substructure_get**](DefaultApi.md#v1_indexes_index_search_substructure_get) | **GET** /v1/indexes/{index}/search/substructure | Perform substructure search against index |
12
+ | [**v1_schemas_get**](DefaultApi.md#v1_schemas_get) | **GET** /v1/schemas | List schemas available for creating indexes |
13
+ | [**v1_standardize_post**](DefaultApi.md#v1_standardize_post) | **POST** /v1/standardize | Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines |
13
14
 
14
15
 
15
16
  ## v1_indexes_get
16
17
 
17
18
  > <Array<IndexMeta>> v1_indexes_get
18
19
 
19
-
20
+ List indexes
20
21
 
21
22
  ### Examples
22
23
 
@@ -27,7 +28,7 @@ require 'cheminee'
27
28
  api_instance = Cheminee::DefaultApi.new
28
29
 
29
30
  begin
30
-
31
+ # List indexes
31
32
  result = api_instance.v1_indexes_get
32
33
  p result
33
34
  rescue Cheminee::ApiError => e
@@ -43,7 +44,7 @@ This returns an Array which contains the response data, status code and headers.
43
44
 
44
45
  ```ruby
45
46
  begin
46
-
47
+ # List indexes
47
48
  data, status_code, headers = api_instance.v1_indexes_get_with_http_info
48
49
  p status_code # => 2xx
49
50
  p headers # => { ... }
@@ -71,11 +72,75 @@ No authorization required
71
72
  - **Accept**: application/json; charset=utf-8
72
73
 
73
74
 
75
+ ## v1_indexes_index_bulk_index_post
76
+
77
+ > <PostIndexBulkResponseOk> v1_indexes_index_bulk_index_post(index, bulk_request)
78
+
79
+ Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
80
+
81
+ ### Examples
82
+
83
+ ```ruby
84
+ require 'time'
85
+ require 'cheminee'
86
+
87
+ api_instance = Cheminee::DefaultApi.new
88
+ index = 'index_example' # String |
89
+ bulk_request = Cheminee::BulkRequest.new({docs: [Cheminee::BulkRequestDoc.new({smile: 'smile_example'})]}) # BulkRequest |
90
+
91
+ begin
92
+ # Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
93
+ result = api_instance.v1_indexes_index_bulk_index_post(index, bulk_request)
94
+ p result
95
+ rescue Cheminee::ApiError => e
96
+ puts "Error when calling DefaultApi->v1_indexes_index_bulk_index_post: #{e}"
97
+ end
98
+ ```
99
+
100
+ #### Using the v1_indexes_index_bulk_index_post_with_http_info variant
101
+
102
+ This returns an Array which contains the response data, status code and headers.
103
+
104
+ > <Array(<PostIndexBulkResponseOk>, Integer, Hash)> v1_indexes_index_bulk_index_post_with_http_info(index, bulk_request)
105
+
106
+ ```ruby
107
+ begin
108
+ # Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
109
+ data, status_code, headers = api_instance.v1_indexes_index_bulk_index_post_with_http_info(index, bulk_request)
110
+ p status_code # => 2xx
111
+ p headers # => { ... }
112
+ p data # => <PostIndexBulkResponseOk>
113
+ rescue Cheminee::ApiError => e
114
+ puts "Error when calling DefaultApi->v1_indexes_index_bulk_index_post_with_http_info: #{e}"
115
+ end
116
+ ```
117
+
118
+ ### Parameters
119
+
120
+ | Name | Type | Description | Notes |
121
+ | ---- | ---- | ----------- | ----- |
122
+ | **index** | **String** | | |
123
+ | **bulk_request** | [**BulkRequest**](BulkRequest.md) | | |
124
+
125
+ ### Return type
126
+
127
+ [**PostIndexBulkResponseOk**](PostIndexBulkResponseOk.md)
128
+
129
+ ### Authorization
130
+
131
+ No authorization required
132
+
133
+ ### HTTP request headers
134
+
135
+ - **Content-Type**: application/json; charset=utf-8
136
+ - **Accept**: application/json; charset=utf-8
137
+
138
+
74
139
  ## v1_indexes_index_get
75
140
 
76
141
  > <Array<IndexMeta>> v1_indexes_index_get(index)
77
142
 
78
-
143
+ Get extended information about an index
79
144
 
80
145
  ### Examples
81
146
 
@@ -87,7 +152,7 @@ api_instance = Cheminee::DefaultApi.new
87
152
  index = 'index_example' # String |
88
153
 
89
154
  begin
90
-
155
+ # Get extended information about an index
91
156
  result = api_instance.v1_indexes_index_get(index)
92
157
  p result
93
158
  rescue Cheminee::ApiError => e
@@ -103,7 +168,7 @@ This returns an Array which contains the response data, status code and headers.
103
168
 
104
169
  ```ruby
105
170
  begin
106
-
171
+ # Get extended information about an index
107
172
  data, status_code, headers = api_instance.v1_indexes_index_get_with_http_info(index)
108
173
  p status_code # => 2xx
109
174
  p headers # => { ... }
@@ -137,7 +202,7 @@ No authorization required
137
202
 
138
203
  > <IndexMeta> v1_indexes_index_post(index, schema, opts)
139
204
 
140
-
205
+ Create an index
141
206
 
142
207
  ### Examples
143
208
 
@@ -153,7 +218,7 @@ opts = {
153
218
  }
154
219
 
155
220
  begin
156
-
221
+ # Create an index
157
222
  result = api_instance.v1_indexes_index_post(index, schema, opts)
158
223
  p result
159
224
  rescue Cheminee::ApiError => e
@@ -169,7 +234,7 @@ This returns an Array which contains the response data, status code and headers.
169
234
 
170
235
  ```ruby
171
236
  begin
172
-
237
+ # Create an index
173
238
  data, status_code, headers = api_instance.v1_indexes_index_post_with_http_info(index, schema, opts)
174
239
  p status_code # => 2xx
175
240
  p headers # => { ... }
@@ -205,7 +270,7 @@ No authorization required
205
270
 
206
271
  > <Array<SubstructureSearchHit>> v1_indexes_index_search_substructure_get(index, q)
207
272
 
208
-
273
+ Perform substructure search against index
209
274
 
210
275
  ### Examples
211
276
 
@@ -218,7 +283,7 @@ index = 'index_example' # String |
218
283
  q = 'q_example' # String |
219
284
 
220
285
  begin
221
-
286
+ # Perform substructure search against index
222
287
  result = api_instance.v1_indexes_index_search_substructure_get(index, q)
223
288
  p result
224
289
  rescue Cheminee::ApiError => e
@@ -234,7 +299,7 @@ This returns an Array which contains the response data, status code and headers.
234
299
 
235
300
  ```ruby
236
301
  begin
237
-
302
+ # Perform substructure search against index
238
303
  data, status_code, headers = api_instance.v1_indexes_index_search_substructure_get_with_http_info(index, q)
239
304
  p status_code # => 2xx
240
305
  p headers # => { ... }
@@ -269,7 +334,7 @@ No authorization required
269
334
 
270
335
  > <Array<Schema>> v1_schemas_get
271
336
 
272
-
337
+ List schemas available for creating indexes
273
338
 
274
339
  ### Examples
275
340
 
@@ -280,7 +345,7 @@ require 'cheminee'
280
345
  api_instance = Cheminee::DefaultApi.new
281
346
 
282
347
  begin
283
-
348
+ # List schemas available for creating indexes
284
349
  result = api_instance.v1_schemas_get
285
350
  p result
286
351
  rescue Cheminee::ApiError => e
@@ -296,7 +361,7 @@ This returns an Array which contains the response data, status code and headers.
296
361
 
297
362
  ```ruby
298
363
  begin
299
-
364
+ # List schemas available for creating indexes
300
365
  data, status_code, headers = api_instance.v1_schemas_get_with_http_info
301
366
  p status_code # => 2xx
302
367
  p headers # => { ... }
@@ -328,7 +393,7 @@ No authorization required
328
393
 
329
394
  > <Array<StandardizedSmile>> v1_standardize_post(smile)
330
395
 
331
-
396
+ Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
332
397
 
333
398
  ### Examples
334
399
 
@@ -340,7 +405,7 @@ api_instance = Cheminee::DefaultApi.new
340
405
  smile = [Cheminee::Smile.new({smile: 'smile_example'})] # Array<Smile> |
341
406
 
342
407
  begin
343
-
408
+ # Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
344
409
  result = api_instance.v1_standardize_post(smile)
345
410
  p result
346
411
  rescue Cheminee::ApiError => e
@@ -356,7 +421,7 @@ This returns an Array which contains the response data, status code and headers.
356
421
 
357
422
  ```ruby
358
423
  begin
359
-
424
+ # Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
360
425
  data, status_code, headers = api_instance.v1_standardize_post_with_http_info(smile)
361
426
  p status_code # => 2xx
362
427
  p headers # => { ... }
@@ -0,0 +1,18 @@
1
+ # Cheminee::PostIndexBulkResponseError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'cheminee'
13
+
14
+ instance = Cheminee::PostIndexBulkResponseError.new(
15
+ error: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # Cheminee::PostIndexBulkResponseOk
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **statuses** | [**Array&lt;PostIndexBulkResponseOkStatus&gt;**](PostIndexBulkResponseOkStatus.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'cheminee'
13
+
14
+ instance = Cheminee::PostIndexBulkResponseOk.new(
15
+ statuses: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # Cheminee::PostIndexBulkResponseOkStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **opcode** | **Integer** | | [optional] |
8
+ | **error** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'cheminee'
14
+
15
+ instance = Cheminee::PostIndexBulkResponseOkStatus.new(
16
+ opcode: null,
17
+ error: null
18
+ )
19
+ ```
20
+
@@ -19,6 +19,7 @@ module Cheminee
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # List indexes
22
23
  # @param [Hash] opts the optional parameters
23
24
  # @return [Array<IndexMeta>]
24
25
  def v1_indexes_get(opts = {})
@@ -26,6 +27,7 @@ module Cheminee
26
27
  data
27
28
  end
28
29
 
30
+ # List indexes
29
31
  # @param [Hash] opts the optional parameters
30
32
  # @return [Array<(Array<IndexMeta>, Integer, Hash)>] Array<IndexMeta> data, response status code and response headers
31
33
  def v1_indexes_get_with_http_info(opts = {})
@@ -72,6 +74,79 @@ module Cheminee
72
74
  return data, status_code, headers
73
75
  end
74
76
 
77
+ # Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
78
+ # @param index [String]
79
+ # @param bulk_request [BulkRequest]
80
+ # @param [Hash] opts the optional parameters
81
+ # @return [PostIndexBulkResponseOk]
82
+ def v1_indexes_index_bulk_index_post(index, bulk_request, opts = {})
83
+ data, _status_code, _headers = v1_indexes_index_bulk_index_post_with_http_info(index, bulk_request, opts)
84
+ data
85
+ end
86
+
87
+ # Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
88
+ # @param index [String]
89
+ # @param bulk_request [BulkRequest]
90
+ # @param [Hash] opts the optional parameters
91
+ # @return [Array<(PostIndexBulkResponseOk, Integer, Hash)>] PostIndexBulkResponseOk data, response status code and response headers
92
+ def v1_indexes_index_bulk_index_post_with_http_info(index, bulk_request, opts = {})
93
+ if @api_client.config.debugging
94
+ @api_client.config.logger.debug 'Calling API: DefaultApi.v1_indexes_index_bulk_index_post ...'
95
+ end
96
+ # verify the required parameter 'index' is set
97
+ if @api_client.config.client_side_validation && index.nil?
98
+ fail ArgumentError, "Missing the required parameter 'index' when calling DefaultApi.v1_indexes_index_bulk_index_post"
99
+ end
100
+ # verify the required parameter 'bulk_request' is set
101
+ if @api_client.config.client_side_validation && bulk_request.nil?
102
+ fail ArgumentError, "Missing the required parameter 'bulk_request' when calling DefaultApi.v1_indexes_index_bulk_index_post"
103
+ end
104
+ # resource path
105
+ local_var_path = '/v1/indexes/{index}/bulk_index'.sub('{' + 'index' + '}', CGI.escape(index.to_s))
106
+
107
+ # query parameters
108
+ query_params = opts[:query_params] || {}
109
+
110
+ # header parameters
111
+ header_params = opts[:header_params] || {}
112
+ # HTTP header 'Accept' (if needed)
113
+ header_params['Accept'] = @api_client.select_header_accept(['application/json; charset=utf-8'])
114
+ # HTTP header 'Content-Type'
115
+ content_type = @api_client.select_header_content_type(['application/json; charset=utf-8'])
116
+ if !content_type.nil?
117
+ header_params['Content-Type'] = content_type
118
+ end
119
+
120
+ # form parameters
121
+ form_params = opts[:form_params] || {}
122
+
123
+ # http body (model)
124
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(bulk_request)
125
+
126
+ # return_type
127
+ return_type = opts[:debug_return_type] || 'PostIndexBulkResponseOk'
128
+
129
+ # auth_names
130
+ auth_names = opts[:debug_auth_names] || []
131
+
132
+ new_options = opts.merge(
133
+ :operation => :"DefaultApi.v1_indexes_index_bulk_index_post",
134
+ :header_params => header_params,
135
+ :query_params => query_params,
136
+ :form_params => form_params,
137
+ :body => post_body,
138
+ :auth_names => auth_names,
139
+ :return_type => return_type
140
+ )
141
+
142
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
143
+ if @api_client.config.debugging
144
+ @api_client.config.logger.debug "API called: DefaultApi#v1_indexes_index_bulk_index_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
145
+ end
146
+ return data, status_code, headers
147
+ end
148
+
149
+ # Get extended information about an index
75
150
  # @param index [String]
76
151
  # @param [Hash] opts the optional parameters
77
152
  # @return [Array<IndexMeta>]
@@ -80,6 +155,7 @@ module Cheminee
80
155
  data
81
156
  end
82
157
 
158
+ # Get extended information about an index
83
159
  # @param index [String]
84
160
  # @param [Hash] opts the optional parameters
85
161
  # @return [Array<(Array<IndexMeta>, Integer, Hash)>] Array<IndexMeta> data, response status code and response headers
@@ -131,6 +207,7 @@ module Cheminee
131
207
  return data, status_code, headers
132
208
  end
133
209
 
210
+ # Create an index
134
211
  # @param index [String]
135
212
  # @param schema [String]
136
213
  # @param [Hash] opts the optional parameters
@@ -141,6 +218,7 @@ module Cheminee
141
218
  data
142
219
  end
143
220
 
221
+ # Create an index
144
222
  # @param index [String]
145
223
  # @param schema [String]
146
224
  # @param [Hash] opts the optional parameters
@@ -200,6 +278,7 @@ module Cheminee
200
278
  return data, status_code, headers
201
279
  end
202
280
 
281
+ # Perform substructure search against index
203
282
  # @param index [String]
204
283
  # @param q [String]
205
284
  # @param [Hash] opts the optional parameters
@@ -209,6 +288,7 @@ module Cheminee
209
288
  data
210
289
  end
211
290
 
291
+ # Perform substructure search against index
212
292
  # @param index [String]
213
293
  # @param q [String]
214
294
  # @param [Hash] opts the optional parameters
@@ -266,6 +346,7 @@ module Cheminee
266
346
  return data, status_code, headers
267
347
  end
268
348
 
349
+ # List schemas available for creating indexes
269
350
  # @param [Hash] opts the optional parameters
270
351
  # @return [Array<Schema>]
271
352
  def v1_schemas_get(opts = {})
@@ -273,6 +354,7 @@ module Cheminee
273
354
  data
274
355
  end
275
356
 
357
+ # List schemas available for creating indexes
276
358
  # @param [Hash] opts the optional parameters
277
359
  # @return [Array<(Array<Schema>, Integer, Hash)>] Array<Schema> data, response status code and response headers
278
360
  def v1_schemas_get_with_http_info(opts = {})
@@ -319,6 +401,7 @@ module Cheminee
319
401
  return data, status_code, headers
320
402
  end
321
403
 
404
+ # Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
322
405
  # @param smile [Array<Smile>]
323
406
  # @param [Hash] opts the optional parameters
324
407
  # @return [Array<StandardizedSmile>]
@@ -327,6 +410,7 @@ module Cheminee
327
410
  data
328
411
  end
329
412
 
413
+ # Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
330
414
  # @param smile [Array<Smile>]
331
415
  # @param [Hash] opts the optional parameters
332
416
  # @return [Array<(Array<StandardizedSmile>, Integer, Hash)>] Array<StandardizedSmile> data, response status code and response headers