Skip to content

[Bug]: DAPA API item retrieval does not filter by collection identifer #531

Closed
@ngachung

Description

@ngachung

Checked for duplicates

Yes

Describe the bug

When retrieving a STAC item from DAPA API, providing a non-existent collection still returns the item.

https://api.mdps.mcp.nasa.gov/am-uds-dapa/collections/urn:nasa:unity:unity:prod:wrong_collection___3/items/urn:nasa:unity:unity:prod:nga-test-unity-dev-output___3:output_2

urn:nasa:unity:unity:prod:nga-test-unity-dev-output___3:output_2 does not belong to urn:nasa:unity:unity:prod:wrong_collection___3. urn:nasa:unity:unity:prod:wrong_collection___3 doesn't even exist.

What did you expect?

Should not return STAC item

What is your environment?

UDS v9.4.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions