This is part of set of tools, located at map.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 /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 /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 /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-video
tool-audio
tool-picture
tool-slideshow
tool-pdf
tool-text
(includes
tool-simpletext
)
tool-simpletext
Example:
https://map.rcdata.org/api/sort-by-tool?tool=tool-text&n=20&page_type=weave-graphical
GET /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_score
horizontal_vertical_ratio
overall_regular_score
overlap_percentage
size_uniformity_score
spacing_score
white_space_percentage
Example:
https://map.rcdata.org/api/sort-by-metric?metric=overall_regular_score
GET /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-graphical
weave-text
weave-iframe
weave-block
Example:
https://map.rcdata.org/api/filter-by-page-type?page_type=weave-graphical
GET /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