Added check for list title when creating a new list
This commit is contained in:
parent
a9094506fa
commit
935aef8a38
4 changed files with 48 additions and 0 deletions
27
REST-Tests/lists.http
Normal file
27
REST-Tests/lists.http
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Get all lists
|
||||
GET http://localhost:8080/api/v1/lists
|
||||
Authorization: Bearer {{auth_token}}
|
||||
|
||||
###
|
||||
|
||||
# Get one list
|
||||
GET http://localhost:8080/api/v1/lists/28
|
||||
Authorization: Bearer {{auth_token}}
|
||||
|
||||
###
|
||||
|
||||
# Add a new list
|
||||
PUT http://localhost:8080/api/v1/namespaces/1/lists
|
||||
Authorization: Bearer {{auth_token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{}
|
||||
|
||||
###
|
||||
|
||||
# Delete a list from a list
|
||||
DELETE http://localhost:8080/api/v1/lists/28
|
||||
Authorization: Bearer {{auth_token}}
|
||||
|
||||
###
|
||||
|
||||
Reference in a new issue