Skip to content

fix: cast collections to list in validate_sort POST requests#769

Open
mcucchi9 wants to merge 1 commit intostac-utils:mainfrom
mcucchi9:bugfix/cast-collection-to-list-in-validate-sort
Open

fix: cast collections to list in validate_sort POST requests#769
mcucchi9 wants to merge 1 commit intostac-utils:mainfrom
mcucchi9:bugfix/cast-collection-to-list-in-validate-sort

Conversation

@mcucchi9
Copy link

@mcucchi9 mcucchi9 commented Mar 12, 2026

As described in #768, STAC API specification expects the collections field in POST requests' body to be a list. This PR ensures this happens in the validate_sort function.

Closes #768

@mcucchi9 mcucchi9 changed the title Cast collections to list in validate_sort POST requests fix: cast collections to list in validate_sort POST requests Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The collections field should be submitted in HTTP requests as a list of strings

1 participant