Skip to content

add a /providers endpoint to list available providers #84

@alambare

Description

@alambare

Is your feature request related to a problem? Please describe.
EODAG support a provider filter that comes very handy considering an EODAG dataset can have multiple host providers. In server mode, there is currently no way for a user to know the list of available providers to filter.

Describe the solution you'd like

Add a /providers endpoint that would list the available providers

{
    "$schema": "https://json-schema.org/draft/2019-09/schema",
    "$id": "http://127.0.0.1:5000/queryables",
    "type": "object",
    "title": "Providers for EODAG STAC API",
    "description": "Providers list for the EODAG STAC API.",
    "providers": {
        {
            "name": "peps",
            "description": "The PEPS platform, the French \"mirror site\", redistributes the products of Sentinel satellites,\nS1A, S1B, S2A and S2B, S3A and S3B from COPERNICUS, the European system for the Earth monitoring.\n",
            "roles": [
                "host"
            ],
            "url": "https://peps.cnes.fr",
            "priority": 1
        }
    }
}

Describe alternatives you've considered
none

Additional context
Add any other context about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions