Web Service Method: Delete an Attribute Property of a Resource

Description

Use this API call to delete an existing attribute property of a resource.


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

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

IRI Type Object

AttributeTypeComment
uriStringThe string value of the URI. URIs must contain a colon ':' and must not contain any whitespaces.

Example IRI

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

Request Attributes

AttributeTypeComment
contextStringURI of the mutable graph in which the source exist.
predicateStringURI of attribute property
subjectStringURI of source
typeStringThe data type of the value that should be added. LITERAL, BOOLEAN, DATE, URI, INTEGER, LONG, FLOAT, DATETIME
valueCustomValueAttribute value that should be added.

Example

{
  "predicate" : "some predicate",
  "subject" : "https://semantic-web.com/api/subject#32540",
  "context" : "some context",
  "type" : "https://semantic-web.com/api/type#10948",
  "value" : {
    "language" : "en-us",
    "label" : "some label"
  }
}

Response

Content-Type

text/plain

Status: 200- OK