Skip to main content
POST
/
api
/
anaconda
/
packages
/
files
/anaconda/packages/files
curl --request POST \
  --url https://api.anysite.io/api/anaconda/packages/files \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "name": "<string>",
  "version": "<string>",
  "timeout": 300,
  "channel": "conda-forge"
}
'
[
  {
    "basename": "<string>",
    "@type": "AnacondaFile",
    "version": "",
    "distribution_type": "<string>",
    "subdir": "<string>",
    "build_string": "<string>",
    "build_number": 123,
    "license": "<string>",
    "depends": [],
    "constrains": [],
    "md5": "<string>",
    "sha256": "<string>",
    "size": 0,
    "download_count": 0,
    "download_url": "<string>",
    "labels": [],
    "owner": "<string>",
    "uploaded_at": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
name
string
required

Package name, 'channel/name' reference, or anaconda.org package URL

Minimum string length: 1
Examples:

"numpy"

"bioconda/samtools"

"https://anaconda.org/conda-forge/pytest"

version
string
required

Package version

Minimum string length: 1
Examples:

"8.3.3"

"1.26.4"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
channel
string
default:conda-forge

Channel (owner) that hosts the package

Examples:

"conda-forge"

"bioconda"

"main"

Response

Successful Response

basename
string
required
@type
string
default:AnacondaFile
version
string
default:""
distribution_type
string | null
subdir
string | null
build_string
string | null
build_number
integer | null
license
string | null
depends
string[]
constrains
string[]
md5
string | null
sha256
string | null
size
integer
default:0
download_count
integer
default:0
download_url
string | null
labels
string[]
owner
string | null
uploaded_at
integer | null