Update

Description

Update a story version.

Request

HTTP Method: POST

Query Parameter Description
name The new name for the story version.
Path Parameter Description
story_id The ID of the story.
version_id The ID of the story version to update.
curl -X POST \
 https://<<META.tenant.domain>>/api/v1/stories/<<story_id>>/versions/<<version_id>> \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>' \
  -d '{
        "name": "Updated version name"
      }'

Response

A successful request will return the JSON object describing the updated story version.

Field description

Parameter Description
id story version id.
name story version name.
description story version description.
timestamp The time the story version was created.

Sample response

{
  "id": 889,
  "name": "Updated version name",
  "description": "",
  "timestamp": "2023-11-13T11:16:05Z"
}
Was this helpful?