Metadata
- GET /metadata/search/completions
Return auto-completion suggestions for a given query.
- Query Parameters:
q (string) – Search query
- Status Codes:
200 OK –
- Response JSON Object:
completions[] (string) –
- GET /metadata/search/local
Perform a search for a given query.
- Query Parameters:
first (integer) – Limit the range of the query
last (integer) – Limit the range of the query
sort_by (string) – Sorts results in forward or backward, based on column name (e.g. “id” vs “-id”)
sort_desc (boolean) –
txt_filter (string) – FTS search on the chosen word* terms
hide_xxx (boolean) – Toggles xxx filter
category (string) –
exclude_deleted (boolean) –
metadata_type (array) –
include_total (boolean) – Include total rows found in query response, expensive if there is many rows
max_rowid (integer) – Only return results with rowid lesser than max_rowid
- Status Codes:
200 OK –
- Response JSON Object:
first (integer) –
last (integer) –
results[].category (string) –
results[].id (integer) –
results[].name (string) –
results[].origin_id (integer) –
results[].progress (number) –
results[].public_key (string) –
results[].type (integer) –
sort_by (string) –
sort_desc (integer) –
total (integer) –
- GET /metadata/torrents/popular
Get the list of most popular torrents.
- Status Codes:
200 OK –
- Response JSON Object:
first (integer) –
last (integer) –
results[].category (string) –
results[].id (integer) –
results[].infohash (string) –
results[].last_tracker_check (integer) –
results[].name (string) –
results[].num_leechers (integer) –
results[].num_seeders (integer) –
results[].origin_id (integer) –
results[].progress (number) –
results[].public_key (string) –
results[].size (integer) –
results[].status (integer) –
results[].type (integer) –
results[].updated (integer) –
- GET /metadata/torrents/{infohash}/health
Fetch the swarm health of a specific torrent.
- Parameters:
infohash (string) – Infohash of the download to remove
- Query Parameters:
timeout (integer) – Timeout to be used in the connections to the trackers
- Status Codes:
200 OK –
- Response JSON Object:
checking (boolean) –