UncountablePythonSDK 0.0.5__py3-none-any.whl → 0.0.7__py3-none-any.whl
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.
Potentially problematic release.
This version of UncountablePythonSDK might be problematic. Click here for more details.
- {UncountablePythonSDK-0.0.5.dist-info → UncountablePythonSDK-0.0.7.dist-info}/METADATA +1 -1
- UncountablePythonSDK-0.0.7.dist-info/RECORD +119 -0
- {UncountablePythonSDK-0.0.5.dist-info → UncountablePythonSDK-0.0.7.dist-info}/WHEEL +1 -1
- pkgs/type_spec/builder.py +0 -61
- pkgs/type_spec/config.py +3 -0
- pkgs/type_spec/emit_open_api.py +33 -22
- pkgs/type_spec/emit_open_api_util.py +6 -2
- pkgs/type_spec/emit_python.py +3 -2
- type_spec/external/api/entity/create_entities.yaml +33 -0
- type_spec/external/api/entity/{external_create_entity.yaml → create_entity.yaml} +4 -14
- type_spec/external/api/entity/{external_get_entities_data.yaml → get_entities_data.yaml} +6 -6
- type_spec/external/api/entity/{external_list_entities.yaml → list_entities.yaml} +6 -6
- type_spec/external/api/entity/{external_resolve_entity_ids.yaml → resolve_entity_ids.yaml} +2 -2
- type_spec/external/api/entity/{external_set_values.yaml → set_values.yaml} +4 -4
- type_spec/external/api/input_groups/{external_get_input_group_names.yaml → get_input_group_names.yaml} +2 -2
- type_spec/external/api/inputs/{external_create_inputs.yaml → create_inputs.yaml} +4 -4
- type_spec/external/api/inputs/{external_get_input_data.yaml → get_input_data.yaml} +10 -10
- type_spec/external/api/inputs/{external_get_input_names.yaml → get_input_names.yaml} +2 -2
- type_spec/external/api/inputs/{external_get_inputs_data.yaml → get_inputs_data.yaml} +10 -10
- type_spec/external/api/inputs/{external_set_input_attribute_values.yaml → set_input_attribute_values.yaml} +2 -2
- type_spec/external/api/outputs/{external_get_output_data.yaml → get_output_data.yaml} +10 -10
- type_spec/external/api/outputs/{external_get_output_names.yaml → get_output_names.yaml} +2 -2
- type_spec/external/api/project/{external_get_projects.yaml → get_projects.yaml} +4 -4
- type_spec/external/api/project/{external_get_projects_data.yaml → get_projects_data.yaml} +8 -8
- type_spec/external/api/recipe_metadata/{external_get_recipe_metadata_data.yaml → get_recipe_metadata_data.yaml} +2 -2
- type_spec/external/api/recipes/{external_create_recipes.yaml → create_recipes.yaml} +6 -6
- type_spec/external/api/recipes/{external_get_curve.yaml → get_curve.yaml} +5 -5
- type_spec/external/api/recipes/{external_get_recipe_calculations.yaml → get_recipe_calculations.yaml} +4 -4
- type_spec/external/api/recipes/get_recipe_links.yaml +26 -0
- type_spec/external/api/recipes/{external_get_recipe_names.yaml → get_recipe_names.yaml} +2 -2
- type_spec/external/api/recipes/{external_get_recipe_output_metadata.yaml → get_recipe_output_metadata.yaml} +4 -4
- type_spec/external/api/recipes/{external_get_recipes_data.yaml → get_recipes_data.yaml} +38 -38
- uncountable/types/__init__.py +60 -54
- uncountable/types/api/entity/{external_create_entities.py → create_entities.py} +5 -25
- uncountable/types/api/entity/{external_create_entity.py → create_entity.py} +7 -13
- uncountable/types/api/entity/{external_get_entities_data.py → get_entities_data.py} +9 -9
- uncountable/types/api/entity/{external_list_entities.py → list_entities.py} +9 -9
- uncountable/types/api/entity/{external_resolve_entity_ids.py → resolve_entity_ids.py} +3 -3
- uncountable/types/api/entity/{external_set_values.py → set_values.py} +6 -6
- uncountable/types/api/input_groups/{external_get_input_group_names.py → get_input_group_names.py} +3 -3
- uncountable/types/api/inputs/{external_create_inputs.py → create_inputs.py} +6 -6
- uncountable/types/api/inputs/{external_get_input_data.py → get_input_data.py} +15 -15
- uncountable/types/api/inputs/{external_get_input_names.py → get_input_names.py} +3 -3
- uncountable/types/api/inputs/{external_get_inputs_data.py → get_inputs_data.py} +15 -15
- uncountable/types/api/inputs/{external_set_input_attribute_values.py → set_input_attribute_values.py} +3 -3
- uncountable/types/api/outputs/{external_get_output_data.py → get_output_data.py} +15 -15
- uncountable/types/api/outputs/{external_get_output_names.py → get_output_names.py} +3 -3
- uncountable/types/api/project/{external_get_projects.py → get_projects.py} +6 -6
- uncountable/types/api/project/{external_get_projects_data.py → get_projects_data.py} +12 -12
- uncountable/types/api/recipe_metadata/{external_get_recipe_metadata_data.py → get_recipe_metadata_data.py} +3 -3
- uncountable/types/api/recipes/{external_create_recipes.py → create_recipes.py} +9 -9
- uncountable/types/api/recipes/{external_get_curve.py → get_curve.py} +7 -7
- uncountable/types/api/recipes/{external_get_recipe_calculations.py → get_recipe_calculations.py} +6 -6
- uncountable/types/api/recipes/get_recipe_links.py +36 -0
- uncountable/types/api/recipes/{external_get_recipe_names.py → get_recipe_names.py} +3 -3
- uncountable/types/api/recipes/{external_get_recipe_output_metadata.py → get_recipe_output_metadata.py} +6 -6
- uncountable/types/api/recipes/{external_get_recipes_data.py → get_recipes_data.py} +57 -57
- uncountable/types/client_base.py +220 -217
- uncountable/types/entity.py +271 -0
- uncountable/types/field_values.py +28 -0
- uncountable/types/{api/recipes/external_get_recipe_links.py → recipe_links.py} +4 -25
- UncountablePythonSDK-0.0.5.dist-info/RECORD +0 -116
- type_spec/external/api/entity/external_create_entities.yaml +0 -55
- type_spec/external/api/recipes/external_get_recipe_links.yaml +0 -61
- {UncountablePythonSDK-0.0.5.dist-info → UncountablePythonSDK-0.0.7.dist-info}/top_level.txt +0 -0
- /type_spec/external/api/outputs/{external_resolve_output_conditions.yaml → resolve_output_conditions.yaml} +0 -0
- /type_spec/external/api/recipes/{external_set_recipe_inputs.yaml → set_recipe_inputs.yaml} +0 -0
- /type_spec/external/api/recipes/{external_set_recipe_outputs.yaml → set_recipe_outputs.yaml} +0 -0
- /uncountable/types/api/outputs/{external_resolve_output_conditions.py → resolve_output_conditions.py} +0 -0
- /uncountable/types/api/recipes/{external_set_recipe_inputs.py → set_recipe_inputs.py} +0 -0
- /uncountable/types/api/recipes/{external_set_recipe_outputs.py → set_recipe_outputs.py} +0 -0
|
@@ -24,7 +24,7 @@ Arguments:
|
|
|
24
24
|
type: Optional<Integer>
|
|
25
25
|
desc: "The maximum number of results to return. By default this is set to 1,000 and it cannot be set higher than 1,000"
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
InputAttrVal:
|
|
28
28
|
type: Object
|
|
29
29
|
properties:
|
|
30
30
|
attribute_id:
|
|
@@ -37,7 +37,7 @@ ExternalInputAttrVal:
|
|
|
37
37
|
type: JsonValue
|
|
38
38
|
desc: "The value for the attribute, if it is not of numeric type"
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
SimpleInputAttr:
|
|
41
41
|
type: Object
|
|
42
42
|
properties:
|
|
43
43
|
attribute_id:
|
|
@@ -50,7 +50,7 @@ ExternalSimpleInputAttr:
|
|
|
50
50
|
type: String
|
|
51
51
|
desc: "The quantity type of the input attribute, such as numeric, categorical or text"
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
SimpleInputGlobalCategory:
|
|
54
54
|
type: Object
|
|
55
55
|
properties:
|
|
56
56
|
category_id:
|
|
@@ -60,7 +60,7 @@ ExternalSimpleInputGlobalCategory:
|
|
|
60
60
|
type: String
|
|
61
61
|
desc: "The name of the input global category"
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
SimpleInputSubcategory:
|
|
64
64
|
type: Object
|
|
65
65
|
properties:
|
|
66
66
|
subcategory_id:
|
|
@@ -70,7 +70,7 @@ ExternalSimpleInputSubcategory:
|
|
|
70
70
|
type: String
|
|
71
71
|
desc: "The name of the input subcategory"
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
FullInput:
|
|
74
74
|
type: Object
|
|
75
75
|
properties:
|
|
76
76
|
input_id:
|
|
@@ -86,7 +86,7 @@ ExternalFullInput:
|
|
|
86
86
|
type: Boolean
|
|
87
87
|
desc: "Whether the input is a process parameter (true) or an ingredient (false)"
|
|
88
88
|
attributes:
|
|
89
|
-
type: List<
|
|
89
|
+
type: List<InputAttrVal>
|
|
90
90
|
desc: "Attributes associated with an input, such as CAS number, density, etc."
|
|
91
91
|
global_category_id:
|
|
92
92
|
type: Integer
|
|
@@ -99,10 +99,10 @@ Data:
|
|
|
99
99
|
type: Object
|
|
100
100
|
properties:
|
|
101
101
|
inputs:
|
|
102
|
-
type: List<
|
|
102
|
+
type: List<FullInput>
|
|
103
103
|
attrs:
|
|
104
|
-
type: List<
|
|
104
|
+
type: List<SimpleInputAttr>
|
|
105
105
|
global_categories:
|
|
106
|
-
type: List<
|
|
106
|
+
type: List<SimpleInputGlobalCategory>
|
|
107
107
|
subcategories:
|
|
108
|
-
type: List<
|
|
108
|
+
type: List<SimpleInputSubcategory>
|
|
@@ -21,7 +21,7 @@ Arguments:
|
|
|
21
21
|
type: Optional<Integer>
|
|
22
22
|
desc: "The maximum number of results to return. By default this is set to 20,000 and it cannot be set higher than 20,000"
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
InputWithName:
|
|
25
25
|
type: Object
|
|
26
26
|
properties:
|
|
27
27
|
input_id:
|
|
@@ -35,4 +35,4 @@ Data:
|
|
|
35
35
|
type: Object
|
|
36
36
|
properties:
|
|
37
37
|
inputs:
|
|
38
|
-
type: List<
|
|
38
|
+
type: List<InputWithName>
|
|
@@ -12,7 +12,7 @@ Arguments:
|
|
|
12
12
|
type: List<Integer>
|
|
13
13
|
desc: "Ids of the inputs to retrieve"
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
AttributeDetails:
|
|
16
16
|
type: Object
|
|
17
17
|
properties:
|
|
18
18
|
attribute_id:
|
|
@@ -25,7 +25,7 @@ ExternalAttributeDetails:
|
|
|
25
25
|
type: String
|
|
26
26
|
desc: "The value type of the attribute"
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
InputAttributeValue:
|
|
29
29
|
type: Object
|
|
30
30
|
properties:
|
|
31
31
|
attribute_id:
|
|
@@ -38,7 +38,7 @@ ExternalInputAttributeValue:
|
|
|
38
38
|
type: JsonValue
|
|
39
39
|
desc: "The value for the metadata, if it is not of numeric type"
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
InputTag:
|
|
42
42
|
type: Object
|
|
43
43
|
properties:
|
|
44
44
|
tag_id:
|
|
@@ -48,7 +48,7 @@ ExternalInputTag:
|
|
|
48
48
|
type: String
|
|
49
49
|
desc: "A name for the tag"
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
InputCategory:
|
|
52
52
|
type: Object
|
|
53
53
|
properties:
|
|
54
54
|
material_family_id:
|
|
@@ -61,7 +61,7 @@ ExternalInputCategory:
|
|
|
61
61
|
type: String
|
|
62
62
|
desc: "A name for the category"
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
InputDetails:
|
|
65
65
|
type: Object
|
|
66
66
|
properties:
|
|
67
67
|
input_id:
|
|
@@ -77,19 +77,19 @@ ExternalInputDetails:
|
|
|
77
77
|
type: String
|
|
78
78
|
desc: "The type of the input. E.g. input, process parameter, equipment"
|
|
79
79
|
attributes:
|
|
80
|
-
type: List<
|
|
80
|
+
type: List<InputAttributeValue>
|
|
81
81
|
desc: "The attributes of the input"
|
|
82
82
|
categories:
|
|
83
|
-
type: List<
|
|
83
|
+
type: List<InputCategory>
|
|
84
84
|
desc: "The categories for the input for each material family"
|
|
85
85
|
tags:
|
|
86
|
-
type: List<
|
|
86
|
+
type: List<InputTag>
|
|
87
87
|
desc: "The tags (subcategories) for the input"
|
|
88
88
|
|
|
89
89
|
Data:
|
|
90
90
|
type: Object
|
|
91
91
|
properties:
|
|
92
92
|
input_details:
|
|
93
|
-
type: List<
|
|
93
|
+
type: List<InputDetails>
|
|
94
94
|
input_attributes:
|
|
95
|
-
type: List<
|
|
95
|
+
type: List<AttributeDetails>
|
|
@@ -9,10 +9,10 @@ Arguments:
|
|
|
9
9
|
type: Object
|
|
10
10
|
properties:
|
|
11
11
|
attribute_values:
|
|
12
|
-
type: List<
|
|
12
|
+
type: List<InputAttributeValue>
|
|
13
13
|
desc: "The attributes of the input to set"
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
InputAttributeValue:
|
|
16
16
|
type: Object
|
|
17
17
|
properties:
|
|
18
18
|
input_id:
|
|
@@ -21,7 +21,7 @@ Arguments:
|
|
|
21
21
|
type: Integer
|
|
22
22
|
desc: "The maximum number of results to return. By default this is set to 1,000 and it cannot be set higher than 1,000"
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
OutputAttrVal:
|
|
25
25
|
type: Object
|
|
26
26
|
properties:
|
|
27
27
|
attribute_id:
|
|
@@ -34,7 +34,7 @@ ExternalOutputAttrVal:
|
|
|
34
34
|
type: JsonValue
|
|
35
35
|
desc: "The value for the attribute, if it is not of numeric type"
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
SimpleOutputAttr:
|
|
38
38
|
type: Object
|
|
39
39
|
properties:
|
|
40
40
|
attribute_id:
|
|
@@ -47,7 +47,7 @@ ExternalSimpleOutputAttr:
|
|
|
47
47
|
type: String
|
|
48
48
|
desc: "The quantity type of the output attribute, such as numeric, categorical or text"
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
SimpleOutputGlobalCategory:
|
|
51
51
|
type: Object
|
|
52
52
|
properties:
|
|
53
53
|
category_id:
|
|
@@ -57,7 +57,7 @@ ExternalSimpleOutputGlobalCategory:
|
|
|
57
57
|
type: String
|
|
58
58
|
desc: "The name of the output global category"
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
SimpleUnit:
|
|
61
61
|
type: Object
|
|
62
62
|
desc: "A representation of units within Uncountable system"
|
|
63
63
|
properties:
|
|
@@ -68,7 +68,7 @@ ExternalSimpleUnit:
|
|
|
68
68
|
type: String
|
|
69
69
|
desc: "The name of the unit"
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
FullOutput:
|
|
72
72
|
type: Object
|
|
73
73
|
properties:
|
|
74
74
|
output_id:
|
|
@@ -81,7 +81,7 @@ ExternalFullOutput:
|
|
|
81
81
|
type: String
|
|
82
82
|
desc: "The quantity type of the output, such as numeric, categorical, text, curve, or calculation"
|
|
83
83
|
attributes:
|
|
84
|
-
type: List<
|
|
84
|
+
type: List<OutputAttrVal>
|
|
85
85
|
desc: "Attributes associated with an output, such as a test documentation"
|
|
86
86
|
global_category_id:
|
|
87
87
|
type: Integer
|
|
@@ -94,10 +94,10 @@ Data:
|
|
|
94
94
|
type: Object
|
|
95
95
|
properties:
|
|
96
96
|
outputs:
|
|
97
|
-
type: List<
|
|
97
|
+
type: List<FullOutput>
|
|
98
98
|
attrs:
|
|
99
|
-
type: List<
|
|
99
|
+
type: List<SimpleOutputAttr>
|
|
100
100
|
global_categories:
|
|
101
|
-
type: List<
|
|
101
|
+
type: List<SimpleOutputGlobalCategory>
|
|
102
102
|
units:
|
|
103
|
-
type: List<
|
|
103
|
+
type: List<SimpleUnit>
|
|
@@ -18,7 +18,7 @@ Arguments:
|
|
|
18
18
|
type: Integer
|
|
19
19
|
desc: "The maximum number of results to return. By default this is set to 20,000 and it cannot be set higher than 20,000"
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
OutputWithName:
|
|
22
22
|
type: Object
|
|
23
23
|
properties:
|
|
24
24
|
output_id:
|
|
@@ -32,4 +32,4 @@ Data:
|
|
|
32
32
|
type: Object
|
|
33
33
|
properties:
|
|
34
34
|
outputs:
|
|
35
|
-
type: List<
|
|
35
|
+
type: List<OutputWithName>
|
|
@@ -14,7 +14,7 @@ Arguments:
|
|
|
14
14
|
type: Optional<Integer>
|
|
15
15
|
desc: "The specific material family ID to get projects from. Only fill this in if all_material_families is set to false"
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Project:
|
|
18
18
|
type: Object
|
|
19
19
|
properties:
|
|
20
20
|
id:
|
|
@@ -33,7 +33,7 @@ ExternalProject:
|
|
|
33
33
|
type: Optional<Integer>
|
|
34
34
|
desc: "The phase id corresponding to a phase workflow"
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
Phase:
|
|
37
37
|
type: Object
|
|
38
38
|
properties:
|
|
39
39
|
id:
|
|
@@ -47,6 +47,6 @@ Data:
|
|
|
47
47
|
type: Object
|
|
48
48
|
properties:
|
|
49
49
|
projects:
|
|
50
|
-
type: List<
|
|
50
|
+
type: List<Project>
|
|
51
51
|
phases:
|
|
52
|
-
type: List<
|
|
52
|
+
type: List<Phase>
|
|
@@ -17,7 +17,7 @@ Arguments:
|
|
|
17
17
|
type: Optional<Integer>
|
|
18
18
|
desc: "The number of data points to return. If not filled in, it will be set to 100, and cannot be set higher than 100"
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Field:
|
|
21
21
|
type: Object
|
|
22
22
|
properties:
|
|
23
23
|
id:
|
|
@@ -30,7 +30,7 @@ ExternalField:
|
|
|
30
30
|
type: String
|
|
31
31
|
desc: "The type of the field for instance whether it is numeric, text, categorical"
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
FieldValue:
|
|
34
34
|
type: Object
|
|
35
35
|
properties:
|
|
36
36
|
field_id:
|
|
@@ -43,7 +43,7 @@ ExternalFieldValue:
|
|
|
43
43
|
type: JsonValue
|
|
44
44
|
desc: "The value for the field"
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
ProjectDetailed:
|
|
47
47
|
type: Object
|
|
48
48
|
properties:
|
|
49
49
|
id:
|
|
@@ -62,10 +62,10 @@ ExternalProjectDetailed:
|
|
|
62
62
|
type: Optional<Integer>
|
|
63
63
|
desc: "The phase id corresponding to a phase workflow"
|
|
64
64
|
values:
|
|
65
|
-
type: List<
|
|
65
|
+
type: List<FieldValue>
|
|
66
66
|
desc: "List of fields and values associated with the project"
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
Phase:
|
|
69
69
|
type: Object
|
|
70
70
|
properties:
|
|
71
71
|
id:
|
|
@@ -79,8 +79,8 @@ Data:
|
|
|
79
79
|
type: Object
|
|
80
80
|
properties:
|
|
81
81
|
projects:
|
|
82
|
-
type: List<
|
|
82
|
+
type: List<ProjectDetailed>
|
|
83
83
|
phases:
|
|
84
|
-
type: List<
|
|
84
|
+
type: List<Phase>
|
|
85
85
|
fields:
|
|
86
|
-
type: List<
|
|
86
|
+
type: List<Field>
|
|
@@ -21,7 +21,7 @@ Arguments:
|
|
|
21
21
|
type: Optional<Integer>
|
|
22
22
|
desc: "The maximum number of results to return. By default this is set to 1,000 and it cannot be set higher than 1,000"
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
FullRecipeMetadataField:
|
|
25
25
|
type: Object
|
|
26
26
|
properties:
|
|
27
27
|
recipe_metadata_id:
|
|
@@ -38,4 +38,4 @@ Data:
|
|
|
38
38
|
type: Object
|
|
39
39
|
properties:
|
|
40
40
|
recipe_metadata:
|
|
41
|
-
type: List<
|
|
41
|
+
type: List<FullRecipeMetadataField>
|
|
@@ -5,7 +5,7 @@ $endpoint:
|
|
|
5
5
|
function: main.site.app.external.recipes.create_recipes.create_recipes
|
|
6
6
|
desc: "Sets inputs values for an experiment. Values set can be numeric, text or categorical types in the Uncountable system"
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
MetadataValue:
|
|
9
9
|
type: Object
|
|
10
10
|
properties:
|
|
11
11
|
metadata_id:
|
|
@@ -18,7 +18,7 @@ ExternalMetadataValue:
|
|
|
18
18
|
type: String
|
|
19
19
|
desc: "The string value for the metadata if applicable for this metadata field"
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
CreateRecipeDefinition:
|
|
22
22
|
type: Object
|
|
23
23
|
properties:
|
|
24
24
|
name?:
|
|
@@ -31,7 +31,7 @@ ExternalCreateRecipeDefinition:
|
|
|
31
31
|
type: Optional<ObjectId>
|
|
32
32
|
desc: "The identifier of the workflow variant to create the recipe with"
|
|
33
33
|
recipe_metadata?:
|
|
34
|
-
type: List<
|
|
34
|
+
type: List<MetadataValue>
|
|
35
35
|
desc: "Metadata values to populate the recipe with"
|
|
36
36
|
|
|
37
37
|
Arguments:
|
|
@@ -44,9 +44,9 @@ Arguments:
|
|
|
44
44
|
type: Integer
|
|
45
45
|
desc: "The identifier of the project to create the recipes in"
|
|
46
46
|
recipe_definitions:
|
|
47
|
-
type: List<
|
|
47
|
+
type: List<CreateRecipeDefinition>
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
CreateRecipeResult:
|
|
50
50
|
type: Object
|
|
51
51
|
properties:
|
|
52
52
|
recipe_id:
|
|
@@ -57,4 +57,4 @@ Data:
|
|
|
57
57
|
type: Object
|
|
58
58
|
properties:
|
|
59
59
|
recipes:
|
|
60
|
-
type: List<
|
|
60
|
+
type: List<CreateRecipeResult>
|
|
@@ -11,7 +11,7 @@ Arguments:
|
|
|
11
11
|
type: Integer
|
|
12
12
|
desc: "The recipe output ID to fetch the curve for. This must be a curve recipe output. Recipe Outputs can be found from external_get_recipes_data"
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
CurveValue:
|
|
15
15
|
type: Object
|
|
16
16
|
properties:
|
|
17
17
|
index:
|
|
@@ -24,7 +24,7 @@ ExternalCurveValue:
|
|
|
24
24
|
type: DateTime
|
|
25
25
|
desc: "The timestamp value if the curve is a timestamp curve in UTC"
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Curve:
|
|
28
28
|
type: Object
|
|
29
29
|
properties:
|
|
30
30
|
id:
|
|
@@ -34,17 +34,17 @@ ExternalCurve:
|
|
|
34
34
|
type: String
|
|
35
35
|
desc: "The type of axis for the x-axis. Options include numeric and timestamp"
|
|
36
36
|
x_values:
|
|
37
|
-
type: List<
|
|
37
|
+
type: List<CurveValue>
|
|
38
38
|
desc: "The values for the x-axis"
|
|
39
39
|
y_type:
|
|
40
40
|
type: String
|
|
41
41
|
desc: "The type of axis for the y-axis. Options include numeric"
|
|
42
42
|
y_values:
|
|
43
|
-
type: List<
|
|
43
|
+
type: List<CurveValue>
|
|
44
44
|
desc: "The values for the y-axis"
|
|
45
45
|
|
|
46
46
|
Data:
|
|
47
47
|
type: Object
|
|
48
48
|
properties:
|
|
49
49
|
curve:
|
|
50
|
-
type:
|
|
50
|
+
type: Curve
|
|
@@ -14,7 +14,7 @@ Arguments:
|
|
|
14
14
|
type: List<Integer>
|
|
15
15
|
desc: "Optionally a list of ids of calculations to retrieve"
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
RecipeCalculation:
|
|
18
18
|
type: Object
|
|
19
19
|
properties:
|
|
20
20
|
recipe_id:
|
|
@@ -30,7 +30,7 @@ ExternalRecipeCalculation:
|
|
|
30
30
|
type: JsonValue
|
|
31
31
|
desc: "The value for the calculation, if it is not of numeric type"
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Calculation:
|
|
34
34
|
type: Object
|
|
35
35
|
properties:
|
|
36
36
|
id:
|
|
@@ -44,6 +44,6 @@ Data:
|
|
|
44
44
|
type: Object
|
|
45
45
|
properties:
|
|
46
46
|
recipe_calculations:
|
|
47
|
-
type: List<
|
|
47
|
+
type: List<RecipeCalculation>
|
|
48
48
|
calculations:
|
|
49
|
-
type: List<
|
|
49
|
+
type: List<Calculation>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
$endpoint:
|
|
2
|
+
is_sdk: true
|
|
3
|
+
method: get
|
|
4
|
+
path: ${external}/recipes/external_get_recipe_links
|
|
5
|
+
function: main.site.app.external.recipes.get_recipe_links.get_recipe_links
|
|
6
|
+
desc: "Gets the links for the passed recipes"
|
|
7
|
+
|
|
8
|
+
Arguments:
|
|
9
|
+
type: Object
|
|
10
|
+
properties:
|
|
11
|
+
recipe_ids:
|
|
12
|
+
type: List<Integer>
|
|
13
|
+
desc: "Ids of the Recipes to retrieve links for"
|
|
14
|
+
depth:
|
|
15
|
+
type: Integer
|
|
16
|
+
desc: "How many layers deep to look for links"
|
|
17
|
+
default: 1
|
|
18
|
+
link_types:
|
|
19
|
+
type: Optional<List<recipe_links.RecipeLinkType>>
|
|
20
|
+
desc: "Optional filter to only desired link types"
|
|
21
|
+
|
|
22
|
+
Data:
|
|
23
|
+
type: Object
|
|
24
|
+
properties:
|
|
25
|
+
recipe_links:
|
|
26
|
+
type: List<recipe_links.RecipeLink>
|
|
@@ -12,7 +12,7 @@ Arguments:
|
|
|
12
12
|
type: Integer
|
|
13
13
|
desc: "Required: The project ID to get the recipes/experiments from."
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
SimpleRecipe:
|
|
16
16
|
type: Object
|
|
17
17
|
properties:
|
|
18
18
|
id:
|
|
@@ -26,4 +26,4 @@ Data:
|
|
|
26
26
|
type: Object
|
|
27
27
|
properties:
|
|
28
28
|
recipes:
|
|
29
|
-
type: List<
|
|
29
|
+
type: List<SimpleRecipe>
|
|
@@ -11,7 +11,7 @@ Arguments:
|
|
|
11
11
|
type: List<Integer>
|
|
12
12
|
desc: "Ids of the Recipe Outputs to retrieve metadata for"
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
RecipeOutputMetadata:
|
|
15
15
|
type: Object
|
|
16
16
|
properties:
|
|
17
17
|
recipe_output_id:
|
|
@@ -27,7 +27,7 @@ ExternalRecipeOutputMetadata:
|
|
|
27
27
|
type: JsonValue
|
|
28
28
|
desc: "The value for the metadata, if it is not of numeric type"
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
RecipeOutputMetadataField:
|
|
31
31
|
type: Object
|
|
32
32
|
properties:
|
|
33
33
|
id:
|
|
@@ -44,6 +44,6 @@ Data:
|
|
|
44
44
|
type: Object
|
|
45
45
|
properties:
|
|
46
46
|
recipe_output_metadata:
|
|
47
|
-
type: List<
|
|
47
|
+
type: List<RecipeOutputMetadata>
|
|
48
48
|
recipe_output_metadata_fields:
|
|
49
|
-
type: List<
|
|
49
|
+
type: List<RecipeOutputMetadataField>
|