Skip to content

Commit 683e3f4

Browse files
Manually merging releases/Apr2021 from DI-Agri repo. (Azure#14408)
* Manually merging releases/Apr2021 from DI-Agri repo. Manually updating the body param names. * Correcting example schema * Updating examples for the string -> number data type change. * removing extra brace * fixing schema * final newline * correcting example * Fixing example * Attempting to fix content type issue * Trying fix for content type issue * renaming bodies in examples, removing content type * final newline * Doc updates, functionally the same.
1 parent 896d05e commit 683e3f4

37 files changed

+336
-232
lines changed

specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/agfood.json

Lines changed: 257 additions & 188 deletions
Large diffs are not rendered by default.

specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/examples/ApplicationData_CreateOrUpdate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"farmerId": "FARMER123",
55
"applicationDataId": "APPLICATION123",
66
"api-version": "2021-03-31-preview",
7-
"body": {
7+
"applicationData": {
88
"source": "Manual",
99
"name": "Application data for North Farm",
1010
"description": "some description",

specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/examples/Boundaries_CreateCascadeDeleteJob.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"id": "JOB123",
1313
"status": "Succeeded",
1414
"message": "Job completed successfully.",
15-
"durationInSeconds": "14.7977857",
15+
"durationInSeconds": 14.7977857,
1616
"createdDateTime": "2021-04-19T11:31:20Z",
1717
"lastActionDateTime": "2021-04-19T11:31:34Z",
1818
"startTime": "2021-04-19T11:31:19Z",

specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/examples/Boundaries_CreateOrUpdate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"farmerId": "FARMER123",
55
"boundaryId": "BOUNDARY123",
66
"api-version": "2021-03-31-preview",
7-
"body": {
7+
"boundary": {
88
"parentId": "FIELD123",
99
"isPrimary": false,
1010
"geometry": {

specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/examples/Boundaries_GetCascadeDeleteJobDetails.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"id": "JOB123",
1111
"status": "Succeeded",
1212
"message": "Job completed successfully.",
13-
"durationInSeconds": "14.7977857",
13+
"durationInSeconds": 14.7977857,
1414
"createdDateTime": "2021-04-19T11:31:20Z",
1515
"lastActionDateTime": "2021-04-19T11:31:34Z",
1616
"startTime": "2021-04-19T11:31:19Z",

specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/examples/CropVarieties_CreateOrUpdate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"api-version": "2021-03-31-preview",
55
"cropId": "CORN123",
66
"cropVarietyId": "SEED123",
7-
"body": {
7+
"cropVariety": {
88
"brand": "BRAND123",
99
"product": "AGTECH",
1010
"status": "Active",

specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/examples/Crops_CreateOrUpdate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"Endpoint": "{Endpoint}",
44
"api-version": "2021-03-31-preview",
55
"cropId": "CORN123",
6-
"body": {
6+
"crop": {
77
"phenotype": "Corn",
88
"status": "Active",
99
"name": "John Smith's Crop",

specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/examples/FarmOperations_CreateDataIngestionJob.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"AllOperations"
2525
],
2626
"startYear": 2012,
27-
"durationInSeconds": "14.79",
27+
"durationInSeconds": 14.79,
2828
"id": "sdi-0916aeec-ad8d-41d0-9797-63924f818cd7",
2929
"status": "Waiting",
3030
"message": "string",

specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/examples/FarmOperations_GetDataIngestionJobDetails.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"responses": {
88
"200": {
99
"body": {
10-
"durationInSeconds": "11.2",
10+
"durationInSeconds": 11.2,
1111
"id": "farm-operations-job",
1212
"status": "Succeeded",
1313
"message": "string",

specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/examples/Farmers_CreateCascadeDeleteJob.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"id": "JOB123",
1212
"status": "Succeeded",
1313
"message": "Job completed successfully.",
14-
"durationInSeconds": "14.7977857",
14+
"durationInSeconds": 14.7977857,
1515
"createdDateTime": "2021-04-19T11:31:20Z",
1616
"lastActionDateTime": "2021-04-19T11:31:34Z",
1717
"startTime": "2021-04-19T11:31:19Z",

0 commit comments

Comments
 (0)