api: update v1 for Flask >= 0.10

Change-Id: I7e0e9a902ec57b6e5eb951d50a49629dd7cfdb7c
Fixes-Bug: #1212851
Merge "api: update v1 for Flask >= 0.10"