search

Keyword code search

Changed on

Search code snippets using BM25 keyword matching

get/search/keyword

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/search/keyword
  • Auth
    none declared

Query parameters

keywordsstring required

Search keywords

languagestring

Language filter (e.g. py, go)

repository_idinteger

Repository ID filter

limitinteger

Maximum results (default 10)

Response

OK

Changes