SiteApi

public interface SiteApi implements WithApiKey

Site global namespace

Functions

getActivity
Link copied to clipboard
abstract Flow<DgfrCallState<List<ActivityPage>>> getActivity(Integer page, Integer pageSize, String user, String organization)

Fetch site activity, optionally filtered by user of org

getHomeDatasets
Link copied to clipboard
abstract Flow<DgfrCallState<List<Dataset>>> getHomeDatasets()

List homepage datasets

getHomeReuses
Link copied to clipboard
abstract Flow<DgfrCallState<List<Reuse>>> getHomeReuses()

List homepage featured reuses

getOembed
Link copied to clipboard
abstract Flow<DgfrCallState<Oembed>> getOembed(String url, String maxWidth, String maxHeight, String format)

An OEmbed compliant API endpoint See: http://oembed.com/ Support datasets and reuses URLs

getOembeds
Link copied to clipboard
abstract Flow<DgfrCallState<List<Oembed>>> getOembeds(String references)

The returned payload is a list of OEmbed formatted responses See: http://oembed.com/

getSite
Link copied to clipboard
abstract Flow<DgfrCallState<Site>> getSite()

Site-wide variables

getSiteDataPortal
Link copied to clipboard
abstract Flow<DgfrCallState<String>> getSiteDataPortal(String format)

Root RDF endpoint with content negociation handling

getSiteJsonLdContext
Link copied to clipboard
abstract Flow<DgfrCallState<String>> getSiteJsonLdContext()
getSiteRdfCatalog
Link copied to clipboard
abstract Flow<DgfrCallState<String>> getSiteRdfCatalog()

Root RDF endpoint with content negociation handling

getSiteRdfCatalogFormat
Link copied to clipboard
abstract Flow<DgfrCallState<String>> getSiteRdfCatalogFormat(String format)

Root RDF endpoint with content negociation handling in specified format

getSuggestTerritory
Link copied to clipboard
abstract Flow<DgfrCallState<List<Territory>>> getSuggestTerritory(String q, Integer size)
putSetHomeDatasets
Link copied to clipboard
abstract Flow<DgfrCallState<List<Dataset>>> putSetHomeDatasets(List<String> datasetIds)

Set the homepage datasets editorial selection

putSetHomeReuses
Link copied to clipboard
abstract Flow<DgfrCallState<List<Reuse>>> putSetHomeReuses(List<String> reuseIds)

Set the homepage reuses editorial selection

setApiKey
Link copied to clipboard
abstract Unit setApiKey(String apiKey)

Inheritors

DgfrService
Link copied to clipboard