Skip to content

Commit 9f7967b

Browse files
dwasylukdwasyluk
dwasyluk
authored and
dwasyluk
committed
Update for new storedata methods and objects swagger-api#2
1 parent 7115cdd commit 9f7967b

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

dist/swagger-spec.js

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6430,7 +6430,7 @@ var swaggerSpec =
64306430
"properties" : {
64316431
"data" : {
64326432
"type" : "string",
6433-
"description" : "The data to be stored on the decentralized storage facility. Max size 5mb"
6433+
"description" : "The data to be stored on the decentralized storage facility. Max size 500kb."
64346434
},
64356435
"storeLocations" : {
64366436
"type" : "array",
@@ -6442,15 +6442,8 @@ var swaggerSpec =
64426442
}
64436443
},
64446444
"StoreDataResponse" : {
6445-
"required" : [ "dataLocations" ],
6445+
"required" : [ "storeLocations" ],
64466446
"properties" : {
6447-
"dataLocations" : {
6448-
"type" : "array",
6449-
"description" : "The data to be stored on the decentralized storage facility. Max size 5mb",
6450-
"items" : {
6451-
"type" : "string"
6452-
}
6453-
},
64546447
"storeLocations" : {
64556448
"type" : "array",
64566449
"description" : "Array of objects which describe where data is stored offchain",
@@ -6461,27 +6454,20 @@ var swaggerSpec =
64616454
},
64626455
"example" : {
64636456
"storeLocations" : [ {
6464-
"dataUrl" : "aeiou",
6465-
"dataProof" : "aeiou"
6466-
} ],
6467-
"dataLocations" : [ "aeiou" ]
6457+
"dataUrl" : "aeiou"
6458+
} ]
64686459
}
64696460
},
64706461
"DataStoreLocation" : {
6471-
"required" : [ "dataProof", "dataUrl" ],
6462+
"required" : [ "dataUrl" ],
64726463
"properties" : {
6473-
"dataProof" : {
6474-
"type" : "string",
6475-
"description" : "Hash of the data to be stored to help verify it hasn't been tampered with between creation and access."
6476-
},
64776464
"dataUrl" : {
64786465
"type" : "string",
64796466
"description" : "URL from which the data can be fetched"
64806467
}
64816468
},
64826469
"example" : {
6483-
"dataUrl" : "aeiou",
6484-
"dataProof" : "aeiou"
6470+
"dataUrl" : "aeiou"
64856471
}
64866472
}
64876473
}

0 commit comments

Comments
 (0)