Skip to main content
GET
/
api
/
movespecs
/
{movespec_id}
/
draft
Get Movespec Draft
curl --request GET \
  --url https://api.kynasmith.dev/api/movespecs/{movespec_id}/draft \
  --header 'Authorization: Bearer <token>'
{
  "draft_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "movespec_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated_at": "2023-11-07T05:31:56Z",
  "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

Response

Successful Response

Mutable draft resource for one MoveSpec.

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

draft_id
string<uuid>
required

Draft identifier.

movespec_id
string<uuid>
required

Owning MoveSpec identifier.

updated_at
string<date-time>
required

Last draft update timestamp.

yaml_source
string
required

Mutable YAML source under active authoring.