|
@@ -65,6 +65,10 @@ transferAssetsValidationErrors = [
|
|
|
StatefulValidationError("Too long description", "Too long description", "Ensure that description length matches the criteria above (or just shorten it)")
|
|
StatefulValidationError("Too long description", "Too long description", "Ensure that description length matches the criteria above (or just shorten it)")
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
|
|
+@app.route("/", methods=['GET'])
|
|
|
|
|
+def Hello():
|
|
|
|
|
+ return "IROHA REST API"
|
|
|
|
|
+
|
|
|
@app.route("/accounts/<string:accountId>/assets/", methods=['GET'])
|
|
@app.route("/accounts/<string:accountId>/assets/", methods=['GET'])
|
|
|
def get_account_assets(accountId): #TODO: add validation and error handling
|
|
def get_account_assets(accountId): #TODO: add validation and error handling
|
|
|
|
|
|