This is part of set of tools, located at rcdata.org, that allows users to navigate the content of RC in alternative ways. The API documented below allows sorting the expositions of the RC by certain metrics: number of tools, type of editor, number of pages etcβ¦
The public API provides endpoints for retrieving and sorting structured data from a JSON dataset, supporting filters based on tool types, metrics, and page types.
The source code may be found under
https://github.com/SocietyForArtisticResearch/rc-linked-data
The current live version of this can be found on https://map.rcdata.org/api/ followed by an endpoint and parameters as described below.
GET /api/highest-total-tools
Returns the top entries sorted by the total number of tools.
Query Parameters:
n (optional): Number of results to return
(default: 50)page_type (optional): Filter by default page typeExample:
https://map.rcdata.org/api/highest-total-tools?n=100
GET /api/highest-total-pages
Returns the top entries sorted by the total number of pages.
Query Parameters: - n (optional): Number of results to return
(default: 50) - page_type (optional): Filter by default page type.
Page types may be
Example:
https://map.rcdata.org/api//highest-total-pages?page_type=weave-graphical
GET /api/sort-by-tool
Returns the top entries sorted by a specific tool type count.
Query Parameters:
tool (required): Tool type (e.g.,
tool-video, tool-text, etc.)n (optional): Number of results to
return (default: 50)page_type (optional): Filter by default page
typeValid Tool Types:
tool-videotool-audiotool-picturetool-slideshowtool-pdftool-text (includes
tool-simpletext)
tool-simpletextExample:
https://map.rcdata.org/api/sort-by-tool?tool=tool-text&n=20&page_type=weave-graphical
GET /api/sort-by-metric
Returns the top graphical entries sorted by a specific metric.
Query Parameters: - metric (required): Metric key to sort by - n
(optional): Number of results to return (default: 50)
Valid Metrics:
alignment_scorehorizontal_vertical_ratiooverall_regular_scoreoverlap_percentagesize_uniformity_scorespacing_scorewhite_space_percentageExample:
https://map.rcdata.org/api/sort-by-metric?metric=overall_regular_score
GET /api/filter-by-page-type
Filters entries by their default page type.
Query Parameters:
page_type (required): filter by which editor has been used to generate the exposition:
weave-graphicalweave-textweave-iframeweave-blockExample:
https://map.rcdata.org/api/filter-by-page-type?page_type=weave-graphical
GET /api/exposition/[exposition-id]
Exposition id is the first number in the url of any page (or you can find it on META). Returns the statistics of a single exposition.
Example:
For example, in this exposition:
βhttps://www.researchcatalogue.net/view/29778/29779β the id is 29778.
Itβs statistics can be retrieved as follows:
https://map.rcdata.org/api/exposition/29778
Parsed exposition content as json:
GET /rcjson/expo/[exposition-id]
This will return the exposition content in a json format. It provides the following metadata.
Note: this currently is not located under /api but directly under /rcjson
https://map.rcdata.org/rcjson/expo/2348302
GET /api/sort-by-link
This sorts expositions by the number of hyperlinks found inside of it. Hyperlinks are categorized depending wether they are local to the exposition, the RC or completely external.
Query parameters:
example:
https://map.rcdata.org/api/sort-by-link?link_type=same_exposition