{ "openapi": "3.1.1", "info": { "title": "Typhon.Workbench | v1", "version": "1.0.0" }, "servers": [ { "url": "http://127.0.0.1:5200/" } ], "paths": { "/api/sessions/{sessionId}/heartbeat": { "get": { "tags": [ "Sessions" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{sessionId}/resources/stream": { "get": { "tags": [ "Resources" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{sessionId}/profiler/build-progress": { "get": { "tags": [ "Profiler" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{sessionId}/profiler/stream": { "get": { "tags": [ "Profiler" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/fs/home": { "get": { "tags": [ "Files" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FileEntryDto" } } } } } } }, "/api/fs/list": { "get": { "tags": [ "Files" ], "parameters": [ { "name": "path", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DirectoryListingDto" } } } } } } }, "/api/fs/stat": { "get": { "tags": [ "Files" ], "parameters": [ { "name": "path", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FileEntryDto" } } } } } } }, "/api/fixtures/capability": { "get": { "tags": [ "Fixtures" ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FixtureCapabilityDto" } } } } } } }, "/api/fixtures/create": { "post": { "tags": [ "Fixtures" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateFixtureRequestDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CreateFixtureRequestDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/CreateFixtureRequestDto" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateFixtureResponseDto" } } } } } } }, "/api/fixtures/trace": { "post": { "tags": [ "Fixtures" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateTraceFixtureRequestDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CreateTraceFixtureRequestDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/CreateTraceFixtureRequestDto" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateTraceFixtureResponseDto" } } } } } } }, "/api/fixtures/mock-profiler": { "post": { "tags": [ "Fixtures" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StartMockProfilerRequestDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/StartMockProfilerRequestDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/StartMockProfilerRequestDto" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StartMockProfilerResponseDto" } } } } } } }, "/api/fixtures/mock-profiler/{port}": { "delete": { "tags": [ "Fixtures" ], "parameters": [ { "name": "port", "in": "path", "required": true, "schema": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "OK" } } } }, "/health": { "get": { "tags": [ "Health" ], "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{sessionId}/profiler/metadata": { "get": { "tags": [ "Profiler" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProfilerMetadataDto" } } } } } } }, "/api/sessions/{sessionId}/profiler/disconnect": { "post": { "tags": [ "Profiler" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{sessionId}/profiler/save-replay": { "post": { "tags": [ "Profiler" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SaveReplayRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/SaveReplayRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/SaveReplayRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SaveReplayResponse" } } } } } } }, "/api/sessions/{sessionId}/profiler/chunks/{chunkIdx}": { "get": { "tags": [ "Profiler" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "chunkIdx", "in": "path", "required": true, "schema": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/sessions/{sessionId}/resources/root": { "get": { "tags": [ "Resources" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "depth", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResourceGraphDto" } } } } } } }, "/api/sessions/{sessionId}/resources/{resourceId}/children": { "get": { "tags": [ "Resources" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "resourceId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ResourceNodeDto" } } } } } } } }, "/api/sessions/{sessionId}/schema/components": { "get": { "tags": [ "Schema" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ComponentSummaryDto" } } } } } } } }, "/api/sessions/{sessionId}/schema/components/{typeName}": { "get": { "tags": [ "Schema" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "typeName", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ComponentSchemaDto" } } } } } } }, "/api/sessions/{sessionId}/schema/archetypes": { "get": { "tags": [ "Schema" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArchetypeInfoDto" } } } } } } } }, "/api/sessions/{sessionId}/schema/components/{typeName}/archetypes": { "get": { "tags": [ "Schema" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "typeName", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ArchetypeInfoDto" } } } } } } } }, "/api/sessions/{sessionId}/schema/components/{typeName}/indexes": { "get": { "tags": [ "Schema" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "typeName", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/IndexInfoDto" } } } } } } } }, "/api/sessions/{sessionId}/schema/components/{typeName}/systems": { "get": { "tags": [ "Schema" ], "parameters": [ { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "typeName", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SystemRelationshipsResponseDto" } } } } } } }, "/api/sessions/file": { "post": { "tags": [ "Sessions" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateFileSessionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CreateFileSessionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/CreateFileSessionRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionDto" } } } } } } }, "/api/sessions/attach": { "post": { "tags": [ "Sessions" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateAttachSessionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CreateAttachSessionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/CreateAttachSessionRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionDto" } } } } } } }, "/api/sessions/trace": { "post": { "tags": [ "Sessions" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateTraceSessionRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CreateTraceSessionRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/CreateTraceSessionRequest" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionDto" } } } } } } }, "/api/sessions/{id}": { "get": { "tags": [ "Sessions" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SessionDto" } } } } } }, "delete": { "tags": [ "Sessions" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } } }, "components": { "schemas": { "ArchetypeDto": { "required": [ "archetypeId", "name" ], "type": "object", "properties": { "archetypeId": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint16" }, "name": { "type": [ "null", "string" ] } } }, "ArchetypeInfoDto": { "required": [ "archetypeId", "componentTypes", "entityCount", "componentSize", "storageMode", "chunkCount", "chunkCapacity", "occupancyPct" ], "type": "object", "properties": { "archetypeId": { "type": [ "null", "string" ] }, "componentTypes": { "type": [ "null", "array" ], "items": { "type": "string" } }, "entityCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int64" }, "componentSize": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "storageMode": { "type": [ "null", "string" ] }, "chunkCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "chunkCapacity": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "occupancyPct": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "double" } } }, "ChunkManifestEntryDto": { "required": [ "fromTick", "toTick", "eventCount", "isContinuation" ], "type": "object", "properties": { "fromTick": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint32" }, "toTick": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint32" }, "eventCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint32" }, "isContinuation": { "type": "boolean" } } }, "ComponentSchemaDto": { "required": [ "typeName", "fullName", "storageSize", "totalSize", "allowMultiple", "revision", "fields" ], "type": "object", "properties": { "typeName": { "type": [ "null", "string" ] }, "fullName": { "type": [ "null", "string" ] }, "storageSize": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "totalSize": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "allowMultiple": { "type": "boolean" }, "revision": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "fields": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/FieldDto" } } } }, "ComponentSummaryDto": { "required": [ "typeName", "fullName", "storageSize", "fieldCount", "archetypeCount", "entityCount", "indexCount" ], "type": "object", "properties": { "typeName": { "type": [ "null", "string" ] }, "fullName": { "type": [ "null", "string" ] }, "storageSize": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "fieldCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "archetypeCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "null", "integer", "string" ], "format": "int32" }, "entityCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "indexCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" } } }, "ComponentTypeDto": { "required": [ "componentTypeId", "name" ], "type": "object", "properties": { "componentTypeId": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "name": { "type": [ "null", "string" ] } } }, "CreateAttachSessionRequest": { "required": [ "endpointAddress" ], "type": "object", "properties": { "endpointAddress": { "type": [ "null", "string" ] } } }, "CreateFileSessionRequest": { "required": [ "filePath" ], "type": "object", "properties": { "filePath": { "type": [ "null", "string" ] }, "schemaDllPaths": { "type": [ "null", "array" ], "items": { "type": "string" } } } }, "CreateFixtureRequestDto": { "required": [ "force", "outputDirectory" ], "type": "object", "properties": { "force": { "type": "boolean" }, "outputDirectory": { "type": [ "null", "string" ] } } }, "CreateFixtureResponseDto": { "required": [ "typhonFilePath", "schemaDllPath", "totalEntities", "wasCreated" ], "type": "object", "properties": { "typhonFilePath": { "type": [ "null", "string" ] }, "schemaDllPath": { "type": [ "null", "string" ] }, "totalEntities": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "wasCreated": { "type": "boolean" } } }, "CreateTraceFixtureRequestDto": { "required": [ "tickCount", "instantsPerTick" ], "type": "object", "properties": { "tickCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "null", "integer", "string" ], "format": "int32" }, "instantsPerTick": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "null", "integer", "string" ], "format": "int32" } } }, "CreateTraceFixtureResponseDto": { "required": [ "traceFilePath", "tickCount" ], "type": "object", "properties": { "traceFilePath": { "type": [ "null", "string" ] }, "tickCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" } } }, "CreateTraceSessionRequest": { "required": [ "filePath" ], "type": "object", "properties": { "filePath": { "type": [ "null", "string" ] } } }, "DirectoryListingDto": { "required": [ "path", "parent", "entries" ], "type": "object", "properties": { "path": { "type": [ "null", "string" ] }, "parent": { "type": [ "null", "string" ] }, "entries": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/FileEntryDto" } }, "truncated": { "type": "boolean", "default": false } } }, "FieldDto": { "required": [ "name", "typeName", "typeFullName", "offset", "size", "fieldId", "isIndexed", "indexAllowsMultiple" ], "type": "object", "properties": { "name": { "type": [ "null", "string" ] }, "typeName": { "type": [ "null", "string" ] }, "typeFullName": { "type": [ "null", "string" ] }, "offset": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "size": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "fieldId": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "isIndexed": { "type": "boolean" }, "indexAllowsMultiple": { "type": "boolean" } } }, "FileEntryDto": { "required": [ "name", "fullPath", "kind", "size", "lastWriteUtc", "isSchemaDll" ], "type": "object", "properties": { "name": { "type": [ "null", "string" ] }, "fullPath": { "type": [ "null", "string" ] }, "kind": { "type": [ "null", "string" ] }, "size": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "null", "integer", "string" ], "format": "int64" }, "lastWriteUtc": { "type": [ "null", "string" ], "format": "date-time" }, "isSchemaDll": { "type": "boolean" } } }, "FixtureCapabilityDto": { "required": [ "available", "outputDirectory" ], "type": "object", "properties": { "available": { "type": "boolean" }, "outputDirectory": { "type": [ "null", "string" ] } } }, "GcSuspensionDto": { "required": [ "startUs", "durationUs", "threadSlot" ], "type": "object", "properties": { "startUs": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "double" }, "durationUs": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "double" }, "threadSlot": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint8" } } }, "GlobalMetricsDto": { "required": [ "globalStartUs", "globalEndUs", "maxTickDurationUs", "maxSystemDurationUs", "p95TickDurationUs", "totalEvents", "totalTicks", "systemAggregates" ], "type": "object", "properties": { "globalStartUs": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "double" }, "globalEndUs": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "double" }, "maxTickDurationUs": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "double" }, "maxSystemDurationUs": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "double" }, "p95TickDurationUs": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "double" }, "totalEvents": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int64" }, "totalTicks": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint32" }, "systemAggregates": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/SystemAggregateDto" } } } }, "IndexInfoDto": { "required": [ "fieldName", "fieldOffset", "fieldSize", "allowsMultiple", "indexType" ], "type": "object", "properties": { "fieldName": { "type": [ "null", "string" ] }, "fieldOffset": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "fieldSize": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "allowsMultiple": { "type": "boolean" }, "indexType": { "type": [ "null", "string" ] } } }, "ProfilerHeaderDto": { "required": [ "version", "timestampFrequency", "baseTickRate", "workerCount", "systemCount", "archetypeCount", "componentTypeCount", "createdUtcTicks", "samplingSessionStartQpc" ], "type": "object", "properties": { "version": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" }, "timestampFrequency": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int64" }, "baseTickRate": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "float" }, "workerCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint8" }, "systemCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint16" }, "archetypeCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint16" }, "componentTypeCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint16" }, "createdUtcTicks": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int64" }, "samplingSessionStartQpc": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int64" } } }, "ProfilerMetadataDto": { "required": [ "fingerprint", "header", "systems", "archetypes", "componentTypes", "spanNames", "globalMetrics", "tickSummaries", "chunkManifest", "gcSuspensions" ], "type": "object", "properties": { "fingerprint": { "type": [ "null", "string" ] }, "header": { "$ref": "#/components/schemas/ProfilerHeaderDto" }, "systems": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/SystemDefinitionDto" } }, "archetypes": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/ArchetypeDto" } }, "componentTypes": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/ComponentTypeDto" } }, "spanNames": { "type": [ "null", "object" ], "additionalProperties": { "type": "string" } }, "globalMetrics": { "$ref": "#/components/schemas/GlobalMetricsDto" }, "tickSummaries": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/TickSummaryDto" } }, "chunkManifest": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/ChunkManifestEntryDto" } }, "gcSuspensions": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/GcSuspensionDto" } } } }, "ResourceGraphDto": { "required": [ "root" ], "type": "object", "properties": { "root": { "$ref": "#/components/schemas/ResourceNodeDto" } } }, "ResourceNodeDto": { "required": [ "id", "name", "type", "entityCount", "children" ], "type": "object", "properties": { "id": { "type": [ "null", "string" ] }, "name": { "type": [ "null", "string" ] }, "type": { "type": [ "null", "string" ] }, "entityCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "null", "integer", "string" ], "format": "int32" }, "children": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/ResourceNodeDto" } } } }, "SaveReplayRequest": { "required": [ "path" ], "type": "object", "properties": { "path": { "type": [ "null", "string" ] } } }, "SaveReplayResponse": { "required": [ "path", "bytesWritten" ], "type": "object", "properties": { "path": { "type": [ "null", "string" ] }, "bytesWritten": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int64" } } }, "SessionDiagnosticDto": { "required": [ "componentName", "kind", "detail" ], "type": "object", "properties": { "componentName": { "type": [ "null", "string" ] }, "kind": { "type": [ "null", "string" ] }, "detail": { "type": [ "null", "string" ] } } }, "SessionDto": { "required": [ "sessionId", "kind", "state", "filePath" ], "type": "object", "properties": { "sessionId": { "type": "string", "format": "uuid" }, "kind": { "type": [ "null", "string" ] }, "state": { "type": [ "null", "string" ] }, "filePath": { "type": [ "null", "string" ] }, "schemaDllPaths": { "type": [ "null", "array" ], "items": { "type": "string" } }, "schemaStatus": { "type": [ "null", "string" ] }, "loadedComponentTypes": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32", "default": 0 }, "schemaDiagnostics": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/SessionDiagnosticDto" } } } }, "StartMockProfilerRequestDto": { "required": [ "blockIntervalMs", "maxBlocks" ], "type": "object", "properties": { "blockIntervalMs": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "null", "integer", "string" ], "format": "int32" }, "maxBlocks": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "null", "integer", "string" ], "format": "int32" } } }, "StartMockProfilerResponseDto": { "required": [ "port" ], "type": "object", "properties": { "port": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "int32" } } }, "SystemAggregateDto": { "required": [ "systemIndex", "invocationCount", "totalDurationUs" ], "type": "object", "properties": { "systemIndex": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint16" }, "invocationCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint32" }, "totalDurationUs": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "double" } } }, "SystemDefinitionDto": { "required": [ "index", "name", "type", "priority", "isParallel", "tierFilter", "predecessors", "successors" ], "type": "object", "properties": { "index": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint16" }, "name": { "type": [ "null", "string" ] }, "type": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint8" }, "priority": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint8" }, "isParallel": { "type": "boolean" }, "tierFilter": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint8" }, "predecessors": { "type": [ "null", "array" ], "items": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint16" } }, "successors": { "type": [ "null", "array" ], "items": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint16" } } } }, "SystemRelationshipDto": { "required": [ "systemName", "systemType", "access", "queryViewSchema", "changeFilterTypes" ], "type": "object", "properties": { "systemName": { "type": [ "null", "string" ] }, "systemType": { "type": [ "null", "string" ] }, "access": { "type": [ "null", "string" ] }, "queryViewSchema": { "type": [ "null", "array" ], "items": { "type": "string" } }, "changeFilterTypes": { "type": [ "null", "array" ], "items": { "type": "string" } } } }, "SystemRelationshipsResponseDto": { "required": [ "runtimeHosted", "systems" ], "type": "object", "properties": { "runtimeHosted": { "type": "boolean" }, "systems": { "type": [ "null", "array" ], "items": { "$ref": "#/components/schemas/SystemRelationshipDto" } } } }, "TickSummaryDto": { "required": [ "tickNumber", "startUs", "durationUs", "eventCount", "maxSystemDurationUs", "activeSystemsBitmask" ], "type": "object", "properties": { "tickNumber": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint32" }, "startUs": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "double" }, "durationUs": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "float" }, "eventCount": { "pattern": "^-?(?:0|[1-9]\\d*)$", "type": [ "integer", "string" ], "format": "uint32" }, "maxSystemDurationUs": { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$", "type": [ "number", "string" ], "format": "float" }, "activeSystemsBitmask": { "type": [ "null", "string" ] } } } } }, "tags": [ { "name": "Sessions" }, { "name": "Resources" }, { "name": "Profiler" }, { "name": "Files" }, { "name": "Fixtures" }, { "name": "Health" }, { "name": "Schema" } ] }