Giter Site home page Giter Site logo

ldh's Introduction

LDH - Linked Data Hasher

This is just a quick and dirty RESTful-Server to hash Linked Data. Currently, it only talkes turtle. The hasher is available at '/hasher'. For documentation and testing, Swagger is in place at '/swagger'.

Request

Request-Headers (baseURI is your document's uri):

Accept: "text/turtle"
Content-Type: "text/turtle"
baseURI: "http://exampleInput.org/"

Request-Body is the rdf content in trutle format.

Response: 200 OK

You get something back like:

<baseURI> <http://www.w3.org/2000/10/swap/crypto#md5> '0xHASH'^^<http://www.w3.org/2001/XMLSchema#hexBinary> . 

Response: 4XX - Client Error

When you get a 4XX error, you may have forgotten the baseURI-header or your turtle-syntax is messed up. If the server can't parse what you feed it, you will get a 400 Bad Request. You can see what went wrong in the message body.

Response: 5XX - Server Error

Unlikely, but nonetheless: If the server goes wild while hashing, a 500 Internal Server Error is given back. You can see what went wrong in the message body.

Publish Docker image to GitHub Package Registry (GPR)

ldh's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.