blueprint_ruby_client 0.4.1 → 0.5.0
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 +65 -0
- data/LICENSE +201 -0
- data/README.md +25 -11
- data/docs/AssetTypeConfigsApi.md +63 -0
- data/docs/AssetTypeTemplatesApi.md +179 -0
- data/docs/AssetsApi.md +19 -19
- data/docs/HierarchyApi.md +35 -35
- data/docs/Integration.md +10 -0
- data/docs/IntegrationBody.md +9 -0
- data/docs/IntegrationTransform.md +11 -0
- data/docs/IntegrationTransformExample.md +9 -0
- data/docs/IntegrationsApi.md +329 -0
- data/docs/LTIApi.md +98 -0
- data/docs/Lti1IntegrationAttributes.md +11 -0
- data/docs/NodeAttributes.md +2 -0
- data/docs/SecurityApi.md +48 -0
- data/docs/Template.md +10 -0
- data/docs/TemplateAttributes.md +9 -0
- data/docs/TemplateBody.md +9 -0
- data/docs/{AssetAttributes.md → TemplateVariables.md} +3 -2
- data/generate.sh +1 -2
- data/git_push.sh +16 -1
- data/lib/blueprint_ruby_client/api/asset_type_configs_api.rb +84 -0
- data/lib/blueprint_ruby_client/api/asset_type_templates_api.rb +214 -0
- data/lib/blueprint_ruby_client/api/assets_api.rb +23 -191
- data/lib/blueprint_ruby_client/api/hierarchy_api.rb +49 -409
- data/lib/blueprint_ruby_client/api/integrations_api.rb +415 -0
- data/lib/blueprint_ruby_client/api/lti_api.rb +156 -0
- data/lib/blueprint_ruby_client/api/security_api.rb +75 -0
- data/lib/blueprint_ruby_client/api_client.rb +0 -2
- data/lib/blueprint_ruby_client/models/asset.rb +2 -59
- data/lib/blueprint_ruby_client/models/asset_body.rb +2 -42
- data/lib/blueprint_ruby_client/models/asset_relationship.rb +2 -57
- data/lib/blueprint_ruby_client/models/asset_result_set.rb +2 -57
- data/lib/blueprint_ruby_client/models/error.rb +2 -59
- data/lib/blueprint_ruby_client/models/errors.rb +2 -25
- data/lib/blueprint_ruby_client/models/integration.rb +225 -0
- data/lib/blueprint_ruby_client/models/{mixed_resource_result_set.rb → integration_body.rb} +27 -12
- data/lib/blueprint_ruby_client/models/integration_transform.rb +221 -0
- data/lib/blueprint_ruby_client/models/integration_transform_example.rb +197 -0
- data/lib/blueprint_ruby_client/models/links.rb +2 -57
- data/lib/blueprint_ruby_client/models/lti1_integration_attributes.rb +225 -0
- data/lib/blueprint_ruby_client/models/meta.rb +2 -57
- data/lib/blueprint_ruby_client/models/namespace.rb +2 -43
- data/lib/blueprint_ruby_client/models/namespace_relationship.rb +2 -25
- data/lib/blueprint_ruby_client/models/node.rb +2 -75
- data/lib/blueprint_ruby_client/models/node_attributes.rb +26 -109
- data/lib/blueprint_ruby_client/models/node_body.rb +2 -42
- data/lib/blueprint_ruby_client/models/node_relationship.rb +2 -57
- data/lib/blueprint_ruby_client/models/node_relationships.rb +2 -73
- data/lib/blueprint_ruby_client/models/node_result_set.rb +2 -57
- data/lib/blueprint_ruby_client/models/resource.rb +2 -59
- data/lib/blueprint_ruby_client/models/template.rb +215 -0
- data/lib/blueprint_ruby_client/models/template_attributes.rb +217 -0
- data/lib/blueprint_ruby_client/models/{asset_attributes.rb → template_body.rb} +23 -33
- data/lib/blueprint_ruby_client/models/template_variables.rb +237 -0
- data/lib/blueprint_ruby_client/version.rb +1 -1
- data/lib/blueprint_ruby_client.rb +14 -0
- data/spec/api/asset_type_configs_api_spec.rb +52 -0
- data/spec/api/asset_type_templates_api_spec.rb +88 -0
- data/spec/api/assets_api_spec.rb +9 -9
- data/spec/api/hierarchy_api_spec.rb +17 -17
- data/spec/api/integrations_api_spec.rb +141 -0
- data/spec/api/lti_api_spec.rb +69 -0
- data/spec/api/security_api_spec.rb +50 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/integration_body_spec.rb +56 -0
- data/spec/models/integration_spec.rb +66 -0
- data/spec/models/integration_transform_example_spec.rb +56 -0
- data/spec/models/integration_transform_spec.rb +76 -0
- data/spec/models/lti1_integration_attributes_spec.rb +76 -0
- data/spec/models/node_attributes_spec.rb +20 -0
- data/spec/models/template_attributes_spec.rb +56 -0
- data/spec/models/{asset_attributes_spec.rb → template_body_spec.rb} +17 -7
- data/spec/models/template_spec.rb +66 -0
- data/spec/models/template_variables_spec.rb +56 -0
- data/spec/spec_helper.rb +111 -0
- data/swagger-codegen-cli.jar +0 -0
- data/templates/model.mustache +5 -5
- metadata +67 -12
- data/docs/MixedResourceResultSet.md +0 -7
- data/spec/models/mixed_resource_result_set_spec.rb +0 -36
data/docs/AssetsApi.md
CHANGED
@@ -33,11 +33,11 @@ api_instance = BlueprintClient::AssetsApi.new
|
|
33
33
|
|
34
34
|
namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
35
35
|
|
36
|
-
type = "type_example" # String |
|
36
|
+
type = "type_example" # String | subtype of Node, e.g. 'modules', 'departments', etc.
|
37
37
|
|
38
38
|
id = "id_example" # String | id identifying a domain model
|
39
39
|
|
40
|
-
asset_type = "asset_type_example" # String |
|
40
|
+
asset_type = "asset_type_example" # String | subtype of Asset, e.g. 'textbooks', 'digitisations', etc.
|
41
41
|
|
42
42
|
asset_id = "asset_id_example" # String | id of an asset
|
43
43
|
|
@@ -55,9 +55,9 @@ end
|
|
55
55
|
Name | Type | Description | Notes
|
56
56
|
------------- | ------------- | ------------- | -------------
|
57
57
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
58
|
-
**type** | **String**|
|
58
|
+
**type** | **String**| subtype of Node, e.g. 'modules', 'departments', etc. |
|
59
59
|
**id** | **String**| id identifying a domain model |
|
60
|
-
**asset_type** | **String**|
|
60
|
+
**asset_type** | **String**| subtype of Asset, e.g. 'textbooks', 'digitisations', etc. |
|
61
61
|
**asset_id** | **String**| id of an asset |
|
62
62
|
|
63
63
|
### Return type
|
@@ -98,7 +98,7 @@ namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
|
98
98
|
|
99
99
|
asset_id = "asset_id_example" # String | id of an asset
|
100
100
|
|
101
|
-
asset_type = "asset_type_example" # String |
|
101
|
+
asset_type = "asset_type_example" # String | subtype of Asset, e.g. 'textbooks', 'digitisations', etc.
|
102
102
|
|
103
103
|
|
104
104
|
begin
|
@@ -114,7 +114,7 @@ Name | Type | Description | Notes
|
|
114
114
|
------------- | ------------- | ------------- | -------------
|
115
115
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
116
116
|
**asset_id** | **String**| id of an asset |
|
117
|
-
**asset_type** | **String**|
|
117
|
+
**asset_type** | **String**| subtype of Asset, e.g. 'textbooks', 'digitisations', etc. |
|
118
118
|
|
119
119
|
### Return type
|
120
120
|
|
@@ -152,7 +152,7 @@ api_instance = BlueprintClient::AssetsApi.new
|
|
152
152
|
|
153
153
|
namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
154
154
|
|
155
|
-
asset_type = "asset_type_example" # String |
|
155
|
+
asset_type = "asset_type_example" # String | subtype of Asset, e.g. 'textbooks', 'digitisations', etc.
|
156
156
|
|
157
157
|
asset_id = "asset_id_example" # String | id of an asset
|
158
158
|
|
@@ -171,7 +171,7 @@ end
|
|
171
171
|
Name | Type | Description | Notes
|
172
172
|
------------- | ------------- | ------------- | -------------
|
173
173
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
174
|
-
**asset_type** | **String**|
|
174
|
+
**asset_type** | **String**| subtype of Asset, e.g. 'textbooks', 'digitisations', etc. |
|
175
175
|
**asset_id** | **String**| id of an asset |
|
176
176
|
|
177
177
|
### Return type
|
@@ -210,7 +210,7 @@ api_instance = BlueprintClient::AssetsApi.new
|
|
210
210
|
|
211
211
|
namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
212
212
|
|
213
|
-
type = "type_example" # String |
|
213
|
+
type = "type_example" # String | subtype of Node, e.g. 'modules', 'departments', etc.
|
214
214
|
|
215
215
|
id = "id_example" # String | id identifying a domain model
|
216
216
|
|
@@ -233,11 +233,11 @@ end
|
|
233
233
|
Name | Type | Description | Notes
|
234
234
|
------------- | ------------- | ------------- | -------------
|
235
235
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
236
|
-
**type** | **String**|
|
236
|
+
**type** | **String**| subtype of Node, e.g. 'modules', 'departments', etc. |
|
237
237
|
**id** | **String**| id identifying a domain model |
|
238
238
|
**filter_asset_type** | [**Array<String>**](String.md)| type of asset to return | [optional]
|
239
|
-
**offset** |
|
240
|
-
**limit** |
|
239
|
+
**offset** | **Float**| index to start result set from | [optional]
|
240
|
+
**limit** | **Float**| number of records to return | [optional]
|
241
241
|
|
242
242
|
### Return type
|
243
243
|
|
@@ -275,11 +275,11 @@ api_instance = BlueprintClient::AssetsApi.new
|
|
275
275
|
|
276
276
|
namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
277
277
|
|
278
|
-
type = "type_example" # String |
|
278
|
+
type = "type_example" # String | subtype of Node, e.g. 'modules', 'departments', etc.
|
279
279
|
|
280
280
|
id = "id_example" # String | id identifying a domain model
|
281
281
|
|
282
|
-
asset_type = "asset_type_example" # String |
|
282
|
+
asset_type = "asset_type_example" # String | subtype of Asset, e.g. 'textbooks', 'digitisations', etc.
|
283
283
|
|
284
284
|
asset_id = "asset_id_example" # String | id of an asset
|
285
285
|
|
@@ -296,9 +296,9 @@ end
|
|
296
296
|
Name | Type | Description | Notes
|
297
297
|
------------- | ------------- | ------------- | -------------
|
298
298
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
299
|
-
**type** | **String**|
|
299
|
+
**type** | **String**| subtype of Node, e.g. 'modules', 'departments', etc. |
|
300
300
|
**id** | **String**| id identifying a domain model |
|
301
|
-
**asset_type** | **String**|
|
301
|
+
**asset_type** | **String**| subtype of Asset, e.g. 'textbooks', 'digitisations', etc. |
|
302
302
|
**asset_id** | **String**| id of an asset |
|
303
303
|
|
304
304
|
### Return type
|
@@ -321,7 +321,7 @@ nil (empty response body)
|
|
321
321
|
|
322
322
|
Replaces the Asset with the data sent in the body
|
323
323
|
|
324
|
-
Wholesale replacement of Asset data: if you were to PUT to
|
324
|
+
Wholesale replacement of Asset data: if you were to PUT to: /1/{namespace}/assets/sometype/someid with a body of: { type: \"someothertype\", id: \"someotherid\" } It would change the Asset's path to: /1/{namespace}/assets/someothertype/someotherid and /1/{namespace}/assets/sometype/someid would return a 404. It would also update the assets associated with any node.
|
325
325
|
|
326
326
|
### Example
|
327
327
|
```ruby
|
@@ -339,7 +339,7 @@ namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
|
339
339
|
|
340
340
|
asset_id = "asset_id_example" # String | id of an asset
|
341
341
|
|
342
|
-
asset_type = "asset_type_example" # String |
|
342
|
+
asset_type = "asset_type_example" # String | subtype of Asset, e.g. 'textbooks', 'digitisations', etc.
|
343
343
|
|
344
344
|
opts = {
|
345
345
|
body: BlueprintClient::AssetBody.new # AssetBody | asset
|
@@ -360,7 +360,7 @@ Name | Type | Description | Notes
|
|
360
360
|
------------- | ------------- | ------------- | -------------
|
361
361
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
362
362
|
**asset_id** | **String**| id of an asset |
|
363
|
-
**asset_type** | **String**|
|
363
|
+
**asset_type** | **String**| subtype of Asset, e.g. 'textbooks', 'digitisations', etc. |
|
364
364
|
**body** | [**AssetBody**](AssetBody.md)| asset | [optional]
|
365
365
|
|
366
366
|
### Return type
|
data/docs/HierarchyApi.md
CHANGED
@@ -54,7 +54,7 @@ end
|
|
54
54
|
|
55
55
|
Name | Type | Description | Notes
|
56
56
|
------------- | ------------- | ------------- | -------------
|
57
|
-
**namespace_inc_global** | **String**| identifier namespacing the blueprint.
|
57
|
+
**namespace_inc_global** | **String**| identifier namespacing the blueprint. `global` is a special namespace which references data from all blueprints in the call. |
|
58
58
|
**body** | [**NodeBody**](NodeBody.md)| node |
|
59
59
|
|
60
60
|
### Return type
|
@@ -77,7 +77,7 @@ Name | Type | Description | Notes
|
|
77
77
|
|
78
78
|
|
79
79
|
|
80
|
-
Send operations to modify nodes in bulk, to be applied/rejected as a single transaction
|
80
|
+
Send operations to modify nodes in bulk, to be applied/rejected as a single transaction. Format will be: OLD NODE TYPE, OLD NODE ID, NEW NODE TYPE, NEW NODE ID, PARENTS, TITLE, DESCRIPTION, DOMAIN IDS, STUDENT NUMBERS
|
81
81
|
|
82
82
|
### Example
|
83
83
|
```ruby
|
@@ -145,7 +145,7 @@ namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
|
145
145
|
|
146
146
|
id = "id_example" # String | id identifying a domain model
|
147
147
|
|
148
|
-
type = "type_example" # String |
|
148
|
+
type = "type_example" # String | subtype of Node, e.g. 'modules', 'departments', etc.
|
149
149
|
|
150
150
|
|
151
151
|
begin
|
@@ -161,7 +161,7 @@ Name | Type | Description | Notes
|
|
161
161
|
------------- | ------------- | ------------- | -------------
|
162
162
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
163
163
|
**id** | **String**| id identifying a domain model |
|
164
|
-
**type** | **String**|
|
164
|
+
**type** | **String**| subtype of Node, e.g. 'modules', 'departments', etc. |
|
165
165
|
|
166
166
|
### Return type
|
167
167
|
|
@@ -183,7 +183,7 @@ nil (empty response body)
|
|
183
183
|
|
184
184
|
|
185
185
|
|
186
|
-
Download the blueprint's nodes in CSV format
|
186
|
+
Download the blueprint's nodes in CSV format Format will be: OLD NODE TYPE, OLD NODE ID, NEW NODE TYPE, NEW NODE ID, PARENTS, TITLE, DESCRIPTION, DOMAIN IDS, STUDENT NUMBERS OLD NODE TYPE and OLD NODE ID are left intentionally blank to allow direct upload of the output back into the bulk importer
|
187
187
|
|
188
188
|
### Example
|
189
189
|
```ruby
|
@@ -233,7 +233,7 @@ nil (empty response body)
|
|
233
233
|
|
234
234
|
Get ancestor nodes
|
235
235
|
|
236
|
-
A proxy for finding ancestors of a given node, equivalent to
|
236
|
+
A proxy for finding ancestors of a given node, equivalent to `/1/abc/nodes?filter[descendant]=department%2Fdep101`
|
237
237
|
|
238
238
|
### Example
|
239
239
|
```ruby
|
@@ -251,7 +251,7 @@ id = "id_example" # String | id identifying a domain model
|
|
251
251
|
|
252
252
|
namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
253
253
|
|
254
|
-
type = "type_example" # String |
|
254
|
+
type = "type_example" # String | subtype of Node, e.g. 'modules', 'departments', etc.
|
255
255
|
|
256
256
|
opts = {
|
257
257
|
offset: 3.4, # Float | index to start result set from
|
@@ -273,9 +273,9 @@ Name | Type | Description | Notes
|
|
273
273
|
------------- | ------------- | ------------- | -------------
|
274
274
|
**id** | **String**| id identifying a domain model |
|
275
275
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
276
|
-
**type** | **String**|
|
277
|
-
**offset** |
|
278
|
-
**limit** |
|
276
|
+
**type** | **String**| subtype of Node, e.g. 'modules', 'departments', etc. |
|
277
|
+
**offset** | **Float**| index to start result set from | [optional]
|
278
|
+
**limit** | **Float**| number of records to return | [optional]
|
279
279
|
|
280
280
|
### Return type
|
281
281
|
|
@@ -297,7 +297,7 @@ Name | Type | Description | Notes
|
|
297
297
|
|
298
298
|
Get child nodes
|
299
299
|
|
300
|
-
A proxy for finding children of a given node, equivalent to
|
300
|
+
A proxy for finding children of a given node, equivalent to `/1/abc/nodes?filter[parent]=department%2Fdep101`
|
301
301
|
|
302
302
|
### Example
|
303
303
|
```ruby
|
@@ -315,7 +315,7 @@ id = "id_example" # String | id identifying a domain model
|
|
315
315
|
|
316
316
|
namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
317
317
|
|
318
|
-
type = "type_example" # String |
|
318
|
+
type = "type_example" # String | subtype of Node, e.g. 'modules', 'departments', etc.
|
319
319
|
|
320
320
|
opts = {
|
321
321
|
offset: 3.4, # Float | index to start result set from
|
@@ -337,9 +337,9 @@ Name | Type | Description | Notes
|
|
337
337
|
------------- | ------------- | ------------- | -------------
|
338
338
|
**id** | **String**| id identifying a domain model |
|
339
339
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
340
|
-
**type** | **String**|
|
341
|
-
**offset** |
|
342
|
-
**limit** |
|
340
|
+
**type** | **String**| subtype of Node, e.g. 'modules', 'departments', etc. |
|
341
|
+
**offset** | **Float**| index to start result set from | [optional]
|
342
|
+
**limit** | **Float**| number of records to return | [optional]
|
343
343
|
|
344
344
|
### Return type
|
345
345
|
|
@@ -361,7 +361,7 @@ Name | Type | Description | Notes
|
|
361
361
|
|
362
362
|
Get descendant nodes
|
363
363
|
|
364
|
-
A proxy for finding descendants of a given node, equivalent to
|
364
|
+
A proxy for finding descendants of a given node, equivalent to `/1/abc/nodes?filter[ancestor]=department%2Fdep101`
|
365
365
|
|
366
366
|
### Example
|
367
367
|
```ruby
|
@@ -379,7 +379,7 @@ id = "id_example" # String | id identifying a domain model
|
|
379
379
|
|
380
380
|
namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
381
381
|
|
382
|
-
type = "type_example" # String |
|
382
|
+
type = "type_example" # String | subtype of Node, e.g. 'modules', 'departments', etc.
|
383
383
|
|
384
384
|
opts = {
|
385
385
|
offset: 3.4, # Float | index to start result set from
|
@@ -401,9 +401,9 @@ Name | Type | Description | Notes
|
|
401
401
|
------------- | ------------- | ------------- | -------------
|
402
402
|
**id** | **String**| id identifying a domain model |
|
403
403
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
404
|
-
**type** | **String**|
|
405
|
-
**offset** |
|
406
|
-
**limit** |
|
404
|
+
**type** | **String**| subtype of Node, e.g. 'modules', 'departments', etc. |
|
405
|
+
**offset** | **Float**| index to start result set from | [optional]
|
406
|
+
**limit** | **Float**| number of records to return | [optional]
|
407
407
|
|
408
408
|
### Return type
|
409
409
|
|
@@ -443,7 +443,7 @@ namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
|
443
443
|
|
444
444
|
id = "id_example" # String | id identifying a domain model
|
445
445
|
|
446
|
-
type = "type_example" # String |
|
446
|
+
type = "type_example" # String | subtype of Node, e.g. 'modules', 'departments', etc.
|
447
447
|
|
448
448
|
opts = {
|
449
449
|
include: ["include_example"] # Array<String> | comma separated list of elements to hydrate. Can include children, parents, and/or assets
|
@@ -464,7 +464,7 @@ Name | Type | Description | Notes
|
|
464
464
|
------------- | ------------- | ------------- | -------------
|
465
465
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
466
466
|
**id** | **String**| id identifying a domain model |
|
467
|
-
**type** | **String**|
|
467
|
+
**type** | **String**| subtype of Node, e.g. 'modules', 'departments', etc. |
|
468
468
|
**include** | [**Array<String>**](String.md)| comma separated list of elements to hydrate. Can include children, parents, and/or assets | [optional]
|
469
469
|
|
470
470
|
### Return type
|
@@ -487,7 +487,7 @@ Name | Type | Description | Notes
|
|
487
487
|
|
488
488
|
Get parent nodes
|
489
489
|
|
490
|
-
A proxy for finding parents of a given node, equivalent to
|
490
|
+
A proxy for finding parents of a given node, equivalent to `/1/abc/nodes?filter[child]=department%2Fdep101`
|
491
491
|
|
492
492
|
### Example
|
493
493
|
```ruby
|
@@ -505,7 +505,7 @@ id = "id_example" # String | id identifying a domain model
|
|
505
505
|
|
506
506
|
namespace = "namespace_example" # String | identifier namespacing the blueprint.
|
507
507
|
|
508
|
-
type = "type_example" # String |
|
508
|
+
type = "type_example" # String | subtype of Node, e.g. 'modules', 'departments', etc.
|
509
509
|
|
510
510
|
opts = {
|
511
511
|
offset: 3.4, # Float | index to start result set from
|
@@ -527,9 +527,9 @@ Name | Type | Description | Notes
|
|
527
527
|
------------- | ------------- | ------------- | -------------
|
528
528
|
**id** | **String**| id identifying a domain model |
|
529
529
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
530
|
-
**type** | **String**|
|
531
|
-
**offset** |
|
532
|
-
**limit** |
|
530
|
+
**type** | **String**| subtype of Node, e.g. 'modules', 'departments', etc. |
|
531
|
+
**offset** | **Float**| index to start result set from | [optional]
|
532
|
+
**limit** | **Float**| number of records to return | [optional]
|
533
533
|
|
534
534
|
### Return type
|
535
535
|
|
@@ -571,7 +571,7 @@ id = "id_example" # String | id identifying a domain model
|
|
571
571
|
|
572
572
|
body = BlueprintClient::NodeBody.new # NodeBody | node
|
573
573
|
|
574
|
-
type = "type_example" # String |
|
574
|
+
type = "type_example" # String | subtype of Node, e.g. 'modules', 'departments', etc.
|
575
575
|
|
576
576
|
|
577
577
|
begin
|
@@ -590,7 +590,7 @@ Name | Type | Description | Notes
|
|
590
590
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
591
591
|
**id** | **String**| id identifying a domain model |
|
592
592
|
**body** | [**NodeBody**](NodeBody.md)| node |
|
593
|
-
**type** | **String**|
|
593
|
+
**type** | **String**| subtype of Node, e.g. 'modules', 'departments', etc. |
|
594
594
|
|
595
595
|
### Return type
|
596
596
|
|
@@ -612,7 +612,7 @@ Name | Type | Description | Notes
|
|
612
612
|
|
613
613
|
Search nodes
|
614
614
|
|
615
|
-
This endpoint is a really flexible way to ask questions about the hierarchy. for example
|
615
|
+
This endpoint is a really flexible way to ask questions about the hierarchy. for example: ###### Find all nodes for abc: `/1/abc/nodes` ###### Find all modules for abc: `/1/abc/nodes?filter[nodeType]=Modules` ###### Find all nodes that are descendants of DEP101: `/1/abc/nodes?filter[descendant]=departments%2Fdep101` ###### Find all Departments that are ancestors of ABF203: `/1/abc/nodes?filter[descendant]=modules%2Fabf203&filter[nodeType]=Departments` # <= case insensitive ###### Find all nodes with list assets that are descendants of DEP101 for abc: `/1/abc/nodes?filter[nodeType]=Modules&filter[ancestor]=departments%2FDEP101&filter[hasAssets]=true&filter[assetType]=Lists` ###### Globally, find all modules that have no list assets `/1/global/nodes?filter[nodeType]=Modules&filter[hasAssets]=false&filter[assetType]=Lists` ###### Find all nodes of type modules during 2015 that have no assets. Note a node's valid_from/valid_to just need to overlap from/to to qualify `/1/global/nodes?filter[nodeType]=Modules&filter[hasAssets]=false&filter[from]=20150101&filter[to]=20151231`
|
616
616
|
|
617
617
|
### Example
|
618
618
|
```ruby
|
@@ -661,9 +661,9 @@ end
|
|
661
661
|
|
662
662
|
Name | Type | Description | Notes
|
663
663
|
------------- | ------------- | ------------- | -------------
|
664
|
-
**namespace_inc_global** | **String**| identifier namespacing the blueprint.
|
665
|
-
**offset** |
|
666
|
-
**limit** |
|
664
|
+
**namespace_inc_global** | **String**| identifier namespacing the blueprint. `global` is a special namespace which references data from all blueprints in the call. |
|
665
|
+
**offset** | **Float**| index to start result set from | [optional]
|
666
|
+
**limit** | **Float**| number of records to return | [optional]
|
667
667
|
**include** | [**Array<String>**](String.md)| comma separated list of elements to hydrate. Can include children, parents, and/or assets | [optional]
|
668
668
|
**filter_node_type** | [**Array<String>**](String.md)| type of nodes to return | [optional]
|
669
669
|
**filter_child** | [**Array<String>**](String.md)| limit to nodes with children matching type/code | [optional]
|
@@ -720,7 +720,7 @@ id = "id_example" # String | id identifying a domain model
|
|
720
720
|
|
721
721
|
body = BlueprintClient::NodeBody.new # NodeBody | node
|
722
722
|
|
723
|
-
type = "type_example" # String |
|
723
|
+
type = "type_example" # String | subtype of Node, e.g. 'modules', 'departments', etc.
|
724
724
|
|
725
725
|
|
726
726
|
begin
|
@@ -738,7 +738,7 @@ Name | Type | Description | Notes
|
|
738
738
|
**namespace** | **String**| identifier namespacing the blueprint. |
|
739
739
|
**id** | **String**| id identifying a domain model |
|
740
740
|
**body** | [**NodeBody**](NodeBody.md)| node |
|
741
|
-
**type** | **String**|
|
741
|
+
**type** | **String**| subtype of Node, e.g. 'modules', 'departments', etc. |
|
742
742
|
|
743
743
|
### Return type
|
744
744
|
|
data/docs/Integration.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# BlueprintClient::Integration
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **String** | the unique id of the resource of a given type. |
|
7
|
+
**type** | **String** | |
|
8
|
+
**attributes** | [**Lti1IntegrationAttributes**](Lti1IntegrationAttributes.md) | | [optional]
|
9
|
+
|
10
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# BlueprintClient::IntegrationTransform
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**field** | **String** | |
|
7
|
+
**regex** | **String** | | [optional]
|
8
|
+
**refs** | **Array<String>** | |
|
9
|
+
**example** | [**IntegrationTransformExample**](IntegrationTransformExample.md) | | [optional]
|
10
|
+
|
11
|
+
|