Skip to content

Instantly share code, notes, and snippets.

@carlspring
Forked from joelverhagen/calls.txt
Created July 5, 2017 11:35
Show Gist options
  • Save carlspring/1fc080ace279d36e8a177d7544ce5a23 to your computer and use it in GitHub Desktop.
Save carlspring/1fc080ace279d36e8a177d7544ce5a23 to your computer and use it in GitHub Desktop.
Variants of HTTP calls made by NuGet.exe list
[no Search()] nuget.exe list
[no Search()] nuget.exe list -allversions
[no Search(), no IsAbsoluteLatestVersion] nuget.exe list
[no Search(), no IsAbsoluteLatestVersion] nuget.exe list -allversions
GET /api/v2/Packages HTTP/1.1
GET /api/v2/Packages?$skip=100 HTTP/1.1
[no Search()] nuget.exe list -allversions -prerelease
[no Search(), no IsAbsoluteLatestVersion] nuget.exe list -allversions -prerelease
GET /api/v2/Packages()?$orderby=Id&$skip=0&$top=30 HTTP/1.1
GET /api/v2/Packages()?$orderby=Id&$skip=30&$top=30 HTTP/1.1
[no Search()] nuget.exe list -prerelease
GET /api/v2/Packages()?$filter=IsAbsoluteLatestVersion&$orderby=Id&$skip=0&$top=30 HTTP/1.1
GET /api/v2/Packages()?$filter=IsAbsoluteLatestVersion&$orderby=Id&$skip=30&$top=30 HTTP/1.1
[no Search(), no IsAbsoluteLatestVersion] nuget.exe list -prerelease
GET /api/v2/Packages()?$filter=IsLatestVersion&$orderby=Id&$skip=0&$top=30 HTTP/1.1
GET /api/v2/Packages()?$filter=IsLatestVersion&$orderby=Id&$skip=30&$top=30 HTTP/1.1
[no Search()] nuget.exe list nuget
[no Search()] nuget.exe list nuget -allversions
[no Search(), no IsAbsoluteLatestVersion] nuget.exe list nuget
[no Search(), no IsAbsoluteLatestVersion] nuget.exe list nuget -allversions
GET /api/v2/Packages()?$filter=(((Id%20ne%20null)%20and%20substringof('nuget',tolower(Id)))%20or%20((Description%20ne%20null)%20and%20substringof('nuget',tolower(Description))))%20or%20((Tags%20ne%20null)%20and%20substringof('%20nuget%20',tolower(Tags))) HTTP/1.1
GET /api/v2/Packages()?$filter=%28%28%28Id%20ne%20null%29%20and%20substringof%28%27nuget%27%2Ctolower%28Id%29%29%29%20or%20%28%28Description%20ne%20null%29%20and%20substringof%28%27nuget%27%2Ctolower%28Description%29%29%29%29%20or%20%28%28Tags%20ne%20null%29%20and%20substringof%28%27%20nuget%20%27%2Ctolower%28Tags%29%29%29&$skip=100 HTTP/1.1
[no Search()] nuget.exe list nuget -allversions -prerelease
[no Search(), no IsAbsoluteLatestVersion] nuget.exe list nuget -allversions -prerelease
GET /api/v2/Packages()?$filter=(((Id%20ne%20null)%20and%20substringof('nuget',tolower(Id)))%20or%20((Description%20ne%20null)%20and%20substringof('nuget',tolower(Description))))%20or%20((Tags%20ne%20null)%20and%20substringof('%20nuget%20',tolower(Tags)))&$orderby=Id&$skip=0&$top=30 HTTP/1.1
GET /api/v2/Packages()?$filter=(((Id%20ne%20null)%20and%20substringof('nuget',tolower(Id)))%20or%20((Description%20ne%20null)%20and%20substringof('nuget',tolower(Description))))%20or%20((Tags%20ne%20null)%20and%20substringof('%20nuget%20',tolower(Tags)))&$orderby=Id&$skip=30&$top=30 HTTP/1.1
[no Search()] nuget.exe list nuget -prerelease
GET /api/v2/Packages()?$filter=((((Id%20ne%20null)%20and%20substringof('nuget',tolower(Id)))%20or%20((Description%20ne%20null)%20and%20substringof('nuget',tolower(Description))))%20or%20((Tags%20ne%20null)%20and%20substringof('%20nuget%20',tolower(Tags))))%20and%20IsAbsoluteLatestVersion&$orderby=Id&$skip=0&$top=30 HTTP/1.1
GET /api/v2/Packages()?$filter=((((Id%20ne%20null)%20and%20substringof('nuget',tolower(Id)))%20or%20((Description%20ne%20null)%20and%20substringof('nuget',tolower(Description))))%20or%20((Tags%20ne%20null)%20and%20substringof('%20nuget%20',tolower(Tags))))%20and%20IsAbsoluteLatestVersion&$orderby=Id&$skip=30&$top=30 HTTP/1.1
[no Search(), no IsAbsoluteLatestVersion] nuget.exe list nuget -prerelease
GET /api/v2/Packages()?$filter=((((Id%20ne%20null)%20and%20substringof('nuget',tolower(Id)))%20or%20((Description%20ne%20null)%20and%20substringof('nuget',tolower(Description))))%20or%20((Tags%20ne%20null)%20and%20substringof('%20nuget%20',tolower(Tags))))%20and%20IsLatestVersion&$orderby=Id&$skip=0&$top=30 HTTP/1.1
GET /api/v2/Packages()?$filter=((((Id%20ne%20null)%20and%20substringof('nuget',tolower(Id)))%20or%20((Description%20ne%20null)%20and%20substringof('nuget',tolower(Description))))%20or%20((Tags%20ne%20null)%20and%20substringof('%20nuget%20',tolower(Tags))))%20and%20IsLatestVersion&$orderby=Id&$skip=30&$top=30 HTTP/1.1
[no Search()] Multiple search terms
GET /api/v2/Packages()?$filter=(((((((((Id%20ne%20null)%20and%20substringof('foo',tolower(Id)))%20or%20((Description%20ne%20null)%20and%20substringof('foo',tolower(Description))))%20or%20((Tags%20ne%20null)%20and%20substringof('%20foo%20',tolower(Tags))))%20or%20((Id%20ne%20null)%20and%20substringof('bar',tolower(Id))))%20or%20((Description%20ne%20null)%20and%20substringof('bar',tolower(Description))))%20or%20((Tags%20ne%20null)%20and%20substringof('%20bar%20',tolower(Tags))))%20or%20((Id%20ne%20null)%20and%20substringof('baz',tolower(Id))))%20or%20((Description%20ne%20null)%20and%20substringof('baz',tolower(Description))))%20or%20((Tags%20ne%20null)%20and%20substringof('%20baz%20',tolower(Tags))) HTTP/1.1
GET /api/v2/Packages()?$filter=%28%28%28%28%28%28%28%28%28Id%20ne%20null%29%20and%20substringof%28%27foo%27%2Ctolower%28Id%29%29%29%20or%20%28%28Description%20ne%20null%29%20and%20substringof%28%27foo%27%2Ctolower%28Description%29%29%29%29%20or%20%28%28Tags%20ne%20null%29%20and%20substringof%28%27%20foo%20%27%2Ctolower%28Tags%29%29%29%29%20or%20%28%28Id%20ne%20null%29%20and%20substringof%28%27bar%27%2Ctolower%28Id%29%29%29%29%20or%20%28%28Description%20ne%20null%29%20and%20substringof%28%27bar%27%2Ctolower%28Description%29%29%29%29%20or%20%28%28Tags%20ne%20null%29%20and%20substringof%28%27%20bar%20%27%2Ctolower%28Tags%29%29%29%29%20or%20%28%28Id%20ne%20null%29%20and%20substringof%28%27baz%27%2Ctolower%28Id%29%29%29%29%20or%20%28%28Description%20ne%20null%29%20and%20substringof%28%27baz%27%2Ctolower%28Description%29%29%29%29%20or%20%28%28Tags%20ne%20null%29%20and%20substringof%28%27%20baz%20%27%2Ctolower%28Tags%29%29%29&$skip=100 HTTP/1.1
[original] nuget.exe list
GET /api/v2/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=0&$top=30&searchTerm=''&targetFramework=''&includePrerelease=false HTTP/1.1
GET /api/v2/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=30&$top=30&searchTerm=''&targetFramework=''&includePrerelease=false HTTP/1.1
[original] nuget.exe list -prerelease
GET /api/v2/Search()?$filter=IsAbsoluteLatestVersion&$orderby=Id&$skip=0&$top=30&searchTerm=''&targetFramework=''&includePrerelease=true HTTP/1.1
GET /api/v2/Search()?$filter=IsAbsoluteLatestVersion&$orderby=Id&$skip=30&$top=30&searchTerm=''&targetFramework=''&includePrerelease=true HTTP/1.1
[original] nuget.exe list -allversions
GET /api/v2/Search()?$orderby=Id&$skip=0&$top=30&searchTerm=''&targetFramework=''&includePrerelease=false HTTP/1.1
GET /api/v2/Search()?$orderby=Id&$skip=30&$top=30&searchTerm=''&targetFramework=''&includePrerelease=false HTTP/1.1
[original] nuget.exe list -allversions -prerelease
GET /api/v2/Search()?$orderby=Id&$skip=0&$top=30&searchTerm=''&targetFramework=''&includePrerelease=true HTTP/1.1
GET /api/v2/Search()?$orderby=Id&$skip=30&$top=30&searchTerm=''&targetFramework=''&includePrerelease=true HTTP/1.1
[original] nuget.exe list nuget
GET /api/v2/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=0&$top=30&searchTerm='nuget'&targetFramework=''&includePrerelease=false HTTP/1.1
GET /api/v2/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=30&$top=30&searchTerm='nuget'&targetFramework=''&includePrerelease=false HTTP/1.1
[original] nuget.exe list nuget -prerelease
GET /api/v2/Search()?$filter=IsAbsoluteLatestVersion&$orderby=Id&$skip=0&$top=30&searchTerm='nuget'&targetFramework=''&includePrerelease=true HTTP/1.1
GET /api/v2/Search()?$filter=IsAbsoluteLatestVersion&$orderby=Id&$skip=30&$top=30&searchTerm='nuget'&targetFramework=''&includePrerelease=true HTTP/1.1
[original] nuget.exe list nuget -allversions
GET /api/v2/Search()?$orderby=Id&$skip=0&$top=30&searchTerm='nuget'&targetFramework=''&includePrerelease=false HTTP/1.1
GET /api/v2/Search()?$orderby=Id&$skip=30&$top=30&searchTerm='nuget'&targetFramework=''&includePrerelease=false HTTP/1.1
[original] nuget.exe list nuget -allversions -prerelease
GET /api/v2/Search()?$orderby=Id&$skip=0&$top=30&searchTerm='nuget'&targetFramework=''&includePrerelease=true HTTP/1.1
GET /api/v2/Search()?$orderby=Id&$skip=30&$top=30&searchTerm='nuget'&targetFramework=''&includePrerelease=true HTTP/1.1
[original] Multiple search terms
GET /api/v2/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=0&$top=30&searchTerm='foo%20bar%20baz'&targetFramework=''&includePrerelease=false HTTP/1.1
GET /api/v2/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=30&$top=30&searchTerm='foo%20bar%20baz'&targetFramework=''&includePrerelease=false HTTP/1.1
[no IsAbsoluteLatestVersion] nuget list
[no IsAbsoluteLatestVersion] nuget list -prerelease
GET /api/v2/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=0&$top=30&searchTerm=''&targetFramework='' HTTP/1.1
GET /api/v2/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=30&$top=30&searchTerm=''&targetFramework='' HTTP/1.1
[no IsAbsoluteLatestVersion] nuget list -allversions
[no IsAbsoluteLatestVersion] nuget list -allversions -prerelease
GET /api/v2/Search()?$orderby=Id&$skip=0&$top=30&searchTerm=''&targetFramework='' HTTP/1.1
GET /api/v2/Search()?$orderby=Id&$skip=30&$top=30&searchTerm=''&targetFramework='' HTTP/1.1
[no IsAbsoluteLatestVersion] nuget list nuget
[no IsAbsoluteLatestVersion] nuget list nuget -prerelease
GET /api/v2/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=0&$top=30&searchTerm='nuget'&targetFramework='' HTTP/1.1
GET /api/v2/Search()?$filter=IsLatestVersion&$orderby=Id&$skip=30&$top=30&searchTerm='nuget'&targetFramework='' HTTP/1.1
[no IsAbsoluteLatestVersion] nuget list nuget -allversions
[no IsAbsoluteLatestVersion] nuget list nuget -allversions -prerelease
GET /api/v2/Search()?$orderby=Id&$skip=0&$top=30&searchTerm='nuget'&targetFramework='' HTTP/1.1
GET /api/v2/Search()?$orderby=Id&$skip=30&$top=30&searchTerm='nuget'&targetFramework='' HTTP/1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment