πŸ“˜

Exposition Metrics Statistics API

Introduction

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.


πŸ“Š Endpoints

GET /highest-total-tools

Returns the top entries sorted by the total number of tools.

Query Parameters:

Example:

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:

Valid Tool Types:

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:

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:

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