Lists every historical version of a specified Skill.
Request headers
|
Header |
Required |
Description |
|
|
Yes |
Bearer PAT — see |
Path parameters
|
Parameter |
Type |
Required |
Description |
|
|
string |
Yes |
Unique Skill identifier. |
Example request
curl -X GET "https://api.qoder.com.cn/api/v1/cloud/skills/skill_019e3bba474b73cfaf19eae9b5f5e66d/versions" \
-H "Authorization: Bearer $QODER_PAT"
Example response
HTTP 200 OK
{
"data": [
{
"version": "1",
"skill_id": "skill_019e3bba474b73cfaf19eae9b5f5e66d",
"status": "active",
"content_size": 309,
"content_sha256": "f253cb7d35790025f85917c0c239422cff1de067d00278db8897c585a3f28d94",
"created_at": "2026-05-18T15:35:24.248164Z",
"updated_at": "2026-05-18T15:36:01.767469Z"
}
]
}
Response fields
|
Field |
Type |
Description |
|
|
array |
Array of SkillVersion objects. |
Each SkillVersion object contains:
|
Field |
Type |
Description |
|
|
string |
Version number as a string, for example |
|
|
string |
ID of the owning Skill. |
|
|
string |
Version status. Currently always |
|
|
integer |
Zip content size for this version, in bytes. |
|
|
string |
SHA-256 hash of the version's content. |
|
|
string |
Version creation timestamp (ISO 8601). |
|
|
string |
Version last-updated timestamp (ISO 8601). |
Errors
|
HTTP |
Type |
Trigger |
|
401 |
|
Missing or invalid authentication token. |
|
404 |
|
Skill does not exist or has been deleted. |
Notes
-
Version numbers are returned as strings, for example
"1". -
Versions are ordered by creation time.
-
Each successful
POST /v1/skillsupload increments the version. -
Metadata-only updates through PUT do not create a new version.
For the full error envelope, see Errors.