UNPKG

graphdb-workbench

Version:
2 lines 733 B
export const __webpack_id__=50470;export const __webpack_ids__=[50470];export const __webpack_modules__={50470:()=>{angular.module("graphdb.framework.rest.explore.rest.service",[]).factory("ExploreRestService",t),t.$inject=["$http"];const e="rest/explore";function t(t){return{getResourceDetails:(r,a,s,o)=>t.get(`${e}/details`,{params:{uri:r,triple:a,context:s},headers:{Accept:o||"application/json"}}),getGraph:(r,a,s)=>t.get(`${e}/graph`,{params:{uri:r.uri,triple:r.triple,inference:r.contextType.id,role:r.role,bnodes:r.blanks,sameAs:r.sameAs,context:r.context},headers:{Accept:a||"application/x-graphdb-table-results+json",Link:s?"<"+s+">":""}}).then(e=>e.data)}}}}; //# sourceMappingURL=50470.5a575d5bf472028f8c4c.bundle.js.map