Remove inproper comment for APIs.
Remove duplicate 'POST' APIs. Add 'PUT' and 'DELETE' API. Change-Id: Idc21bc030a189cbd11a7e6e1f6b3b8c8056a88ac
This commit is contained in:
parent
bd4c9251f7
commit
c12c72faec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue