Release Movespec Version
curl --request POST \
--url https://api.kynasmith.dev/api/movespecs/{movespec_id}/versions/{version_id}/release \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kynasmith.dev/api/movespecs/{movespec_id}/versions/{version_id}/release"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.kynasmith.dev/api/movespecs/{movespec_id}/versions/{version_id}/release', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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",
"visibility": "private",
"archived_at": "2023-11-07T05:31:56Z",
"current_released_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"star_count": 0
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}movespecs
Release Movespec Version
Release one immutable version as the runtime default.
POST
/
api
/
movespecs
/
{movespec_id}
/
versions
/
{version_id}
/
release
Release Movespec Version
curl --request POST \
--url https://api.kynasmith.dev/api/movespecs/{movespec_id}/versions/{version_id}/release \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kynasmith.dev/api/movespecs/{movespec_id}/versions/{version_id}/release"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.kynasmith.dev/api/movespecs/{movespec_id}/versions/{version_id}/release', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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",
"visibility": "private",
"archived_at": "2023-11-07T05:31:56Z",
"current_released_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"star_count": 0
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true,
"details": {}
}
}Authorizations
BearerAccessTokenBearerAccessToken
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.