/v2/pkg
endpoint.
Request
Query Parameters
Query Parameters
- q stringrequired Search query.
Responses
- 200
- 400
- 404
- application/json
- Schema
- Example (from schema)
Response Schema
Response Schema
-
querystring
The search query sent to the
/v2/search
endpoint total_resultsinteger The total number of results for the search query A list of SearchResults that match the query. This array will be empty if no results were found. Array [ - namestring The name of the package that matched the search query summarystring A short description of the package last_updatedstring The last time this package was updated in the Nixpkgs repo ]