Skip to main content
POST
/
test_framework
/
v1
/
scenarios
/
create_folder
cURL
curl --request POST \
  --url https://api.cekura.ai/test_framework/v1/scenarios/create_folder/ \
  --header 'Content-Type: application/json' \
  --header 'X-CEKURA-API-KEY: <api-key>' \
  --data '
{
  "name": "<string>",
  "project_id": 123,
  "parent_path": "<string>"
}
'
{
  "name": "<string>",
  "path": "<string>",
  "is_infrastructure_suite": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Body

Serializer for creating a folder.

name
string
required
Maximum string length: 100
project_id
integer
required
parent_path
string | null

Response

201 - application/json

Serializer for ScenarioFolder.

name
string
Maximum string length: 300
path
string

Human-readable path with case preservation

is_infrastructure_suite
string

Whether this folder contains infrastructure suite scenarios

created_at
string<date-time>
updated_at
string<date-time>