List crate versions
Lists crate versions. Setting per_page enables cursor pagination through meta.next_page.
GET
/crates/api/v1/crates/{name}/versionsNo authentication requiredPath parameters1
| Name | Type | Description |
|---|---|---|
name* | string | The crate name. |
Query parameters4
| Name | Type | Description |
|---|---|---|
sort | string | Version ordering. "date""semver"Default: |
include | string | Include release track details. "release_tracks" |
per_page | integer | Enable cursor pagination with this page size. Omit to return all versions. Minimum: 1Maximum: 100 |
seek | string | An opaque cursor from meta.next_page. Do not combine with page. |
Headers2
| Name | Type | Description |
|---|---|---|
If-None-Match | string | An ETag for conditional requests. |
If-Modified-Since | string | An HTTP date for conditional requests. |
Responses
application/jsonSchemaobject
Additional properties are allowed
versionsCratesVersion[]
metaobject
Additional properties are allowed
The original upstream response.