1
0

Added check for list title when creating a new list

This commit is contained in:
kolaente
2018-07-26 10:29:09 +02:00
parent a9094506fa
commit 935aef8a38
4 changed files with 48 additions and 0 deletions

27
REST-Tests/lists.http Normal file
View 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}}
###