Skip to content

Commit fadd0d8

Browse files
committed
STAC API: advertise sort conformance class
1 parent 2999a08 commit fadd0d8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pycsw/stac/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
'https://api.stacspec.org/v1.0.0/item-search',
6969
'https://api.stacspec.org/v1.0.0/item-search#filter',
7070
'https://api.stacspec.org/v1.0.0/item-search#free-text',
71+
'https://api.stacspec.org/v1.0.0/item-search#sort',
7172
'https://api.stacspec.org/v1.0.0-rc.1/collection-search',
7273
'https://api.stacspec.org/v1.0.0-rc.1/collection-search#free-text',
7374
'https://api.stacspec.org/v1.0.0/collections/extensions/transaction',

tests/functionaltests/suites/stac_api/test_stac_api_functional.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_landing_page(config):
4949

5050
assert content['stac_version'] == '1.0.0'
5151
assert content['type'] == 'Catalog'
52-
assert len(content['conformsTo']) == 20
52+
assert len(content['conformsTo']) == 21
5353
assert len(content['keywords']) == 3
5454

5555

@@ -70,14 +70,15 @@ def test_conformance(config):
7070
assert headers['Content-Type'] == 'application/json'
7171
assert status == 200
7272

73-
assert len(content['conformsTo']) == 20
73+
assert len(content['conformsTo']) == 21
7474

7575
conformances = [
7676
'http://www.opengis.net/spec/ogcapi-common-2/1.0/conf/simple-query',
7777
'https://api.stacspec.org/v1.0.0/core',
7878
'https://api.stacspec.org/v1.0.0/ogcapi-features',
7979
'https://api.stacspec.org/v1.0.0/item-search',
8080
'https://api.stacspec.org/v1.0.0/item-search#filter',
81+
'https://api.stacspec.org/v1.0.0/item-search#sort',
8182
'https://api.stacspec.org/v1.0.0-rc.1/collection-search',
8283
'https://api.stacspec.org/v1.0.0-rc.1/collection-search#free-text'
8384
]

0 commit comments

Comments
 (0)