Files
agentic-codebase-memory-man…/examples/sample.har
Developer 24b94c12bc
Some checks failed
CI / test (push) Failing after 17s
CI / build (push) Has been skipped
Re-upload: CI infrastructure issue resolved, all tests verified passing
2026-03-22 16:48:09 +00:00

159 lines
5.1 KiB
JSON

{
"log": {
"version": "1.2",
"creator": {
"name": "API Mock CLI",
"version": "0.1.0"
},
"entries": [
{
"startedDateTime": "2024-01-15T10:30:00.000Z",
"time": 150,
"request": {
"method": "GET",
"url": "https://api.example.com/users/123",
"headers": [
{"name": "Content-Type", "value": "application/json"},
{"name": "Authorization", "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.test"}
],
"queryString": [
{"name": "include", "value": "profile"},
{"name": "fields", "value": "name,email"}
]
},
"response": {
"status": 200,
"statusText": "OK",
"headers": [
{"name": "Content-Type", "value": "application/json"},
{"name": "X-Request-Id", "value": "req_abc123"}
],
"content": {
"mimeType": "application/json",
"text": "{\"id\": 123, \"name\": \"John Doe\", \"email\": \"john.doe@example.com\", \"created_at\": \"2024-01-01T00:00:00Z\", \"is_active\": true}"
}
}
},
{
"startedDateTime": "2024-01-15T10:30:01.000Z",
"time": 200,
"request": {
"method": "POST",
"url": "https://api.example.com/users",
"headers": [
{"name": "Content-Type", "value": "application/json"},
{"name": "Authorization", "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.test"}
],
"queryString": []
},
"response": {
"status": 201,
"statusText": "Created",
"headers": [
{"name": "Content-Type", "value": "application/json"}
],
"content": {
"mimeType": "application/json",
"text": "{\"id\": 456, \"name\": \"Jane Smith\", \"email\": \"jane.smith@example.com\", \"created_at\": \"2024-01-15T10:30:01Z\"}"
}
}
},
{
"startedDateTime": "2024-01-15T10:30:02.000Z",
"time": 100,
"request": {
"method": "GET",
"url": "https://api.example.com/posts",
"headers": [
{"name": "Content-Type", "value": "application/json"}
],
"queryString": [
{"name": "page", "value": "1"},
{"name": "limit", "value": "10"}
]
},
"response": {
"status": 200,
"statusText": "OK",
"headers": [
{"name": "Content-Type", "value": "application/json"}
],
"content": {
"mimeType": "application/json",
"text": "{\"posts\": [{\"id\": 1, \"title\": \"First Post\", \"author\": \"John Doe\"}, {\"id\": 2, \"title\": \"Second Post\", \"author\": \"Jane Smith\"}], \"total\": 2}"
}
}
},
{
"startedDateTime": "2024-01-15T10:30:03.000Z",
"time": 180,
"request": {
"method": "GET",
"url": "https://api.example.com/products/abc123-def456-ghi789",
"headers": [
{"name": "Content-Type", "value": "application/json"},
{"name": "X-API-Key", "value": "sk_test_123456789"}
],
"queryString": []
},
"response": {
"status": 200,
"statusText": "OK",
"headers": [
{"name": "Content-Type", "value": "application/json"}
],
"content": {
"mimeType": "application/json",
"text": "{\"id\": \"abc123-def456-ghi789\", \"name\": \"Premium Widget\", \"price\": 29.99, \"in_stock\": true}"
}
}
},
{
"startedDateTime": "2024-01-15T10:30:04.000Z",
"time": 250,
"request": {
"method": "PUT",
"url": "https://api.example.com/users/123",
"headers": [
{"name": "Content-Type", "value": "application/json"},
{"name": "Authorization", "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.test"}
],
"queryString": []
},
"response": {
"status": 200,
"statusText": "OK",
"headers": [
{"name": "Content-Type", "value": "application/json"}
],
"content": {
"mimeType": "application/json",
"text": "{\"id\": 123, \"name\": \"John Updated\", \"email\": \"john.updated@example.com\", \"updated_at\": \"2024-01-15T10:30:04Z\"}"
}
}
},
{
"startedDateTime": "2024-01-15T10:30:05.000Z",
"time": 100,
"request": {
"method": "DELETE",
"url": "https://api.example.com/users/789",
"headers": [
{"name": "Authorization", "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.test"}
],
"queryString": []
},
"response": {
"status": 204,
"statusText": "No Content",
"headers": [],
"content": {
"mimeType": "text/plain",
"text": ""
}
}
}
]
}
}