pack-versions.get
GET/pack-versions/{slug}
The latest version of a file pack and the guides that carry its download. A skill installed from a pack compares its own version with this one to tell you an update is out. No key needed.
Parameters
| Parameter | In | Description |
|---|---|---|
slug | path | Required. Slug of the file pack (packSlug in the metadata), for example orca-cook-plan. |
Request
curl "https://api.modernengineer.dev/pack-versions/orca-cook-plan"Response
{
"slug": "orca-cook-plan",
"version": "1.2.3",
"guides": [
{
"locale": "vi",
"title": "Orca Cook Plan: …",
"route": "/vi/library/orca-cook-plan"
},
{
"locale": "en",
"title": "Orca Cook Plan: …",
"route": "/en/library/orca-cook-plan"
}
]
}Errors
| Status | Error | When |
|---|---|---|
| 400 | invalid_input | A parameter is missing or invalid, for example a locale other than vi or en. |
| 404 | not_found | No published file pack has this slug. |