Usage description - read the catalog entries from different EDC connectors #228
-
What do you have to do to read the catalog entries from different EDC connectors? |
Beta Was this translation helpful? Give feedback.
Answered by
paullatzelsperger
Jul 24, 2024
Replies: 2 comments
-
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 [edit]: that is assuming you want to collect the consolidated catalogs of several connectors that were crawled by your catalog instance. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
paullatzelsperger
-
received no response, so I marked it as answer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use the Query API:
note that
<BASEPATH>
will be whatever you configured inweb.http.catalog.path
, will be the value set inweb.http.catalog.port
[edit]: that is assuming you want to collect the consolidated catalogs of several connectors that were crawled by your catalog instance.