Lab 4: Search
Learn how to perform search towards Open Content /search/ endpoint
To perform a simple search without any arguments :
curl -s -u admin:admin "http://localhost:8080/opencontent/search?" | jq .Get only the uuid property for each hit
curl -s -u admin:admin "http://localhost:8080/opencontent/search?\
properties=uuid" | jq .Get only Articles and the uuid
curl -s -u admin:admin "http://localhost:8080/opencontent/search?\
q=contenttype:Article&\
properties=uuid"Get Articles and the concept names
curl --globoff -s -u admin:admin "http://localhost:8080/opencontent/search?\
q=contenttype:Article&\
properties=uuid,ConceptRelations[ConceptName]" | jq .Get Articles and only Weekend Concept
Last updated