Create

Description

Create a story version.

Request

HTTP Method: POST

Query Parameter Description
name Optional The story version name.
Path Parameter Description
story_id The ID of the story .

Sample request

curl -X POST \
  https://<<META.tenant.domain>>/api/v1/stories/<<story_id>>/versions  \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>' \
  -d '{
        "name": "Test story version"
      }'

Response

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

Field description

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

Sample response

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