Skip to content

REST API#

This version of the REST API has been available since version 2.0 of the Laces Hub.

WARNING: Please note that services below are outdated and might become deprecated in the future, refer to version v2 for a list of all latest services!

Groups#

These services can only be applied to repositories and publications within the /ns top-level group.

Method Path Description
GET /ns/{repository} List publications
POST /ns/{repository} Create publication
GET /ns/{repository}/{accessibility}/{status}/{context}/{function}/{name} Get publication
PUT /ns/{repository}/{accessibility}/{status}/{context}/{function}/{name} Update publication
DELETE /ns/{repository}/{accessibility}/{status}/{context}/{function}/{name} Delete Publication
GET /ns/{repository}/{accessibility}/{status}/{context}/{function}/{name}/sparql Execute SPARQL query
POST /ns/{repository}/{accessibility}/{status}/{context}/{function}/{name}/sparql Execute SPARQL query
GET /ns/{repository}/{accessibility}/{status}/{context}/{function}/{name}/versions List versions
GET /ns/{repository}/{accessibility}/{status}/{context}/{function}/{name}/versions/{version} Get publication
DELETE /ns/{repository}/{accessibility}/{status}/{context}/{function}/{name}/versions/{version} Delete publication
GET /ns/{repository}/{accessibility}/{status}/{context}/{function}/{name}/versions/{version}/sparql Execute SPARQL query
POST /ns/{repository}/{accessibility}/{status}/{context}/{function}/{name}/versions/{version}/sparql Execute SPARQL query

Swagger#

Should you be familiar with Swagger, you can find the Swagger definition of the API in laces-hub-ns.json.