Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-717

Fuseki2 delete dataset not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • Jena 2.12.0
    • Fuseki

    Description

      Attempting to delete a dataset with an HTTP DELETE request gives a 400 error. Probably pilot error, but I'm not sure what I'm doing wrong:

      ian@ian-desktop $ curl -i 'http://localhost:3030/$/datasets/foo'
      HTTP/1.1 200 OK
      Fuseki-Request-ID: 10
      Access-Control-Allow-Origin: *
      Server: Fuseki (2.0.0.M2-SNAPSHOT)
      Vary: Accept,Accept-Encoding,Accept-Charset
      Content-Type: application/json
      Transfer-Encoding: chunked
      
      { 
        "ds.name" : "/foo" ,
        "ds.services" : [ 
            { 
              "srv.endpoints" : [ "get" ] ,
              "srv.type" : "graph store protocol (Read)"
            } ,
            { 
              "srv.endpoints" : [ "update" ] ,
              "srv.type" : "update"
            } ,
            { 
              "srv.endpoints" : [ "" ] ,
              "srv.type" : "Quads"
            } ,
            { 
              "srv.endpoints" : [ "data" ] ,
              "srv.type" : "graph store protocol"
            } ,
            { 
              "srv.endpoints" : [ 
                  "sparql" ,
                  "query"
                ] ,
              "srv.type" : "query"
            } ,
            { 
              "srv.endpoints" : [ "upload" ] ,
              "srv.type" : "upload"
            }
          ]
      }
      [~/workspace/jena-fuseki2] 
      ian@ian-desktop $ curl -i -X DELETE http://localhost:3030/$/datasets/foo
      HTTP/1.1 400 Failed to find dataset for '/foo'
      Fuseki-Request-ID: 11
      Access-Control-Allow-Origin: *
      Server: Fuseki (2.0.0.M2-SNAPSHOT)
      Content-Length: 
      

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              ijd Ian Dickinson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: