Web Service Method: Search for a GraphEditor
Web Service Method: Search for a GraphEditor
Description |
---|
Execute a filtered search for a GraphEditor. |
URL: /PoolParty/api/editor/{project}/search
Request
Supported Methods |
---|
GET |
Content-Type
application/json
Request Parameters
Parameter | Comment | Type | Required |
---|---|---|---|
editor | The editor's URI. | IRI JSON representation of an IRI object. | true |
IRI Type Object
Attribute | Type | Comment |
---|---|---|
uri | String | The 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
Attribute | Type |
---|---|
additionalProperties | Array of IRI |
attributeFilters | Array of JsonAttributeFilter |
customClasses | Array of JsonClassFilter |
limit | int |
noClass | boolean |
offset | int |
relationFilters | Array of JsonRelationFilter |
sortRequest | Array of SortRequest |
Example
{ "customClasses" : [ { "exist" : false, "type" : { "uri" : "https://semantic-web.com/api/type#27365" } }, { "exist" : true, "type" : { "uri" : "https://semantic-web.com/api/type#5608" } }, { "exist" : false, "type" : { "uri" : "https://semantic-web.com/api/type#20958" } } ], "offset" : 24514, "limit" : 10247, "attributeFilters" : [ { "exist" : false, "predicate" : { "uri" : "https://semantic-web.com/api/predicate#2533" }, "rules" : [ { "filterConstraint" : "startsWith", "type" : "URI", "value" : [ "some value", "some value" ] } ] }, { "exist" : true, "predicate" : { "uri" : "https://semantic-web.com/api/predicate#12537" }, "rules" : [ { "filterConstraint" : "smallerThan", "type" : "URI", "value" : [ "some value" ] }, { "filterConstraint" : "contains", "type" : "URI", "value" : [ "some value", "some value" ] }, { "filterConstraint" : "not", "type" : "URI", "value" : [ "some value" ] } ] }, { "exist" : false, "predicate" : { "uri" : "https://semantic-web.com/api/predicate#32620" }, "rules" : [ { "filterConstraint" : "notContains", "type" : "LITERAL", "value" : [ "some value" ] } ] } ], "additionalProperties" : [ { "uri" : "https://semantic-web.com/api/additionalProperties#18173" }, { "uri" : "https://semantic-web.com/api/additionalProperties#7393" } ], "relationFilters" : [ { "exist" : true, "predicate" : { "uri" : "https://semantic-web.com/api/predicate#6179" }, "relationRules" : [ { "filterConstraint" : "greaterThan", "value" : "some value" }, { "filterConstraint" : "to", "value" : "some value" } ], "lang" : "some lang" }, { "exist" : true, "predicate" : { "uri" : "https://semantic-web.com/api/predicate#15736" }, "relationRules" : [ { "filterConstraint" : "startsWith", "value" : "some value" }, { "filterConstraint" : "contains", "value" : "some value" }, { "filterConstraint" : "contains", "value" : "some value" } ], "lang" : "some lang" } ], "sortRequest" : [ { "property" : { "uri" : "https://semantic-web.com/api/property#6140" }, "order" : "ASC" } ], "noClass" : false }
Response
Content-Type: application/json
Response Attributes
Attribute | Type |
---|---|
results | Array of JsonResult |
total | long |
Example Response
{ "total" : 12312, "results" : [ { "resource" : "https://semantic-web.com/api/resource#8120", "properties" : [ { "predicate" : "some predicate", "predicateName" : "some predicateName", "type" : "https://semantic-web.com/api/type#28492", "value" : [ null ] } ] }, { "resource" : "https://semantic-web.com/api/resource#20599", "properties" : [ { "predicate" : "some predicate", "predicateName" : "some predicateName", "type" : "https://semantic-web.com/api/type#11668", "value" : [ null ] }, { "predicate" : "some predicate", "predicateName" : "some predicateName", "type" : "https://semantic-web.com/api/type#3512", "value" : [ null, null, null ] }, { "predicate" : "some predicate", "predicateName" : "some predicateName", "type" : "https://semantic-web.com/api/type#28463", "value" : [ null ] } ] } ] }