stela ops usage fixes roles propagation and timoeut, one account to support multi tenants, migrations consolidation, search to support documentation, doctor and open api vector db search
This commit is contained in:
326
devops/compose/timeline.json
Normal file
326
devops/compose/timeline.json
Normal file
@@ -0,0 +1,326 @@
|
||||
{
|
||||
"/api/v1/timeline": {
|
||||
"get": {
|
||||
"operationId": "timelineindexer_api_v1_timeline_GET",
|
||||
"tags": [
|
||||
"timeline"
|
||||
],
|
||||
"summary": "List timeline events",
|
||||
"description": "Returns timeline events filtered by tenant and optional query parameters.",
|
||||
"security": [
|
||||
{
|
||||
"BearerAuth": [
|
||||
|
||||
],
|
||||
"OAuth2": [
|
||||
"timeline:read"
|
||||
]
|
||||
}
|
||||
],
|
||||
"x-stellaops-gateway-auth": {
|
||||
"allowAnonymous": false,
|
||||
"requiresAuthentication": true,
|
||||
"source": "AspNetMetadata",
|
||||
"policies": [
|
||||
"timeline:read"
|
||||
],
|
||||
"claimRequirements": [
|
||||
{
|
||||
"type": "scope",
|
||||
"value": "timeline:read"
|
||||
}
|
||||
]
|
||||
},
|
||||
"x-stellaops-timeout": {
|
||||
"effectiveSeconds": 30,
|
||||
"source": "endpoint",
|
||||
"precedence": [
|
||||
"endpointOverride",
|
||||
"serviceDefault",
|
||||
"gatewayRouteDefault",
|
||||
"gatewayGlobalCap"
|
||||
],
|
||||
"endpointSeconds": 30,
|
||||
"gatewayRouteDefaultSeconds": 30,
|
||||
"gatewayGlobalCapSeconds": 120
|
||||
},
|
||||
"x-stellaops-timeout-seconds": 30,
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/timelineindexer_System_Collections_Generic_IReadOnlyList_1_StellaOps_TimelineIndexer_Core_Models_TimelineEventView_StellaOps_TimelineIndexer_Core_Version_1_0_0_0_Culture_neutral_PublicKeyToken_null"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request"
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized"
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden"
|
||||
},
|
||||
"404": {
|
||||
"description": "Not Found"
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation Error"
|
||||
},
|
||||
"504": {
|
||||
"description": "Gateway timeout"
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/timeline/events": {
|
||||
"post": {
|
||||
"operationId": "timelineindexer_api_v1_timeline_events_POST",
|
||||
"tags": [
|
||||
"timeline"
|
||||
],
|
||||
"summary": "Ingest timeline event",
|
||||
"description": "Queues an event ingestion request for asynchronous timeline indexing.",
|
||||
"security": [
|
||||
{
|
||||
"BearerAuth": [
|
||||
|
||||
],
|
||||
"OAuth2": [
|
||||
"timeline:write"
|
||||
]
|
||||
}
|
||||
],
|
||||
"x-stellaops-gateway-auth": {
|
||||
"allowAnonymous": false,
|
||||
"requiresAuthentication": true,
|
||||
"source": "AspNetMetadata",
|
||||
"policies": [
|
||||
"timeline:write"
|
||||
],
|
||||
"claimRequirements": [
|
||||
{
|
||||
"type": "scope",
|
||||
"value": "timeline:write"
|
||||
}
|
||||
]
|
||||
},
|
||||
"x-stellaops-timeout": {
|
||||
"effectiveSeconds": 30,
|
||||
"source": "endpoint",
|
||||
"precedence": [
|
||||
"endpointOverride",
|
||||
"serviceDefault",
|
||||
"gatewayRouteDefault",
|
||||
"gatewayGlobalCap"
|
||||
],
|
||||
"endpointSeconds": 30,
|
||||
"gatewayRouteDefaultSeconds": 30,
|
||||
"gatewayGlobalCapSeconds": 120
|
||||
},
|
||||
"x-stellaops-timeout-seconds": 30,
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/timelineindexer_TimelineIngestAcceptedResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request"
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized"
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden"
|
||||
},
|
||||
"404": {
|
||||
"description": "Not Found"
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation Error"
|
||||
},
|
||||
"504": {
|
||||
"description": "Gateway timeout"
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/timeline/{eventId}": {
|
||||
"get": {
|
||||
"operationId": "timelineindexer_api_v1_timeline_{eventId}_GET",
|
||||
"tags": [
|
||||
"timeline"
|
||||
],
|
||||
"summary": "Get timeline event",
|
||||
"description": "Returns a single timeline event by event identifier for the current tenant.",
|
||||
"security": [
|
||||
{
|
||||
"BearerAuth": [
|
||||
|
||||
],
|
||||
"OAuth2": [
|
||||
"timeline:read"
|
||||
]
|
||||
}
|
||||
],
|
||||
"x-stellaops-gateway-auth": {
|
||||
"allowAnonymous": false,
|
||||
"requiresAuthentication": true,
|
||||
"source": "AspNetMetadata",
|
||||
"policies": [
|
||||
"timeline:read"
|
||||
],
|
||||
"claimRequirements": [
|
||||
{
|
||||
"type": "scope",
|
||||
"value": "timeline:read"
|
||||
}
|
||||
]
|
||||
},
|
||||
"x-stellaops-timeout": {
|
||||
"effectiveSeconds": 30,
|
||||
"source": "endpoint",
|
||||
"precedence": [
|
||||
"endpointOverride",
|
||||
"serviceDefault",
|
||||
"gatewayRouteDefault",
|
||||
"gatewayGlobalCap"
|
||||
],
|
||||
"endpointSeconds": 30,
|
||||
"gatewayRouteDefaultSeconds": 30,
|
||||
"gatewayGlobalCapSeconds": 120
|
||||
},
|
||||
"x-stellaops-timeout-seconds": 30,
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/timelineindexer_StellaOps_TimelineIndexer_Core_Models_TimelineEventView"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request"
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized"
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden"
|
||||
},
|
||||
"404": {
|
||||
"description": "Not Found"
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation Error"
|
||||
},
|
||||
"504": {
|
||||
"description": "Gateway timeout"
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/timeline/{eventId}/evidence": {
|
||||
"get": {
|
||||
"operationId": "timelineindexer_api_v1_timeline_{eventId}_evidence_GET",
|
||||
"tags": [
|
||||
"timeline"
|
||||
],
|
||||
"summary": "Get event evidence",
|
||||
"description": "Returns evidence linkage for a timeline event, including bundle and attestation references.",
|
||||
"security": [
|
||||
{
|
||||
"BearerAuth": [
|
||||
|
||||
],
|
||||
"OAuth2": [
|
||||
"timeline:read"
|
||||
]
|
||||
}
|
||||
],
|
||||
"x-stellaops-gateway-auth": {
|
||||
"allowAnonymous": false,
|
||||
"requiresAuthentication": true,
|
||||
"source": "AspNetMetadata",
|
||||
"policies": [
|
||||
"timeline:read"
|
||||
],
|
||||
"claimRequirements": [
|
||||
{
|
||||
"type": "scope",
|
||||
"value": "timeline:read"
|
||||
}
|
||||
]
|
||||
},
|
||||
"x-stellaops-timeout": {
|
||||
"effectiveSeconds": 30,
|
||||
"source": "endpoint",
|
||||
"precedence": [
|
||||
"endpointOverride",
|
||||
"serviceDefault",
|
||||
"gatewayRouteDefault",
|
||||
"gatewayGlobalCap"
|
||||
],
|
||||
"endpointSeconds": 30,
|
||||
"gatewayRouteDefaultSeconds": 30,
|
||||
"gatewayGlobalCapSeconds": 120
|
||||
},
|
||||
"x-stellaops-timeout-seconds": 30,
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/timelineindexer_StellaOps_TimelineIndexer_Core_Models_TimelineEvidenceView"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request"
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized"
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden"
|
||||
},
|
||||
"404": {
|
||||
"description": "Not Found"
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation Error"
|
||||
},
|
||||
"504": {
|
||||
"description": "Gateway timeout"
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user