Search code examples
pythonpython-3.xdevpi

Devpi REST API - How to retrieve versions of packages


I'm trying to retrieve versions of all packages from specific index. I'm trying to sending GET request with /user/index/+api suffix but it not responding nothing intresting. I can't find docs about devpi rest api.

Has anyone idea how could I do this?


Solution

  • Simply add header Accept: application/json - it's working!