Web Service Method: Bulk Deletion of GraphEditor Resources

Description

Bulk deletion of resources.


URL: /PoolParty/api/editor/{project}/bulkDeleteAll

Supported Methods
POST

Content-Type

application/json

Request Parameters

Parameter

Comment

Type

Required

editorThe editor's URI.

IRI

JSON representation of an IRI object.

true

Example IRI

{
  "uri" : "https://semantic-web.com/api/uri#5233"
}

Request Attributes

AttributeTypeRequiredComment
resourcesArray of ResourceInfoRequestfalseList of resources to perform bulk operation(s) on
searchRequestJsonSearchRequestfalseSearch request, if bulk operation is to be applied on specific search result.

Example

{
  "searchRequest" : {
    "customClasses" : [ {
      "exist" : true,
      "type" : {
        "uri" : "https://semantic-web.com/api/type#25411"
      }
    } ],
    "offset" : 2091,
    "limit" : 317,
    "attributeFilters" : [ {
      "exist" : true,
      "predicate" : {
        "uri" : "https://semantic-web.com/api/predicate#21813"
      },
      "rules" : [ null, null ],
      "type" : "DATE"
    }, {
      "exist" : true,
      "predicate" : {
        "uri" : "https://semantic-web.com/api/predicate#26129"
      },
      "rules" : [ null, null ],
      "type" : "DATE"
    }, {
      "exist" : true,
      "predicate" : {
        "uri" : "https://semantic-web.com/api/predicate#22210"
      },
      "rules" : [ null, null ],
      "type" : "BOOLEAN"
    } ],
    "additionalProperties" : [ {
      "uri" : "https://semantic-web.com/api/additionalProperties#26203"
    }, {
      "uri" : "https://semantic-web.com/api/additionalProperties#12789"
    } ],
    "relationFilters" : [ {
      "exist" : true,
      "predicate" : {
        "uri" : "https://semantic-web.com/api/predicate#19396"
      },
      "relationRules" : [ null ],
      "lang" : "some lang"
    } ],
    "sortRequest" : [ {
      "property" : {
        "uri" : "https://semantic-web.com/api/property#21752"
      },
      "order" : "DESC"
    } ],
    "noClass" : false
  },
  "resources" : [ {
    "resource" : "https://semantic-web.com/api/resource#29856",
    "context" : "some context",
    "blankNode" : false
  }, {
    "resource" : "https://semantic-web.com/api/resource#23244",
    "context" : "some context",
    "blankNode" : false
  } ]
}

Request Objects

JsonSearchRequest

AttributeTypeRequiredComment
additionalPropertiesArray of IRIfalse
attributeFiltersArray of JsonAttributeFilterfalse
customClassesArray of JsonClassFilterfalse
limitintfalse
noClassbooleanfalse
offsetintfalse
relationFiltersArray of JsonRelationFilterfalse
sortRequestArray of SortRequestfalse

Response

Content-Type

text/plain

Status: 200- OK