Skip to main content
Version: 24.03

Register a Skill

POST /agent/skill

Register a Skill:

Parameters

nameintyperequireddescription
assetquerystringtrueThe Target Asset of the Query (targets the complete dataspace if empty)
distributionModequerystringfalseThe distribution mode under which to publish the skill
contractquerystringfalseThe contract under which the skill should be published
isFederatedquerybooleanfalseWhether the skill should be visible in the Federated Catalogue
ontologyquerystringfalseMultiple references to ontologies which are referenced in the skill

Request Body

Headers
content-typeapplication/sparql-query
Example request
"string"

Code Snippets

Shell + Curl
curl --request POST \
--url 'https://knowledge.dev.demo.catena-x.net/consumer-edc-data/BPNL00000003CQI9/api/agent/skill?asset=SOME_STRING_VALUE&distributionMode=SOME_STRING_VALUE&contract=SOME_STRING_VALUE&isFederated=SOME_BOOLEAN_VALUE&ontology=SOME_STRING_VALUE' \
--header 'content-type: application/sparql-query'

Responses

200

Skill has been registered

204

Skill has been updated

400

Bad request or malformed SPARQL

500

Fatal error

(C) 2021,2023 Contributors to the Eclipse Foundation. SPDX-License-Identifier: CC-BY-4.0