Skip to main content

Web Service Method: Bulk Deletion of GraphEditor Resources

Abstract

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

editor

The editor's URI.

IRI

JSON representation of an IRI object.

true

Example IRI

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

Request Attributes

Attribute

Type

Required

Comment

resources

Array of ResourceInfoRequest

false

List of resources to perform bulk operation(s) on

searchRequest

JsonSearchRequest

false

Search 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

Attribute

Type

Required

Comment

additionalProperties

Array of IRI

false

attributeFilters

Array of JsonAttributeFilter

false

customClasses

Array of JsonClassFilter

false

limit

int

false

noClass

boolean

false

offset

int

false

relationFilters

Array of JsonRelationFilter

false

sortRequest

Array of SortRequest

false

Response

Content-Type

text/plain

Status: 200- OK