Skip to main content
GET
/
api
/
movespecs
/
{movespec_id}
/
versions
/
{version_id}
Get Movespec Version
curl --request GET \
  --url https://api.kynasmith.dev/api/movespecs/{movespec_id}/versions/{version_id} \
  --header 'Authorization: Bearer <token>'
{
  "content_hash": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "movespec_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "movespec_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "version_number": 123,
  "yaml_source": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.kynasmith.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Backend-issued machine access token for project-scoped API access.

Path Parameters

movespec_id
string<uuid>
required
version_id
string<uuid>
required

Response

Successful Response

Immutable MoveSpec version resource.

The created_by field has been moved to MoveSpecVersionFirstPartyResource as it exposes internal actor identifiers (#31).

content_hash
string
required

SHA-256 content hash for the immutable YAML.

created_at
string<date-time>
required

Version creation timestamp.

movespec_id
string<uuid>
required

Owning MoveSpec identifier.

movespec_version_id
string<uuid>
required

Immutable MoveSpec version identifier.

version_number
integer
required

Monotonic version number for the MoveSpec.

yaml_source
string
required

Immutable YAML source snapshot.