Skip to content

API operations

Youssef Eldakar edited this page Apr 5, 2021 · 1 revision

The API defined by link-serv is an extension of the streaming API defined by Gephi. Specifically, the updateGraph and getGraph operations are ones defined by Gephi, while the rest are added to support versioning based on timestamp.

Operation Description Parameters Return
updateGraph Insert web resource (node) and list of outlinks (edges) identifier (uri), timestamp, outlinks as JSON None
getGraph Retrieve graph structure starting at given web resource (node) identifier (uri), timestamp, depth Nested outlinks up to depth as JSON
getVersions Retrieve versions of a specific URL identifier (uri), timestamp
getLatestVersion Retrieve the latest version of a specific node identifier (uri)
getVersionCountsYearly Get the count of versions for an identifier (yearly) identifier (uri)
getVersionCountsMonthly Get the count of versions for an identifier (monthly) identifier (uri), year
getVersionCountsDaily Get the count of versions for an identifier (daily) identifier (uri), year, month
Clone this wiki locally