All Products
Search
Document Center

Qoder CN Series:List Skill versions

Last Updated:Jul 03, 2026

Lists every historical version of a specified Skill.

Request headers

Header

Required

Description

Authorization

Yes

Bearer PAT — see Authorization: Bearer $QODER_PAT.

Path parameters

Parameter

Type

Required

Description

skill_id

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

data

array

Array of SkillVersion objects.

Each SkillVersion object contains:

Field

Type

Description

version

string

Version number as a string, for example "1" or "2".

skill_id

string

ID of the owning Skill.

status

string

Version status. Currently always active.

content_size

integer

Zip content size for this version, in bytes.

content_sha256

string

SHA-256 hash of the version's content.

created_at

string

Version creation timestamp (ISO 8601).

updated_at

string

Version last-updated timestamp (ISO 8601).

Errors

HTTP

Type

Trigger

401

authentication_error

Missing or invalid authentication token.

404

not_found_error

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/skills upload increments the version.

  • Metadata-only updates through PUT do not create a new version.

For the full error envelope, see Errors.