Skip to content

Versions

Create Skill Version
SkillVersion skills().versions().create(VersionCreateParamsparams = VersionCreateParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
POST/skills/{skill_id}/versions
List Skill Versions
VersionListPage skills().versions().list(VersionListParamsparams = VersionListParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/skills/{skill_id}/versions
Get Skill Version
SkillVersion skills().versions().retrieve(VersionRetrieveParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/skills/{skill_id}/versions/{version}
Delete Skill Version
DeletedSkillVersion skills().versions().delete(VersionDeleteParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
DELETE/skills/{skill_id}/versions/{version}
ModelsExpand Collapse
class DeletedSkillVersion:
String id
boolean deleted
JsonValue; object_ "skill.version.deleted"constant"skill.version.deleted"constant
String version

The deleted skill version.

class SkillVersion:
String id

Unique identifier for the skill version.

long createdAt

Unix timestamp (seconds) for when the version was created.

String description

Description of the skill version.

String name

Name of the skill version.

JsonValue; object_ "skill.version"constant"skill.version"constant

The object type, which is skill.version.

String skillId

Identifier of the skill for this version.

String version

Version number for this skill.

class SkillVersionList:
List<SkillVersion> data

A list of items

String id

Unique identifier for the skill version.

long createdAt

Unix timestamp (seconds) for when the version was created.

String description

Description of the skill version.

String name

Name of the skill version.

JsonValue; object_ "skill.version"constant"skill.version"constant

The object type, which is skill.version.

String skillId

Identifier of the skill for this version.

String version

Version number for this skill.

Optional<String> firstId

The ID of the first item in the list.

boolean hasMore

Whether there are more items available.

Optional<String> lastId

The ID of the last item in the list.

JsonValue; object_ "list"constant"list"constant

The type of object returned, must be list.

VersionsContent

Get Skill Version Content
HttpResponse skills().versions().content().retrieve(ContentRetrieveParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/skills/{skill_id}/versions/{version}/content