Logo: Relish

  1. Sign in

Project: Possum-api

List resources with various types of filtering

  • @logged-in
Background
Given
I create a new resource
Scenarios
Resource list includes a new resource

The most basic resource listing route returns all resources in an account.

When
I successfully GET "/resources/:account"
Then
the resource list should have the new resource
The resource list can be filtered by resource kind.
When
I successfully GET "/resources/:account/test-resource"
Then
the resource list should have the new resource
The resource list, when filtered by a different resource kind, does not include the new resource.
When
I successfully GET "/resources/:account/uncreated-resource-kind"
Then
the resource list should not have the new resource

Last published about 4 years ago by Kevin Gilpin.