Returns edges with additional summary information
post/graphs/edges
Performs a new search and returns edges with additional summary information. The response item media type is application/vnd.sas.sand.edge.
1{2 "links": [3 {4 "method": "POST",5 "rel": "self",6 "href": "/svi-sand/graphs/edges?start=0&limit=100",7 "uri": "/svi-sand/graphs/edges?start=0&limit=100",8 "type": "application/vnd.sas.sand.query.request",9 "responseType": "application/vnd.sas.collection",10 "responseItemType": "application/vnd.sas.sand.edge"11 },12 {13 "method": "POST",14 "rel": "collection",15 "href": "/svi-sand/graphs/edges",16 "uri": "/svi-sand/graphs/edges",17 "type": "application/vnd.sas.sand.query.request",18 "responseType": "application/vnd.sas.collection",19 "responseItemType": "application/vnd.sas.sand.edge"20 }21 ],22 "name": "edges",23 "accept": "application/vnd.sas.sand.edge",24 "start": 0,25 "count": 2,26 "items": [27 {28 "id": "9",29 "type": "entityRelationship",30 "subType": "claim-address-residence",31 "label": "Primary residence",32 "fields": [33 {34 "name": "address_line_1",35 "type": "text",36 "value": "42 Main Street"37 }38 ],39 "endpoints": [40 {41 "id": "10",42 "type": "claim"43 },44 {45 "id": "73",46 "type": "address"47 }48 ],49 "validFrom": "2002-07-14T00:00:00Z",50 "validTo": "2013-12-31T00:00:00Z",51 "style": {52 "color": "#ffffff",53 "width": 1,54 "dashType": "dashed"55 }56 },57 {58 "id": "5",59 "type": "resolvedEntityRelationship",60 "compoundValues": [61 "Smith 1982-03-14"62 ],63 "label": "raised by",64 "endpoints": [65 {66 "id": "4",67 "type": "claim"68 },69 {70 "id": "115",71 "type": "person",72 "compoundValues": [73 "Smith 1982-03-14"74 ]75 }76 ],77 "validFrom": "2005-11-22T09:30:00Z",78 "validTo": "2011-05-06T14:00:00Z"79 }80 ],81 "limit": 100,82 "version": 283}
Name | Type | Required | Description |
---|---|---|---|
limit | integer | false | The maximum number of edges to include in each page. Default: 100 |
start | integer | false | The index of the first edge to include in the current page. Default: 0 |
The request to perform an action on data specified by a query.
Name | Type | Required | Description |
---|---|---|---|
version | integer | false | The representation version (2). |
types | array [string] | false | The optional list of type names for the object and relationship types to be searched. If missing, all types will be searched. |
query | Query or anyOf QueryTypeAndQueryTypeCompoundQueryTypeObjectQueryTypeOrQueryTypeText | false | The different query types that can be used to search for objects. See specific query definitions for more details. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Schema | |
400 | Bad Request | The request is malformed or contains invalid parameter values. | Schema |