knievel 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -5
- data/docs/AdLibraryApi.md +1 -1
- data/docs/AdsApi.md +11 -5
- data/docs/AdvertisersApi.md +11 -5
- data/docs/CampaignsApi.md +11 -5
- data/docs/CreativeTemplatesApi.md +11 -5
- data/docs/CreativesApi.md +11 -5
- data/docs/DecisionsApi.md +1 -1
- data/docs/ExplainApi.md +1 -1
- data/docs/FlightsApi.md +11 -5
- data/docs/OrgsApi.md +1 -1
- data/docs/SitesApi.md +11 -5
- data/docs/SystemApi.md +1 -1
- data/docs/TaxonomyApi.md +1 -1
- data/docs/TokensApi.md +1 -1
- data/docs/ZonesApi.md +11 -5
- data/lib/knievel/api/ads_api.rb +6 -0
- data/lib/knievel/api/advertisers_api.rb +6 -0
- data/lib/knievel/api/campaigns_api.rb +6 -0
- data/lib/knievel/api/creative_templates_api.rb +6 -0
- data/lib/knievel/api/creatives_api.rb +6 -0
- data/lib/knievel/api/flights_api.rb +6 -0
- data/lib/knievel/api/sites_api.rb +6 -0
- data/lib/knievel/api/zones_api.rb +6 -0
- data/lib/knievel/configuration.rb +3 -3
- data/lib/knievel/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a60381b28c6db8b19d340cd8c5f702aa1831fb5d360e12cb373a67df55776e7
|
|
4
|
+
data.tar.gz: bed2c614631031e1e56cd2a8ecba46ccacacee369acce7e30e08ed554c253b13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e19b85b28a9295d69d93f6116c24df8075e4f7164aaab717b62bd38c314f8045d4a110cff56a38f17b187b734e5b01fbd31d5d09a2bff5c4c2d6379ebc81976
|
|
7
|
+
data.tar.gz: a2d48eb90031f3ea85d5131015d4ea3a8efb887a9ba3a556a17429a6a22cfc8e18e99c35c5501dcbecd40dbf053244d5ad5b1c0a3ee7233f71b720cf9efe60c8
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 0.1.0
|
|
10
|
-
- Package version: 0.1.
|
|
10
|
+
- Package version: 0.1.4
|
|
11
11
|
- Generator version: 7.23.0-SNAPSHOT
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build knievel.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./knievel-0.1.
|
|
27
|
+
gem install ./knievel-0.1.4.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./knievel-0.1.
|
|
30
|
+
(for development, run `gem install --dev ./knievel-0.1.4.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 'knievel', '~> 0.1.
|
|
36
|
+
gem 'knievel', '~> 0.1.4'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -82,7 +82,7 @@ end
|
|
|
82
82
|
|
|
83
83
|
## Documentation for API Endpoints
|
|
84
84
|
|
|
85
|
-
All URIs are relative to *http://localhost*
|
|
85
|
+
All URIs are relative to *http://localhost:8080*
|
|
86
86
|
|
|
87
87
|
Class | Method | HTTP request | Description
|
|
88
88
|
------------ | ------------- | ------------- | -------------
|
data/docs/AdLibraryApi.md
CHANGED
data/docs/AdsApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Knievel::AdsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
@@ -220,7 +220,7 @@ end
|
|
|
220
220
|
|
|
221
221
|
## list_ads
|
|
222
222
|
|
|
223
|
-
> <AdList> list_ads(project_id)
|
|
223
|
+
> <AdList> list_ads(project_id, opts)
|
|
224
224
|
|
|
225
225
|
|
|
226
226
|
|
|
@@ -237,10 +237,14 @@ end
|
|
|
237
237
|
|
|
238
238
|
api_instance = Knievel::AdsApi.new
|
|
239
239
|
project_id = 'project_id_example' # String |
|
|
240
|
+
opts = {
|
|
241
|
+
limit: 789, # Integer |
|
|
242
|
+
cursor: 'cursor_example' # String |
|
|
243
|
+
}
|
|
240
244
|
|
|
241
245
|
begin
|
|
242
246
|
|
|
243
|
-
result = api_instance.list_ads(project_id)
|
|
247
|
+
result = api_instance.list_ads(project_id, opts)
|
|
244
248
|
p result
|
|
245
249
|
rescue Knievel::ApiError => e
|
|
246
250
|
puts "Error when calling AdsApi->list_ads: #{e}"
|
|
@@ -251,12 +255,12 @@ end
|
|
|
251
255
|
|
|
252
256
|
This returns an Array which contains the response data, status code and headers.
|
|
253
257
|
|
|
254
|
-
> <Array(<AdList>, Integer, Hash)> list_ads_with_http_info(project_id)
|
|
258
|
+
> <Array(<AdList>, Integer, Hash)> list_ads_with_http_info(project_id, opts)
|
|
255
259
|
|
|
256
260
|
```ruby
|
|
257
261
|
begin
|
|
258
262
|
|
|
259
|
-
data, status_code, headers = api_instance.list_ads_with_http_info(project_id)
|
|
263
|
+
data, status_code, headers = api_instance.list_ads_with_http_info(project_id, opts)
|
|
260
264
|
p status_code # => 2xx
|
|
261
265
|
p headers # => { ... }
|
|
262
266
|
p data # => <AdList>
|
|
@@ -270,6 +274,8 @@ end
|
|
|
270
274
|
| Name | Type | Description | Notes |
|
|
271
275
|
| ---- | ---- | ----------- | ----- |
|
|
272
276
|
| **project_id** | **String** | | |
|
|
277
|
+
| **limit** | **Integer** | | [optional] |
|
|
278
|
+
| **cursor** | **String** | | [optional] |
|
|
273
279
|
|
|
274
280
|
### Return type
|
|
275
281
|
|
data/docs/AdvertisersApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Knievel::AdvertisersApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
@@ -220,7 +220,7 @@ end
|
|
|
220
220
|
|
|
221
221
|
## list_advertisers
|
|
222
222
|
|
|
223
|
-
> <AdvertiserList> list_advertisers(project_id)
|
|
223
|
+
> <AdvertiserList> list_advertisers(project_id, opts)
|
|
224
224
|
|
|
225
225
|
|
|
226
226
|
|
|
@@ -237,10 +237,14 @@ end
|
|
|
237
237
|
|
|
238
238
|
api_instance = Knievel::AdvertisersApi.new
|
|
239
239
|
project_id = 'project_id_example' # String |
|
|
240
|
+
opts = {
|
|
241
|
+
limit: 789, # Integer |
|
|
242
|
+
cursor: 'cursor_example' # String |
|
|
243
|
+
}
|
|
240
244
|
|
|
241
245
|
begin
|
|
242
246
|
|
|
243
|
-
result = api_instance.list_advertisers(project_id)
|
|
247
|
+
result = api_instance.list_advertisers(project_id, opts)
|
|
244
248
|
p result
|
|
245
249
|
rescue Knievel::ApiError => e
|
|
246
250
|
puts "Error when calling AdvertisersApi->list_advertisers: #{e}"
|
|
@@ -251,12 +255,12 @@ end
|
|
|
251
255
|
|
|
252
256
|
This returns an Array which contains the response data, status code and headers.
|
|
253
257
|
|
|
254
|
-
> <Array(<AdvertiserList>, Integer, Hash)> list_advertisers_with_http_info(project_id)
|
|
258
|
+
> <Array(<AdvertiserList>, Integer, Hash)> list_advertisers_with_http_info(project_id, opts)
|
|
255
259
|
|
|
256
260
|
```ruby
|
|
257
261
|
begin
|
|
258
262
|
|
|
259
|
-
data, status_code, headers = api_instance.list_advertisers_with_http_info(project_id)
|
|
263
|
+
data, status_code, headers = api_instance.list_advertisers_with_http_info(project_id, opts)
|
|
260
264
|
p status_code # => 2xx
|
|
261
265
|
p headers # => { ... }
|
|
262
266
|
p data # => <AdvertiserList>
|
|
@@ -270,6 +274,8 @@ end
|
|
|
270
274
|
| Name | Type | Description | Notes |
|
|
271
275
|
| ---- | ---- | ----------- | ----- |
|
|
272
276
|
| **project_id** | **String** | | |
|
|
277
|
+
| **limit** | **Integer** | | [optional] |
|
|
278
|
+
| **cursor** | **String** | | [optional] |
|
|
273
279
|
|
|
274
280
|
### Return type
|
|
275
281
|
|
data/docs/CampaignsApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Knievel::CampaignsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
@@ -220,7 +220,7 @@ end
|
|
|
220
220
|
|
|
221
221
|
## list_campaigns
|
|
222
222
|
|
|
223
|
-
> <CampaignList> list_campaigns(project_id)
|
|
223
|
+
> <CampaignList> list_campaigns(project_id, opts)
|
|
224
224
|
|
|
225
225
|
|
|
226
226
|
|
|
@@ -237,10 +237,14 @@ end
|
|
|
237
237
|
|
|
238
238
|
api_instance = Knievel::CampaignsApi.new
|
|
239
239
|
project_id = 'project_id_example' # String |
|
|
240
|
+
opts = {
|
|
241
|
+
limit: 789, # Integer |
|
|
242
|
+
cursor: 'cursor_example' # String |
|
|
243
|
+
}
|
|
240
244
|
|
|
241
245
|
begin
|
|
242
246
|
|
|
243
|
-
result = api_instance.list_campaigns(project_id)
|
|
247
|
+
result = api_instance.list_campaigns(project_id, opts)
|
|
244
248
|
p result
|
|
245
249
|
rescue Knievel::ApiError => e
|
|
246
250
|
puts "Error when calling CampaignsApi->list_campaigns: #{e}"
|
|
@@ -251,12 +255,12 @@ end
|
|
|
251
255
|
|
|
252
256
|
This returns an Array which contains the response data, status code and headers.
|
|
253
257
|
|
|
254
|
-
> <Array(<CampaignList>, Integer, Hash)> list_campaigns_with_http_info(project_id)
|
|
258
|
+
> <Array(<CampaignList>, Integer, Hash)> list_campaigns_with_http_info(project_id, opts)
|
|
255
259
|
|
|
256
260
|
```ruby
|
|
257
261
|
begin
|
|
258
262
|
|
|
259
|
-
data, status_code, headers = api_instance.list_campaigns_with_http_info(project_id)
|
|
263
|
+
data, status_code, headers = api_instance.list_campaigns_with_http_info(project_id, opts)
|
|
260
264
|
p status_code # => 2xx
|
|
261
265
|
p headers # => { ... }
|
|
262
266
|
p data # => <CampaignList>
|
|
@@ -270,6 +274,8 @@ end
|
|
|
270
274
|
| Name | Type | Description | Notes |
|
|
271
275
|
| ---- | ---- | ----------- | ----- |
|
|
272
276
|
| **project_id** | **String** | | |
|
|
277
|
+
| **limit** | **Integer** | | [optional] |
|
|
278
|
+
| **cursor** | **String** | | [optional] |
|
|
273
279
|
|
|
274
280
|
### Return type
|
|
275
281
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Knievel::CreativeTemplatesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
@@ -150,7 +150,7 @@ end
|
|
|
150
150
|
|
|
151
151
|
## list_creative_templates
|
|
152
152
|
|
|
153
|
-
> <CreativeTemplateList> list_creative_templates(project_id)
|
|
153
|
+
> <CreativeTemplateList> list_creative_templates(project_id, opts)
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
|
|
@@ -167,10 +167,14 @@ end
|
|
|
167
167
|
|
|
168
168
|
api_instance = Knievel::CreativeTemplatesApi.new
|
|
169
169
|
project_id = 'project_id_example' # String |
|
|
170
|
+
opts = {
|
|
171
|
+
limit: 789, # Integer |
|
|
172
|
+
cursor: 'cursor_example' # String |
|
|
173
|
+
}
|
|
170
174
|
|
|
171
175
|
begin
|
|
172
176
|
|
|
173
|
-
result = api_instance.list_creative_templates(project_id)
|
|
177
|
+
result = api_instance.list_creative_templates(project_id, opts)
|
|
174
178
|
p result
|
|
175
179
|
rescue Knievel::ApiError => e
|
|
176
180
|
puts "Error when calling CreativeTemplatesApi->list_creative_templates: #{e}"
|
|
@@ -181,12 +185,12 @@ end
|
|
|
181
185
|
|
|
182
186
|
This returns an Array which contains the response data, status code and headers.
|
|
183
187
|
|
|
184
|
-
> <Array(<CreativeTemplateList>, Integer, Hash)> list_creative_templates_with_http_info(project_id)
|
|
188
|
+
> <Array(<CreativeTemplateList>, Integer, Hash)> list_creative_templates_with_http_info(project_id, opts)
|
|
185
189
|
|
|
186
190
|
```ruby
|
|
187
191
|
begin
|
|
188
192
|
|
|
189
|
-
data, status_code, headers = api_instance.list_creative_templates_with_http_info(project_id)
|
|
193
|
+
data, status_code, headers = api_instance.list_creative_templates_with_http_info(project_id, opts)
|
|
190
194
|
p status_code # => 2xx
|
|
191
195
|
p headers # => { ... }
|
|
192
196
|
p data # => <CreativeTemplateList>
|
|
@@ -200,6 +204,8 @@ end
|
|
|
200
204
|
| Name | Type | Description | Notes |
|
|
201
205
|
| ---- | ---- | ----------- | ----- |
|
|
202
206
|
| **project_id** | **String** | | |
|
|
207
|
+
| **limit** | **Integer** | | [optional] |
|
|
208
|
+
| **cursor** | **String** | | [optional] |
|
|
203
209
|
|
|
204
210
|
### Return type
|
|
205
211
|
|
data/docs/CreativesApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Knievel::CreativesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
@@ -150,7 +150,7 @@ end
|
|
|
150
150
|
|
|
151
151
|
## list_creatives
|
|
152
152
|
|
|
153
|
-
> <CreativeList> list_creatives(project_id)
|
|
153
|
+
> <CreativeList> list_creatives(project_id, opts)
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
|
|
@@ -167,10 +167,14 @@ end
|
|
|
167
167
|
|
|
168
168
|
api_instance = Knievel::CreativesApi.new
|
|
169
169
|
project_id = 'project_id_example' # String |
|
|
170
|
+
opts = {
|
|
171
|
+
limit: 789, # Integer |
|
|
172
|
+
cursor: 'cursor_example' # String |
|
|
173
|
+
}
|
|
170
174
|
|
|
171
175
|
begin
|
|
172
176
|
|
|
173
|
-
result = api_instance.list_creatives(project_id)
|
|
177
|
+
result = api_instance.list_creatives(project_id, opts)
|
|
174
178
|
p result
|
|
175
179
|
rescue Knievel::ApiError => e
|
|
176
180
|
puts "Error when calling CreativesApi->list_creatives: #{e}"
|
|
@@ -181,12 +185,12 @@ end
|
|
|
181
185
|
|
|
182
186
|
This returns an Array which contains the response data, status code and headers.
|
|
183
187
|
|
|
184
|
-
> <Array(<CreativeList>, Integer, Hash)> list_creatives_with_http_info(project_id)
|
|
188
|
+
> <Array(<CreativeList>, Integer, Hash)> list_creatives_with_http_info(project_id, opts)
|
|
185
189
|
|
|
186
190
|
```ruby
|
|
187
191
|
begin
|
|
188
192
|
|
|
189
|
-
data, status_code, headers = api_instance.list_creatives_with_http_info(project_id)
|
|
193
|
+
data, status_code, headers = api_instance.list_creatives_with_http_info(project_id, opts)
|
|
190
194
|
p status_code # => 2xx
|
|
191
195
|
p headers # => { ... }
|
|
192
196
|
p data # => <CreativeList>
|
|
@@ -200,6 +204,8 @@ end
|
|
|
200
204
|
| Name | Type | Description | Notes |
|
|
201
205
|
| ---- | ---- | ----------- | ----- |
|
|
202
206
|
| **project_id** | **String** | | |
|
|
207
|
+
| **limit** | **Integer** | | [optional] |
|
|
208
|
+
| **cursor** | **String** | | [optional] |
|
|
203
209
|
|
|
204
210
|
### Return type
|
|
205
211
|
|
data/docs/DecisionsApi.md
CHANGED
data/docs/ExplainApi.md
CHANGED
data/docs/FlightsApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Knievel::FlightsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
@@ -220,7 +220,7 @@ end
|
|
|
220
220
|
|
|
221
221
|
## list_flights
|
|
222
222
|
|
|
223
|
-
> <FlightList> list_flights(project_id)
|
|
223
|
+
> <FlightList> list_flights(project_id, opts)
|
|
224
224
|
|
|
225
225
|
|
|
226
226
|
|
|
@@ -237,10 +237,14 @@ end
|
|
|
237
237
|
|
|
238
238
|
api_instance = Knievel::FlightsApi.new
|
|
239
239
|
project_id = 'project_id_example' # String |
|
|
240
|
+
opts = {
|
|
241
|
+
limit: 789, # Integer |
|
|
242
|
+
cursor: 'cursor_example' # String |
|
|
243
|
+
}
|
|
240
244
|
|
|
241
245
|
begin
|
|
242
246
|
|
|
243
|
-
result = api_instance.list_flights(project_id)
|
|
247
|
+
result = api_instance.list_flights(project_id, opts)
|
|
244
248
|
p result
|
|
245
249
|
rescue Knievel::ApiError => e
|
|
246
250
|
puts "Error when calling FlightsApi->list_flights: #{e}"
|
|
@@ -251,12 +255,12 @@ end
|
|
|
251
255
|
|
|
252
256
|
This returns an Array which contains the response data, status code and headers.
|
|
253
257
|
|
|
254
|
-
> <Array(<FlightList>, Integer, Hash)> list_flights_with_http_info(project_id)
|
|
258
|
+
> <Array(<FlightList>, Integer, Hash)> list_flights_with_http_info(project_id, opts)
|
|
255
259
|
|
|
256
260
|
```ruby
|
|
257
261
|
begin
|
|
258
262
|
|
|
259
|
-
data, status_code, headers = api_instance.list_flights_with_http_info(project_id)
|
|
263
|
+
data, status_code, headers = api_instance.list_flights_with_http_info(project_id, opts)
|
|
260
264
|
p status_code # => 2xx
|
|
261
265
|
p headers # => { ... }
|
|
262
266
|
p data # => <FlightList>
|
|
@@ -270,6 +274,8 @@ end
|
|
|
270
274
|
| Name | Type | Description | Notes |
|
|
271
275
|
| ---- | ---- | ----------- | ----- |
|
|
272
276
|
| **project_id** | **String** | | |
|
|
277
|
+
| **limit** | **Integer** | | [optional] |
|
|
278
|
+
| **cursor** | **String** | | [optional] |
|
|
273
279
|
|
|
274
280
|
### Return type
|
|
275
281
|
|
data/docs/OrgsApi.md
CHANGED
data/docs/SitesApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Knievel::SitesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
@@ -221,7 +221,7 @@ end
|
|
|
221
221
|
|
|
222
222
|
## list_sites
|
|
223
223
|
|
|
224
|
-
> <SiteList> list_sites(project_id)
|
|
224
|
+
> <SiteList> list_sites(project_id, opts)
|
|
225
225
|
|
|
226
226
|
|
|
227
227
|
|
|
@@ -238,10 +238,14 @@ end
|
|
|
238
238
|
|
|
239
239
|
api_instance = Knievel::SitesApi.new
|
|
240
240
|
project_id = 'project_id_example' # String |
|
|
241
|
+
opts = {
|
|
242
|
+
limit: 789, # Integer |
|
|
243
|
+
cursor: 'cursor_example' # String |
|
|
244
|
+
}
|
|
241
245
|
|
|
242
246
|
begin
|
|
243
247
|
|
|
244
|
-
result = api_instance.list_sites(project_id)
|
|
248
|
+
result = api_instance.list_sites(project_id, opts)
|
|
245
249
|
p result
|
|
246
250
|
rescue Knievel::ApiError => e
|
|
247
251
|
puts "Error when calling SitesApi->list_sites: #{e}"
|
|
@@ -252,12 +256,12 @@ end
|
|
|
252
256
|
|
|
253
257
|
This returns an Array which contains the response data, status code and headers.
|
|
254
258
|
|
|
255
|
-
> <Array(<SiteList>, Integer, Hash)> list_sites_with_http_info(project_id)
|
|
259
|
+
> <Array(<SiteList>, Integer, Hash)> list_sites_with_http_info(project_id, opts)
|
|
256
260
|
|
|
257
261
|
```ruby
|
|
258
262
|
begin
|
|
259
263
|
|
|
260
|
-
data, status_code, headers = api_instance.list_sites_with_http_info(project_id)
|
|
264
|
+
data, status_code, headers = api_instance.list_sites_with_http_info(project_id, opts)
|
|
261
265
|
p status_code # => 2xx
|
|
262
266
|
p headers # => { ... }
|
|
263
267
|
p data # => <SiteList>
|
|
@@ -271,6 +275,8 @@ end
|
|
|
271
275
|
| Name | Type | Description | Notes |
|
|
272
276
|
| ---- | ---- | ----------- | ----- |
|
|
273
277
|
| **project_id** | **String** | | |
|
|
278
|
+
| **limit** | **Integer** | | [optional] |
|
|
279
|
+
| **cursor** | **String** | | [optional] |
|
|
274
280
|
|
|
275
281
|
### Return type
|
|
276
282
|
|
data/docs/SystemApi.md
CHANGED
data/docs/TaxonomyApi.md
CHANGED
data/docs/TokensApi.md
CHANGED
data/docs/ZonesApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Knievel::ZonesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
@@ -220,7 +220,7 @@ end
|
|
|
220
220
|
|
|
221
221
|
## list_zones
|
|
222
222
|
|
|
223
|
-
> <ZoneList> list_zones(project_id)
|
|
223
|
+
> <ZoneList> list_zones(project_id, opts)
|
|
224
224
|
|
|
225
225
|
|
|
226
226
|
|
|
@@ -237,10 +237,14 @@ end
|
|
|
237
237
|
|
|
238
238
|
api_instance = Knievel::ZonesApi.new
|
|
239
239
|
project_id = 'project_id_example' # String |
|
|
240
|
+
opts = {
|
|
241
|
+
limit: 789, # Integer |
|
|
242
|
+
cursor: 'cursor_example' # String |
|
|
243
|
+
}
|
|
240
244
|
|
|
241
245
|
begin
|
|
242
246
|
|
|
243
|
-
result = api_instance.list_zones(project_id)
|
|
247
|
+
result = api_instance.list_zones(project_id, opts)
|
|
244
248
|
p result
|
|
245
249
|
rescue Knievel::ApiError => e
|
|
246
250
|
puts "Error when calling ZonesApi->list_zones: #{e}"
|
|
@@ -251,12 +255,12 @@ end
|
|
|
251
255
|
|
|
252
256
|
This returns an Array which contains the response data, status code and headers.
|
|
253
257
|
|
|
254
|
-
> <Array(<ZoneList>, Integer, Hash)> list_zones_with_http_info(project_id)
|
|
258
|
+
> <Array(<ZoneList>, Integer, Hash)> list_zones_with_http_info(project_id, opts)
|
|
255
259
|
|
|
256
260
|
```ruby
|
|
257
261
|
begin
|
|
258
262
|
|
|
259
|
-
data, status_code, headers = api_instance.list_zones_with_http_info(project_id)
|
|
263
|
+
data, status_code, headers = api_instance.list_zones_with_http_info(project_id, opts)
|
|
260
264
|
p status_code # => 2xx
|
|
261
265
|
p headers # => { ... }
|
|
262
266
|
p data # => <ZoneList>
|
|
@@ -270,6 +274,8 @@ end
|
|
|
270
274
|
| Name | Type | Description | Notes |
|
|
271
275
|
| ---- | ---- | ----------- | ----- |
|
|
272
276
|
| **project_id** | **String** | | |
|
|
277
|
+
| **limit** | **Integer** | | [optional] |
|
|
278
|
+
| **cursor** | **String** | | [optional] |
|
|
273
279
|
|
|
274
280
|
### Return type
|
|
275
281
|
|
data/lib/knievel/api/ads_api.rb
CHANGED
|
@@ -226,6 +226,8 @@ module Knievel
|
|
|
226
226
|
|
|
227
227
|
# @param project_id [String]
|
|
228
228
|
# @param [Hash] opts the optional parameters
|
|
229
|
+
# @option opts [Integer] :limit
|
|
230
|
+
# @option opts [String] :cursor
|
|
229
231
|
# @return [AdList]
|
|
230
232
|
def list_ads(project_id, opts = {})
|
|
231
233
|
data, _status_code, _headers = list_ads_with_http_info(project_id, opts)
|
|
@@ -234,6 +236,8 @@ module Knievel
|
|
|
234
236
|
|
|
235
237
|
# @param project_id [String]
|
|
236
238
|
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @option opts [Integer] :limit
|
|
240
|
+
# @option opts [String] :cursor
|
|
237
241
|
# @return [Array<(AdList, Integer, Hash)>] AdList data, response status code and response headers
|
|
238
242
|
def list_ads_with_http_info(project_id, opts = {})
|
|
239
243
|
if @api_client.config.debugging
|
|
@@ -248,6 +252,8 @@ module Knievel
|
|
|
248
252
|
|
|
249
253
|
# query parameters
|
|
250
254
|
query_params = opts[:query_params] || {}
|
|
255
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
256
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
251
257
|
|
|
252
258
|
# header parameters
|
|
253
259
|
header_params = opts[:header_params] || {}
|
|
@@ -228,6 +228,8 @@ module Knievel
|
|
|
228
228
|
|
|
229
229
|
# @param project_id [String]
|
|
230
230
|
# @param [Hash] opts the optional parameters
|
|
231
|
+
# @option opts [Integer] :limit
|
|
232
|
+
# @option opts [String] :cursor
|
|
231
233
|
# @return [AdvertiserList]
|
|
232
234
|
def list_advertisers(project_id, opts = {})
|
|
233
235
|
data, _status_code, _headers = list_advertisers_with_http_info(project_id, opts)
|
|
@@ -236,6 +238,8 @@ module Knievel
|
|
|
236
238
|
|
|
237
239
|
# @param project_id [String]
|
|
238
240
|
# @param [Hash] opts the optional parameters
|
|
241
|
+
# @option opts [Integer] :limit
|
|
242
|
+
# @option opts [String] :cursor
|
|
239
243
|
# @return [Array<(AdvertiserList, Integer, Hash)>] AdvertiserList data, response status code and response headers
|
|
240
244
|
def list_advertisers_with_http_info(project_id, opts = {})
|
|
241
245
|
if @api_client.config.debugging
|
|
@@ -250,6 +254,8 @@ module Knievel
|
|
|
250
254
|
|
|
251
255
|
# query parameters
|
|
252
256
|
query_params = opts[:query_params] || {}
|
|
257
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
258
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
253
259
|
|
|
254
260
|
# header parameters
|
|
255
261
|
header_params = opts[:header_params] || {}
|
|
@@ -226,6 +226,8 @@ module Knievel
|
|
|
226
226
|
|
|
227
227
|
# @param project_id [String]
|
|
228
228
|
# @param [Hash] opts the optional parameters
|
|
229
|
+
# @option opts [Integer] :limit
|
|
230
|
+
# @option opts [String] :cursor
|
|
229
231
|
# @return [CampaignList]
|
|
230
232
|
def list_campaigns(project_id, opts = {})
|
|
231
233
|
data, _status_code, _headers = list_campaigns_with_http_info(project_id, opts)
|
|
@@ -234,6 +236,8 @@ module Knievel
|
|
|
234
236
|
|
|
235
237
|
# @param project_id [String]
|
|
236
238
|
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @option opts [Integer] :limit
|
|
240
|
+
# @option opts [String] :cursor
|
|
237
241
|
# @return [Array<(CampaignList, Integer, Hash)>] CampaignList data, response status code and response headers
|
|
238
242
|
def list_campaigns_with_http_info(project_id, opts = {})
|
|
239
243
|
if @api_client.config.debugging
|
|
@@ -248,6 +252,8 @@ module Knievel
|
|
|
248
252
|
|
|
249
253
|
# query parameters
|
|
250
254
|
query_params = opts[:query_params] || {}
|
|
255
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
256
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
251
257
|
|
|
252
258
|
# header parameters
|
|
253
259
|
header_params = opts[:header_params] || {}
|
|
@@ -156,6 +156,8 @@ module Knievel
|
|
|
156
156
|
|
|
157
157
|
# @param project_id [String]
|
|
158
158
|
# @param [Hash] opts the optional parameters
|
|
159
|
+
# @option opts [Integer] :limit
|
|
160
|
+
# @option opts [String] :cursor
|
|
159
161
|
# @return [CreativeTemplateList]
|
|
160
162
|
def list_creative_templates(project_id, opts = {})
|
|
161
163
|
data, _status_code, _headers = list_creative_templates_with_http_info(project_id, opts)
|
|
@@ -164,6 +166,8 @@ module Knievel
|
|
|
164
166
|
|
|
165
167
|
# @param project_id [String]
|
|
166
168
|
# @param [Hash] opts the optional parameters
|
|
169
|
+
# @option opts [Integer] :limit
|
|
170
|
+
# @option opts [String] :cursor
|
|
167
171
|
# @return [Array<(CreativeTemplateList, Integer, Hash)>] CreativeTemplateList data, response status code and response headers
|
|
168
172
|
def list_creative_templates_with_http_info(project_id, opts = {})
|
|
169
173
|
if @api_client.config.debugging
|
|
@@ -178,6 +182,8 @@ module Knievel
|
|
|
178
182
|
|
|
179
183
|
# query parameters
|
|
180
184
|
query_params = opts[:query_params] || {}
|
|
185
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
186
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
181
187
|
|
|
182
188
|
# header parameters
|
|
183
189
|
header_params = opts[:header_params] || {}
|
|
@@ -156,6 +156,8 @@ module Knievel
|
|
|
156
156
|
|
|
157
157
|
# @param project_id [String]
|
|
158
158
|
# @param [Hash] opts the optional parameters
|
|
159
|
+
# @option opts [Integer] :limit
|
|
160
|
+
# @option opts [String] :cursor
|
|
159
161
|
# @return [CreativeList]
|
|
160
162
|
def list_creatives(project_id, opts = {})
|
|
161
163
|
data, _status_code, _headers = list_creatives_with_http_info(project_id, opts)
|
|
@@ -164,6 +166,8 @@ module Knievel
|
|
|
164
166
|
|
|
165
167
|
# @param project_id [String]
|
|
166
168
|
# @param [Hash] opts the optional parameters
|
|
169
|
+
# @option opts [Integer] :limit
|
|
170
|
+
# @option opts [String] :cursor
|
|
167
171
|
# @return [Array<(CreativeList, Integer, Hash)>] CreativeList data, response status code and response headers
|
|
168
172
|
def list_creatives_with_http_info(project_id, opts = {})
|
|
169
173
|
if @api_client.config.debugging
|
|
@@ -178,6 +182,8 @@ module Knievel
|
|
|
178
182
|
|
|
179
183
|
# query parameters
|
|
180
184
|
query_params = opts[:query_params] || {}
|
|
185
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
186
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
181
187
|
|
|
182
188
|
# header parameters
|
|
183
189
|
header_params = opts[:header_params] || {}
|
|
@@ -226,6 +226,8 @@ module Knievel
|
|
|
226
226
|
|
|
227
227
|
# @param project_id [String]
|
|
228
228
|
# @param [Hash] opts the optional parameters
|
|
229
|
+
# @option opts [Integer] :limit
|
|
230
|
+
# @option opts [String] :cursor
|
|
229
231
|
# @return [FlightList]
|
|
230
232
|
def list_flights(project_id, opts = {})
|
|
231
233
|
data, _status_code, _headers = list_flights_with_http_info(project_id, opts)
|
|
@@ -234,6 +236,8 @@ module Knievel
|
|
|
234
236
|
|
|
235
237
|
# @param project_id [String]
|
|
236
238
|
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @option opts [Integer] :limit
|
|
240
|
+
# @option opts [String] :cursor
|
|
237
241
|
# @return [Array<(FlightList, Integer, Hash)>] FlightList data, response status code and response headers
|
|
238
242
|
def list_flights_with_http_info(project_id, opts = {})
|
|
239
243
|
if @api_client.config.debugging
|
|
@@ -248,6 +252,8 @@ module Knievel
|
|
|
248
252
|
|
|
249
253
|
# query parameters
|
|
250
254
|
query_params = opts[:query_params] || {}
|
|
255
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
256
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
251
257
|
|
|
252
258
|
# header parameters
|
|
253
259
|
header_params = opts[:header_params] || {}
|
|
@@ -226,6 +226,8 @@ module Knievel
|
|
|
226
226
|
|
|
227
227
|
# @param project_id [String]
|
|
228
228
|
# @param [Hash] opts the optional parameters
|
|
229
|
+
# @option opts [Integer] :limit
|
|
230
|
+
# @option opts [String] :cursor
|
|
229
231
|
# @return [SiteList]
|
|
230
232
|
def list_sites(project_id, opts = {})
|
|
231
233
|
data, _status_code, _headers = list_sites_with_http_info(project_id, opts)
|
|
@@ -234,6 +236,8 @@ module Knievel
|
|
|
234
236
|
|
|
235
237
|
# @param project_id [String]
|
|
236
238
|
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @option opts [Integer] :limit
|
|
240
|
+
# @option opts [String] :cursor
|
|
237
241
|
# @return [Array<(SiteList, Integer, Hash)>] SiteList data, response status code and response headers
|
|
238
242
|
def list_sites_with_http_info(project_id, opts = {})
|
|
239
243
|
if @api_client.config.debugging
|
|
@@ -248,6 +252,8 @@ module Knievel
|
|
|
248
252
|
|
|
249
253
|
# query parameters
|
|
250
254
|
query_params = opts[:query_params] || {}
|
|
255
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
256
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
251
257
|
|
|
252
258
|
# header parameters
|
|
253
259
|
header_params = opts[:header_params] || {}
|
|
@@ -226,6 +226,8 @@ module Knievel
|
|
|
226
226
|
|
|
227
227
|
# @param project_id [String]
|
|
228
228
|
# @param [Hash] opts the optional parameters
|
|
229
|
+
# @option opts [Integer] :limit
|
|
230
|
+
# @option opts [String] :cursor
|
|
229
231
|
# @return [ZoneList]
|
|
230
232
|
def list_zones(project_id, opts = {})
|
|
231
233
|
data, _status_code, _headers = list_zones_with_http_info(project_id, opts)
|
|
@@ -234,6 +236,8 @@ module Knievel
|
|
|
234
236
|
|
|
235
237
|
# @param project_id [String]
|
|
236
238
|
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @option opts [Integer] :limit
|
|
240
|
+
# @option opts [String] :cursor
|
|
237
241
|
# @return [Array<(ZoneList, Integer, Hash)>] ZoneList data, response status code and response headers
|
|
238
242
|
def list_zones_with_http_info(project_id, opts = {})
|
|
239
243
|
if @api_client.config.debugging
|
|
@@ -248,6 +252,8 @@ module Knievel
|
|
|
248
252
|
|
|
249
253
|
# query parameters
|
|
250
254
|
query_params = opts[:query_params] || {}
|
|
255
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
256
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
251
257
|
|
|
252
258
|
# header parameters
|
|
253
259
|
header_params = opts[:header_params] || {}
|
|
@@ -157,7 +157,7 @@ module Knievel
|
|
|
157
157
|
|
|
158
158
|
def initialize
|
|
159
159
|
@scheme = 'http'
|
|
160
|
-
@host = 'localhost'
|
|
160
|
+
@host = 'localhost:8080'
|
|
161
161
|
@base_path = ''
|
|
162
162
|
@server_index = nil
|
|
163
163
|
@server_operation_index = {}
|
|
@@ -262,8 +262,8 @@ module Knievel
|
|
|
262
262
|
def server_settings
|
|
263
263
|
[
|
|
264
264
|
{
|
|
265
|
-
url: "",
|
|
266
|
-
description: "
|
|
265
|
+
url: "http://localhost:8080",
|
|
266
|
+
description: "Local development default; override via your client's host configuration for production.",
|
|
267
267
|
}
|
|
268
268
|
]
|
|
269
269
|
end
|
data/lib/knievel/version.rb
CHANGED