You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-panel/t/api-rest2/BannedUsers.yaml

29 lines
624 B

---
#check options
-
name: check OPTIONS for bannedusers
type: item
method: OPTIONS
path: /api/bannedusers/
conditions:
is:
code: 200
header:
Accept-Post: application/hal+json; profile=http://purl.org/sipwise/ngcp-api/#rel-bannedusers
ok:
options:
- GET
- HEAD
- OPTIONS
#verify pagination
-
name: verify pagination
type: pagination
method: GET
path: '/api/bannedusers/?page=1&rows=2'
retain:
collection: body
conditions:
is:
code: 200