Skip to content

Commit

Permalink
Update for new storedata methods and objects swagger-api#2
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasyluk authored and dwasyluk committed Oct 4, 2017
1 parent 7115cdd commit 9f7967b
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions dist/swagger-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6430,7 +6430,7 @@ var swaggerSpec =
"properties" : {
"data" : {
"type" : "string",
"description" : "The data to be stored on the decentralized storage facility. Max size 5mb"
"description" : "The data to be stored on the decentralized storage facility. Max size 500kb."
},
"storeLocations" : {
"type" : "array",
Expand All @@ -6442,15 +6442,8 @@ var swaggerSpec =
}
},
"StoreDataResponse" : {
"required" : [ "dataLocations" ],
"required" : [ "storeLocations" ],
"properties" : {
"dataLocations" : {
"type" : "array",
"description" : "The data to be stored on the decentralized storage facility. Max size 5mb",
"items" : {
"type" : "string"
}
},
"storeLocations" : {
"type" : "array",
"description" : "Array of objects which describe where data is stored offchain",
Expand All @@ -6461,27 +6454,20 @@ var swaggerSpec =
},
"example" : {
"storeLocations" : [ {
"dataUrl" : "aeiou",
"dataProof" : "aeiou"
} ],
"dataLocations" : [ "aeiou" ]
"dataUrl" : "aeiou"
} ]
}
},
"DataStoreLocation" : {
"required" : [ "dataProof", "dataUrl" ],
"required" : [ "dataUrl" ],
"properties" : {
"dataProof" : {
"type" : "string",
"description" : "Hash of the data to be stored to help verify it hasn't been tampered with between creation and access."
},
"dataUrl" : {
"type" : "string",
"description" : "URL from which the data can be fetched"
}
},
"example" : {
"dataUrl" : "aeiou",
"dataProof" : "aeiou"
"dataUrl" : "aeiou"
}
}
}
Expand Down

0 comments on commit 9f7967b

Please sign in to comment.