Remove inproper comment for APIs.

Remove duplicate 'POST' APIs. Add 'PUT' and 'DELETE' API.

Change-Id: Idc21bc030a189cbd11a7e6e1f6b3b8c8056a88ac
This commit is contained in:
ericxiett 2017-06-13 16:34:52 +08:00
parent bd4c9251f7
commit c12c72faec
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ class Segment(resource2.Resource):
# 1] GET /v1/segments
# 2] GET /v1/segments/<segment_uuid>
# 3] POST /v1/segments
# 4] POST /v1/segments
# 5] POST /v1/segments
# 4] PUT /v1/segments/<segment_uuid>
# 5] DELETE /v1/segments/<segment_uuid>
allow_list = True
allow_get = True
allow_create = True