atom / atom.io

🌐 A place for feedback on the atom.io website and package API
160 stars 99 forks source link

Engine param not respected in package get #187

Open Aerijo opened 5 years ago

Aerijo commented 5 years ago

Prerequisites

na

Description

The package server API advertises engine as an optional parameter to a package details request, but the response is not filtered.

Steps to Reproduce

Compare https://atom.io/api/packages/language-rust-bundled and https://atom.io/api/packages/language-rust-bundled?engine=3.0.0

Expected behavior:

No results with the parameter, because all releases specify Atom < 2.0.0

Actual behavior:

No difference.

Reproduces how often:

100%

Versions

na

Additional information

I don't need this parameter (though it would be convenient), so maybe it can just be removed from the docs?