-
Notifications
You must be signed in to change notification settings - Fork 644
Tab Completion API Endpoints
half-ogre edited this page Jun 19, 2012
·
3 revisions
The NuGet 2.0 clients uses two API endpoints to get tab completion data.
GET api/v2/package-ids
-
partialId
: An optional string by which the list of packages will be filtered on ID. All package IDs starting with this parameter (ignoring case) will be returned. -
includePrerelease
: A Boolean that indicates whether package IDs that only have pre-release package versions will be included in the response.
An array of strings in JSON. Only The first 30 results will be included in the response. For example:
["theFirstPackageId","theSecondPackageId","theNthPackageId"]
GET api/v2/package-versions/{packageId}
-
includePrerelease
: A Boolean that indicates whether pre-release package versions will be included in the response.
An array of strings in JSON. For example:
["0.1","1.0","1.1","2.0","2.1-pre"]
We currently don't look at the Accept header or do lots of other proper HTTP API stuff. Create an issue for what needs to be fixed.