Start re-record session
curl --request POST \
--url http://127.0.0.1:4100/api/cases/{id}/re-record \
--header 'Content-Type: application/json' \
--header 'x-alibi-api-key: <api-key>' \
--data '
{
"recorder": "<string>"
}
'import requests
url = "http://127.0.0.1:4100/api/cases/{id}/re-record"
payload = { "recorder": "<string>" }
headers = {
"x-alibi-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-alibi-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({recorder: '<string>'})
};
fetch('http://127.0.0.1:4100/api/cases/{id}/re-record', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"projectId": "<string>",
"suiteId": "<string>",
"status": "idle",
"steps": [
{
"id": "<string>",
"order": 123,
"source": "api",
"request": {
"method": "<string>",
"path": "<string>",
"headers": {},
"body": "<unknown>"
},
"response": {
"status": 123,
"body": "<unknown>"
},
"mutations": [
{}
],
"reads": [
{}
],
"assertions": [
{}
],
"ignoreRules": [
{}
],
"browser": {}
}
],
"isolationMode": "schema_prefix",
"sandboxId": "<string>",
"recorder": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"stoppedAt": "2023-11-07T05:31:56Z",
"sandbox": {
"id": "<string>",
"projectId": "<string>",
"mode": "schema_prefix",
"dataPlane": "<string>",
"status": "warming",
"label": "<string>",
"sessionId": "<string>",
"recorder": "<string>",
"sql": {},
"redis": {},
"docker": {},
"k8s": {},
"branch": {},
"createdAt": "2023-11-07T05:31:56Z",
"checkedOutAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>"
}Cases
Start re-record session
Starts a new Record session for an existing case (default isolation warm_pool).
POST
/
cases
/
{id}
/
re-record
Start re-record session
curl --request POST \
--url http://127.0.0.1:4100/api/cases/{id}/re-record \
--header 'Content-Type: application/json' \
--header 'x-alibi-api-key: <api-key>' \
--data '
{
"recorder": "<string>"
}
'import requests
url = "http://127.0.0.1:4100/api/cases/{id}/re-record"
payload = { "recorder": "<string>" }
headers = {
"x-alibi-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-alibi-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({recorder: '<string>'})
};
fetch('http://127.0.0.1:4100/api/cases/{id}/re-record', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"projectId": "<string>",
"suiteId": "<string>",
"status": "idle",
"steps": [
{
"id": "<string>",
"order": 123,
"source": "api",
"request": {
"method": "<string>",
"path": "<string>",
"headers": {},
"body": "<unknown>"
},
"response": {
"status": 123,
"body": "<unknown>"
},
"mutations": [
{}
],
"reads": [
{}
],
"assertions": [
{}
],
"ignoreRules": [
{}
],
"browser": {}
}
],
"isolationMode": "schema_prefix",
"sandboxId": "<string>",
"recorder": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"stoppedAt": "2023-11-07T05:31:56Z",
"sandbox": {
"id": "<string>",
"projectId": "<string>",
"mode": "schema_prefix",
"dataPlane": "<string>",
"status": "warming",
"label": "<string>",
"sessionId": "<string>",
"recorder": "<string>",
"sql": {},
"redis": {},
"docker": {},
"k8s": {},
"branch": {},
"createdAt": "2023-11-07T05:31:56Z",
"checkedOutAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
Body
application/json
Response
New session