Skip to content

Usage description - read the catalog entries from different EDC connectors #228

Closed Answered by paullatzelsperger
oliverbusch asked this question in Q&A
Discussion options

You must be logged in to vote

use the Query API:

curl --location '<HOST>:<PORT>/<BASEPATH>/v1alpha/catalog/query' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <YOUR_API_KEY>' \
--data-raw '{
    "@context": {
        "edc": "https://w3id.org/edc/v0.0.1/ns/"
    },
    "@type": "QuerySpec"
}'

note that <BASEPATH> will be whatever you configured in web.http.catalog.path, will be the value set in web.http.catalog.port

[edit]: that is assuming you want to collect the consolidated catalogs of several connectors that were crawled by your catalog instance.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by paullatzelsperger
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants