Debian Code Search API
Simulate the Debian Code Search API in seconds. OpenAPI for https://codesearch.debian.net/
[01]
About
Mock the Debian Code Search API as a turnkey Mockzilla sim with 2 OpenAPI endpoints, realistic JSON payloads, no upstream signup or sandbox keys. OpenAPI for https://codesearch.debian.net/ Methods: 2x GET. Top resource groups: search. Hit https://api.justmocks.com/debian-codesearch for the Mockzilla API Explorer landing and per-endpoint sample requests.
Endpoints
2 across 1 resource group
Methods
GET 2 none deprecated
OpenAPI
3.0.1 spec version 1.4.0
Source spec
7 KB · YAML
view raw →
[02]
Endpoints
| GET |
/search
|
Searches through source code Performs a search through the full Debian Code Search corpus, blocking until all results are available (might take a few seconds depending on the search query). Search results are ordered by their ranking (best results come first). Mocked via Mockzilla.
|
| GET |
/searchperpackage
|
Like /search, but aggregates per package The search results are currently sorted arbitrarily, but we intend to sort them by ranking eventually: https://github.com/Debian/dcs/blob/51338e934eb7ee18d00c5c18531c0790a83cb698/cmd/dcs-web/querymanager.go#L719
|