Skip to main content
POST
/
api
/
movespecs
/
{movespec_id}
/
fork
Fork Movespec
curl --request POST \
  --url https://api.kynasmith.dev/api/movespecs/{movespec_id}/fork \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "description": "<string>",
  "name": "<string>"
}
'
{
  "created_at": "2023-11-07T05:31:56Z",
  "movespec_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "updated_at": "2023-11-07T05:31:56Z",
  "archived_at": "2023-11-07T05:31:56Z",
  "current_released_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "description": "<string>",
  "star_count": 0
}

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.

Headers

Idempotency-Key
string | null

Path Parameters

movespec_id
string<uuid>
required

Body

application/json

Fork-MoveSpec request payload.

project_id
string<uuid>
required

Owning project identifier for the new fork.

description
string | null

Optional new human-readable description for the fork.

Maximum string length: 255
name
string | null

Optional new display name for the fork.

Maximum string length: 255

Response

Successful Response

Public MoveSpec resource returned to external API consumers.

Internal/first-party fields (organization_id, created_by, updated_by, caller_starred) have been moved to MoveSpecFirstPartyResource (#31).

caller_starred returns False for anonymous callers instead of None (#73). It has been moved to the first-party variant.

created_at
string<date-time>
required

Creation timestamp.

movespec_id
string<uuid>
required

MoveSpec identifier.

name
string
required

Display name for the MoveSpec.

project_id
string<uuid>
required

Owning project identifier.

updated_at
string<date-time>
required

Last metadata or release-pointer update timestamp.

visibility
enum<string>
required

Visibility setting. 'delisted' is moderation-only and cannot be set via the API.

Available options:
private,
public,
delisted
archived_at
string<date-time> | null

Archive timestamp when no longer writable.

current_released_version_id
string<uuid> | null

Current released immutable version when one exists.

description
string | null

Human-readable description.

star_count
integer
default:0

Total organization-level stars for this MoveSpec.