@@ -50,11 +50,50 @@ Authorization: Bearer {{authToken}}
50
50
{
51
51
"type" : " TEST" ,
52
52
"inputPayload" : {
53
- "id" : 1
53
+ "id" : 1111111
54
54
}
55
55
}
56
56
57
- ### Create a new suitability assessment job
57
+ ### Create a new regional assessment job (with full params)
58
+ # @name createRegionalAssessmentJob
59
+ POST {{baseUrl }}/jobs
60
+ Content-Type: {{contentType}}
61
+ Authorization: Bearer {{authToken}}
62
+
63
+ {
64
+ "type" : " REGIONAL_ASSESSMENT" ,
65
+ "inputPayload" : {
66
+ "region" : " Mackay-Capricorn" ,
67
+ "reef_type" : " slopes" ,
68
+ "depth_min" : -10.1 ,
69
+ "depth_max" : -2.1 ,
70
+ "slope_min" : 0.1 ,
71
+ "slope_max" : 30.0 ,
72
+ "rugosity_min" : 0.0 ,
73
+ "rugosity_max" : 6.0 ,
74
+ "waves_period_min" : 1.94303 ,
75
+ "waves_period_max" : 9.32689 ,
76
+ "waves_height_min" : 0.237052 ,
77
+ "waves_height_max" : 2.53194 ,
78
+ "threshold" : 95
79
+ }
80
+ }
81
+
82
+ ### Create a new regional assessment job (with minimal params)
83
+ # @name createRegionalAssessmentJob
84
+ POST {{baseUrl }}/jobs
85
+ Content-Type: {{contentType}}
86
+ Authorization: Bearer {{authToken}}
87
+
88
+ {
89
+ "type" : " REGIONAL_ASSESSMENT" ,
90
+ "inputPayload" : {
91
+ "region" : " Mackay-Capricorn" ,
92
+ "reef_type" : " slopes"
93
+ }
94
+ }
95
+
96
+ ### Create a new suitability assessment job (with full params)
58
97
# @name createSuitabilityJob
59
98
POST {{baseUrl }}/jobs
60
99
Content-Type: {{contentType}}
@@ -63,20 +102,41 @@ Authorization: Bearer {{authToken}}
63
102
{
64
103
"type" : " SUITABILITY_ASSESSMENT" ,
65
104
"inputPayload" : {
66
- "region" : " Cairns-Cooktown " ,
105
+ "region" : " Mackay-Capricorn " ,
67
106
"reef_type" : " slopes" ,
68
- "depth_min" : -7.0 ,
69
- "depth_max" : -3.9 ,
70
- "slope_min" : 0.2 ,
71
- "slope_max" : 40 .0 ,
107
+ "depth_min" : -10.1 ,
108
+ "depth_max" : -2.1 ,
109
+ "slope_min" : 0.1 ,
110
+ "slope_max" : 30 .0 ,
72
111
"rugosity_min" : 0.0 ,
73
112
"rugosity_max" : 6.0 ,
74
- "x_dist" : 450 ,
75
- "y_dist" : 20 ,
113
+ "waves_period_min" : 1.94303 ,
114
+ "waves_period_max" : 9.32689 ,
115
+ "waves_height_min" : 0.237052 ,
116
+ "waves_height_max" : 2.53194 ,
117
+ "x_dist" : 451 ,
118
+ "y_dist" : 27 ,
76
119
"threshold" : 95
77
120
}
78
121
}
79
122
123
+ ### Create a new suitability assessment job (with minimal params)
124
+ # @name createSuitabilityJob
125
+ POST {{baseUrl }}/jobs
126
+ Content-Type: {{contentType}}
127
+ Authorization: Bearer {{authToken}}
128
+
129
+ {
130
+ "type" : " SUITABILITY_ASSESSMENT" ,
131
+ "inputPayload" : {
132
+ "region" : " Mackay-Capricorn" ,
133
+ "reef_type" : " slopes" ,
134
+ "x_dist" : 451 ,
135
+ "y_dist" : 27
136
+ }
137
+ }
138
+
139
+
80
140
### Store the job IDs for further operations
81
141
@jobId = {{createJob.response.body.jobId}}
82
142
@jobId = {{createSuitabilityJob.response.body.jobId}}
@@ -241,4 +301,4 @@ Authorization: Bearer {{authToken}}
241
301
242
302
### Try download (should fail as job is not complete)
243
303
GET {{baseUrl }}/jobs/{{jobId}}/download
244
- Authorization: Bearer {{authToken}}
304
+ Authorization: Bearer {{authToken}}
0 commit comments