Tribler
latest
  • Introduction
  • How to contribute to the Tribler project?
  • Branching model and development methodology
  • Setting up your development environment
  • Development guidelines
  • Building Tribler
  • Tribler REST API
    • Overview
    • Making requests
    • Error handling
    • Download states
    • Endpoints
      • Create torrent
      • Debug
      • Downloads
      • Events
      • Libtorrent
      • Metadata
      • Search
      • Settings
      • Shutdown
      • State info
      • Statistics
      • Torrent info
      • TrustChain
      • Trust View
      • Upgrader
  • TrustChain
  • Channels architecture
Tribler
  • »
  • Tribler REST API »
  • Search
  • Edit on GitHub

Search

GET /search

Perform a search for a given query.

Query Parameters
  • sort_by (string) – Sorts results in forward or backward, based on column name (e.g. “id” vs “-id”)

  • sort_desc (boolean) –

  • exclude_deleted (boolean) –

  • first (integer) – Limit the range of the query

  • remote_query (boolean) –

  • category (string) –

  • metadata_type (array) –

  • hide_xxx (boolean) – Toggles xxx filter

  • last (integer) – Limit the range of the query

  • txt_filter (string) – FTS search on the chosen word* terms

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 /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) –

Previous Next

© Copyright 2020, Tribler devs. Revision 1335174c.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
next
fix-documentation
devel
Downloads
On Read the Docs
Project Home
Builds