Description |
---|
Use this API call to update a relation property from a resource. |
URL: /PoolParty/api/editor/{project}/updateRelation
Supported Methods |
---|
POST |
application/json
Parameter | Comment | Type | Required |
---|---|---|---|
editor | The editor's URI. | IRI JSON representation of an IRI object. | true |
Attribute | Type | Comment |
---|---|---|
| String | The string value of the URI. URIs must contain a colon ':' and must not contain any whitespaces. |
{
"uri" : "https://semantic-web.com/api/uri#5233"
}
Attribute | Type | Comment |
---|---|---|
context | String | URI of the mutable graph in which the source exists. |
predicate | String | URI of a relation property |
subject | String | URI of source |
value | CustomValue | URI of target resource. |
{
"predicate" : "some predicate",
"subject" : "https://semantic-web.com/api/subject#22780",
"context" : "some context",
"value" : "some value"
}
text/plain
Status: 200- OK