Closed m1ci closed 7 months ago
Via the test/documentation UI the API does not work. Here the provided info:
json-ld:
{ "@context": "https://downloads.dbpedia.org/databus/context.jsonld", "@graph": { "@type": [ "Version", "Dataset" ], "@id": "https://databus.dbpedia.org/dervoq/test-group/testartifact/2023-10-01", "hasVersion": "2023-10-01", "title": "Test Version", "description": "Data for testing purposes.", "license": "http://dalicc.net/licenselibrary/AdaptivePublicLicense10", "distribution": [ { "@type": "Part", "formatExtension": "yml", "compression": "none", "downloadURL": "https://raw.githubusercontent.com/dbpedia/databus/master/server/app/api/swagger.yml", "byteSize": 63973, "sha256sum": "e0f72231ec59e096814ff222021573739183875a9a1b3bca66fa9e928e189ca6" } ] } }
and here is the complete cURL
curl -X 'PUT' \ 'https://databus.dbpedia.org/dervoq/test-group/testartifact/2023-10-01' \ -H 'accept: application/json' \ -H 'X-API-KEY: XXXXX' \ -H 'Content-Type: application/ld+json' \ -d '{ "@context": "https://downloads.dbpedia.org/databus/context.jsonld", "@graph": { "@type": [ "Version", "Dataset" ], "@id": "https://databus.dbpedia.org/dervoq/test-group/testartifact/2023-10-01", "hasVersion": "2023-10-01", "title": "Test Version", "description": "Data for testing purposes.", "license": "http://dalicc.net/licenselibrary/AdaptivePublicLicense10", "distribution": [ { "@type": "Part", "formatExtension": "yml", "compression": "none", "downloadURL": "https://raw.githubusercontent.com/dbpedia/databus/master/server/app/api/swagger.yml", "byteSize": 63973, "sha256sum": "e0f72231ec59e096814ff222021573739183875a9a1b3bca66fa9e928e189ca6" } ] } }'
A PUT request returns 200 with error:
200
"logLevel": "error", "log": [] }
that's not an error, that's the log level. 200 means it works (and it worked) https://databus.dbpedia.org/dervoq/test-group/testartifact/2023-10-01
Via the test/documentation UI the API does not work. Here the provided info:
json-ld:
and here is the complete cURL
A PUT request returns
200
with error: