basePath: /api/v1/system definitions: authorization.AssignmentScope: properties: tenant_id: type: string type: type: string type: object authorization.AuthContext: properties: authentication: $ref: '#/definitions/authorization.AuthenticationFacts' authorization: $ref: '#/definitions/authorization.AuthorizationFacts' client: $ref: '#/definitions/authorization.ClientConstraints' context: $ref: '#/definitions/authorization.AuthSessionContext' delegation: $ref: '#/definitions/authorization.DelegationFacts' organization: $ref: '#/definitions/authorization.OrganizationContext' principal: $ref: '#/definitions/authorization.AuthPrincipal' schema_version: type: string token: $ref: '#/definitions/authorization.TokenFacts' type: object authorization.AuthPrincipal: properties: id: type: string type: type: string type: object authorization.AuthSessionContext: properties: tenant_id: type: string tenant_membership_id: type: string type: type: string type: object authorization.AuthenticationFacts: properties: assurance_level: type: string authenticated_at: type: string methods: items: type: string type: array step_up_expires_at: type: string type: object authorization.AuthorizationFacts: properties: authorization_version: type: string role_assignments: items: $ref: '#/definitions/authorization.RoleAssignment' type: array type: object authorization.ClientConstraints: properties: audiences: items: type: string type: array client_id: type: string scope_mode: type: string scopes: items: type: string type: array type: object authorization.CurrentSubjectRoles: properties: actor_principal_id: type: string authorization_version: type: string expires_at: type: string observed_at: type: string role_keys: items: type: string type: array tenant_id: type: string tenant_membership_id: type: string type: object authorization.DelegationFacts: properties: agent_run_id: type: string delegated_by_client_id: type: string tool_call_id: type: string type: object authorization.DepartmentMembership: properties: ancestor_ids: items: type: string type: array department_id: type: string membership_id: type: string membership_type: type: string relation_role: type: string type: object authorization.EngineAccessHandlingScope: properties: engine_id: example: "" type: string operator: $ref: '#/definitions/authorization.SharingFulfillmentOperator' tenant_id: example: "" type: string verified_at: type: string type: object authorization.InitialProductionGrant: properties: expires_at: type: string expiry_mode: type: string granted_at: type: string request_id: type: string type: object authorization.InitialProductionLookup: properties: found: type: boolean result: $ref: '#/definitions/authorization.InitialProductionResult' type: object authorization.InitialProductionResult: properties: denial_code: type: string execution_id: type: string grant: $ref: '#/definitions/authorization.InitialProductionGrant' outcome: type: string producer_owner: type: string recorded_at: type: string result_id: type: string schema_version: type: string tenant_id: example: "" type: string type: object authorization.MetadataRefreshQuery: properties: kind: enum: - node - item - engine type: string target: $ref: '#/definitions/plugin.EngineCatalogPath' type: object authorization.MetadataRefreshRange: properties: item: $ref: '#/definitions/authorizationfacts.Binding' node: $ref: '#/definitions/authorization.SourceNodeScope' type: object authorization.MetadataRefreshScope: properties: engine_version: type: string observed_at: type: string operator: $ref: '#/definitions/authorization.SharingFulfillmentOperator' query: $ref: '#/definitions/authorization.MetadataRefreshQuery' ranges: items: $ref: '#/definitions/authorization.MetadataRefreshRange' type: array tenant_id: example: "" type: string type: object authorization.OntologyRuleCall: properties: agent_run_id: type: string evaluation: $ref: '#/definitions/authorization.OntologyRuleEvaluation' principal_id: type: string tool_call_id: type: string type: object authorization.OntologyRuleEvaluation: properties: activation_version: type: integer generation: type: string object_id: type: string ontology_id: type: string revision: type: integer rule_id: type: string type: object authorization.OrganizationContext: properties: departments: items: $ref: '#/definitions/authorization.DepartmentMembership' type: array project_groups: items: $ref: '#/definitions/authorization.ProjectGroupMembership' type: array type: object authorization.PlatformPublicationCheck: properties: capability: type: string digest: type: string revision: type: string type: object authorization.PlatformPublicationObservation: properties: authorization_version: type: string capability: type: string client_id: type: string context_type: type: string digest: type: string principal_id: type: string principal_type: type: string revision: type: string type: object authorization.ProjectGroupMembership: properties: membership_id: type: string project_group_id: type: string relation_role: type: string type: object authorization.RoleAssignment: properties: assignment_id: type: string permissions: items: type: string type: array role_key: type: string scope: $ref: '#/definitions/authorization.AssignmentScope' source_type: type: string valid_from: type: string valid_until: type: string type: object authorization.SharingFulfillmentBinding: properties: action: type: string boundary_hash: type: string caller_principal_id: example: "" type: string decision_id: type: string expires_at: type: string expiry_mode: type: string item_fingerprint: type: string operator: $ref: '#/definitions/authorization.SharingFulfillmentOperator' path: $ref: '#/definitions/plugin.EngineCatalogPath' recipient_id: example: "" type: string recipient_type: type: string type: object authorization.SharingFulfillmentGrant: properties: granted_at: type: string request_id: type: string type: object authorization.SharingFulfillmentGrantLookup: properties: found: type: boolean grant: $ref: '#/definitions/authorization.SharingFulfillmentGrant' unissued_reason: description: Current System observation, not an immutable failure or access decision. enum: - relation_exists - window_expired - closed type: string type: object authorization.SharingFulfillmentLookup: properties: found: type: boolean resolution: $ref: '#/definitions/authorization.SharingFulfillmentResolution' type: object authorization.SharingFulfillmentOperator: properties: authorization_version: example: "" type: string principal_id: example: "" type: string tenant_membership_id: example: "" type: string type: object authorization.SharingFulfillmentResolution: properties: binding: $ref: '#/definitions/authorization.SharingFulfillmentBinding' deadline: type: string outcome: type: string recorded_at: type: string request_id: type: string tenant_id: example: "" type: string type: object authorization.SourceMetadataCheck: properties: observed_at: type: string targets: items: $ref: '#/definitions/authorization.SourceMetadataTargetCheck' type: array type: object authorization.SourceMetadataCheckRequest: properties: targets: items: $ref: '#/definitions/plugin.EngineCatalogPath' type: array type: object authorization.SourceMetadataTargetCheck: properties: target: $ref: '#/definitions/plugin.EngineCatalogPath' visible: type: boolean type: object authorization.SourceNavigationCheckRequest: properties: targets: items: $ref: '#/definitions/plugin.EngineCatalogPath' type: array type: object authorization.SourceNodeScope: properties: recursive: type: boolean target: $ref: '#/definitions/plugin.EngineCatalogPath' type: object authorization.SourceObjectPreviewCheck: properties: observed_at: type: string targets: items: $ref: '#/definitions/authorization.SourceVisibilityTargetCheck' type: array type: object authorization.SourceSearchCheck: properties: observation_tag: type: string observed_at: type: string targets: items: $ref: '#/definitions/authorization.SourceVisibilityTargetCheck' type: array type: object authorization.SourceSearchCheckRequest: properties: expected_observation_tag: type: string query_nonce: type: string targets: items: $ref: '#/definitions/plugin.EngineCatalogPath' type: array type: object authorization.SourceVisibilityTargetCheck: properties: after_delete_operation_id: format: uuid type: string content_readable: type: boolean item_fingerprint: type: string target: $ref: '#/definitions/plugin.EngineCatalogPath' visible: type: boolean type: object authorization.TokenFacts: properties: expires_at: type: string issued_at: type: string type: type: string type: object authorization.UploadInitialResult: properties: action: type: string granted_at: type: string item_fingerprint: type: string outcome: type: string reason: type: string request_id: type: string tenant_id: example: "" type: string upload_id: type: string type: object authorizationfacts.AuthorizationBasisState: enum: - complete - incomplete - needs_refresh - unsupported type: string x-enum-varnames: - AuthorizationBasisComplete - AuthorizationBasisIncomplete - AuthorizationBasisNeedsRefresh - AuthorizationBasisUnsupported authorizationfacts.AuthorizationBoundary: properties: file_composition: $ref: '#/definitions/authorizationfacts.FileCompositionBoundary' layout: enum: - single - multi - whole type: string metadata_target: $ref: '#/definitions/authorizationfacts.MetadataBoundary' native_target: $ref: '#/definitions/plugin.EngineCatalogPath' scope: $ref: '#/definitions/authorizationfacts.ScopeBoundary' type: object authorizationfacts.AuthorizationFacts: properties: after_delete_operation_id: format: uuid type: string basis_state: allOf: - $ref: '#/definitions/authorizationfacts.AuthorizationBasisState' enum: - complete - incomplete - needs_refresh - unsupported boundary: $ref: '#/definitions/authorizationfacts.AuthorizationBoundary' boundary_hash: type: string engine_id: example: "" type: string full_name: type: string item_fingerprint: type: string item_type: type: string observed_at: type: string schema_version: type: string whole_table_read: $ref: '#/definitions/authorizationfacts.Binding' type: object authorizationfacts.Binding: properties: boundary_hash: type: string file_composition: $ref: '#/definitions/authorizationfacts.FileCompositionBoundary' item_fingerprint: type: string metadata_target: $ref: '#/definitions/authorizationfacts.MetadataBoundary' native_target: $ref: '#/definitions/plugin.EngineCatalogPath' scope: $ref: '#/definitions/authorizationfacts.ScopeBoundary' type: object authorizationfacts.DataItemIdentity: properties: ancestors: items: $ref: '#/definitions/authorizationfacts.IdentityNode' type: array engine_id: type: integer full_name: type: string item_fingerprint: type: string item_type: type: string name: type: string type: object authorizationfacts.FileCompositionBoundary: properties: format: type: string refs: items: $ref: '#/definitions/authorizationfacts.FileCompositionRef' type: array source_layout: description: TIFF layout as observed by Meta, independent of its physical file count. type: string type: object authorizationfacts.FileCompositionRef: properties: primary: type: boolean required: type: boolean role: type: string target: $ref: '#/definitions/plugin.EngineCatalogPath' type: object authorizationfacts.IdentityNode: properties: id: example: "0" type: string name: type: string node_type: type: string type: object authorizationfacts.IdentityPage: properties: data: items: $ref: '#/definitions/authorizationfacts.DataItemIdentity' type: array page: type: integer page_size: type: integer total: type: integer total_pages: type: integer type: object authorizationfacts.MetadataBoundary: properties: composition_digest: type: string data_type: type: string format: type: string layout: type: string target: $ref: '#/definitions/plugin.EngineCatalogPath' type: object authorizationfacts.NodeIdentity: properties: exists: type: boolean target: $ref: '#/definitions/plugin.EngineCatalogPath' tenant_id: type: integer type: object authorizationfacts.NodeIdentityPage: properties: nodes: items: $ref: '#/definitions/authorizationfacts.NodeIdentity' type: array page: type: integer page_size: type: integer parent: $ref: '#/definitions/authorizationfacts.NodeIdentity' total: type: integer type: object authorizationfacts.NodeIdentityPageQuery: properties: page: type: integer page_size: type: integer target: $ref: '#/definitions/plugin.EngineCatalogPath' type: object authorizationfacts.ScopeBoundary: properties: format: type: string root: $ref: '#/definitions/plugin.EngineCatalogPath' rule_version: type: integer type: object client.CleanupConnectionEngine: properties: capabilities: type: string connection_info: $ref: '#/definitions/github_com_addp_common_models.ConnectionInfo' engine_type: type: string id: type: integer lifecycle_state: type: string tenant_id: type: integer type: object client.CleanupEngineConnection: properties: attempt: type: integer authorization_id: type: string engine: $ref: '#/definitions/client.CleanupConnectionEngine' engine_id: type: string execution_id: type: string expires_at: type: string purpose: type: string scope: $ref: '#/definitions/execution.CleanupAuthorizationScope' tenant_id: type: string type: object client.DevelopFileAdmissionObservation: properties: approval_id: type: string authorization_id: type: string execution_id: type: string expected_attempt: type: integer expires_at: type: string observed_at: type: string scope_digest: type: string state: type: string type: object client.DevelopFileAdmissionRequest: properties: execution_id: type: string expected_attempt: type: integer scope_digest: type: string type: object client.DevelopFilePublicationHistory: properties: approval_id: type: string attempt: type: integer authorization_id: type: string execution_id: type: string operation_id: type: string preparation_digest: type: string prepare_admitted_at: type: string released_at: type: string request_digest: type: string scope_digest: type: string type: object client.DevelopFilePublicationObservation: properties: approval_id: type: string attempt: type: integer authorization_id: type: string business_deadline: type: string engine: $ref: '#/definitions/github_com_addp_common_models.Engine' execution_id: type: string expires_at: type: string observed_at: type: string operation_id: type: string preparation_digest: type: string scope_digest: type: string stage: type: string type: object client.DevelopFilePublicationRecoveryAccess: properties: engine: $ref: '#/definitions/github_com_addp_common_models.Engine' expires_at: type: string history: $ref: '#/definitions/client.DevelopFilePublicationHistory' observed_at: type: string type: object client.DevelopFilePublicationRequest: properties: approval_id: type: string attempt: type: integer execution_id: type: string lease_token: type: string operation_id: type: string preparation_digest: type: string scope_digest: type: string stage: type: string type: object client.DevelopFileSourceAccessObservation: properties: attempt: type: integer authorization_id: type: string business_deadline: description: |- BusinessDeadline is sealed once from original DB StartedAt and human/source eligibility. Renewable machine credentials and leases never extend it. type: string engine: $ref: '#/definitions/github_com_addp_common_models.Engine' execution_id: type: string expires_at: type: string observed_at: type: string scope_digest: type: string source: $ref: '#/definitions/plugin.EngineCatalogPath' required: - business_deadline type: object client.DevelopFileSourceAccessRequest: properties: attempt: type: integer execution_id: type: string lease_token: type: string scope_digest: type: string source: $ref: '#/definitions/plugin.EngineCatalogPath' type: object client.DevelopQueryReadObservation: properties: expires_at: type: string observed_at: type: string type: object client.DevelopQueryReadRequest: properties: attempt: type: integer authorization_id: type: string engine_id: type: string engine_version: type: string execution_id: type: string lease_token: type: string notebook_session_id: type: string read_set: $ref: '#/definitions/plugin.QueryReadSet' sample_credential: type: string type: object client.ExecutionEngineAccessScope: properties: effects: items: type: string type: array engine_id: type: string type: object client.FileGDBExportAccessRequest: properties: attempt: type: integer execution_id: type: string lease_token: type: string source_read_scope: $ref: '#/definitions/execution.FileGDBExportReadScope' type: object client.ImageSegmentationAccessObservation: properties: observed_at: type: string source_engine: $ref: '#/definitions/github_com_addp_common_models.Engine' target_engine: $ref: '#/definitions/github_com_addp_common_models.Engine' type: object client.ImageSegmentationAccessRequest: properties: attempt: type: integer execution_id: type: string lease_token: type: string type: object client.IssueManagerFileAuthorizationRequest: properties: execution_id: type: string expires_in: type: integer type: object client.IssuedDevelopFileAuthorization: properties: authorization: $ref: '#/definitions/client.IssuedExecutionAuthorization' scope: $ref: '#/definitions/execution.DevelopBoundFileScope' scope_digest: type: string type: object client.IssuedExecutionAuthorization: properties: accesses: items: $ref: '#/definitions/client.ExecutionEngineAccessScope' type: array actor_principal_id: type: string audience: type: string execution_id: type: string expires_at: type: string id: type: string internal_task: $ref: '#/definitions/execution.InternalTaskScope' issued_authorization_version: type: string source_definition_id: type: string source_definition_version: type: string source_type: type: string tenant_id: type: string tenant_membership_id: type: string type: object client.IssuedFileGDBExportAuthorization: properties: audience: type: string execution_id: type: string expires_at: type: string id: type: string source_read_scope: $ref: '#/definitions/execution.FileGDBExportReadScope' tenant_id: type: string type: object client.IssuedManagerFileAuthorization: properties: audience: type: string execution_id: type: string expires_at: type: string id: type: string source_read_scope: $ref: '#/definitions/execution.ManagerFileReadScope' tenant_id: type: string type: object client.IssuedTransferObjectAuthorization: properties: audience: type: string execution_id: type: string expires_at: type: string id: type: string source_read_scope: $ref: '#/definitions/execution.TransferObjectReadScope' tenant_id: type: string type: object client.ManagerFileAccessObservation: properties: engine: $ref: '#/definitions/github_com_addp_common_models.Engine' observed_at: type: string type: object client.ManagerFileAccessRequest: properties: attempt: type: integer execution_id: type: string lease_token: type: string source_read_scope: $ref: '#/definitions/execution.ManagerFileReadScope' type: object client.ManagerFileExpectedSource: properties: engine_version: type: string file_composition: $ref: '#/definitions/authorizationfacts.FileCompositionBoundary' type: object client.ManagerPGReadCheckRequest: properties: sources: items: $ref: '#/definitions/authorizationfacts.Binding' type: array user_credential: type: string type: object client.TransferObjectAccessRequest: properties: attempt: type: integer execution_id: type: string lease_token: type: string source_read_scope: $ref: '#/definitions/execution.TransferObjectReadScope' type: object configuration.ManagementDeclaration: properties: entries: items: $ref: '#/definitions/configuration.ManagementEntry' type: array schema_version: type: string type: object configuration.ManagementEntry: properties: frontend_route: type: string id: type: string owner_module: type: string read_permission: type: string scope_types: items: type: string type: array update_permission: type: string type: object datatype.CRSDefinition: properties: definition: type: string definition_encoding: type: string id: type: string source: type: string type: object datatype.CaptureLocation: properties: datum: type: string latitude: type: number longitude: type: number srid: type: integer type: object datatype.EnumInfo: properties: name: type: string symbols: items: type: string type: array type: object datatype.FieldInfo: properties: comment: type: string default_expression: type: string element: $ref: '#/definitions/datatype.FieldInfo' element_type: $ref: '#/definitions/datatype.FieldType' enum: $ref: '#/definitions/datatype.EnumInfo' fields: items: $ref: '#/definitions/datatype.FieldInfo' type: array fixed: $ref: '#/definitions/datatype.FixedInfo' generated: type: boolean generation_expression: type: string map_value: $ref: '#/definitions/datatype.FieldInfo' name: type: string native_type: type: string nullable: type: boolean ordinal_position: type: integer path: items: type: string type: array precision: type: integer primary_key: type: boolean scale: type: integer size: type: integer temporal: $ref: '#/definitions/datatype.TemporalInfo' type: $ref: '#/definitions/datatype.FieldType' type: object datatype.FieldType: enum: - unknown - string - bool - bytes - mixed - int - bigint - float - double - decimal - date - time - timestamp - json - array - uuid - geometry type: string x-enum-varnames: - FieldTypeUnknown - FieldTypeString - FieldTypeBool - FieldTypeBytes - FieldTypeMixed - FieldTypeInt - FieldTypeBigInt - FieldTypeFloat - FieldTypeDouble - FieldTypeDecimal - FieldTypeDate - FieldTypeTime - FieldTypeTimestamp - FieldTypeJSON - FieldTypeArray - FieldTypeUUID - FieldTypeGeometry datatype.FixedInfo: properties: name: type: string size: type: integer type: object datatype.GeometryColumnInfo: properties: crs_ref: type: string dimension: type: integer geometry_type: type: string name: type: string nullable: type: boolean srid: type: integer type: object datatype.GraphEndpointInfo: properties: labels: items: type: string type: array shape_name: type: string type: object datatype.GraphInfo: properties: directed: type: boolean model: type: string node_count: type: integer node_shapes: items: $ref: '#/definitions/datatype.GraphNodeShapeInfo' type: array relationship_count: type: integer relationship_shapes: items: $ref: '#/definitions/datatype.GraphRelationshipShapeInfo' type: array type: object datatype.GraphNodeShapeInfo: properties: count: type: integer kind: type: string labels: items: type: string type: array name: type: string properties: items: $ref: '#/definitions/datatype.FieldInfo' type: array type: object datatype.GraphRelationshipPatternInfo: properties: count: type: integer from: $ref: '#/definitions/datatype.GraphEndpointInfo' to: $ref: '#/definitions/datatype.GraphEndpointInfo' type: object datatype.GraphRelationshipShapeInfo: properties: count: type: integer patterns: items: $ref: '#/definitions/datatype.GraphRelationshipPatternInfo' type: array properties: items: $ref: '#/definitions/datatype.FieldInfo' type: array type: type: string type: object datatype.SpatialInfo: properties: capture_location: $ref: '#/definitions/datatype.CaptureLocation' crs_definitions: items: $ref: '#/definitions/datatype.CRSDefinition' type: array crs_ref: type: string extent: items: type: number type: array geometry_columns: items: $ref: '#/definitions/datatype.GeometryColumnInfo' type: array has_spatial_index: type: boolean index_name: type: string primary_geometry_column: type: string srid: type: integer type: object datatype.TableInfo: properties: comment: type: string created_at: type: string estimated_row_count: type: integer fields: items: $ref: '#/definitions/datatype.FieldInfo' type: array kind: type: string name: type: string native: additionalProperties: true type: object primary_key: items: type: string type: array row_count: type: integer size_bytes: type: integer updated_at: type: string type: object datatype.TemporalInfo: properties: timezone: type: string unit: type: string type: object events.CleanupContext: properties: engine_id: type: integer external_artifact_policy: type: string tenant_id: type: integer type: object events.CleanupImpactSummary: properties: external_artifact: type: integer rebindable: type: integer running: type: integer will_delete: type: integer will_disable: type: integer type: object events.CleanupResultSummary: properties: affected_records: type: integer deleted_physical_artifacts: type: integer deleted_task_definitions: type: integer disabled_task_definitions: type: integer error_count: type: integer freed_bytes: type: integer marked_missing_source: type: integer marked_outdated: type: integer risk_level: type: string scanned_items: type: integer skipped_items: type: integer type: object execution.CleanupAdmissionView: properties: basis: type: string observed_at: type: string schema: type: string state: type: string type: object execution.CleanupAuthorizationScope: properties: module: type: string parent_execution_id: type: string request_digest: type: string request_id: type: string type: object execution.CleanupReceipt: properties: action: type: string attempt: type: integer cleanup_mode: type: string execution_id: type: string impact: $ref: '#/definitions/events.CleanupImpactSummary' impact_digest: type: string module: type: string parent_execution_id: type: string reason: type: string request_digest: type: string request_id: type: string schema: type: string status: type: string summary: $ref: '#/definitions/events.CleanupResultSummary' tenant_id: type: integer type: object execution.DevelopBoundFileScope: properties: expected_attempt: type: integer intent_digest: type: string schema_version: type: string sources: items: $ref: '#/definitions/execution.DevelopFileSourceReference' type: array target: $ref: '#/definitions/execution.DevelopBoundFileTarget' timeout_seconds: type: integer type: object execution.DevelopBoundFileTarget: properties: engine_version: type: string mode: type: string target: $ref: '#/definitions/plugin.EngineCatalogPath' type: object execution.DevelopFileSourceReference: properties: boundary_hash: type: string engine_version: type: string format: type: string item_fingerprint: type: string target: $ref: '#/definitions/plugin.EngineCatalogPath' type: object execution.DiagnosticStep: properties: duration: type: integer ended_at: type: string error_code: type: string id: type: string phase: type: string started_at: type: string status: type: string type: object execution.FileGDBExportReadScope: properties: config_digest: type: string filegdb_source: $ref: '#/definitions/execution.FileGDBExportSource' type: object execution.FileGDBExportSource: properties: binding: $ref: '#/definitions/authorizationfacts.Binding' engine_version: type: string type: object execution.InternalTaskScope: properties: digest: type: string generation: type: string resource_id: type: string revision: type: string task_type: type: string type: object execution.ManagerFileReadScope: properties: config_digest: type: string engine_version: type: string file_composition: $ref: '#/definitions/authorizationfacts.FileCompositionBoundary' owner_task_id: type: string owner_task_version: type: string type: object execution.ManagerProfileReadScope: properties: config_digest: type: string read_set: $ref: '#/definitions/plugin.QueryReadSet' type: object execution.MetaCollectionAccessObservation: properties: execution_id: type: string execution_plan_digest: type: string observed_at: type: string type: object execution.MetaCollectionAccessRequest: properties: attempt: type: integer execution_id: type: string execution_plan_digest: type: string lease_token: type: string type: object execution.ReadGrant: properties: own_ad_hoc: type: boolean task_history: type: boolean task_type: type: string type: object execution.ReadScope: properties: grants: items: $ref: '#/definitions/execution.ReadGrant' type: array module: type: string principal_id: type: integer tenant_id: type: integer type: object execution.TransferObjectReadScope: properties: config_digest: type: string object_source: $ref: '#/definitions/execution.TransferObjectSource' target_engine_id: type: integer type: object execution.TransferObjectSource: properties: binding: $ref: '#/definitions/authorizationfacts.Binding' engine_version: type: string type: object fosite.RFC6749ErrorJson: properties: error: type: string error_debug: type: string error_description: type: string error_hint: type: string status_code: type: integer type: object github_com_addp_common_models.CapabilitiesView: properties: json_view: items: $ref: '#/definitions/github_com_addp_common_models.CapabilityJSONNode' type: array sections: items: $ref: '#/definitions/github_com_addp_common_models.CapabilityViewSection' type: array summary: items: $ref: '#/definitions/github_com_addp_common_models.CapabilityViewBadge' type: array type: object github_com_addp_common_models.CapabilityJSONNode: properties: children: items: $ref: '#/definitions/github_com_addp_common_models.CapabilityJSONNode' type: array key: type: string value: type: string type: object github_com_addp_common_models.CapabilityPathNode: properties: id: type: string label_key: type: string tags: items: $ref: '#/definitions/github_com_addp_common_models.CapabilityViewTag' type: array value: type: string type: object github_com_addp_common_models.CapabilityViewBadge: properties: id: type: string label_key: type: string status: type: string value: type: string value_key: type: string type: object github_com_addp_common_models.CapabilityViewItem: properties: description_key: type: string id: type: string label_key: type: string reason_key: type: string status: type: string tags: items: $ref: '#/definitions/github_com_addp_common_models.CapabilityViewTag' type: array value: type: string value_key: type: string type: object github_com_addp_common_models.CapabilityViewSection: properties: description_key: type: string id: type: string items: items: $ref: '#/definitions/github_com_addp_common_models.CapabilityViewItem' type: array path: items: $ref: '#/definitions/github_com_addp_common_models.CapabilityPathNode' type: array status: type: string title_key: type: string type: object github_com_addp_common_models.CapabilityViewTag: properties: id: type: string label_key: type: string type: type: string value: type: string type: object github_com_addp_common_models.ConnectionInfo: additionalProperties: true type: object github_com_addp_common_models.Engine: properties: capabilities: description: 能力声明(JSONB) type: string capabilities_view: allOf: - $ref: '#/definitions/github_com_addp_common_models.CapabilitiesView' description: System 后端生成的能力展示模型 check_message: description: 检测结果消息(错误信息等) type: string connection_info: $ref: '#/definitions/github_com_addp_common_models.ConnectionInfo' connection_status: description: 最近连接检测结果缓存(优化扫描性能,不代表持续保持的物理连接) type: string created_at: description: 时间戳字段 type: string created_by: type: integer deleted_at: type: string deleted_by: type: integer deletion_error: type: string deletion_execute_task_id: type: string deletion_requested_at: type: string deletion_requested_by: type: integer deletion_scan_task_id: type: string description: type: string engine_origin: description: 引擎来源:general 或 extension type: string engine_type: description: 引擎类型(postgresql, mysql, acme_geo_workflow 等) type: string external_artifact_policy: type: string id: type: integer is_builtin: description: 扩展引擎字段 type: boolean last_check_at: description: 上次检测时间 type: string lifecycle_state: type: string name: description: 显示名称(原 display_name) type: string restored_at: type: string restored_by: type: integer server_version: description: ServerVersion 最近一次成功探测的原生产品版本(只读)。| Last successfully observed native product version (read-only). type: string server_version_checked_at: description: ServerVersionCheckedAt 成功版本探测时间(只读),不等同于最近连接检测时间。| Version observation time (read-only), independent of the latest connection check. type: string tenant_id: description: 租户ID,平台共享引擎为 null type: integer updated_at: type: string version: type: integer type: object github_com_addp_common_models.EngineRuntimeEndpoint: properties: host: type: string port: type: integer protocol: type: string type: object github_com_addp_system_internal_engineaccess.GrantRevocation: properties: reason: type: string request_id: type: string revoked_at: type: string revoked_by_membership_id: example: "" type: string revoked_by_principal_id: example: "" type: string revoked_request_ids: items: type: string type: array type: object github_com_addp_system_internal_engineaccess.SourceGrantInspection: properties: account_id: example: "" type: string catalog_path: $ref: '#/definitions/plugin.EngineCatalogPath' item_fingerprint: type: string node_recursive: type: boolean observed_at: type: string reason: enum: - grant - no_grant - source_unavailable - target_unavailable type: string rule_covered: type: boolean sources: items: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceGrantInspectionSource' type: array type: object github_com_addp_system_internal_engineaccess.SourceGrantInspectionSource: properties: action: type: string approval_mode: type: string catalog_path: type: object expires_at: type: string expiry_mode: type: string grant_count: type: integer node_recursive: type: boolean recipient_id: example: "" type: string recipient_type: type: string request_id: type: string type: object github_com_addp_system_internal_engineaccess.SourceGrantRelation: properties: action: type: string approval_mode: type: string catalog_path: type: object expires_at: type: string expiry_mode: type: string grant_count: type: integer granted_at: type: string inspection: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceGrantInspection' item_fingerprint: type: string node_recursive: type: boolean recipient_id: example: "" type: string recipient_type: type: string request_id: type: string type: object github_com_addp_system_internal_engineaccess.SourceGrantView: properties: action: type: string approval_mode: type: string boundary_hash: type: string catalog_path: type: object catalog_request_id: type: string engine_id: example: "" type: string expires_at: type: string expiry_mode: type: string file_composition: type: object granted_at: type: string issuer_membership_id: example: "" type: string issuer_principal_id: example: "" type: string item_fingerprint: type: string metadata_target: type: object node_recursive: type: boolean operator_membership_id: example: "" type: string operator_principal_id: example: "" type: string producer_owner: type: string production_execution_id: type: string production_result_id: type: string reason: type: string recipient_id: example: "" type: string recipient_type: type: string request_id: type: string revocation: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.GrantRevocation' scope: type: object upload_id: type: string type: object github_com_addp_system_internal_engineaccess.SourceReadCheck: properties: observed_at: type: string type: object github_com_addp_system_internal_engineaccess.SourceReadCheckRequest: properties: expected_source: $ref: '#/definitions/client.ManagerFileExpectedSource' targets: items: $ref: '#/definitions/plugin.EngineCatalogPath' type: array type: object github_com_addp_system_internal_iam.AuditResult: enum: - succeeded - failed - denied - ignored type: string x-enum-varnames: - AuditResultSucceeded - AuditResultFailed - AuditResultDenied - AuditResultIgnored github_com_addp_system_internal_iam.AuditRiskLevel: enum: - low - medium - high - critical type: string x-enum-varnames: - AuditRiskLow - AuditRiskMedium - AuditRiskHigh - AuditRiskCritical github_com_addp_system_internal_iam.AuditSummary: properties: denied: type: integer failed: type: integer high_risk: type: integer ignored: type: integer succeeded: type: integer total: type: integer type: object github_com_addp_system_internal_iam.ContextType: enum: - platform - tenant type: string x-enum-varnames: - ContextTypePlatform - ContextTypeTenant github_com_addp_system_internal_iam.DepartmentMembershipType: enum: - primary - additional type: string x-enum-varnames: - DepartmentMembershipTypePrimary - DepartmentMembershipTypeAdditional github_com_addp_system_internal_iam.DepartmentRelationRole: enum: - member - leader type: string x-enum-varnames: - DepartmentRelationRoleMember - DepartmentRelationRoleLeader github_com_addp_system_internal_iam.DepartmentStatus: enum: - active - disabled type: string x-enum-varnames: - DepartmentStatusActive - DepartmentStatusDisabled github_com_addp_system_internal_iam.DevelopFileCreateApprovalContext: properties: actor_principal_id: type: string approval: $ref: '#/definitions/github_com_addp_system_internal_iam.DevelopFileCreateApprovalReceipt' authorization_expires_at: type: string authorization_id: type: string execution_id: type: string expected_attempt: type: integer observed_at: type: string scope_digest: type: string state: type: string target: $ref: '#/definitions/execution.DevelopBoundFileTarget' tenant_id: type: string type: object github_com_addp_system_internal_iam.DevelopFileCreateApprovalReceipt: properties: approval_id: type: string approved_at: type: string expires_at: type: string type: object github_com_addp_system_internal_iam.EmergencySessionApproval: properties: approved_at: type: string display_name: type: string principal_id: example: "" type: string reason: type: string role_key: type: string type: object github_com_addp_system_internal_iam.EmergencySessionRequest: properties: approval_expires_at: type: string approvals: items: $ref: '#/definitions/github_com_addp_system_internal_iam.EmergencySessionApproval' type: array approved_at: type: string close_reason: type: string closed_by_principal_id: example: "" type: string effective_state: type: string execute_before: type: string executed_at: type: string execution_id: type: string executor_membership_id: example: "" type: string executor_name: type: string executor_principal_id: example: "" type: string id: type: string incident_reference: type: string outcome: type: string reason: type: string requested_at: type: string status: type: string target_family_id: example: "" type: string target_membership_id: example: "" type: string target_name: type: string target_principal_id: example: "" type: string tenant_id: example: "" type: string tenant_name: type: string version: example: "" type: string type: object github_com_addp_system_internal_iam.LocalAccountStatus: enum: - active - locked - disabled type: string x-enum-varnames: - LocalAccountStatusActive - LocalAccountStatusLocked - LocalAccountStatusDisabled github_com_addp_system_internal_iam.OAuthClientStatus: enum: - active - disabled type: string x-enum-varnames: - OAuthClientStatusActive - OAuthClientStatusDisabled github_com_addp_system_internal_iam.OrganizationMembershipStatus: enum: - active - ended type: string x-enum-varnames: - OrganizationMembershipStatusActive - OrganizationMembershipStatusEnded github_com_addp_system_internal_iam.PrincipalStatus: enum: - active - suspended - deactivated type: string x-enum-varnames: - PrincipalStatusActive - PrincipalStatusSuspended - PrincipalStatusDeactivated github_com_addp_system_internal_iam.PrincipalType: enum: - user - service_principal type: string x-enum-varnames: - PrincipalTypeUser - PrincipalTypeServicePrincipal github_com_addp_system_internal_iam.PrivilegedChangeStatus: enum: - pending - approved - rejected - cancelled - applied type: string x-enum-varnames: - PrivilegedChangeStatusPending - PrivilegedChangeStatusApproved - PrivilegedChangeStatusRejected - PrivilegedChangeStatusCancelled - PrivilegedChangeStatusApplied github_com_addp_system_internal_iam.PrivilegedChangeType: enum: - platform_identity_suspend - platform_identity_reactivate - platform_identity_deactivate - platform_role_grant - platform_role_revoke - platform_role_replace - platform_credential_recovery type: string x-enum-varnames: - PrivilegedChangePlatformIdentitySuspend - PrivilegedChangePlatformIdentityReactivate - PrivilegedChangePlatformIdentityDeactivate - PrivilegedChangePlatformRoleGrant - PrivilegedChangePlatformRoleRevoke - PrivilegedChangePlatformRoleReplace - PrivilegedChangePlatformCredentialRecovery github_com_addp_system_internal_iam.ProjectGroupRelationRole: enum: - member - leader - coordinator type: string x-enum-varnames: - ProjectGroupRelationRoleMember - ProjectGroupRelationRoleLeader - ProjectGroupRelationRoleCoordinator github_com_addp_system_internal_iam.ProjectGroupStatus: enum: - active - closed type: string x-enum-varnames: - ProjectGroupStatusActive - ProjectGroupStatusClosed github_com_addp_system_internal_iam.TenantInvitationStatus: enum: - pending - accepted - revoked - expired type: string x-enum-varnames: - TenantInvitationStatusPending - TenantInvitationStatusAccepted - TenantInvitationStatusRevoked - TenantInvitationStatusExpired github_com_addp_system_internal_iam.TenantMembershipSource: enum: - manual - invitation - idp_jit - directory_sync - bootstrap type: string x-enum-varnames: - TenantMembershipSourceManual - TenantMembershipSourceInvitation - TenantMembershipSourceIDPJIT - TenantMembershipSourceDirectorySync - TenantMembershipSourceBootstrap github_com_addp_system_internal_iam.TenantMembershipStatus: enum: - active - suspended - ended type: string x-enum-varnames: - TenantMembershipStatusActive - TenantMembershipStatusSuspended - TenantMembershipStatusEnded github_com_addp_system_internal_iam.TenantStatus: enum: - active - suspended - closed type: string x-enum-varnames: - TenantStatusActive - TenantStatusSuspended - TenantStatusClosed github_com_addp_system_internal_infraconfig.Component: properties: id: type: string observed_at: type: string parameters: items: $ref: '#/definitions/github_com_addp_system_internal_infraconfig.Parameter' type: array provider: type: string status: type: string type: object github_com_addp_system_internal_infraconfig.Outcome: properties: application: enum: - confirmed - unconfirmed type: string audit_recorded: type: boolean current: $ref: '#/definitions/github_com_addp_system_internal_infraconfig.Parameter' failure_stage: enum: - write - reload - persist - verify type: string persistence: enum: - confirmed - unconfirmed - not_attempted type: string previous_value: type: string requested_value: type: string type: object github_com_addp_system_internal_infraconfig.Parameter: properties: activation: type: string editable: type: boolean name: type: string pending_restart: type: boolean source: type: string unit: type: string value: type: string type: object github_com_addp_system_internal_models.APIConsumer: properties: created_at: type: string created_by_principal_id: type: integer credentials: items: $ref: '#/definitions/github_com_addp_system_internal_models.APIConsumerCredential' type: array description: type: string id: type: integer name: type: string rate_limit_per_minute: type: integer service_grants: items: $ref: '#/definitions/github_com_addp_system_internal_models.APIConsumerServiceGrant' type: array status: type: string tenant_id: type: integer updated_at: type: string type: object github_com_addp_system_internal_models.APIConsumerCredential: properties: api_consumer_id: type: integer created_at: type: string created_by_principal_id: type: integer expires_at: type: string id: type: integer key_prefix: type: string last_used_at: type: string name: type: string plain_text_credential: type: string revoked_at: type: string revoked_by_principal_id: type: integer status: type: string type: object github_com_addp_system_internal_models.APIConsumerCredentialValidationResponse: properties: api_consumer_id: type: integer api_consumer_name: type: string expires_at: type: string rate_limit_per_minute: type: integer service_grants: items: $ref: '#/definitions/github_com_addp_system_internal_models.APIConsumerServiceReference' type: array tenant_id: type: integer valid: type: boolean type: object github_com_addp_system_internal_models.APIConsumerServiceGrant: properties: api_consumer_id: type: integer created_at: type: string id: type: integer service_id: type: integer service_type: type: string type: object github_com_addp_system_internal_models.APIConsumerServiceReference: properties: service_id: type: integer service_type: enum: - query type: string required: - service_id - service_type type: object github_com_addp_system_internal_models.CapabilitiesView: properties: json_view: items: $ref: '#/definitions/github_com_addp_common_models.CapabilityJSONNode' type: array sections: items: $ref: '#/definitions/github_com_addp_common_models.CapabilityViewSection' type: array summary: items: $ref: '#/definitions/github_com_addp_common_models.CapabilityViewBadge' type: array type: object github_com_addp_system_internal_models.CleanupModuleExecution: properties: attempt: type: integer bytes_read: type: integer bytes_written: type: integer cleanup_admission: $ref: '#/definitions/execution.CleanupAdmissionView' completed_at: type: string created_at: type: string current_step: type: string diagnostics_truncated: type: boolean error_details: $ref: '#/definitions/models.JSONMap' execution_boundary: type: string execution_id: type: string execution_time_ms: type: integer id: type: integer max_attempts: type: integer metadata: $ref: '#/definitions/models.JSONMap' module: type: string parent_execution_id: type: string progress: type: integer receipt: $ref: '#/definitions/execution.CleanupReceipt' records_read: type: integer records_written: type: integer retry_of_execution_id: type: string rows_affected: type: integer source: type: string source_task_id: type: string source_task_name: type: string started_at: type: string status: type: string steps: items: $ref: '#/definitions/execution.DiagnosticStep' type: array steps_attempt_unverified: type: boolean steps_truncated: type: boolean task_type: type: string trigger_type: type: string triggered_by: type: integer updated_at: type: string type: object github_com_addp_system_internal_models.CleanupTask: properties: action: type: string based_on_scan: type: string cause_event: type: string cleanup_mode: type: string completed_at: type: string context: $ref: '#/definitions/events.CleanupContext' created_at: type: string execution_id: type: string expected_modules: items: type: string type: array requested_by: type: integer started_at: type: string status: type: string task_id: type: string tenant_id: type: integer timeout_at: type: string trigger_type: type: string type: object github_com_addp_system_internal_models.ConfigurationManagementEntryView: properties: available: type: boolean frontend_route: type: string id: type: string module_status: type: string owner_module: type: string read_permission: type: string scope_types: items: type: string type: array update_permission: type: string type: object github_com_addp_system_internal_models.ConnectionInfo: additionalProperties: true type: object github_com_addp_system_internal_models.CreateAPIConsumerCredentialRequest: properties: expires_at: type: string name: maxLength: 120 type: string type: object github_com_addp_system_internal_models.CreateAPIConsumerRequest: properties: description: maxLength: 500 type: string name: maxLength: 120 type: string rate_limit_per_minute: maximum: 100000 minimum: 1 type: integer service_grants: items: $ref: '#/definitions/github_com_addp_system_internal_models.APIConsumerServiceReference' minItems: 1 type: array required: - name - service_grants type: object github_com_addp_system_internal_models.DeploymentDiscovery: properties: candidates: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentCandidate' type: array scopes: items: $ref: '#/definitions/github_com_addp_system_internal_models.DeploymentDiscoveryScope' type: array type: object github_com_addp_system_internal_models.DeploymentDiscoveryScope: properties: observed_at: type: string reason: type: string schema: type: string scope: type: string services: items: $ref: '#/definitions/github_com_addp_system_internal_models.DiscoveredDeploymentService' type: array source: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentSource' state: type: string type: object github_com_addp_system_internal_models.DiscoveredDeploymentContainer: properties: container_id: type: string published_ports: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentPort' type: array restart_count: type: integer started_at: type: string status: type: string type: object github_com_addp_system_internal_models.DiscoveredDeploymentService: properties: containers: items: $ref: '#/definitions/github_com_addp_system_internal_models.DiscoveredDeploymentContainer' type: array engine_type: type: string service: type: string type: object github_com_addp_system_internal_models.Engine: properties: capabilities: description: 能力声明(JSONB) type: string capabilities_view: allOf: - $ref: '#/definitions/github_com_addp_common_models.CapabilitiesView' description: System 后端生成的能力展示模型 check_message: description: 检测结果消息(错误信息等) type: string connection_info: $ref: '#/definitions/github_com_addp_common_models.ConnectionInfo' connection_status: description: 最近连接检测结果缓存(优化扫描性能,不代表持续保持的物理连接) type: string created_at: description: 时间戳字段 type: string created_by: type: integer deleted_at: type: string deleted_by: type: integer deletion_error: type: string deletion_execute_task_id: type: string deletion_requested_at: type: string deletion_requested_by: type: integer deletion_scan_task_id: type: string description: type: string engine_origin: description: 引擎来源:general 或 extension type: string engine_type: description: 引擎类型(postgresql, mysql, acme_geo_workflow 等) type: string external_artifact_policy: type: string id: type: integer is_builtin: description: 扩展引擎字段 type: boolean last_check_at: description: 上次检测时间 type: string lifecycle_state: type: string name: description: 显示名称(原 display_name) type: string restored_at: type: string restored_by: type: integer server_version: description: ServerVersion 最近一次成功探测的原生产品版本(只读)。| Last successfully observed native product version (read-only). type: string server_version_checked_at: description: ServerVersionCheckedAt 成功版本探测时间(只读),不等同于最近连接检测时间。| Version observation time (read-only), independent of the latest connection check. type: string tenant_id: description: 租户ID,平台共享引擎为 null type: integer updated_at: type: string version: type: integer type: object github_com_addp_system_internal_models.EngineCatalogDescribeFactsRequest: properties: path: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogPath' type: object github_com_addp_system_internal_models.EngineCatalogEntry: properties: kind: example: namespace type: string leaf_count: type: integer name: example: public type: string path: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogPath' role: example: branch type: string storage: $ref: '#/definitions/plugin.EngineCatalogStorageFacts' table: $ref: '#/definitions/datatype.TableInfo' term: example: schema type: string updated_at: type: string type: object github_com_addp_system_internal_models.EngineCatalogListChildrenRequest: properties: options: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogListOptions' path: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogPath' type: object github_com_addp_system_internal_models.EngineCatalogListChildrenResponse: properties: nodes: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogEntry' type: array type: object github_com_addp_system_internal_models.EngineCatalogListOptions: properties: limit: example: 100 type: integer offset: example: 0 type: integer recursive: example: false type: boolean type: object github_com_addp_system_internal_models.EngineCatalogPath: properties: engine_id: example: 1 type: integer segments: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogSegment' type: array version: example: catalog.path/v1 type: string type: object github_com_addp_system_internal_models.EngineCatalogSegment: properties: kind: example: namespace type: string name: example: public type: string term: example: schema type: string type: object github_com_addp_system_internal_models.EngineCatalogSelector: properties: capabilities: type: object connection_status: type: string engine_origin: type: string engine_type: type: string id: type: integer lifecycle_state: type: string name: type: string type: object github_com_addp_system_internal_models.EngineConnectionProbe: properties: operators_count: example: 8 type: integer runtime_protocol: example: addp.workflow/v1 type: string server_version: example: HighGo Database Management System 4.5 on aarch64,build on 20250227 type: string type: object github_com_addp_system_internal_models.EngineConnectionTestRequest: properties: connection_info: $ref: '#/definitions/github_com_addp_system_internal_models.ConnectionInfo' type: object github_com_addp_system_internal_models.EngineConnectionTestResponse: properties: error: example: workflow runtime health check failed type: string message: example: 连接成功 type: string probe: $ref: '#/definitions/github_com_addp_system_internal_models.EngineConnectionProbe' success: example: true type: boolean type: object github_com_addp_system_internal_models.EngineCreateRequest: properties: capabilities: description: 能力声明JSON type: string connection_info: $ref: '#/definitions/github_com_addp_system_internal_models.ConnectionInfo' description: type: string engine_origin: description: 引擎来源:general/extension type: string engine_type: type: string name: description: 显示名称(中文或英文) type: string required: - connection_info - engine_type - name type: object github_com_addp_system_internal_models.EngineDeleteRequest: properties: assessment_id: type: string confirmation_token: type: string external_artifact_policy: type: string version: type: integer required: - assessment_id - confirmation_token - version type: object github_com_addp_system_internal_models.EngineDeletionAssessmentRequest: properties: external_artifact_policy: type: string request_id: type: string required: - request_id type: object github_com_addp_system_internal_models.EngineDeletionAssessmentResponse: properties: assessment_id: type: string type: object github_com_addp_system_internal_models.EngineDeployment: properties: created_at: type: string declared_node_id: type: string deployment_id: type: string display_name: type: string enabled: type: boolean engine_type: type: string host_binding_reason: type: string host_binding_state: type: string inventory: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentInventory' node_id: type: string scope: type: string updated_at: type: string version: type: integer type: object github_com_addp_system_internal_models.EngineDeploymentAdmissionItem: properties: declared_node_id: type: string display_name: type: string enabled: type: boolean fingerprint: type: string scope: type: string service: type: string required: - declared_node_id - display_name - enabled - fingerprint - scope - service type: object github_com_addp_system_internal_models.EngineDeploymentAdmissionRequest: properties: items: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentAdmissionItem' maxItems: 16 minItems: 1 type: array required: - items type: object github_com_addp_system_internal_models.EngineDeploymentAdmissionResponse: properties: data: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeployment' type: array type: object github_com_addp_system_internal_models.EngineDeploymentCandidate: properties: deployment_id: type: string eligible: type: boolean fingerprint: type: string reason: type: string scope: type: string service: type: string type: object github_com_addp_system_internal_models.EngineDeploymentContainer: properties: container_id: type: string published_ports: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentPort' type: array restart_count: type: integer started_at: type: string type: object github_com_addp_system_internal_models.EngineDeploymentInventory: properties: observed_at: type: string schema: type: string services: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentService' type: array source: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentSource' type: object github_com_addp_system_internal_models.EngineDeploymentPage: properties: data: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeployment' type: array page: type: integer page_size: type: integer total: type: integer total_pages: type: integer type: object github_com_addp_system_internal_models.EngineDeploymentPort: properties: address: type: string container_port: type: integer port: type: integer protocol: type: string type: object github_com_addp_system_internal_models.EngineDeploymentService: properties: containers: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentContainer' type: array engine_type: type: string service: type: string type: object github_com_addp_system_internal_models.EngineDeploymentSource: properties: docker_engine_id: type: string project: type: string runtime: type: string type: type: string type: object github_com_addp_system_internal_models.EngineDeploymentUpdateRequest: properties: declared_node_id: type: string display_name: type: string enabled: type: boolean version: type: integer required: - declared_node_id - display_name - enabled - version type: object github_com_addp_system_internal_models.EngineInstanceOverviewResponse: properties: engine_id: example: "" type: string metrics: items: $ref: '#/definitions/plugin.InstanceOverviewMetric' type: array queried_at: type: string version: type: integer type: object github_com_addp_system_internal_models.EngineRasterPolicy: properties: cache_mib: type: integer default_tenant_running: type: integer default_tenant_waiting: type: integer engine_id: type: integer running: type: integer version: type: integer waiting: type: integer type: object github_com_addp_system_internal_models.EngineRasterQuota: properties: engine_id: type: integer running: type: integer tenant_id: type: integer version: type: integer waiting: type: integer type: object github_com_addp_system_internal_models.EngineResponse: properties: capabilities: additionalProperties: true type: object capabilities_view: $ref: '#/definitions/github_com_addp_system_internal_models.CapabilitiesView' check_message: description: 检测结果消息(错误信息等) type: string connection_info: $ref: '#/definitions/github_com_addp_common_models.ConnectionInfo' connection_status: description: 最近连接检测结果缓存(优化扫描性能,不代表持续保持的物理连接) type: string created_at: description: 时间戳字段 type: string created_by: type: integer deleted_at: type: string deleted_by: type: integer deletion_error: type: string deletion_execute_task_id: type: string deletion_requested_at: type: string deletion_requested_by: type: integer deletion_scan_task_id: type: string description: type: string engine_origin: description: 引擎来源:general 或 extension type: string engine_type: description: 引擎类型(postgresql, mysql, acme_geo_workflow 等) type: string external_artifact_policy: type: string id: type: integer is_builtin: description: 扩展引擎字段 type: boolean last_check_at: description: 上次检测时间 type: string lifecycle_state: type: string name: description: 显示名称(原 display_name) type: string node_grant_root: $ref: '#/definitions/plugin.EngineCatalogPath' restored_at: type: string restored_by: type: integer server_version: description: ServerVersion 最近一次成功探测的原生产品版本(只读)。| Last successfully observed native product version (read-only). type: string server_version_checked_at: description: ServerVersionCheckedAt 成功版本探测时间(只读),不等同于最近连接检测时间。| Version observation time (read-only), independent of the latest connection check. type: string tenant_id: description: 租户ID,平台共享引擎为 null type: integer updated_at: type: string version: type: integer type: object github_com_addp_system_internal_models.EngineRestoreRequest: properties: capabilities: type: string confirm_same_engine: type: boolean connection_info: $ref: '#/definitions/github_com_addp_system_internal_models.ConnectionInfo' description: type: string name: type: string version: type: integer required: - connection_info - name - version type: object github_com_addp_system_internal_models.EngineRuntimeDescriptor: properties: capabilities: type: string connection_status: type: string description: type: string engine_origin: type: string engine_type: type: string id: type: integer is_builtin: type: boolean lifecycle_state: type: string name: type: string runtime_endpoint: $ref: '#/definitions/github_com_addp_common_models.EngineRuntimeEndpoint' type: object github_com_addp_system_internal_models.EngineUpdateRequest: properties: capabilities: description: 能力声明JSON type: string confirm_same_engine: description: 地址变更时确认仍为同一实际引擎 type: boolean connection_info: $ref: '#/definitions/github_com_addp_system_internal_models.ConnectionInfo' description: type: string lifecycle_state: type: string name: description: 显示名称 type: string version: type: integer required: - version type: object github_com_addp_system_internal_models.ErrorResponse: properties: error: example: invalid credentials type: string error_code: example: invalid_request type: string type: object github_com_addp_system_internal_models.HeartbeatRequest: properties: instance_id: type: string module_name: type: string required: - instance_id - module_name type: object github_com_addp_system_internal_models.HostNode: properties: addresses: items: type: string type: array allowed_module_bindings: items: $ref: '#/definitions/github_com_addp_system_internal_models.HostNodeModuleBinding' type: array created_at: type: string display_name: type: string enabled: type: boolean node_id: type: string node_kind: type: string updated_at: type: string version: type: integer type: object github_com_addp_system_internal_models.HostNodeInput: properties: addresses: items: type: string type: array allowed_module_bindings: items: $ref: '#/definitions/github_com_addp_system_internal_models.HostNodeModuleBinding' type: array display_name: type: string enabled: type: boolean node_kind: enum: - physical - virtual type: string required: - addresses - allowed_module_bindings - display_name - enabled - node_kind type: object github_com_addp_system_internal_models.HostNodeModuleBinding: properties: client_id: type: string module_name: type: string required: - client_id - module_name type: object github_com_addp_system_internal_models.HostNodePage: properties: data: items: $ref: '#/definitions/github_com_addp_system_internal_models.HostNode' type: array page: type: integer page_size: type: integer total: type: integer total_pages: type: integer type: object github_com_addp_system_internal_models.HostNodeUpdateRequest: properties: addresses: items: type: string type: array allowed_module_bindings: items: $ref: '#/definitions/github_com_addp_system_internal_models.HostNodeModuleBinding' type: array display_name: type: string enabled: type: boolean node_kind: enum: - physical - virtual type: string version: type: integer required: - addresses - allowed_module_bindings - display_name - enabled - node_kind - version type: object github_com_addp_system_internal_models.ModuleDeclarationCreate: properties: configuration_management: $ref: '#/definitions/configuration.ManagementDeclaration' module_name: maxLength: 50 type: string route_prefix: type: string task_provider: $ref: '#/definitions/models.TaskProviderDeclaration' required: - module_name - route_prefix type: object github_com_addp_system_internal_models.ModuleDeclarationUpdate: properties: configuration_management: $ref: '#/definitions/configuration.ManagementDeclaration' route_prefix: type: string task_provider: $ref: '#/definitions/models.TaskProviderDeclaration' version: type: integer required: - route_prefix - version type: object github_com_addp_system_internal_models.ModuleDeclarationView: properties: configuration_management: type: object declaration_published_at: type: string module_name: type: string route_prefix: type: string task_provider: type: object version: type: integer type: object github_com_addp_system_internal_models.ModuleDefinitionCreateRequest: properties: enabled: type: boolean module_name: enum: - catalog type: string required: - enabled - module_name type: object github_com_addp_system_internal_models.ModuleDefinitionUpdateRequest: properties: enabled: type: boolean version: type: integer required: - enabled - version type: object github_com_addp_system_internal_models.ModuleInfo: properties: configuration_management: $ref: '#/definitions/configuration.ManagementDeclaration' created_at: type: string enabled: type: boolean id: type: integer instances: items: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleRuntimeInstanceInfo' type: array module_name: type: string route_prefix: type: string task_provider: $ref: '#/definitions/models.TaskProviderDeclaration' updated_at: type: string version: type: integer type: object github_com_addp_system_internal_models.ModuleLogSource: properties: capture_started_at: type: string host_node_name: type: string instance_id: type: string module_name: type: string observed_at: type: string role: type: string type: object github_com_addp_system_internal_models.ModuleLogSourceNode: properties: complete: type: boolean node: type: string received_at: type: string sampled_at: type: string scan_issues: items: $ref: '#/definitions/runtimelog.SourceIssue' type: array type: object github_com_addp_system_internal_models.ModuleLogSourcePage: properties: data: items: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleLogSource' type: array discovery_issues: items: $ref: '#/definitions/runtimelog.SourceIssue' type: array discovery_state: type: string observation: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleLogSourceNode' page: type: integer page_size: type: integer total: type: integer total_pages: type: integer type: object github_com_addp_system_internal_models.ModuleRegistrationRequest: properties: health_check_url: type: string host_node_ips: items: type: string type: array host_node_name: type: string instance_id: type: string metadata: additionalProperties: true type: object module_name: type: string module_url: type: string node_id: type: string process_metrics: $ref: '#/definitions/models.ProcessMetricsDeclaration' process_started_at: type: string role: type: string runtime_hostname: type: string required: - instance_id - module_name - process_started_at - role type: object github_com_addp_system_internal_models.ModuleRuntimeInstanceInfo: properties: declared_node_id: type: string health_check_url: type: string host_node_ips: items: type: string type: array host_node_name: type: string id: type: integer instance_id: type: string last_heartbeat: type: string lease_expires_at: type: string metadata: additionalProperties: true type: object module_url: type: string node_binding_reason: type: string node_binding_state: type: string node_id: type: string process_metrics_declared: type: boolean process_started_at: type: string registered_at: type: string registered_host: type: string role: type: string runtime_hostname: type: string status: type: string stop_reason: type: string stopped_at: type: string updated_at: type: string type: object github_com_addp_system_internal_models.ModuleRuntimeInstanceRecord: properties: declared_node_id: type: string health_check_url: type: string host_node_ips: items: type: string type: array host_node_name: type: string id: type: integer instance_id: type: string last_heartbeat: type: string lease_expires_at: type: string metadata: additionalProperties: true type: object module_name: type: string module_url: type: string node_binding_reason: type: string node_binding_state: type: string node_id: type: string process_metrics_declared: type: boolean process_started_at: type: string registered_at: type: string registered_host: type: string role: type: string runtime_hostname: type: string status: type: string stop_reason: type: string stopped_at: type: string updated_at: type: string type: object github_com_addp_system_internal_models.ModuleStartupFailure: properties: failed_at: type: string module_name: type: string reason: enum: - build_failed - process_exited - readiness_timeout type: string type: object github_com_addp_system_internal_models.ModuleStartupFailuresResponse: properties: data: items: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleStartupFailure' type: array type: object github_com_addp_system_internal_models.RasterPolicyView: properties: effective_running: type: integer effective_waiting: type: integer policy: $ref: '#/definitions/github_com_addp_system_internal_models.EngineRasterPolicy' quota: $ref: '#/definitions/github_com_addp_system_internal_models.EngineRasterQuota' runtime: additionalProperties: true type: object type: object github_com_addp_system_internal_models.TaskStatusResponse: properties: action: type: string cutoff_at: type: string module_executions: items: $ref: '#/definitions/github_com_addp_system_internal_models.CleanupModuleExecution' type: array observed_at: type: string status: type: string summary: $ref: '#/definitions/github_com_addp_system_internal_models.TaskSummary' task: $ref: '#/definitions/github_com_addp_system_internal_models.CleanupTask' task_id: type: string type: object github_com_addp_system_internal_models.TaskSummary: properties: affected_records: type: integer deleted_physical_artifacts: type: integer deleted_task_definitions: type: integer disabled_task_definitions: type: integer error_count: type: integer freed_bytes: type: integer impact: $ref: '#/definitions/events.CleanupImpactSummary' impact_digest: type: string marked_missing_source: type: integer marked_outdated: type: integer risk_level: type: string scanned_items: type: integer skipped_items: type: integer type: object github_com_addp_system_internal_models.UpdateAPIConsumerRequest: properties: description: maxLength: 500 type: string name: maxLength: 120 type: string rate_limit_per_minute: maximum: 100000 minimum: 1 type: integer service_grants: items: $ref: '#/definitions/github_com_addp_system_internal_models.APIConsumerServiceReference' minItems: 1 type: array status: enum: - active - suspended type: string type: object github_com_addp_system_internal_service.RasterEngineSummary: properties: id: type: integer name: type: string type: object github_com_addp_system_internal_service.RuntimeLogResult: properties: collection_state: type: string entries: items: $ref: '#/definitions/runtimelog.Entry' type: array from: type: string has_more: type: boolean next_cursor: type: string outside_retention: type: boolean queried_at: type: string returned: type: integer to: type: string type: object github_com_addp_system_internal_service.RuntimeRasterPolicy: properties: policy: $ref: '#/definitions/github_com_addp_system_internal_models.EngineRasterPolicy' quotas: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineRasterQuota' type: array type: object internal_api.CreateEngineAccessDelegationRequest: properties: expires_at: type: string reason: type: string tenant_membership_id: type: string required: - expires_at - reason - tenant_membership_id type: object internal_api.CreateExecuteTaskRequest: properties: based_on_scan: description: 基于哪次扫描 type: string cleanup_mode: description: logical_cleanup/physical_cleanup type: string confirmation_token: description: 高风险或释放存储时要求输入 CONFIRM type: string confirmed: description: 管理员已确认评估结果和影响范围 type: boolean external_artifact_policy: description: 物理回收必须显式选择:delete/abandon enum: - delete - abandon type: string request_id: type: string required: - based_on_scan - cleanup_mode - request_id type: object internal_api.CreateExecuteTaskResponse: properties: task_id: type: string type: object internal_api.CreateIndependentEngineAccessGrantRequest: properties: action: enum: - read - metadata_read type: string catalog_path: $ref: '#/definitions/plugin.EngineCatalogPath' expected_boundary_hash: type: string expires_at: type: string expiry_mode: enum: - at_time - until_revoked type: string item_fingerprint: type: string node_recursive: type: boolean reason: type: string recipient_id: type: string recipient_type: enum: - user - department - project_group type: string request_id: type: string type: object internal_api.CreateScanTaskRequest: properties: request_id: type: string scope: description: 评估范围:已注册且启用资源回收执行方的模块;为空则由 System 按模块注册能力生成 items: type: string type: array required: - request_id type: object internal_api.CreateScanTaskResponse: properties: task_id: type: string type: object internal_api.EngineAccessDelegationResponse: properties: display_name: type: string effective_state: type: string engine_id: type: string engine_name: type: string expires_at: type: string grant_reason: type: string granted_at: type: string granted_by_principal_id: type: string id: type: string principal_id: type: string revoked_at: type: string revoked_by_principal_id: type: string revoked_reason: type: string status: type: string tenant_membership_id: type: string version: type: integer type: object internal_api.GetTaskHistoryResponse: properties: page: type: integer page_size: type: integer tasks: items: $ref: '#/definitions/github_com_addp_system_internal_models.CleanupTask' type: array total: type: integer type: object internal_api.GetTaskStatusResponse: properties: action: type: string cutoff_at: type: string module_executions: items: $ref: '#/definitions/github_com_addp_system_internal_models.CleanupModuleExecution' type: array observed_at: type: string status: type: string summary: $ref: '#/definitions/github_com_addp_system_internal_models.TaskSummary' task: $ref: '#/definitions/github_com_addp_system_internal_models.CleanupTask' task_id: type: string type: object internal_api.IAMAccessTokenResponse: properties: access_token: type: string expires_in: type: integer token_type: type: string type: object internal_api.IAMAdministratorChangeCandidateResponse: properties: display_name: type: string id: type: string mfa_enrolled: type: boolean role_key: type: string status: type: string type: object internal_api.IAMAdministratorChangeResponse: properties: applied_at: type: string change_type: $ref: '#/definitions/github_com_addp_system_internal_iam.PrivilegedChangeType' created_at: type: string decided_at: type: string expires_at: type: string governance_role_key: type: string id: type: string reason: type: string recovery_token: type: string requested_at: type: string requested_by_principal_id: type: string review: $ref: '#/definitions/internal_api.IAMAdministratorChangeReviewResponse' reviewer_role_key: type: string status: $ref: '#/definitions/github_com_addp_system_internal_iam.PrivilegedChangeStatus' successor_principal_id: type: string target_principal_id: type: string updated_at: type: string version: type: string type: object internal_api.IAMAdministratorChangeReviewResponse: properties: decided_at: type: string decision: type: string principal_id: type: string reason: type: string type: object internal_api.IAMAdministratorRecoveryEnrollmentResponse: properties: enrollment_token: type: string expires_at: type: string otpauth_uri: type: string secret: type: string type: object internal_api.IAMApproveDevelopFileCreateRequest: properties: expires_at: type: string scope_digest: type: string type: object internal_api.IAMAuditEventResponse: properties: context_type: $ref: '#/definitions/github_com_addp_system_internal_iam.ContextType' created_at: type: string details: additionalProperties: true type: object entity_id: type: string entity_type: type: string event_name: type: string http_method: type: string http_status: type: integer id: type: string ip_address: type: string module_name: type: string principal_id: type: string principal_type: $ref: '#/definitions/github_com_addp_system_internal_iam.PrincipalType' request_id: type: string resource_path: type: string result: $ref: '#/definitions/github_com_addp_system_internal_iam.AuditResult' risk_level: $ref: '#/definitions/github_com_addp_system_internal_iam.AuditRiskLevel' tenant_id: type: string user_agent: type: string type: object internal_api.IAMAuditTrendResponse: properties: date: type: string denied: type: integer failed: type: integer succeeded: type: integer total: type: integer type: object internal_api.IAMBeginAdministratorRecoveryRequest: properties: recovery_token: type: string type: object internal_api.IAMBeginMFAEnrollmentRequest: properties: current_password: type: string type: object internal_api.IAMBrowserLoginRequest: properties: password: type: string username: type: string type: object internal_api.IAMBrowserLoginResponse: properties: mfa: $ref: '#/definitions/internal_api.IAMMFAChallengeResponse' next_action: type: string selection: $ref: '#/definitions/internal_api.IAMContextSelectionChallengeResponse' session: $ref: '#/definitions/internal_api.IAMAccessTokenResponse' type: object internal_api.IAMCatalogReferenceBatchRequest: properties: references: items: $ref: '#/definitions/internal_api.IAMCatalogReferenceRequest' type: array type: object internal_api.IAMCatalogReferenceBatchResponse: properties: results: items: $ref: '#/definitions/internal_api.IAMCatalogReferenceResolution' type: array type: object internal_api.IAMCatalogReferenceCandidateResponse: properties: code: type: string id: type: string name: type: string status: type: string subject_type: type: string type: object internal_api.IAMCatalogReferenceRequest: properties: id: type: string subject_type: enum: - department - user - project_group type: string type: object internal_api.IAMCatalogReferenceResolution: properties: code: type: string found: type: boolean id: type: string membership_status: type: string name: type: string principal_status: type: string referenceable: type: boolean status: type: string subject_type: type: string type: object internal_api.IAMChangeCurrentPasswordRequest: properties: current_password: type: string new_password: type: string type: object internal_api.IAMChangeManagedUserStatusRequest: properties: reason: type: string type: object internal_api.IAMCleanupAccessRequest: properties: attempt: type: integer execution_id: type: string lease_token: type: string scope: $ref: '#/definitions/execution.CleanupAuthorizationScope' stage: type: string type: object internal_api.IAMCleanupAccessResponse: properties: attempt: type: integer authorization_id: type: string execution_id: type: string expires_at: type: string scope: $ref: '#/definitions/execution.CleanupAuthorizationScope' stage: type: string tenant_id: type: string type: object internal_api.IAMCleanupEngineConnectionRequest: properties: attempt: type: integer engine_id: type: string execution_id: type: string lease_token: type: string scope: $ref: '#/definitions/execution.CleanupAuthorizationScope' type: object internal_api.IAMCompleteAdministratorRecoveryRequest: properties: code: type: string enrollment_token: type: string password: type: string type: object internal_api.IAMCompleteMFAEnrollmentRequest: properties: code: type: string enrollment_token: type: string type: object internal_api.IAMCompleteMFAStepUpRequest: properties: challenge_token: type: string code: type: string type: object internal_api.IAMContextChoiceRequest: properties: context_type: type: string tenant_membership_id: type: string type: object internal_api.IAMContextOptionResponse: properties: current: type: boolean requires_step_up: type: boolean tenant_code: type: string tenant_id: type: string tenant_membership_id: type: string tenant_name: type: string type: type: string type: object internal_api.IAMContextOptionsResponse: properties: contexts: items: $ref: '#/definitions/internal_api.IAMContextOptionResponse' type: array type: object internal_api.IAMContextSelectionChallengeResponse: properties: contexts: items: $ref: '#/definitions/internal_api.IAMContextOptionResponse' type: array expires_at: type: string selection_ticket: type: string type: object internal_api.IAMContextSelectionRequest: properties: context_type: type: string selection_ticket: type: string tenant_membership_id: type: string type: object internal_api.IAMCreateAdministratorChangeRequest: properties: change_type: $ref: '#/definitions/github_com_addp_system_internal_iam.PrivilegedChangeType' reason: type: string successor_principal_id: type: string target_principal_id: type: string target_role_key: type: string type: object internal_api.IAMCreateDepartmentMembershipRequest: properties: membership_type: $ref: '#/definitions/github_com_addp_system_internal_iam.DepartmentMembershipType' relation_role: $ref: '#/definitions/github_com_addp_system_internal_iam.DepartmentRelationRole' tenant_membership_id: type: string type: object internal_api.IAMCreateDepartmentRequest: properties: code: type: string name: type: string parent_id: type: string type: object internal_api.IAMCreateManagedUserRequest: properties: display_name: type: string local_account: properties: password: type: string username: type: string type: object locale: type: string primary_email: type: string type: object internal_api.IAMCreateOAuthClientRequest: properties: display_name: type: string redirect_uris: items: type: string type: array type: object internal_api.IAMCreateProjectGroupMembershipRequest: properties: relation_role: $ref: '#/definitions/github_com_addp_system_internal_iam.ProjectGroupRelationRole' tenant_membership_id: type: string type: object internal_api.IAMCreateProjectGroupRequest: properties: code: type: string name: type: string type: object internal_api.IAMCreateServiceAccountRequest: properties: description: type: string name: type: string type: object internal_api.IAMCreateTenantInvitationRequest: properties: email: type: string type: object internal_api.IAMCreateTenantRequest: properties: code: type: string description: type: string initial_administrator_principal_id: type: string name: type: string type: object internal_api.IAMCreateTenantRoleAssignmentsRequest: properties: membership_id: type: string reason: type: string role_ids: items: type: string maxItems: 50 minItems: 1 type: array uniqueItems: true valid_until: type: string required: - role_ids type: object internal_api.IAMCreatedTenantInvitationResponse: properties: invitation: $ref: '#/definitions/internal_api.IAMTenantInvitationResponse' invitation_url: type: string type: object internal_api.IAMCurrentDepartmentResponse: properties: code: type: string id: type: string membership_type: type: string name: type: string path: items: $ref: '#/definitions/internal_api.IAMCurrentOrganizationReference' type: array relation_role: type: string type: object internal_api.IAMCurrentLocalAccountResponse: properties: username: type: string type: object internal_api.IAMCurrentOrganizationReference: properties: code: type: string id: type: string name: type: string type: object internal_api.IAMCurrentOrganizationResponse: properties: departments: items: $ref: '#/definitions/internal_api.IAMCurrentDepartmentResponse' type: array project_groups: items: $ref: '#/definitions/internal_api.IAMCurrentProjectGroupResponse' type: array tenant: $ref: '#/definitions/internal_api.IAMCurrentOrganizationReference' type: object internal_api.IAMCurrentProjectGroupResponse: properties: code: type: string id: type: string name: type: string relation_role: type: string type: object internal_api.IAMCurrentUserResponse: properties: created_at: type: string display_name: type: string id: type: string local_account: $ref: '#/definitions/internal_api.IAMCurrentLocalAccountResponse' locale: type: string primary_email: type: string updated_at: type: string type: object internal_api.IAMDelegationRequest: properties: agent_run_id: type: string audience: type: string rule_evaluation: $ref: '#/definitions/authorization.OntologyRuleEvaluation' scopes: items: type: string type: array tool_call_id: type: string type: object internal_api.IAMDelegationResponse: properties: access_token: type: string agent_run_id: type: string audience: type: string expires_in: type: integer scopes: items: type: string type: array token_type: type: string tool_call_id: type: string type: object internal_api.IAMDeleteTenantRoleRequest: properties: reason: type: string type: object internal_api.IAMDepartmentResponse: properties: code: type: string created_at: type: string id: type: string name: type: string parent_id: type: string status: $ref: '#/definitions/github_com_addp_system_internal_iam.DepartmentStatus' updated_at: type: string version: type: integer type: object internal_api.IAMEmergencySessionCreateRequest: properties: id: type: string incident_reference: type: string reason: type: string target_family_id: type: string target_principal_id: type: string type: object internal_api.IAMEmergencySessionExecuteRequest: properties: execution_id: type: string version: type: string type: object internal_api.IAMEmergencySessionReviewRequest: properties: reason: type: string version: type: string type: object internal_api.IAMErrorResponse: properties: error: type: string error_code: type: string type: object internal_api.IAMExecutionAuthorizationResponse: properties: accesses: items: $ref: '#/definitions/internal_api.IAMExecutionEngineAccessScope' type: array actor_principal_id: type: string audience: type: string execution_id: type: string expires_at: type: string id: type: string internal_task: $ref: '#/definitions/execution.InternalTaskScope' issued_authorization_version: type: string source_definition_id: type: string source_definition_version: type: string source_type: type: string tenant_id: type: string tenant_membership_id: type: string type: object internal_api.IAMExecutionEngineAccessRequest: properties: engine_id: type: string execution_id: type: string required_effects: items: type: string type: array type: object internal_api.IAMExecutionEngineAccessResponse: properties: audience: type: string authorization_id: type: string effects: items: type: string type: array engine: $ref: '#/definitions/github_com_addp_system_internal_models.Engine' engine_id: type: string execution_id: type: string expires_at: type: string runtime_registrar: type: string type: object internal_api.IAMExecutionEngineAccessScope: properties: effects: items: type: string type: array engine_id: type: string type: object internal_api.IAMExecutionSubjectRolesRequest: properties: attempt: type: integer execution_id: type: string lease_token: type: string type: object internal_api.IAMExecutionSubjectRolesResponse: properties: actor_principal_id: type: string attempt: type: integer authorization_id: type: string authorization_version: type: string execution_id: type: string expires_at: type: string observed_at: type: string owner: type: string role_keys: items: type: string type: array tenant_id: type: string tenant_membership_id: type: string type: object internal_api.IAMInitializeTenantRequest: properties: initial_administrator_principal_id: type: string type: object internal_api.IAMInternalTaskAccessRequest: properties: attempt: type: integer execution_id: type: string internal_task: $ref: '#/definitions/execution.InternalTaskScope' lease_token: type: string type: object internal_api.IAMInternalTaskAccessResponse: properties: attempt: type: integer audience: type: string authorization_id: type: string execution_id: type: string expires_at: type: string internal_task: $ref: '#/definitions/execution.InternalTaskScope' tenant_id: type: string type: object internal_api.IAMInvitationAcceptanceRequest: properties: invitation_secret: type: string type: object internal_api.IAMInvitationAcceptanceResponse: properties: invitation: $ref: '#/definitions/internal_api.IAMTenantInvitationResponse' session: $ref: '#/definitions/internal_api.IAMAccessTokenResponse' tenant_membership_id: type: string type: object internal_api.IAMInvitationRegistrationRequest: properties: display_name: type: string invitation_secret: type: string locale: type: string password: type: string username: type: string type: object internal_api.IAMIssueDevelopFileRequest: properties: execution_id: type: string intent_digest: type: string type: object internal_api.IAMIssueExecutionAuthorizationFromExecutionRequest: properties: accesses: items: $ref: '#/definitions/internal_api.IAMExecutionEngineAccessScope' type: array attempt: type: integer audience: type: string execution_id: type: string expires_in: type: integer lease_token: type: string parent_execution_id: type: string type: object internal_api.IAMIssueExecutionAuthorizationFromServiceDefinitionRequest: properties: accesses: items: $ref: '#/definitions/internal_api.IAMExecutionEngineAccessScope' type: array definition_id: type: string definition_version: type: string execution_id: type: string expires_in: type: integer type: object internal_api.IAMIssueExecutionAuthorizationRequest: properties: accesses: items: $ref: '#/definitions/internal_api.IAMExecutionEngineAccessScope' type: array audience: type: string execution_id: type: string expires_in: type: integer internal_task: $ref: '#/definitions/execution.InternalTaskScope' type: object internal_api.IAMIssueManagerProfileRequest: properties: execution_id: type: string expires_in: type: integer type: object internal_api.IAMIssueNotebookSessionAuthorizationRequest: properties: expires_in: type: integer session_id: type: string task_id: type: integer type: object internal_api.IAMIssuedManagerProfileResponse: properties: audience: type: string execution_id: type: string expires_at: type: string id: type: string source_read_scope: $ref: '#/definitions/execution.ManagerProfileReadScope' tenant_id: type: string type: object internal_api.IAMLifecycleReasonRequest: properties: reason: type: string type: object internal_api.IAMLocalAccountManagementResponse: properties: id: type: string mfa_reset_allowed: type: boolean password_reset_allowed: type: boolean status: $ref: '#/definitions/github_com_addp_system_internal_iam.LocalAccountStatus' totp_enrolled: type: boolean username: type: string type: object internal_api.IAMMFAChallengeResponse: properties: challenge_token: type: string expires_at: type: string method: type: string type: object internal_api.IAMMFAEnrollmentResponse: properties: enrollment_token: type: string expires_at: type: string otpauth_uri: type: string secret: type: string type: object internal_api.IAMMFAStatusResponse: properties: totp_enrolled: type: boolean type: object internal_api.IAMMFAVerificationRequest: properties: challenge_token: type: string code: type: string type: object internal_api.IAMManagedLocalAccountPasswordResetResponse: properties: authorization_version: type: string changed_at: type: string consumed_context_ticket_count: type: integer consumed_mfa_challenge_count: type: integer revoked_family_count: type: integer type: object internal_api.IAMManagedMFAResetResponse: properties: authorization_version: type: string consumed_context_ticket_count: type: integer consumed_mfa_challenge_count: type: integer consumed_mfa_enrollment_count: type: integer reset_at: type: string revoked_family_count: type: integer type: object internal_api.IAMManagedUserResponse: properties: authorization_version: type: string created_at: type: string display_name: type: string has_effective_platform_role: type: boolean id: type: string local_account: $ref: '#/definitions/internal_api.IAMLocalAccountManagementResponse' locale: type: string primary_email: type: string status: $ref: '#/definitions/github_com_addp_system_internal_iam.PrincipalStatus' updated_at: type: string type: object internal_api.IAMManagedUserStatusResponse: properties: revoked_family_count: type: integer user: $ref: '#/definitions/internal_api.IAMManagedUserResponse' type: object internal_api.IAMManagerProfileAccessRequest: properties: attempt: type: integer execution_id: type: string lease_token: type: string source_read_scope: $ref: '#/definitions/execution.ManagerProfileReadScope' type: object internal_api.IAMManagerProfileAccessResponse: properties: observed_at: type: string type: object internal_api.IAMNotebookEngineCatalogChildrenRequest: properties: engine_id: type: integer options: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogListOptions' path: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogPath' session_id: type: string type: object internal_api.IAMNotebookExecutionEngineAccessRequest: properties: engine_id: type: integer execution_id: type: string expires_in: type: integer session_id: type: string type: object internal_api.IAMNotebookSessionAuthorizationResponse: properties: expires_at: type: string id: type: string session_id: type: string task_id: type: integer type: object internal_api.IAMOAuthAuthorizationDecisionRequest: properties: decision: type: string request_id: type: string type: object internal_api.IAMOAuthAuthorizationDecisionResponse: properties: redirect_url: type: string type: object internal_api.IAMOAuthAuthorizationRequestResponse: properties: expires_in: type: integer request_id: type: string request_secret: type: string type: object internal_api.IAMOAuthAuthorizationRequestView: properties: client_id: type: string client_name: type: string expires_at: type: string request_id: type: string scope: type: string type: object internal_api.IAMOAuthClientResponse: properties: allowed_audiences: items: type: string type: array allowed_scopes: items: type: string type: array client_id: type: string client_type: type: string created_at: type: string created_by_principal_id: type: string display_name: type: string grant_types: items: type: string type: array owner_scope: type: string redirect_uris: items: type: string type: array response_types: items: type: string type: array status: $ref: '#/definitions/github_com_addp_system_internal_iam.OAuthClientStatus' token_endpoint_auth_method: type: string updated_at: type: string version: type: integer type: object internal_api.IAMOAuthDeviceDecisionRequest: properties: approve: type: boolean user_code: type: string type: object internal_api.IAMOAuthTokenResponse: properties: access_token: type: string expires_in: type: integer refresh_token: type: string scope: type: string token_type: type: string type: object internal_api.IAMOrganizationMembershipResponse: properties: created_at: type: string department_role: $ref: '#/definitions/github_com_addp_system_internal_iam.DepartmentRelationRole' display_name: type: string ended_at: type: string id: type: string membership_type: $ref: '#/definitions/github_com_addp_system_internal_iam.DepartmentMembershipType' principal_id: type: string project_group_role: $ref: '#/definitions/github_com_addp_system_internal_iam.ProjectGroupRelationRole' status: $ref: '#/definitions/github_com_addp_system_internal_iam.OrganizationMembershipStatus' tenant_membership_id: type: string updated_at: type: string username: type: string version: type: integer type: object internal_api.IAMPasswordRotationResponse: properties: changed_at: type: string revoked_family_count: type: integer type: object internal_api.IAMProjectGroupResponse: properties: code: type: string created_at: type: string description: type: string id: type: string name: type: string status: $ref: '#/definitions/github_com_addp_system_internal_iam.ProjectGroupStatus' updated_at: type: string version: type: integer type: object internal_api.IAMResetManagedLocalAccountPasswordRequest: properties: new_password: type: string reason: type: string type: object internal_api.IAMResetManagedMFARequest: properties: reason: type: string type: object internal_api.IAMReviewAdministratorChangeRequest: properties: reason: type: string version: type: string type: object internal_api.IAMRevokeNotebookSessionAuthorizationRequest: properties: session_id: type: string type: object internal_api.IAMRevokeTenantRoleAssignmentRequest: properties: reason: type: string type: object internal_api.IAMRoleAssignmentActorResponse: properties: display_name: type: string identifier: type: string principal_id: type: string principal_type: type: string status: type: string type: object internal_api.IAMSecurityPolicyResponse: properties: access_token_ttl_minutes: type: integer applied_version: type: integer delegated_access_token_ttl_minutes: type: integer oauth_authorization_code_ttl_minutes: type: integer oauth_device_code_ttl_minutes: type: integer oauth_device_poll_interval_seconds: type: integer oauth_public_rate_limit_per_minute: type: integer oauth_user_rate_limit_per_minute: type: integer pending_restart: type: boolean refresh_token_ttl_days: type: integer resource_access_ticket_ttl_minutes: type: integer tenant_invitation_ttl_hours: type: integer updated_at: type: string updated_by_principal_id: type: string version: type: integer type: object internal_api.IAMServiceAccountCredentialResponse: properties: client_id: type: string client_secret: type: string created_at: type: string created_by_principal_id: type: string credential_status: $ref: '#/definitions/github_com_addp_system_internal_iam.OAuthClientStatus' description: type: string id: type: string membership_id: type: string membership_status: $ref: '#/definitions/github_com_addp_system_internal_iam.TenantMembershipStatus' name: type: string owner_scope: enum: - platform - tenant type: string status: $ref: '#/definitions/github_com_addp_system_internal_iam.PrincipalStatus' updated_at: type: string version: type: integer type: object internal_api.IAMServiceAccountResponse: properties: client_id: type: string created_at: type: string created_by_principal_id: type: string credential_status: $ref: '#/definitions/github_com_addp_system_internal_iam.OAuthClientStatus' description: type: string id: type: string membership_id: type: string membership_status: $ref: '#/definitions/github_com_addp_system_internal_iam.TenantMembershipStatus' name: type: string owner_scope: enum: - platform - tenant type: string status: $ref: '#/definitions/github_com_addp_system_internal_iam.PrincipalStatus' updated_at: type: string version: type: integer type: object internal_api.IAMTaskAuthorizationSubjectRequest: properties: definition_hash: type: string owner_module: type: string task_ref: type: string task_type: type: string type: object internal_api.IAMTaskAuthorizationSubjectResponse: properties: authorization_version: type: string authorized_at: type: string definition_hash: type: string id: type: string owner_module: type: string principal_id: type: string task_ref: type: string task_type: type: string tenant_id: type: string tenant_membership_id: type: string type: object internal_api.IAMTenantAdministratorCandidateResponse: properties: display_name: type: string primary_email: type: string principal_id: type: string username: type: string type: object internal_api.IAMTenantAssignablePermissionResponse: properties: action: type: string allowed_scope_types: items: type: string type: array description_i18n_key: type: string name_i18n_key: type: string owner_module: type: string permission_key: type: string risk_level: type: string type: object internal_api.IAMTenantInvitationResponse: properties: accepted_at: type: string accepted_by_principal_id: type: string created_at: type: string created_by_principal_id: type: string email: type: string expired_at: type: string expires_at: type: string id: type: string revoked_at: type: string revoked_by_principal_id: type: string status: $ref: '#/definitions/github_com_addp_system_internal_iam.TenantInvitationStatus' tenant_id: type: string updated_at: type: string type: object internal_api.IAMTenantMembershipResponse: properties: created_at: type: string created_by_principal_id: type: string display_name: type: string ended_at: type: string expires_at: type: string id: type: string joined_at: type: string principal_id: type: string principal_status: $ref: '#/definitions/github_com_addp_system_internal_iam.PrincipalStatus' principal_type: $ref: '#/definitions/github_com_addp_system_internal_iam.PrincipalType' source_ref: type: string source_type: $ref: '#/definitions/github_com_addp_system_internal_iam.TenantMembershipSource' status: $ref: '#/definitions/github_com_addp_system_internal_iam.TenantMembershipStatus' updated_at: type: string username: type: string type: object internal_api.IAMTenantResponse: properties: code: type: string created_at: type: string description: type: string id: type: string initialized: type: boolean name: type: string status: $ref: '#/definitions/github_com_addp_system_internal_iam.TenantStatus' updated_at: type: string type: object internal_api.IAMTenantRoleAssignmentResponse: properties: created_at: type: string display_name: type: string effective_state: type: string grant_reason: type: string granted_by: $ref: '#/definitions/internal_api.IAMRoleAssignmentActorResponse' id: type: string membership_id: type: string principal_id: type: string principal_type: type: string revoked_at: type: string revoked_by: $ref: '#/definitions/internal_api.IAMRoleAssignmentActorResponse' revoked_reason: type: string role_id: type: string role_key: type: string role_name: type: string role_name_i18n_key: type: string same_scope_active_assignment_id: type: string scope_type: type: string service_principal_name: type: string source_type: type: string status: type: string username: type: string valid_from: type: string valid_until: type: string type: object internal_api.IAMTenantRoleRequest: properties: description: type: string name: type: string permission_keys: items: type: string type: array role_key: type: string type: object internal_api.IAMTenantRoleResponse: properties: allowed_principal_types: items: type: string type: array allowed_scope_types: items: type: string type: array description: type: string description_i18n_key: type: string id: type: string immutable: type: boolean name: type: string name_i18n_key: type: string permission_keys: items: type: string type: array role_key: type: string role_type: type: string type: object internal_api.IAMTenantStatusResponse: properties: affected_principals: type: integer revoked_family_count: type: integer tenant: $ref: '#/definitions/internal_api.IAMTenantResponse' type: object internal_api.IAMUpdateDepartmentMembershipRequest: properties: membership_type: $ref: '#/definitions/github_com_addp_system_internal_iam.DepartmentMembershipType' relation_role: $ref: '#/definitions/github_com_addp_system_internal_iam.DepartmentRelationRole' version: type: integer type: object internal_api.IAMUpdateDepartmentRequest: properties: name: type: string parent_id: type: string version: type: integer type: object internal_api.IAMUpdateManagedUserRequest: properties: display_name: type: string locale: type: string primary_email: type: string type: object internal_api.IAMUpdateOAuthClientRequest: properties: display_name: type: string redirect_uris: items: type: string type: array version: type: integer type: object internal_api.IAMUpdateProjectGroupMembershipRequest: properties: relation_role: $ref: '#/definitions/github_com_addp_system_internal_iam.ProjectGroupRelationRole' version: type: integer type: object internal_api.IAMUpdateProjectGroupRequest: properties: description: type: string name: type: string version: type: integer type: object internal_api.IAMUpdateSecurityPolicyRequest: properties: access_token_ttl_minutes: type: integer delegated_access_token_ttl_minutes: type: integer oauth_authorization_code_ttl_minutes: type: integer oauth_device_code_ttl_minutes: type: integer oauth_device_poll_interval_seconds: type: integer oauth_public_rate_limit_per_minute: type: integer oauth_user_rate_limit_per_minute: type: integer refresh_token_ttl_days: type: integer resource_access_ticket_ttl_minutes: type: integer tenant_invitation_ttl_hours: type: integer version: type: integer type: object internal_api.IAMUpdateServiceAccountRequest: properties: description: type: string name: type: string version: type: integer type: object internal_api.IAMUpdateTenantMembershipRequest: properties: expires_at: type: string type: object internal_api.IAMUpdateTenantRequest: properties: description: type: string name: type: string type: object internal_api.IAMVersionedLifecycleRequest: properties: reason: type: string version: type: integer type: object internal_api.InfraParameterApplyRequest: properties: value: maxLength: 32 type: string required: - value type: object internal_api.RasterPlatformUpdate: properties: cache_mib: type: integer default_tenant_running: type: integer default_tenant_waiting: type: integer running: type: integer version: type: integer waiting: type: integer required: - cache_mib - default_tenant_running - default_tenant_waiting - running - version - waiting type: object internal_api.RasterTenantUpdate: properties: running: description: Running 为 null 时继承平台默认值 | Null inherits the platform default. type: integer x-nullable: true version: type: integer waiting: description: Waiting 为 null 时继承平台默认值 | Null inherits the platform default. type: integer x-nullable: true required: - running - version - waiting type: object internal_api.RevokeEngineAccessGrantRequest: properties: reason: type: string required: - reason type: object internal_api.RuntimeEngineRegistrationRequest: properties: capabilities: type: string connection_info: additionalProperties: true type: object description: type: string engine_type: type: string is_builtin: description: 是否为内置引擎(对所有租户可见) type: boolean name: type: string required: - connection_info - engine_type - name type: object internal_api.RuntimeRasterPolicyRequest: properties: connection_info: $ref: '#/definitions/github_com_addp_system_internal_models.ConnectionInfo' required: - connection_info type: object models.AuditLogCreateRequest: properties: context_type: type: string details: additionalProperties: {} type: object entity_id: type: string entity_type: type: string event_name: type: string http_method: type: string http_status: type: integer ip_address: type: string module_name: type: string principal_id: type: string principal_type: type: string request_id: type: string resource_path: type: string result: type: string risk_level: type: string tenant_id: type: string user_agent: type: string type: object models.CgroupIdentity: properties: cgroup_id: type: string kernel_boot_id: type: string pid_namespace_id: type: string type: object models.ContainerProof: properties: container_id: type: string cpu_cores: type: number docker_engine_id: type: string hierarchy_digest: type: string identity: $ref: '#/definitions/models.CgroupIdentity' memory_bytes: type: integer module_name: type: string observed_at: type: string role: type: string stable_since: type: string started_at: type: string type: object models.EngineMetricsSource: properties: container_id: type: string endpoint: type: string started_at: type: string state: type: string type: object models.JSONMap: additionalProperties: true type: object models.ModuleRoutingEndpoint: properties: endpoint_id: type: string expires_at: type: string module_name: type: string url: type: string type: object models.ModuleRoutingSnapshot: properties: endpoints: items: $ref: '#/definitions/models.ModuleRoutingEndpoint' type: array observed_at: type: string revision: type: integer type: object models.ObservabilityComponentIdentity: properties: container_id: type: string docker_engine_id: type: string kind: type: string metrics: allOf: - $ref: '#/definitions/models.EngineMetricsSource' description: Reuse the fixed private metrics transport shape; this does not declare an engine. project: type: string started_at: type: string type: object models.ObservabilityComponentSnapshot: properties: items: items: $ref: '#/definitions/models.ObservabilityComponentIdentity' type: array state: type: string type: object models.ObservabilityEngineIdentity: properties: deployment_id: type: string engine_type: type: string metrics: $ref: '#/definitions/models.EngineMetricsSource' node_id: type: string scope: type: string source_key: $ref: '#/definitions/models.ObservabilityEngineSourceKey' version: type: integer type: object models.ObservabilityEngineSourceKey: properties: docker_engine_id: type: string project: type: string service: type: string type: object models.ObservabilityIdentitySnapshot: properties: engine_deployments: items: $ref: '#/definitions/models.ObservabilityEngineIdentity' type: array infrastructure_components: $ref: '#/definitions/models.ObservabilityComponentSnapshot' module_instances: items: $ref: '#/definitions/models.ObservabilityModuleIdentity' type: array nodes: items: $ref: '#/definitions/models.ObservabilityNodeIdentity' type: array observed_at: type: string runtime_metrics: items: $ref: '#/definitions/models.RuntimeMetricsIdentity' type: array service_groups: $ref: '#/definitions/models.ServiceGroupSnapshot' type: object models.ObservabilityModuleIdentity: properties: container: $ref: '#/definitions/models.ContainerProof' instance_id: type: string lease_expires_at: type: string module_name: type: string node_id: type: string process_metrics: $ref: '#/definitions/models.ProcessMetricsDeclaration' process_started_at: type: string role: type: string runtime_name: type: string type: object models.ObservabilityNodeIdentity: properties: node_id: type: string version: type: integer type: object models.ProcessMetricsDeclaration: properties: cgroup: $ref: '#/definitions/models.CgroupIdentity' endpoint: type: string schema_version: type: string type: object models.RuntimeMetricsDeclaration: properties: endpoint: type: string instance_id: type: string started_at: type: string type: object models.RuntimeMetricsIdentity: properties: endpoint: type: string engine_id: type: integer instance_id: type: string kind: type: string lease_expires_at: type: string started_at: type: string type: object models.ServiceGroupObservation: properties: changed_at: type: string desired_state: type: string expected_replicas: type: integer module_name: type: string online_replicas: type: integer reason: type: string registered_count: type: integer role: type: string runtime_name: type: string state: type: string type: object models.ServiceGroupSnapshot: properties: deployment_id: type: string groups: items: $ref: '#/definitions/models.ServiceGroupObservation' type: array observed_at: type: string reason: type: string revision: type: integer state: type: string type: object models.TaskProvider: properties: available: type: boolean backends: items: $ref: '#/definitions/models.TaskProviderBackend' type: array capabilities: description: 能力描述(JSON 格式,含 task.capabilities/v2、task_capabilities 等) type: string created_at: type: string description: description: 描述 type: string display_name: description: 显示名称 type: string enabled: type: boolean id: type: integer module_name: type: string module_version: type: integer task_cancel_endpoint: description: 任务取消端点 type: string task_detail_endpoint: description: 任务详情端点 type: string task_execute_endpoint: description: 任务执行端点 type: string task_list_endpoint: description: 任务列表端点 type: string task_status_endpoint: description: 任务状态端点 type: string unavailable_reason: type: string updated_at: type: string type: object models.TaskProviderBackend: properties: base_url: type: string instance_id: type: string lease_expires_at: type: string type: object models.TaskProviderDeclaration: properties: capabilities: description: 能力描述(JSON 格式,含 task.capabilities/v2、task_capabilities 等) type: string description: description: 描述 type: string display_name: description: 显示名称 type: string task_cancel_endpoint: description: 任务取消端点 type: string task_detail_endpoint: description: 任务详情端点 type: string task_execute_endpoint: description: 任务执行端点 type: string task_list_endpoint: description: 任务列表端点 type: string task_status_endpoint: description: 任务状态端点 type: string type: object plugin.AnalyticalCapability: properties: plan_versions: items: type: string type: array semantic_profiles: items: type: string type: array supported: type: boolean type: object plugin.ChangeStreamReadCapability: properties: partitioned: type: boolean pause_resume: type: boolean position_types: items: type: string type: array seek: type: boolean supported: type: boolean type: object plugin.ComputeCapabilities: properties: inference: $ref: '#/definitions/plugin.InferenceCapability' query: $ref: '#/definitions/plugin.QueryCapability' script: $ref: '#/definitions/plugin.ScriptCapability' workflow: $ref: '#/definitions/plugin.WorkflowCapability' type: object plugin.ConnectionConstraintSpec: properties: fields: items: type: string type: array kind: type: string message_key: type: string when: $ref: '#/definitions/plugin.ConnectionFieldCondition' type: object plugin.ConnectionFieldCondition: properties: field: type: string values: items: type: string type: array type: object plugin.ConnectionFieldOption: properties: label: type: string label_key: type: string value: type: string type: object plugin.ConnectionFieldSpec: properties: default: {} group_key: type: string hint_key: type: string identity: type: boolean input: type: string key: type: string label_key: type: string max: type: integer min: type: integer options: items: $ref: '#/definitions/plugin.ConnectionFieldOption' type: array placeholder: type: string placeholder_key: type: string required: type: boolean rows: type: integer sensitive: type: boolean visible_when: $ref: '#/definitions/plugin.ConnectionFieldCondition' type: object plugin.ConnectionSpec: properties: constraints: items: $ref: '#/definitions/plugin.ConnectionConstraintSpec' type: array default_port: type: integer fields: items: $ref: '#/definitions/plugin.ConnectionFieldSpec' type: array schema_version: type: string type: object plugin.ConstraintFacts: properties: constraint_type: type: string fields: items: type: string type: array name: type: string referenced_fields: items: type: string type: array referenced_namespace: type: string referenced_table: type: string type: object plugin.DecimalFieldLimits: properties: max_precision: type: integer max_scale: type: integer requires_explicit_precision_scale: type: boolean type: object plugin.EncodedRecordReadSessionCapability: properties: formats: items: type: string type: array type: object plugin.EngineCapabilities: properties: compute: $ref: '#/definitions/plugin.ComputeCapabilities' engine_family: type: string engine_type: type: string extensions: additionalProperties: true type: object instance_overview: type: boolean limits: $ref: '#/definitions/plugin.EngineLimits' schema_version: type: string storage: $ref: '#/definitions/plugin.StorageCapabilities' type: object plugin.EngineCatalogCapability: properties: node_kinds: items: type: string type: array real_time: type: boolean supported: type: boolean supports_filter: type: boolean supports_search: type: boolean system_filtering: type: boolean type: object plugin.EngineCatalogFacts: properties: constraints: items: $ref: '#/definitions/plugin.ConstraintFacts' type: array graph: $ref: '#/definitions/datatype.GraphInfo' indexes: items: $ref: '#/definitions/plugin.IndexFacts' type: array keyspace: $ref: '#/definitions/plugin.KeyspaceFacts' kind: type: string partitioning: $ref: '#/definitions/plugin.TablePartitioningFacts' path: $ref: '#/definitions/plugin.EngineCatalogPath' spatial: $ref: '#/definitions/datatype.SpatialInfo' storage: $ref: '#/definitions/plugin.EngineCatalogStorageFacts' table: $ref: '#/definitions/datatype.TableInfo' topic: $ref: '#/definitions/plugin.TopicFacts' updated_at: type: string type: object plugin.EngineCatalogFactsCapability: properties: constraints: type: boolean field_info: type: boolean indexes: type: boolean native_facts: type: boolean partitioning: type: boolean sampling: type: boolean spatial_facts: type: boolean statistics: type: boolean supported: type: boolean type: object plugin.EngineCatalogLevelSpec: properties: i18n_key: type: string kinds: items: type: string type: array optional: type: boolean role: type: string term: type: string type: object plugin.EngineCatalogModelSpec: properties: levels: items: $ref: '#/definitions/plugin.EngineCatalogLevelSpec' type: array path_version: type: string root_term: type: string type: object plugin.EngineCatalogPath: properties: engine_id: type: integer segments: items: $ref: '#/definitions/plugin.EngineCatalogSegment' type: array version: type: string type: object plugin.EngineCatalogSegment: properties: kind: type: string name: type: string term: type: string type: object plugin.EngineCatalogStorageFacts: properties: content_type: type: string etag: type: string extension: type: string name: type: string path: type: string size_bytes: type: integer type: object plugin.EngineLimits: properties: table_write: $ref: '#/definitions/plugin.TableWriteLimits' type: object plugin.EngineTypeDescriptor: properties: capabilities: $ref: '#/definitions/plugin.EngineCapabilities' catalog_model: $ref: '#/definitions/plugin.EngineCatalogModelSpec' connection_spec: $ref: '#/definitions/plugin.ConnectionSpec' display_name: type: string origin: type: string registration_group: description: 注册展示分组,不用于能力判断 | Registration display group, not a capability. type: string type: type: string type: object plugin.IndexFacts: properties: fields: items: type: string type: array index_type: type: string is_unique: type: boolean name: type: string type: object plugin.InferenceCapability: properties: modalities: items: type: string type: array operations: items: type: string type: array runtime_api: type: string streaming: type: boolean supported: type: boolean type: object plugin.InstanceOverviewMetric: properties: key: type: string scope: type: string scope_name: type: string semantics: type: string status: type: string unit: type: string value: example: "" type: string type: object plugin.KeyspaceFacts: properties: database: type: integer type: object plugin.NativeTableSpatialEncodingCapability: properties: geometry_read_encodings: items: type: string type: array geometry_write_encodings: items: type: string type: array native_spatial_functions: type: boolean read_transform: type: boolean write_transform: type: boolean type: object plugin.PartitionedTableChangeApplyCapability: properties: atomic_position_commit: type: boolean monotonic: type: boolean operations: items: type: string type: array position_types: items: type: string type: array supported: type: boolean type: object plugin.QueryCapability: properties: analytical: $ref: '#/definitions/plugin.AnalyticalCapability' default_language: type: string federation: $ref: '#/definitions/plugin.QueryFederationCapability' identifier_quotes: additionalProperties: type: string type: object languages: items: type: string type: array parameters: $ref: '#/definitions/plugin.QueryParameterCapability' read_only: type: boolean read_session: type: boolean result_kinds: items: type: string type: array supported: type: boolean supports_cancel: type: boolean supports_explain: type: boolean table_result: type: boolean type: object plugin.QueryFederationCapability: properties: execution_audience: type: string object_formats: items: type: string type: array runtime_api: type: string runtime_engine_type: type: string source_engine_types: items: type: string type: array supported: type: boolean target_engine_types: items: type: string type: array type: object plugin.QueryParameterCapability: properties: languages: items: type: string type: array supported: type: boolean types: items: type: string type: array type: object plugin.QueryReadSet: properties: paths: items: $ref: '#/definitions/plugin.EngineCatalogPath' type: array type: object plugin.ScriptCapability: properties: interactive: type: boolean languages: items: type: string type: array modes: items: type: string type: array supported: type: boolean type: object plugin.StorageCapabilities: properties: catalog: $ref: '#/definitions/plugin.EngineCatalogCapability' catalog_model: $ref: '#/definitions/plugin.EngineCatalogModelSpec' facts: $ref: '#/definitions/plugin.EngineCatalogFactsCapability' not_supported: items: type: string type: array semantics: items: type: string type: array store: $ref: '#/definitions/plugin.StoreCapability' type: object plugin.StoreCapability: properties: batch_read: type: boolean batch_write: type: boolean bounded_watermark_read: type: boolean change_stream_read: $ref: '#/definitions/plugin.ChangeStreamReadCapability' delete: type: boolean encoded_record_read_session: $ref: '#/definitions/plugin.EncodedRecordReadSessionCapability' key_value_read: type: boolean new_file_publication: type: boolean partitioned_table_change_apply: $ref: '#/definitions/plugin.PartitionedTableChangeApplyCapability' range_read: type: boolean range_write: type: boolean record_read_session: type: boolean stream_read: type: boolean stream_write: type: boolean table_read_session: type: boolean table_read_spatial_transform: type: boolean table_spatial_encoding: $ref: '#/definitions/plugin.NativeTableSpatialEncodingCapability' table_upsert: $ref: '#/definitions/plugin.TableUpsertCapability' table_write_prepare: type: boolean table_write_session: type: boolean type: object plugin.TablePartitioningFacts: properties: key_fields: items: type: string type: array partition_count: type: integer strategy: type: string subpartition_key_fields: items: type: string type: array subpartition_strategy: type: string type: object plugin.TableUpsertCapability: properties: idempotent: type: boolean supported: type: boolean type: object plugin.TableWriteLimits: properties: decimal: $ref: '#/definitions/plugin.DecimalFieldLimits' type: object plugin.TopicFacts: properties: partition_count: type: integer partitions: items: $ref: '#/definitions/plugin.TopicPartitionFacts' type: array replication_factor: type: integer type: object plugin.TopicPartitionFacts: properties: earliest_offset: type: integer isr: items: type: integer type: array latest_offset: type: integer leader: type: integer partition: type: integer replicas: items: type: integer type: array type: object plugin.WorkflowCapability: properties: dynamic_operators: type: boolean private_files_api: type: string runtime_api: type: string storage_access: $ref: '#/definitions/plugin.WorkflowStorageAccessCapability' supported: type: boolean supported_operator_mode: items: type: string type: array type: object plugin.WorkflowStorageAccessCapability: properties: read_engine_types: items: type: string type: array write_engine_types: items: type: string type: array type: object runtimelog.Entry: properties: channel: type: string entry_id: type: string event_time: type: string instance_id: type: string level: type: string message: type: string module_name: type: string node_name: type: string request_id: type: string role: type: string span_id: type: string stack: type: string timestamp: type: string trace_id: type: string truncated: type: boolean type: object runtimelog.Source: properties: capture_started_at: type: string host_node_name: type: string instance_id: type: string module_name: type: string observed_at: type: string role: type: string type: object runtimelog.SourceIssue: properties: code: type: string count: type: integer type: object runtimelog.SourceReport: properties: boot_id: type: string complete: type: boolean issues: items: $ref: '#/definitions/runtimelog.SourceIssue' type: array node: type: string sampled_at: type: string schema: type: string sequence: type: integer sources: items: $ref: '#/definitions/runtimelog.Source' type: array type: object host: localhost:8180 info: contact: {} title: ADDP System API version: "1.0" paths: /admin/cleanup/execute: post: consumes: - application/json description: |- 基于评估结果执行系统级资源回收;所有执行请求都必须确认,高风险或释放存储操作必须提供确认文本 CONFIRM,物理回收必须显式选择外部产物策略 delete 或 abandon | Execute system resource reclaim based on an assessment; every execution must be confirmed, high-risk or storage release operations require confirmation token CONFIRM, and physical reclaim requires an explicit external artifact policy of delete or abandon Meta清理须在同一次评估中显式包含Manager,否则409,范围不自动扩展。 | Meta cleanup requires Manager in the same assessment; otherwise 409, without automatic scope expansion. parameters: - description: 执行请求 | Execute request in: body name: request required: true schema: $ref: '#/definitions/internal_api.CreateExecuteTaskRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.CreateExecuteTaskResponse' "400": description: 错误信息 | Error message schema: type: string "401": description: 错误信息 | Error message schema: type: string "403": description: 错误信息 | Error message schema: type: string "409": description: 错误信息 | Error message schema: type: string "500": description: 错误信息 | Error message schema: type: string "503": description: 错误信息 | Error message schema: type: string security: - BearerAuth: [] summary: 创建资源回收执行任务 | Create resource reclaim execution task tags: - Resource Reclaim x-addp-auth-mode: permission x-addp-required-permissions: - system.cleanup.execute /admin/cleanup/history: get: description: 获取当前租户的资源回收任务历史记录 | Get resource reclaim task history for current tenant parameters: - default: 1 description: 页码 | Page in: query name: page type: integer - default: 20 description: 每页记录数 | Page size in: query name: page_size type: integer - description: 按父执行 UUID 精确筛选 | Exact parent execution UUID format: uuid in: query name: parent_execution_id type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.GetTaskHistoryResponse' "400": description: 错误信息 | Error message schema: type: string "401": description: 错误信息 | Error message schema: type: string "403": description: 错误信息 | Error message schema: type: string "409": description: 错误信息 | Error message schema: type: string "500": description: 错误信息 | Error message schema: type: string "503": description: 错误信息 | Error message schema: type: string security: - BearerAuth: [] summary: 获取资源回收任务历史 | Get resource reclaim task history tags: - Resource Reclaim x-addp-auth-mode: permission x-addp-required-permissions: - system.cleanup.read /admin/cleanup/scan: post: consumes: - application/json description: 评估当前租户的系统级资源回收候选;scope 为空时按已注册且启用资源回收执行方的模块生成 expected_modules | Assess system resource reclaim candidates for current tenant; when scope is empty, expected_modules is generated from registered resource reclaim executors parameters: - description: 扫描请求 | Scan request in: body name: request required: true schema: $ref: '#/definitions/internal_api.CreateScanTaskRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.CreateScanTaskResponse' "400": description: 错误信息 | Error message schema: type: string "401": description: 错误信息 | Error message schema: type: string "403": description: 错误信息 | Error message schema: type: string "409": description: 错误信息 | Error message schema: type: string "500": description: 错误信息 | Error message schema: type: string "503": description: 错误信息 | Error message schema: type: string security: - BearerAuth: [] summary: 创建资源回收评估任务 | Create resource reclaim assessment task tags: - Resource Reclaim x-addp-auth-mode: permission x-addp-required-permissions: - system.cleanup.execute /admin/cleanup/tasks/{task_id}: get: description: 查询指定资源回收任务的执行状态和结果 | Query execution status and results of a specified resource reclaim task parameters: - description: 任务ID | Task ID in: path name: task_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.GetTaskStatusResponse' "400": description: 错误信息 | Error message schema: type: string "401": description: 错误信息 | Error message schema: type: string "403": description: 错误信息 | Error message schema: type: string "404": description: 错误信息 | Error message schema: type: string "409": description: 错误信息 | Error message schema: type: string "500": description: 错误信息 | Error message schema: type: string "503": description: 错误信息 | Error message schema: type: string security: - BearerAuth: [] summary: 查询资源回收任务状态 | Get resource reclaim task status tags: - Resource Reclaim x-addp-auth-mode: permission x-addp-required-permissions: - system.cleanup.read /auth/administrator-recovery/completions: post: consumes: - application/json description: 验证新密码和TOTP后原子替换凭据,不签发会话或改变角色与暂停状态 | Atomically replace credentials after validating password and TOTP without issuing sessions or changing roles or suspension parameters: - description: 新凭据和登记证明 | New credentials and enrollment proof in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCompleteAdministratorRecoveryRequest' responses: "204": description: No Content summary: 完成管理员凭据重新登记 | Complete administrator credential recovery enrollment tags: - 平台权限治理 | Platform Authorization Governance x-addp-auth-mode: public /auth/administrator-recovery/enrollments: post: consumes: - application/json description: 使用双人批准的一次性恢复凭据,仅返回本次登记材料 | Consume a dual-approved recovery proof and return enrollment material once parameters: - description: 恢复凭据 | Recovery proof in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMBeginAdministratorRecoveryRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMAdministratorRecoveryEnrollmentResponse' summary: 开始管理员凭据重新登记 | Begin administrator credential recovery enrollment tags: - 平台权限治理 | Platform Authorization Governance x-addp-auth-mode: public /auth/context: get: produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/authorization.AuthContext' security: - BearerAuth: [] summary: 解析授权上下文 | Resolve authorization context tags: - 认证 | Authentication x-addp-auth-mode: authenticated /auth/context-options: get: produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMContextOptionsResponse' security: - BearerAuth: [] summary: 查询可切换上下文 | List switchable contexts tags: - 认证 | Authentication x-addp-auth-mode: self /auth/context-selections: post: consumes: - application/json parameters: - description: 上下文选择 | Context selection in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMContextSelectionRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMAccessTokenResponse' summary: 选择登录上下文 | Select sign-in context tags: - 认证 | Authentication x-addp-auth-mode: public /auth/context-switches: post: consumes: - application/json parameters: - description: 目标上下文 | Target context in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMContextChoiceRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMAccessTokenResponse' security: - BearerAuth: [] summary: 切换浏览器上下文 | Switch browser context tags: - 认证 | Authentication x-addp-auth-mode: self /auth/delegations: post: consumes: - application/json parameters: - description: 委托边界 | Delegation boundary in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMDelegationRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMDelegationResponse' security: - BearerAuth: [] summary: 签发受委托访问令牌 | Issue delegated access token tags: - 认证 | Authentication x-addp-auth-mode: authenticated /auth/execution-authorizations: post: consumes: - application/json description: 从当前 Tenant User Access Token 派生绑定唯一执行的短期授权;逐引擎范围与内部任务范围互斥,按范围动态复核功能权限 | Derive a short-lived authorization for one execution; per-engine scopes and internal task scope are mutually exclusive and dynamically require their functional permissions parameters: - description: 执行授权边界 | Execution authorization boundary in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMIssueExecutionAuthorizationRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMExecutionAuthorizationResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 签发执行授权 | Issue execution authorization tags: - 认证 | Authentication x-addp-auth-mode: permission x-addp-conditional-permissions: - develop.task.execute - develop.data_read.execute - develop.data_write.execute - develop.data_ddl.execute - develop.data_external_effect.execute - model.materialization.execute - quality.plan.execute - service.definition.create - service.data_read.execute - ontology.revision.publish x-addp-required-permissions: - system.execution_authorization.create /auth/execution-authorizations/develop-file-workflows: post: consumes: - application/json description: 当前普通 API User;独立读取 Owner 冻结 Intent 和 Meta basic 身份与逻辑边界,保存用途另核当前写执行权限,核当前人员、精确源规则和原 pending,封存同一 EA;不新增源 Grant 或目标写权 | Ordinary API User; independently reads frozen Owner intent and basic Meta identity and logical boundaries, requires current write-execution permission for saves, checks current actor, exact source rules and original pending execution, and seals one EA without source Grants or target write access parameters: - description: 原执行 UUID 与预期 Intent 摘要;正文 512 KiB,无 query | Original execution UUID and expected Intent digest; 512 KiB body, no query in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMIssueDevelopFileRequest' produces: - application/json responses: "201": description: 封存的来源读取范围 | Sealed source read scope schema: $ref: '#/definitions/client.IssuedDevelopFileAuthorization' "400": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 签发 Develop 精确文件执行授权 | Issue Develop exact file execution authorization tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-conditional-permissions: - develop.data_write.execute x-addp-required-permissions: - develop.task.execute - develop.data_read.execute /auth/execution-authorizations/filegdb-export: post: consumes: - application/json description: 从 Manager 创建的待执行 Transfer 导出读取冻结配置,由当前普通用户授权并核对 Meta 和当前 Grant。不接受调用方声明源表、用户或租户 | Read frozen configuration from the Manager-created pending Transfer export. Authorize the current ordinary user and check Meta and the current Grant. No caller-supplied source table, user or tenant parameters: - description: 执行 UUID 和可选有效期秒数 | Execution UUID and optional lifetime in seconds in: body name: request required: true schema: $ref: '#/definitions/client.IssueManagerFileAuthorizationRequest' produces: - application/json responses: "201": description: 精确源表执行授权 | Exact source table execution authorization schema: $ref: '#/definitions/client.IssuedFileGDBExportAuthorization' "400": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 签发 FileGDB 精确源表执行授权 | Issue FileGDB exact source table execution authorization tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - manager.derived_artifact.create - manager.data_item.read /auth/execution-authorizations/manager-model3d-glb: post: consumes: - application/json description: 仅当前普通第一方或 OAuth API User,按精确 pending execution 反查任务版本、完整配置和 Meta 文件组成,并核现行源规则。不接受自报身份或来源,不返回连接或凭据 | Current ordinary first-party or OAuth API User only. Resolve task version, complete configuration and Meta file composition from the exact pending execution and check current source rules. No caller-supplied identity or source, connections or credentials parameters: - description: 执行 UUID 与有效期秒数,默认900、最大3600;正文上限512 KiB,无query,拒绝未知或重复字段 | Execution UUID and TTL seconds, default 900, maximum 3600; 512 KiB body limit, no query, unknown or duplicate fields in: body name: request required: true schema: $ref: '#/definitions/client.IssueManagerFileAuthorizationRequest' produces: - application/json responses: "201": description: 固定完整配置和文件组成范围 | Frozen complete configuration and file composition scope schema: $ref: '#/definitions/client.IssuedManagerFileAuthorization' "400": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 签发 Manager 精确文件组成执行授权 | Issue Manager exact-file composition execution authorization tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - manager.derived_artifact.create - manager.data_item.read /auth/execution-authorizations/manager-profiles: post: consumes: - application/json description: 从当前普通 API User 和精确 pending execution 反查完整来源、配置及当前权限,不接受自报身份或范围;不返回连接或凭据 | Resolve complete sources, configuration and current permissions from an ordinary API User and exact pending execution; no caller-supplied identity or scope, connections or credentials parameters: - description: 执行 UUID 与有效期秒数,默认 900、最大 3600;正文上限 512 KiB,无 query | Execution UUID and TTL seconds, default 900, maximum 3600; 512 KiB body limit, no query in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMIssueManagerProfileRequest' produces: - application/json responses: "201": description: 固定只读来源范围 | Fixed read-only source boundary schema: $ref: '#/definitions/internal_api.IAMIssuedManagerProfileResponse' "400": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 签发 Manager 剖析执行授权 | Issue Manager profiling execution authorization tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - manager.data_profile.execute - manager.data_item.read /auth/execution-authorizations/manager-raster-cog: post: consumes: - application/json description: 仅当前普通第一方或 OAuth API User,按精确 pending execution 反查任务版本、完整配置和 Meta 文件组成,并核现行源规则。不接受自报身份或来源,不返回连接或凭据 | Current ordinary first-party or OAuth API User only. Resolve task version, complete configuration and Meta file composition from the exact pending execution and check current source rules. No caller-supplied identity or source, connections or credentials parameters: - description: 执行 UUID 与有效期秒数,默认900、最大3600;正文上限512 KiB,无query,拒绝未知或重复字段 | Execution UUID and TTL seconds, default 900, maximum 3600; 512 KiB body limit, no query, unknown or duplicate fields in: body name: request required: true schema: $ref: '#/definitions/client.IssueManagerFileAuthorizationRequest' produces: - application/json responses: "201": description: 固定完整配置和文件组成范围 | Frozen complete configuration and file composition scope schema: $ref: '#/definitions/client.IssuedManagerFileAuthorization' "400": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 签发 Manager 精确文件组成执行授权 | Issue Manager exact-file composition execution authorization tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - manager.derived_artifact.create - manager.data_item.read /auth/execution-authorizations/transfer-objects: post: consumes: - application/json description: 从当前用户的待执行 Transfer 单对象导入读取冻结配置,核对精确对象 Grant 与目标写入权限 | Read the current user frozen pending Transfer import and check exact object Grant and target write permission parameters: - description: 执行 UUID 和可选有效期秒数 | Execution UUID and optional lifetime in seconds in: body name: request required: true schema: $ref: '#/definitions/client.IssueManagerFileAuthorizationRequest' produces: - application/json responses: "201": description: 精确源对象执行授权 | Exact source object execution authorization schema: $ref: '#/definitions/client.IssuedTransferObjectAuthorization' "400": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 签发失败 | Issuance failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 签发 Transfer 单对象导入执行授权 | Issue Transfer single-object import execution authorization tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - transfer.task.execute - manager.data_item.read - develop.data_write.execute /auth/mfa: get: produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMMFAStatusResponse' security: - BearerAuth: [] summary: 查询当前用户 MFA 状态 | Get current user MFA status tags: - 认证 | Authentication x-addp-auth-mode: self /auth/mfa-verifications: post: consumes: - application/json parameters: - description: TOTP 验证 | TOTP verification in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMMFAVerificationRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMBrowserLoginResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' summary: 完成本地账号增强认证 | Complete local account MFA tags: - 认证 | Authentication x-addp-auth-mode: public /auth/mfa/step-up-challenges: post: produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMMFAChallengeResponse' security: - BearerAuth: [] summary: 开始会话增强认证 | Begin session step-up tags: - 认证 | Authentication x-addp-auth-mode: self /auth/mfa/step-up-verifications: post: consumes: - application/json parameters: - description: TOTP 验证 | TOTP verification in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCompleteMFAStepUpRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMAccessTokenResponse' security: - BearerAuth: [] summary: 完成会话增强认证 | Complete session step-up tags: - 认证 | Authentication x-addp-auth-mode: self /auth/mfa/totp-enrollment-verifications: post: consumes: - application/json parameters: - description: TOTP 验证 | TOTP verification in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCompleteMFAEnrollmentRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMAccessTokenResponse' security: - BearerAuth: [] summary: 完成 TOTP 登记 | Complete TOTP enrollment tags: - 认证 | Authentication x-addp-auth-mode: self /auth/mfa/totp-enrollments: post: consumes: - application/json parameters: - description: 当前密码 | Current password in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMBeginMFAEnrollmentRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMMFAEnrollmentResponse' security: - BearerAuth: [] summary: 开始 TOTP 登记 | Begin TOTP enrollment tags: - 认证 | Authentication x-addp-auth-mode: self /auth/notebook-session-authorizations: post: consumes: - application/json description: 从当前 Tenant User Access Token 派生绑定唯一 Notebook Session 和 Task 的短期会话授权事实 | Derive short-lived session authorization facts bound to one Notebook Session and Task from the current tenant user access token parameters: - description: Notebook 会话边界 | Notebook session boundary in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMIssueNotebookSessionAuthorizationRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMNotebookSessionAuthorizationResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 签发 Notebook 会话授权 | Issue Notebook session authorization tags: - 认证 | Authentication x-addp-auth-mode: permission x-addp-required-permissions: - develop.task.read - develop.notebook.update /auth/subject-roles: get: description: 仅第一方登录用户查询本人角色,包含无功能权限的业务角色;不授予权限,不支持指定其他主体或租户 | First-party users may observe only their own tenant roles, including roles without functional permissions; grants no access and accepts no subject or tenant selector produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/authorization.CurrentSubjectRoles' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查询本人当前租户角色 | Observe own current tenant roles tags: - 认证 | Authentication x-addp-auth-mode: self /auth/task-authorization-subjects: post: consumes: - application/json description: 从当前 Tenant User AuthContext 为一个版本化任务定义创建或替换任务授权主体,不保存 Access Token | Create or replace a task authorization subject for a versioned task definition from the current tenant user context without storing an access token parameters: - description: 任务定义身份 | Task definition identity in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMTaskAuthorizationSubjectRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTaskAuthorizationSubjectResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 授权持久任务主体 | Authorize a persisted task subject tags: - 认证 | Authentication x-addp-auth-mode: permission x-addp-conditional-permissions: - orchestrator.workflow.execute - transfer.task.execute x-addp-required-permissions: - system.execution_authorization.create /configuration-management/entries: get: produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/github_com_addp_system_internal_models.ConfigurationManagementEntryView' type: array "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查询当前上下文可见的配置管理入口 | List visible configuration management entries tags: - 配置管理 | Configuration Management x-addp-auth-mode: self /deployment/module_declarations: post: consumes: - application/json parameters: - description: 模块声明 | Module declaration in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleDeclarationCreate' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleDeclarationView' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 首次发布模块声明 | Create module declaration tags: - 部署声明 | Deployment declarations x-addp-auth-mode: permission x-addp-required-permissions: - system.module_declaration.publish /deployment/module_declarations/{module_name}: get: parameters: - description: 模块名称 | Module name in: path name: module_name required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleDeclarationView' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 读取本模块发布基线 | Get module declaration tags: - 部署声明 | Deployment declarations x-addp-auth-mode: permission x-addp-required-permissions: - system.module_declaration.publish put: consumes: - application/json parameters: - description: 模块名称 | Module name in: path name: module_name required: true type: string - description: 模块声明 | Module declaration in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleDeclarationUpdate' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleDeclarationView' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 按版本完整替换模块声明 | Update module declaration tags: - 部署声明 | Deployment declarations x-addp-auth-mode: permission x-addp-required-permissions: - system.module_declaration.publish /engine-access/metadata-checks/develop-navigation: post: consumes: - application/json description: 固定 develop.task.read 和原普通 User 凭据,沿当前个人及组织 Grant 核验候选存储引擎根;Meta事实返回后重核。不授予连接、查询执行或内容读取权 | Checks candidate storage roots using fixed develop.task.read and the original ordinary User, current personal and organization Grants, and a final recheck after Meta facts. Grants no connection, query execution or content access parameters: - description: 1 至 200 个存储引擎根 | 1 to 200 storage engine roots in: body name: request required: true schema: $ref: '#/definitions/authorization.SourceNavigationCheckRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/authorization.SourceMetadataCheck' "400": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 检查查询工作台来源引擎可见性 | Check query workbench source engine visibility tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - develop.task.read /engine-access/metadata-checks/manager-navigation: post: consumes: - application/json description: 当前用户的有效个人和组织 Grant 决定全部存储引擎的根可见性;沿现有精确项或已准入节点来源核验,跨 Meta 查询后重核。结果不包含授权来源、内容或可缓存许可 | Current personal and organization Grants determine all storage engine root visibility through existing exact-item or admitted node sources, rechecked after Meta queries. Returns no Grant provenance, content or reusable lease parameters: - description: 1 至 200 个引擎根 | 1 to 200 engine roots in: body name: request required: true schema: $ref: '#/definitions/authorization.SourceNavigationCheckRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/authorization.SourceMetadataCheck' "400": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 检查数据探查引擎可见性 | Check explorer engine visibility tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - manager.data_item.read /engine-access/metadata-checks/manager-object-preview: post: consumes: - application/json description: 当前 Tenant User 或唯一 manager audience、data.preview Scope 委托,固定核验 manager.data_item.read。单个存储叶子分别返回元数据可见和内容可读,隐藏项不返回指纹,不授予读取或可缓存许可;不改变 Meta 查询和检索资格 | Current Tenant User or sole manager audience and data.preview delegate; checks fixed manager.data_item.read. Observes metadata visibility and content readability for one storage leaf, hides invisible fingerprints and grants no read authority or cacheable lease. Meta query and search qualifications are unchanged parameters: - description: 单个类型化存储叶子,不支持 query 参数 | One typed storage leaf; no query parameters in: body name: request required: true schema: $ref: '#/definitions/authorization.SourceMetadataCheckRequest' produces: - application/json responses: "200": description: 当次预览可见性 | Current preview visibility schema: $ref: '#/definitions/authorization.SourceObjectPreviewCheck' "400": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 检查 Manager 对象预览可见性 | Check Manager object preview visibility tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - manager.data_item.read /engine-access/metadata-checks/manager-search: post: consumes: - application/json description: 接受当前 Tenant User 或唯一 manager audience 和 data.search Scope 的委托,固定核验 manager.search.execute。逐项返回元数据及内容读取裁决,仅用于当前检索 | Accepts a current Tenant User or a delegate with sole manager audience and data.search scope. Checks fixed manager.search.execute and returns per-target metadata and content decisions for the current search only parameters: - description: 0 至 200 个目标、查询随机量及显式可空的期望观察标记 | 0 to 200 targets, query nonce and explicitly nullable expected observation tag in: body name: request required: true schema: $ref: '#/definitions/authorization.SourceSearchCheckRequest' produces: - application/json responses: "200": description: 当次检索授权观察 | Current search access observation schema: $ref: '#/definitions/authorization.SourceSearchCheck' "400": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 检查 Manager 检索候选的当前可见性 | Check current visibility for Manager search candidates tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - manager.search.execute /engine-access/metadata-checks/meta-lineage: post: consumes: - application/json description: 仅当前 Tenant 第一方或 OAuth User,固定核验 meta.lineage.read 与当前元数据权限;拒绝委托、机器和资源票据。不返回服务可见性或可缓存许可 | Current Tenant first-party or OAuth User only; checks fixed meta.lineage.read and current metadata access. Rejects delegates, Service and resource tickets. Returns neither service visibility nor cacheable authority parameters: - description: 1 至 200 个完整目标 | 1 to 200 complete targets in: body name: request required: true schema: $ref: '#/definitions/authorization.SourceMetadataCheckRequest' produces: - application/json responses: "200": description: 当次可见性 | Current visibility schema: $ref: '#/definitions/authorization.SourceMetadataCheck' "400": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 检查血缘端点可见性 | Check lineage endpoint visibility tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - meta.lineage.read /engine-access/metadata-checks/meta-navigation: post: consumes: - application/json description: 当前租户用户按有效节点授权检查导航范围;精确项祖先由 Meta 从可见叶子保留。撤权和到期实时重核 | Current Tenant users check navigation ranges from active node grants. Meta retains ancestors of visible exact items. Revocation and expiry are checked on each request parameters: - description: 1 至 200 个规范节点 | 1 to 200 canonical nodes in: body name: request required: true schema: $ref: '#/definitions/authorization.SourceNavigationCheckRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/authorization.SourceMetadataCheck' "400": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 核验失败 | Check failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 检查元数据路径可见性 | Check metadata navigation visibility tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - meta.catalog.read /engine-access/metadata-checks/meta-query: post: consumes: - application/json description: |- 当前 Tenant 第一方或 OAuth API User,或唯一 meta audience 且仅含 resource.children.list 或 resource.ancestors.get 一种 Scope 的真实委托凭据;固定核验 meta.catalog.read 和可靠身份的 DataItem 当前规则。拒绝机器、资源票据、自报身份或边界 | Current Tenant first-party or OAuth API User, or a real delegate with sole meta audience and exactly one resource.children.list or resource.ancestors.get scope. Checks fixed meta.catalog.read and current rules for reliably identified DataItems. Rejects Service, Resource Ticket and caller-supplied identity or boundaries 每个候选只返回原目标及可见布尔值;不返回授权来源或拒绝原因,不授予内容读取或扫描权限,不构成可缓存许可。调用方须在分页计数及安全字段投影前应用结果 | Returns each original candidate and its visibility only, without rule sources or denial reasons. Grants neither content read nor scan authority and is not a cacheable lease. Consumers must apply results before pagination, counting and safe-field projection parameters: - description: 1 至 200 个不重复完整目标,不支持 query 参数 | 1 to 200 unique complete targets; no query parameters in: body name: request required: true schema: $ref: '#/definitions/authorization.SourceMetadataCheckRequest' produces: - application/json responses: "200": description: 当次可见性观察 | Current visibility observation schema: $ref: '#/definitions/authorization.SourceMetadataCheck' "400": description: 身份、边界或依赖核验失败 | Identity, boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 身份、边界或依赖核验失败 | Identity, boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 身份、边界或依赖核验失败 | Identity, boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 身份、边界或依赖核验失败 | Identity, boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 身份、边界或依赖核验失败 | Identity, boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 身份、边界或依赖核验失败 | Identity, boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 检查 Meta 查询候选的当前元数据可见性 | Check current metadata visibility for Meta query candidates tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - meta.catalog.read /engine-access/metadata-refresh-scopes/query: post: consumes: - application/json description: 仅 PG 与 NFS 的普通 User;node/item 核验扫描功能及当前个人与组织元数据/读取 Grant,并独立验证 Meta 身份;node 不接受引擎根。显式 engine 集中扫描必须具有引擎管理范围,可用于首次基础识别。精确项不扩大到父目录。结果不授予读取或可缓存扫描许可 | Ordinary User for PG and NFS only. Node/item checks scan function, current personal/organization metadata/read Grants and independent Meta identity; node rejects engine roots. Explicit centralized engine scans require engine management authority and may bootstrap basic identification. Exact items never expand to parents. The result grants neither read access nor a cacheable scan permission parameters: - description: 目标种类与类型化路径 | Target kind and typed path in: body name: request required: true schema: $ref: '#/definitions/authorization.MetadataRefreshQuery' produces: - application/json responses: "200": description: 当前最大刷新范围 | Current maximum refresh scope schema: $ref: '#/definitions/authorization.MetadataRefreshScope' "400": description: 核验失败 | Validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 核验失败 | Validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 核验失败 | Validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 核验失败 | Validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 核验失败 | Validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 核验失败 | Validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 核验失败 | Validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查询当前授权范围内的元数据刷新范围 | Query metadata refresh scope within current grants tags: - 元数据集中采集 | Centralized Metadata Collection x-addp-auth-mode: permission x-addp-required-permissions: - meta.scan_task.execute /engine-access/read-checks/develop-workflow-result: post: consumes: - application/json description: 仅当前普通 Tenant User,核验全部实际来源的当前 read Grant;不签发执行授权,不接受 Service、委托凭据或 expected_source。 | Current ordinary Tenant User only; recheck all actual source read grants without issuing execution authorization or accepting service/delegated credentials or expected_source. parameters: - description: 实际来源 ReadSet | Actual source ReadSet in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceReadCheckRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceReadCheck' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 检查 Develop 本人工作流结果的当前来源读取权 | Check current source read access for own Develop workflow results tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - develop.task.read - develop.data_read.execute /engine-access/read-checks/manager-pg-preview: post: consumes: - application/json description: 仅 addp-manager Tenant Service 可提交同次正式 DataItem 与完整 Provider ReadSet,System 在最终只读快照核验原用户、功能权限及当前 Grant;不重复查询 Meta,不签发访问权或缓存凭据。原用户可为普通 User 或严格限定 manager/data.preview 委托。 | Only addp-manager Tenant Service may submit same-request formal DataItem facts and the complete Provider ReadSet. System rechecks the original user, function permissions and current Grants in the final read-only snapshot without querying Meta or issuing authority. The original credential may be an ordinary User or a narrowly qualified manager/data.preview delegate. parameters: - description: 原用户凭据与完整 PG 读取事实,不记录或持久化凭据 | Original user credential and complete PG read facts; never log or persist the credential in: body name: request required: true schema: $ref: '#/definitions/client.ManagerPGReadCheckRequest' produces: - application/json responses: "200": description: 不可缓存的当次观察时刻 | Non-cacheable observation time schema: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceReadCheck' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核验 Manager PostgreSQL 预览范围 | Check Manager PostgreSQL preview coverage tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - system.manager_pg_read_check.execute /engine-access/read-checks/manager-pg-profile-result: post: consumes: - application/json description: 仅 addp-manager Tenant Service;使用实际历史结果冻结的完整 ReadSet 和同次正式 Meta 身份。最终重新核验原普通 User 及当前授权,不接受预览委托,不查询 Meta,不授予后台采样或 Grant 签发权限。 | Only addp-manager Tenant Service with the complete frozen historical result ReadSet and same-request formal Meta identity. Finally rechecks the original ordinary User and current authorization; no preview delegation, Meta query, background sampling authority or Grant issuance. parameters: - description: 原用户凭据与完整历史 PG 读取事实 | Original user credential and complete historical PG read facts in: body name: request required: true schema: $ref: '#/definitions/client.ManagerPGReadCheckRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceReadCheck' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核验 Manager PostgreSQL 剖析结果范围 | Check Manager PostgreSQL profile-result coverage tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - system.manager_pg_read_check.execute /engine-access/read-checks/transfer-field-recommendation: post: consumes: - application/json description: 当前普通租户用户对一张源表的当次 read Grant 检查,用于读表前及交付统计前,不签发访问凭据。 | Checks the current tenant user's read Grant for one table before scanning and before releasing statistics. Issues no credential. parameters: - description: 一张表的精确目录路径 | Exactly one native table path in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceReadCheckRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceReadCheck' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核对字段推荐源表读取权 | Check source table read access for Transfer field recommendations tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - transfer.task.create /engine-access/read-observations/current-source: post: consumes: - application/json description: |- 当前 Tenant 第一方或 OAuth API User,以及精确 manager audience 和唯一 data.preview Scope 的真实委托凭据;固定检查 manager.data_item.read,身份与完整源规则共用只读快照。不开放 Service、Resource Ticket 或其它 System API,无 Grant 整体拒绝,不接收自报身份、execution 或 Permission | Current Tenant first-party or OAuth API User, or a real delegated credential with exact manager audience and sole data.preview scope. Fixed manager.data_item.read and complete source rules share one read-only snapshot. Service, Resource Ticket and other System APIs remain unavailable; missing Grants reject the entire set; caller identity, execution and Permission are not accepted 成功仅为当次源规则观察,不是完整 Allow、访问令牌或可缓存凭据。此独立观察支持源离线时核查 Grant;PG 实际预览和剖析结果须使用 Manager 专用可信交接入口。本接口不访问源端或 Catalog | Success is a point-in-time source observation, not a complete Allow, access token or cacheable credential. It supports checking Grants while sources are offline; actual PG preview and profile-result reads require the dedicated Manager handoff. This endpoint accesses neither the source nor Catalog parameters: - description: 1 至 200 个完整读取目标;受管 FTP/NFS 模型结果须提交同次 expected_source 且仅限普通 User,不支持 query 参数 | 1 to 200 complete read targets; managed FTP/NFS model results require same-decision expected_source and ordinary User; no query parameters in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceReadCheckRequest' produces: - application/json responses: "200": description: 当次观察时刻,不授予访问权 | Observation time without granting access schema: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceReadCheck' "400": description: 身份、授权边界或依赖核验失败 | Identity, authorization boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 身份、授权边界或依赖核验失败 | Identity, authorization boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 身份、授权边界或依赖核验失败 | Identity, authorization boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 身份、授权边界或依赖核验失败 | Identity, authorization boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 身份、授权边界或依赖核验失败 | Identity, authorization boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 身份、授权边界或依赖核验失败 | Identity, authorization boundary or dependency validation failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 观察当前用户的精确源读取授权 | Observe current precise source read authorization for a user tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - manager.data_item.read /engine-access/read-observations/develop-query: post: consumes: - application/json description: |- 仅 addp-develop Tenant Service,首批限定 PostgreSQL/GaussDB。Provider 提供同次实际执行的完整来源,System 独立读取 Meta 正式身份后最终重核原用户、功能权限及全部当前 Grant。异步查询绑定原 EA 和当前执行租约;样例试读仅接收同次同步原用户凭据,不持久化或记录凭据。不签发 Grant、不返回连接、不授予可复用 Allow | Only addp-develop Tenant Service for PostgreSQL/GaussDB. Provider facts bind the actual execution. System resolves Meta facts before finally rechecking the original user, functions and all current Grants. Async queries require the original EA and current execution lease; sample reads use only the synchronous original user credential, never persisted or logged. No Grants, connections or reusable Allow are issued PostgreSQL 交互 Notebook 使用原会话派生执行授权及匹配的会话 ID,复核会话、令牌族和当前全部来源 | PostgreSQL interactive Notebook reads bind the derived execution authorization and matching session ID and recheck the session, token family and all current sources parameters: - description: 完整来源和固定执行边界 | Complete sources and fixed execution boundary in: body name: request required: true schema: $ref: '#/definitions/client.DevelopQueryReadRequest' produces: - application/json responses: "200": description: 当次观察和最晚边界,不得缓存为授权 | Point-in-time observation and upper deadline, not cacheable authority schema: $ref: '#/definitions/client.DevelopQueryReadObservation' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核验 Develop 查询的当前来源读取授权 | Observe current Develop query source read authorization tags: - 源数据读取检查 | Source Data Read Checks x-addp-auth-mode: permission x-addp-required-permissions: - system.develop_query_read_check.execute /engine-catalog/engines: get: description: 仅返回当前 Tenant 可见且声明实时 Catalog Model 的引擎最小选择投影,不包含连接信息或管理字段 | Return a minimal selection projection of visible engines declaring a live Catalog Model, without connection details or management fields parameters: - description: 引擎类型 | Engine type in: query name: engine_type type: string produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogSelector' type: array "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 获取目录选择用引擎列表 | List engines for catalog selection tags: - 引擎目录 | Engine Catalog x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_catalog.read /engine-types: get: description: 返回由内置插件声明的引擎类型、注册展示分组、连接表单、能力和 Catalog Model;响应不包含任何连接值或凭据 | Return engine types, registration display groups, connection forms, capabilities, and Catalog Models declared by compiled plugins; no connection values or credentials are included produces: - application/json responses: "200": description: 可注册引擎类型数组 | Registerable engine type array schema: items: $ref: '#/definitions/plugin.EngineTypeDescriptor' type: array "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 获取可注册引擎类型 | List registerable engine types tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.read /engines: get: consumes: - application/json description: 按当前 Tenant、引擎类型、能力分组、来源、内置状态和生命周期过滤,返回完整脱敏数组;System 管理页面在前端分页;User 与 Service Principal 使用同一契约 | Filter by current tenant, engine type, capability group, origin, builtin state, and lifecycle, then return the complete masked array; the System management page paginates client-side; users and service principals share the same contract parameters: - description: 引擎类型 | Engine type in: query name: engine_type type: string - description: '能力分组,逗号分隔:storage,compute | Comma-separated capability groups: storage,compute' in: query name: capability_groups type: string - description: '引擎来源,逗号分隔:general,extension | Comma-separated engine origins: general,extension' in: query name: engine_origins type: string - default: true description: 是否包含内置引擎 | Whether to include builtin engines in: query name: include_builtin type: boolean - default: active description: '生命周期,逗号分隔:active,disabled,deleting,deleted | Comma-separated lifecycle states: active,disabled,deleting,deleted' in: query name: lifecycle_states type: string produces: - application/json responses: "200": description: 完整引擎数组 | Complete engine array schema: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineResponse' type: array "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 获取引擎列表 | List engines tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.read post: consumes: - application/json description: 创建新的引擎连接;声明 addp.workflow/v1 的扩展工作流引擎会在保存前探测 /health 和 /api/operators | Create a new engine connection; addp.workflow/v1 workflow extensions are probed before save parameters: - description: 引擎信息 | Engine info in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCreateRequest' produces: - application/json responses: "200": description: 相同永久身份的幂等注册 | Idempotent registration of the same permanent identity schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineResponse' "201": description: Created schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 创建引擎 | Create engine tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.create /engines/{id}: delete: description: 必须引用已完成的影响评估并提交与引擎名称一致的确认文本;确认后引擎进入 deleting 并执行权威复扫 | Requires a completed impact assessment and a confirmation token equal to the engine name; the engine then enters deleting and performs an authoritative rescan parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer - description: 评估引用、确认文本与外部产物策略 | Assessment reference, confirmation token, and external artifact policy in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeleteRequest' produces: - application/json responses: "202": description: Accepted schema: properties: engine: $ref: '#/definitions/github_com_addp_system_internal_models.EngineResponse' message: type: string type: object "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 删除引擎 | Delete engine tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.delete get: description: User 返回脱敏连接信息;具有 system.engine.read 的 Tenant Service Principal 返回同 Tenant 的解密连接信息 | Return masked connection details to users and decrypted same-tenant details to tenant service principals with system.engine.read parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 获取引擎详情 | Get engine detail tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.read put: consumes: - application/json description: 同一实际引擎搬迁时可确认后修改连接地址并保留 ID 与引用;新地址不得被其他引擎占用 | Confirm a move of the same physical engine to update its address while preserving its ID and references; the new address must be unoccupied parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer - description: 引擎更新信息 | Engine update info in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineUpdateRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 更新引擎 | Update engine tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.update /engines/{id}/access_delegations: get: description: 当前租户的管理资格及历史,不返回连接凭据或内容授权 | Current tenant management qualification and history, without connection credentials or content grants parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string - description: 页码,默认 1 | Page, default 1 in: query name: page type: integer - description: 每页数量,默认 10,最多 100 | Page size, default 10, maximum 100 in: query name: page_size type: integer produces: - application/json responses: "200": description: 委派列表 | Delegations schema: properties: data: items: $ref: '#/definitions/internal_api.EngineAccessDelegationResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查询引擎授权管理委派 | List engine access management delegations tags: - 引擎授权管理委派 | Engine Access Management Delegations x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_delegation.read post: consumes: - application/json description: 显式选取有效用户成员、到期时间与原因;不授予数据读取、写入、DDL 或转委派 | Explicit active user membership, expiry and reason; grants no data read, write, DDL or redelegation parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string - description: 委派信息 | Delegation definition in: body name: request required: true schema: $ref: '#/definitions/internal_api.CreateEngineAccessDelegationRequest' produces: - application/json responses: "201": description: 已创建 | Created schema: $ref: '#/definitions/internal_api.EngineAccessDelegationResponse' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 创建引擎授权管理委派 | Create engine access management delegation tags: - 引擎授权管理委派 | Engine Access Management Delegations x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_delegation.create /engines/{id}/access_delegations/{delegation_id}: get: description: 按租户和引擎隔离读取,不存在与跨租户均返回 404 | Tenant and engine scoped lookup; missing and cross-tenant IDs return 404 parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string - description: 委派 ID | Delegation ID in: path name: delegation_id required: true type: string produces: - application/json responses: "200": description: 委派详情 | Delegation schema: $ref: '#/definitions/internal_api.EngineAccessDelegationResponse' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 读取引擎授权管理委派 | Get engine access management delegation tags: - 引擎授权管理委派 | Engine Access Management Delegations x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_delegation.read /engines/{id}/access_delegations/{delegation_id}/revoke: post: consumes: - application/json description: 版本化撤销并保留历史;不允许恢复或修改已到期记录 | Versioned revocation preserves history; no restore or expired record mutation parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string - description: 委派 ID | Delegation ID in: path name: delegation_id required: true type: string - description: 版本与原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMVersionedLifecycleRequest' produces: - application/json responses: "200": description: 已撤销 | Revoked schema: $ref: '#/definitions/internal_api.EngineAccessDelegationResponse' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 撤销引擎授权管理委派 | Revoke engine access management delegation tags: - 引擎授权管理委派 | Engine Access Management Delegations x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_delegation.revoke /engines/{id}/access_grants: get: description: |- 选择具体用户时按表展开当前个人、部门及项目组来源;inspection 为不可缓存的源规则观察,不是实际访问许可。其他条件查询直接接收方关系,筛选后计数及分页 | A selected user expands current personal and organization sources per table; inspection is an uncached source-rule observation, not access Allow. Other filters list direct-recipient relations before counting and pagination 节点和数据项保持原签发目标;具体账号的 sources 显示当前个人与组织的真实来源及各自撤销编号,不逐项伪造节点签发历史。来源取并集,撤销一个来源不收回其他有效来源 | Nodes and DataItems retain their original targets. A selected account shows current personal/organization source scopes and withdrawal anchors, without fabricated leaf issuance history. Valid sources form a union; withdrawing one preserves the others 按原目标、递归选项、接收方和动作聚合未到期、未撤销的记录;长期有效优先,否则显示最晚到期。包含存量重复数量;不是实际访问裁决,不读取源端。需读取权限及当前管理资格 | Groups unexpired, unrevoked Grants by original target, recursion, recipient and action. Until-revoked dominates; otherwise latest expiry. Includes legacy duplicate count; not an effective access verdict and no source IO. Requires read permission and current management qualification parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string - description: 页码,默认 1 | Page, default 1 in: query name: page type: integer - description: 每页条数,默认 20,最多 100 | Page size, default 20, maximum 100 in: query name: page_size type: integer - description: 路径名称的字面量子串,不区分大小写,去掉首尾空白,最多 200 字 | Case-insensitive literal path-name substring, trimmed, up to 200 characters in: query name: table_search type: string - description: DataItem 或节点 EngineCatalogPath JSON,最多 4096 字节,与 table_search 互斥,须属于本引擎 | DataItem or node EngineCatalogPath JSON, up to 4096 bytes, mutually exclusive with table_search, must belong to this engine in: query name: catalog_path type: string - description: 接收方类型;仅指定类型时查看该类全部接收方 | Recipient type; type alone selects all recipients of that type enum: - user - department - project_group in: query name: recipient_type type: string - description: 接收方编号,规范正整数十进制字符串,必须同时指定 recipient_type | Recipient ID, canonical positive decimal string; requires recipient_type in: query name: recipient_id type: string produces: - application/json responses: "200": description: 当前关系 | Current relations schema: properties: data: items: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceGrantRelation' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查看当前源数据授权关系 | List current source-data authorization relations tags: - 源数据授权 | Source Data Grants x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_grant.read post: consumes: - application/json description: |- 当前 Tenant User 需授予功能和目标引擎管理范围。精确 DataItem 提交指纹及预期边界摘要,System 独立读取 Meta 完整边界并按已接入 profile 核验;PG、NFS、MinIO 的持续节点范围显式提交 node_recursive,不带指纹或摘要。整引擎使用经 Meta 核验的递归根路径。节点在期限内覆盖当前及以后新识别项;非递归只覆盖直属项。两种目标互斥,无需企业 Catalog 编目 | Current Tenant User needs Grant creation permission and target engine management scope. Exact DataItems carry fingerprint and expected boundary hash, independently verified from complete Meta facts for admitted profiles. PG, NFS and MinIO node scopes carry explicit node_recursive without item fingerprint/hash. Entire-engine scope uses the Meta-verified recursive root. Covers current and future identified items during validity; nonrecursive scopes cover direct DataItems only. The variants are mutually exclusive and require no enterprise Catalog curation 同命令同操作者同参数重试仅恢复原签发及撤销事实,不续期或恢复读取。不同参数 409;成功不替代消费侧功能权限、当前主体和安全策略 | Identical command, operator and parameters recover issuance and revocation history without renewal or restored access. Changed parameters return 409; success does not replace consumer permissions, current identity or security policy 同目标、接收方和动作已有有效授权时,新命令返回 409 engine_access_grant_relation_exists,不重复发放或静默变更期限;包括业务批准来源 | A new command returns 409 engine_access_grant_relation_exists when the same target, recipient and action already have active access, including business-approved Grants. No duplicate issuance or silent validity change 可靠识别的 DataItem 支持 metadata_read(仅查看元数据);read(读取内容并包含必要元数据)仍按已接入内容 profile 核验。metadata_target 仅支持 metadata_read;节点范围按 PG、NFS、MinIO 的已接入路径办理。动作必须明确填写,不自动提升 | Reliably identified DataItems support metadata_read; read still requires an admitted content profile. metadata_target permits metadata_read only. Persistent node scopes support admitted PG, NFS and MinIO paths. Explicit action is required and never upgraded parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string - description: 命令、精确数据项或显式节点范围、接收方、动作、期限与原因 | Command, exact DataItem or explicit node scope, recipient, action, expiry and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.CreateIndependentEngineAccessGrantRequest' produces: - application/json responses: "201": description: 已提交的签发历史,不是访问凭据 | Committed issuance history, not an access credential schema: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceGrantView' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 显式签发独立数据授权 | Issue explicit independent data access tags: - 源数据授权 | Source Data Grants x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_grant.create /engines/{id}/access_grants/{request_id}/revoke: post: consumes: - application/json description: |- 当前租户用户需管理资格及撤销权限;原子收回定位记录的同目标、同接收方、同动作全部有效 Grant,保留历史与编号集合。同参重试只恢复原结果,不影响后来新授予;个人撤销不删除组织授权、不建立 Deny | Current tenant user needs management qualification and revocation permission. Atomically withdraws all active Grants for the anchor's exact target, recipient and action, preserving history and withdrawn IDs. Identical retry recovers only the original result, not later Grants. Personal withdrawal never deletes organization Grants or creates Deny 自然到期后首次撤销返回 409 engine_access_grant_expired,不写撤销事实;到期前已撤销的同参重试仍须当前资格有效并返回原记录。长期有效仍可撤销,五分钟办理窗口不限制撤销 | First revocation after natural expiry returns 409 engine_access_grant_expired without writing history; retries of an earlier revocation require current qualification and return the original record. Until-revoked Grants remain revocable; the five-minute fulfillment window does not limit revocation parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string - description: 授权签发命令 UUID | Grant issuance command UUID in: path name: request_id required: true type: string - description: 撤销原因 | Revocation reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.RevokeEngineAccessGrantRequest' produces: - application/json responses: "200": description: 不可变撤销事实 | Immutable revocation fact schema: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.GrantRevocation' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 收回整条源数据授权关系 | Withdraw a complete source-data authorization relation tags: - 源数据授权撤销 | Source Data Grant Revocation x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_grant.revoke /engines/{id}/access_grants/history: get: description: |- 表名、接收方类型和编号条件取交集,完整结果筛选后计数及分页;包含已停用接收方的历史授权,不展开组织成员来源 | Table, recipient type and ID filters intersect before counting and pagination; includes inactive-recipient history, not expanded membership sources 当前租户用户需读取权限及管理资格;保留所有原签发、到期与撤销事实,包含直接和业务批准,不代表当前可访问 | Current tenant user needs read permission and management qualification. Preserves original issuance, expiry and revocation for direct and business approvals; not current access Allow parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string - description: 页码,默认 1 | Page, default 1 in: query name: page type: integer - description: 每页条数,默认 20,最多 100 | Page size, default 20, maximum 100 in: query name: page_size type: integer - description: 路径名称的字面量子串,不区分大小写,去掉首尾空白,最多 200 字 | Case-insensitive literal path-name substring, trimmed, up to 200 characters in: query name: table_search type: string - description: DataItem 或节点 EngineCatalogPath JSON,最多 4096 字节,与 table_search 互斥,须属于本引擎 | DataItem or node EngineCatalogPath JSON, up to 4096 bytes, mutually exclusive with table_search, must belong to this engine in: query name: catalog_path type: string - description: 接收方类型;仅指定类型时查看该类全部接收方 | Recipient type; type alone selects all recipients of that type enum: - user - department - project_group in: query name: recipient_type type: string - description: 接收方编号,规范正整数十进制字符串,必须同时指定 recipient_type | Recipient ID, canonical positive decimal string; requires recipient_type in: query name: recipient_id type: string - description: 记录状态,省略为全部;撤销优先于到期,有效不代表实际读取许可 | Record state; omitted means all, revocation precedes expiry, active does not imply effective access enum: - active - revoked - expired in: query name: state type: string produces: - application/json responses: "200": description: 签发及撤销历史 | Issuance and revocation history schema: properties: data: items: $ref: '#/definitions/github_com_addp_system_internal_engineaccess.SourceGrantView' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查看源数据授权历史 | List source-data Grant history tags: - 源数据授权 | Source Data Grants x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_grant.read /engines/{id}/access_handling_scope: get: description: 当前 Tenant User 需独立办理 Permission 和有效引擎管理委派,等待锁后重新检查资格与到期;只返回当次观察,不授予读取、业务确认、委派、受理或 Grant,不是可复用凭据 | The current Tenant User needs independent handling permission and an effective engine management delegation. Eligibility and expiry are rechecked after lock waits. This is an observation, not read access, business confirmation, delegation, acceptance, a Grant or a reusable credential parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string produces: - application/json responses: "200": description: 当前办理范围观察 | Current handling scope observation schema: $ref: '#/definitions/authorization.EngineAccessHandlingScope' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核验当前源读取授权办理范围 | Check current source-read authorization handling scope tags: - 源授权办理 | Source Access Fulfillment x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_fulfillment.create /engines/{id}/authorization-nodes/query: post: consumes: - application/json description: 当前Tenant User须具有源授权读取功能和目标引擎管理范围。仅查询Meta已识别PG server/schema、NFS普通root/directory或MinIO service/bucket/prefix的直接子节点身份,排除whole容器,不枚举数据项、源目录、内容、属性或统计;查询前后重核当前人员资格。结果不是Grant,签发仍独立核对真实节点 | Current Tenant User needs source-grant read permission and target engine management scope, rechecked before and after Meta IO. Lists only immediate Meta-identified PG server/schema, NFS ordinary root/directory or MinIO service/bucket/prefix node identities, excluding whole containers. No DataItem enumeration, native source browsing, content, attributes or statistics. Not a Grant; issuance independently verifies the exact node parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: string - description: 节点路径及分页 | Node path and pagination in: body name: request required: true schema: $ref: '#/definitions/authorizationfacts.NodeIdentityPageQuery' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/authorizationfacts.NodeIdentityPage' "400": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "413": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 浏览授权候选节点 | Browse authorization candidate nodes tags: - 源数据授权 | Source Data Grants x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_grant.read /engines/{id}/catalog/children: post: consumes: - application/json description: 基于声明了实时目录能力的引擎连接信息浏览真实 catalog。请求空 path 返回显性结构 root;不支持目录的引擎返回 422。| Browse a real catalog using an engine declaring live catalog capability. An empty path returns the structural root; engines without catalog support return 422. parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer - description: Catalog 路径请求 | Catalog path request in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogListChildrenRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogListChildrenResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "422": description: 引擎不支持实时目录 | Engine does not support a live catalog schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "502": description: Bad Gateway schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "504": description: Gateway Timeout schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 列出实时 catalog 子节点 | List live catalog children tags: - 引擎目录 | Engine Catalog x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_catalog.read /engines/{id}/catalog/facts: post: consumes: - application/json description: 从声明了实时目录能力的引擎读取一个 catalog 叶子的结构事实;不支持目录的引擎返回 422。| Read facts for a catalog leaf from an engine declaring live catalog capability; engines without catalog support return 422. parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer - description: Catalog 叶子路径 | Catalog leaf path in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogDescribeFactsRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/plugin.EngineCatalogFacts' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "422": description: 引擎不支持实时目录 | Engine does not support a live catalog schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "502": description: Bad Gateway schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "504": description: Gateway Timeout schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 获取实时 catalog 叶子事实 | Describe live catalog leaf facts tags: - 引擎目录 | Engine Catalog x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_catalog.read /engines/{id}/data-items: get: description: 仅返回 Meta 已识别的数据项及祖先节点。需当前租户用户、源授权读取功能及引擎管理资格;读取前后复核。可按类型化父节点和名称/路径先过滤,再计数分页。无原生文件枚举、内容读取或签发 | Returns only Meta identities and ancestor nodes. Rechecks current tenant user and engine management qualification before and after the owner query. Typed parent and literal name/path filters precede counting and pagination. No native file enumeration, content reads or issuance. parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string - description: 直属父节点的类型化路径 JSON,仅 PG/NFS/MinIO | Typed parent path JSON for direct children, PG/NFS/MinIO only in: query name: parent type: string - description: 按名称或路径搜索,最多512字节 | Literal name or path search, at most 512 bytes in: query name: search type: string - default: 1 description: 页码 | Page number in: query minimum: 1 name: page type: integer - default: 100 description: 每页数量 | Page size in: query maximum: 100 minimum: 1 name: page_size type: integer produces: - application/json responses: "200": description: 数据项身份清单 | DataItem identities schema: $ref: '#/definitions/authorizationfacts.IdentityPage' "400": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查询授权候选数据项 | List authorization DataItem identities tags: - 源数据授权 | Source Data Grants x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_grant.read /engines/{id}/data-items/{fingerprint}/authorization-facts: get: description: 当前 Tenant User 需源授权读取功能及本引擎管理资格。System 用独立 addp-system 身份读取 Meta 后再次核验用户资格;识别完整不代表获权,不扫描或签发 Grant | Requires current tenant User, source-grant read permission and engine management qualification. System reads Meta as addp-system then rechecks the user; complete facts are not an Allow. No scan or Grant issuance parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string - description: 数据项指纹 | DataItem fingerprint in: path name: fingerprint required: true type: string produces: - application/json responses: "200": description: 授权边界事实 | Authorization boundary facts schema: $ref: '#/definitions/authorizationfacts.AuthorizationFacts' "400": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: authorization_target_not_found:目标不存在或不属于当前引擎 | Target is missing or belongs to another engine schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 查询失败 | Query failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核对数据项授权边界 | Inspect a DataItem authorization boundary tags: - 源数据授权 | Source Data Grants x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_grant.read /engines/{id}/deletion-assessments: post: consumes: - application/json description: 在不改变引擎生命周期的前提下,请各 owner 模块扫描任务、服务、运行执行和派生产物影响 | Ask owner modules to scan task, service, running execution, and derived artifact impact without changing the engine lifecycle parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer - description: 幂等请求标识和外部产物策略 | Idempotency request ID and external artifact policy in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeletionAssessmentRequest' produces: - application/json responses: "202": description: Accepted schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeletionAssessmentResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 评估删除引擎的影响 | Assess engine deletion impact tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.delete /engines/{id}/deletion-assessments/{assessment_id}: get: parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer - description: 影响评估ID | Impact assessment ID in: path name: assessment_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.TaskStatusResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查询删除引擎影响评估 | Get engine deletion impact assessment tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.delete /engines/{id}/overview: get: description: 使用已保存连接和现有账号按需读取有范围的原生统计,不调用Monitor、不改变连接状态,不接受query或正文;整数值为精确十进制字符串,缺值不返回value | Read scoped native statistics using saved connection credentials without Monitor or health mutations; no query or body; integer values are exact decimal strings and unavailable values are omitted parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineInstanceOverviewResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "422": description: Unprocessable Entity schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 获取原生实例概况 | Read native instance overview tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.read /engines/{id}/restore: post: consumes: - application/json description: 确认仍为同一实际引擎并提交完整连接配置和新凭据,沿用原永久 ID;地址不得被其他引擎占用 | Confirm the same physical engine and restore it with complete connection details and fresh credentials while retaining its permanent ID; the address must be unoccupied parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer - description: 恢复信息 | Restore info in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineRestoreRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 恢复已删除引擎 | Restore deleted engine tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.update /engines/{id}/scan_cancel_scope: get: description: 核对当次功能权限与 PG 引擎管理范围,不批准任务或授予数据权限 | Checks current function permission and PG engine management scope; does not approve tasks or grant data access parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string produces: - application/json responses: "200": description: 当前范围观察 | Current scope observation schema: $ref: '#/definitions/authorization.EngineAccessHandlingScope' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核验当前用户的扫描取消范围 | Check current User scan cancel scope tags: - 元数据集中采集 | Centralized Metadata Collection x-addp-auth-mode: permission x-addp-required-permissions: - meta.scan_task.cancel /engines/{id}/scan_create_scope: get: description: 核对当次功能权限与 PG 引擎管理范围,不批准任务或授予数据权限 | Checks current function permission and PG engine management scope; does not approve tasks or grant data access parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string produces: - application/json responses: "200": description: 当前范围观察 | Current scope observation schema: $ref: '#/definitions/authorization.EngineAccessHandlingScope' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核验当前用户的扫描创建范围 | Check current User scan create scope tags: - 元数据集中采集 | Centralized Metadata Collection x-addp-auth-mode: permission x-addp-required-permissions: - meta.scan_task.create /engines/{id}/scan_delete_scope: get: description: 核对当次功能权限与 PG 引擎管理范围,不批准任务或授予数据权限 | Checks current function permission and PG engine management scope; does not approve tasks or grant data access parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string produces: - application/json responses: "200": description: 当前范围观察 | Current scope observation schema: $ref: '#/definitions/authorization.EngineAccessHandlingScope' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核验当前用户的扫描删除范围 | Check current User scan delete scope tags: - 元数据集中采集 | Centralized Metadata Collection x-addp-auth-mode: permission x-addp-required-permissions: - meta.scan_task.delete /engines/{id}/scan_execute_scope: get: description: 核对当次功能权限与 PG 引擎管理范围,不批准任务或授予数据权限 | Checks current function permission and PG engine management scope; does not approve tasks or grant data access parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string produces: - application/json responses: "200": description: 当前范围观察 | Current scope observation schema: $ref: '#/definitions/authorization.EngineAccessHandlingScope' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核验当前用户的扫描执行范围 | Check current User scan execute scope tags: - 元数据集中采集 | Centralized Metadata Collection x-addp-auth-mode: permission x-addp-required-permissions: - meta.scan_task.execute /engines/{id}/scan_update_scope: get: description: 核对当次功能权限与 PG 引擎管理范围,不批准任务或授予数据权限 | Checks current function permission and PG engine management scope; does not approve tasks or grant data access parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: string produces: - application/json responses: "200": description: 当前范围观察 | Current scope observation schema: $ref: '#/definitions/authorization.EngineAccessHandlingScope' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核验当前用户的扫描修改范围 | Check current User scan update scope tags: - 元数据集中采集 | Centralized Metadata Collection x-addp-auth-mode: permission x-addp-required-permissions: - meta.scan_task.update /engines/{id}/spatial-workspaces/{ecosystem}/{kind}/enable: post: consumes: - application/json description: 通过已绑定的 SuperMap 工作流运行时对 PostgreSQL 引擎执行高危启用动作,并根据 kind 初始化 SuperMap SDX+ for PostGIS 或 SuperMap SDX+ for PostgreSQL 空间工作区。| Trigger the bound SuperMap workflow runtime to initialize the SuperMap SDX+ for PostGIS or SuperMap SDX+ for PostgreSQL workspace selected by kind on a PostgreSQL engine. parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer - description: 空间工作区生态 | Spatial workspace ecosystem in: path name: ecosystem required: true type: string - description: 空间工作区类型 | Spatial workspace kind in: path name: kind required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 启用空间工作区 | Enable spatial workspace tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.execute /engines/{id}/test: post: consumes: - application/json parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer - description: 临时连接配置 | Temporary connection info in: body name: request schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineConnectionTestRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineConnectionTestResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 测试已有引擎连接 | Test existing engine connection tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.execute /engines/test-connection: post: consumes: - application/json parameters: - description: 引擎信息 | Engine info in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCreateRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineConnectionTestResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 创建前测试连接 | Test connection before create tags: - 引擎管理 | Engine Management x-addp-auth-mode: permission x-addp-required-permissions: - system.engine.execute /execution-authorizations/{id}/cleanup-accesses: post: consumes: - application/json description: 仅对应 Owner 的 Tenant Runtime 可复核原用户当前清理权限、冻结请求及当前领取或效果边界,不返回引擎凭据 | Only the corresponding Owner tenant runtime may recheck the original user's current cleanup permission, frozen request and claim or effect boundary; no engine credentials are returned parameters: - description: 执行授权 ID | Execution authorization ID in: path name: id required: true type: string - description: 清理与租约边界 | Cleanup and lease boundary in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCleanupAccessRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMCleanupAccessResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 复核清理子执行授权 | Recheck cleanup child authorization tags: - Runtime 执行授权 | Runtime Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.cleanup_authorization.execute /execution-authorizations/{id}/cleanup-engine-connection: post: consumes: - application/json description: 仅固定 Transfer Owner 可为当前 Engine 删除子执行取得内存内短期连接;核验当前用户删除权、父子请求与有效租约,不授予普通数据访问 | Only the fixed Transfer Owner may obtain an ephemeral connection for its current Engine deletion child; rechecks current user deletion permission, parent/child request and live leases, without granting ordinary data access parameters: - description: 执行授权 ID | Execution authorization ID in: path name: id required: true type: string - description: 准确清理与连接边界 | Exact cleanup and connection boundary in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCleanupEngineConnectionRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/client.CleanupEngineConnection' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 获取原 Engine 清理连接 | Resolve the original Engine cleanup connection tags: - Runtime 执行授权 | Runtime Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.cleanup_authorization.execute /execution-authorizations/{id}/develop-file-admission-checks: post: consumes: - application/json description: 固定 addp-develop Tenant Service;复核原 EA、Scope、pending、主体和当前源规则。保存范围须有当前有效的原批准。本观察不返回连接或发布放行。 | Fixed addp-develop Tenant Service. Checks original EA, scope, pending execution, actor and current source rules. A save scope requires the original approval to remain valid. This observation returns no connection or publication release. parameters: - description: 规范正整数 EA ID | Canonical positive EA ID in: path name: id required: true type: string - description: 原执行、预期 attempt 与同一范围摘要;512 KiB,无 query | Original execution, expected attempt and identical scope digest; 512 KiB, no query in: body name: request required: true schema: $ref: '#/definitions/client.DevelopFileAdmissionRequest' produces: - application/json responses: "200": description: 当次资格观察,非缓存许可 | Current eligibility observation, not cached permission schema: $ref: '#/definitions/client.DevelopFileAdmissionObservation' "400": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 观察 Develop 文件执行当前准入资格 | Observe current Develop file execution eligibility tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/develop-file-source-accesses: post: consumes: - application/json description: 固定 addp-develop 当前机器凭据;核同一 Scope、当前 User、完整源规则、真实 running attempt/lease、原截止及同版本 NFS;保存范围继续核对原批准。只返回指定源连接及时间边界。 | Fixed current addp-develop machine credential. Checks scope, current User, source rules, running attempt and lease, original deadline and NFS version. Rechecks the original approval for save scopes. Returns only the selected source connection and time bounds. parameters: - description: 规范正整数 EA ID | Canonical positive EA ID in: path name: id required: true type: string - description: 同一执行租约、范围摘要与精确源;512 KiB,无 query | Identical execution lease, scope digest and exact source; 512 KiB, no query in: body name: request required: true schema: $ref: '#/definitions/client.DevelopFileSourceAccessRequest' produces: - application/json responses: "200": description: 当次精确读取观察,非引擎级授权 | Current exact read observation, not engine-wide authorization schema: $ref: '#/definitions/client.DevelopFileSourceAccessObservation' "400": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 拒绝或依赖不可用 | Rejected or dependency unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 复核 Develop 原执行的精确文件读取 | Recheck exact file read for original Develop execution tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/develop-geopackage-create-approvals: post: consumes: - application/json description: 同租户当前 User,须有专用权限及目标引擎管理范围,不得为原发起人。只登记原执行的单次批准,不返回连接或激活执行。 | Current User in the same tenant with the approval permission and target engine management scope. The requester cannot self-approve. This records one approval without returning a connection or activating execution. parameters: - description: 原执行授权 ID | Original execution authorization ID in: path name: id required: true type: string - description: 预期范围摘要和绝对到期时间 | Expected scope digest and absolute expiry in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMApproveDevelopFileCreateRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/github_com_addp_system_internal_iam.DevelopFileCreateApprovalReceipt' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 批准本次执行新建 GeoPackage | Approve one GeoPackage creation for this execution tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.develop_file_create_approval.create /execution-authorizations/{id}/develop-geopackage-publications: post: consumes: - application/json description: 仅固定 addp-develop Tenant Service。prepare 仅一次返回同版本目标暂存连接。release 只认同一操作的已确认回执,不返回连接。 | Fixed addp-develop Tenant Service only. Prepare returns the version-bound staging connection once. Release requires the same operation's confirmed receipt and returns no connection. parameters: - description: 原执行授权 ID | Original execution authorization ID in: path name: id required: true type: string - description: 原执行、租约、批准和操作绑定 | Original execution, lease, approval and operation binding in: body name: request required: true schema: $ref: '#/definitions/client.DevelopFilePublicationRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/client.DevelopFilePublicationObservation' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 授权原 GeoPackage 操作的一个发布阶段 | Authorize one phase of the original GeoPackage operation tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/develop-geopackage-publications/{operation_id}: get: description: 固定同租户 addp-develop Tenant Service,只返回原操作已提交的准入及放行历史,无连接、无正文、无查询参数。 | Fixed same-tenant addp-develop Tenant Service. Returns only committed admission and release history for the original operation, without a connection, request body or query parameters. parameters: - description: 原执行授权 ID | Original execution authorization ID in: path name: id required: true type: string - description: 原发布操作 UUID | Original publication operation UUID in: path name: operation_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/client.DevelopFilePublicationHistory' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核清原 GeoPackage 操作历史 | Read original GeoPackage operation history tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/develop-geopackage-publications/{operation_id}/recovery-accesses: post: description: 固定同租户 Develop Service,只核清原操作和清理其私有暂存。 | Fixed same-tenant Develop Service. Resolve the original operation and clean its private staging only. parameters: - description: 原 EA | Original EA in: path name: id required: true type: string - description: 原操作 | Original operation in: path name: operation_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/client.DevelopFilePublicationRecoveryAccess' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 获取原文件操作恢复观察 | Observe recovery of the original file operation tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/engine-accesses: post: consumes: - application/json description: 仅匹配 audience 的 Tenant Runtime Service Principal 可消费执行授权并取得同 Tenant 的明文引擎连接 | Only the tenant runtime service principal matching the audience may consume the authorization and receive same-tenant plaintext engine connection details parameters: - description: 执行授权 ID | Execution authorization ID in: path name: id required: true type: string - description: 执行和效果边界 | Execution and effect boundary in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMExecutionEngineAccessRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMExecutionEngineAccessResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 消费执行授权并获取引擎访问 | Consume execution authorization for engine access tags: - Runtime 执行授权 | Runtime Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/filegdb-export-accesses: post: consumes: - application/json description: 仅固定 addp-transfer Tenant Service,核对实际运行租约、冻结配置、引擎版本和当前源 Grant。只返回当次受控读取所需连接 | Fixed addp-transfer Tenant Service only. Check the active lease, frozen configuration, engine version and current source Grant. Return the connection only for this guarded read parameters: - description: 规范正整数授权 ID | Canonical positive authorization ID in: path name: id required: true type: string - description: 真实执行租约及冻结源范围 | Actual execution lease and frozen source scope in: body name: request required: true schema: $ref: '#/definitions/client.FileGDBExportAccessRequest' produces: - application/json responses: "200": description: 不可缓存的当前源引擎观察 | Non-cacheable current source engine observation schema: $ref: '#/definitions/client.ManagerFileAccessObservation' "400": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 复核 FileGDB 导出当前源表权限 | Recheck current FileGDB export source table permission tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/internal-task-accesses: post: consumes: - application/json description: 仅 addp-ontology Tenant Runtime 可复核当前用户授权与精确运行租约,不返回引擎或 Infra 凭据 | Only the addp-ontology tenant runtime may recheck current user authorization and the exact running lease; no engine or Infra credentials are returned parameters: - description: 执行授权 ID | Execution authorization ID in: path name: id required: true type: string - description: 内部任务与租约边界 | Internal task and lease boundary in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMInternalTaskAccessRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMInternalTaskAccessResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 消费内部任务执行授权 | Consume internal task execution authorization tags: - Runtime 执行授权 | Runtime Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/manager-model3d-glb-accesses: post: consumes: - application/json description: 仅固定 addp-manager Tenant Service 与机器执行 Permission;核验真实 running attempt、租约、配置、任务和引擎版本、完整模型组成及现行源规则。返回当次同快照 FTP/NFS/MinIO 连接,只供本次受控源 I/O,不缓存或落库 | Only fixed addp-manager Tenant Service with machine execution permission. Verify the actual running attempt, lease, configuration, task and engine versions, complete model composition and current source rules. Return the same-snapshot FTP/NFS/MinIO connection for this guarded source I/O only; never cache or persist parameters: - description: 规范正整数授权ID | Canonical positive authorization ID in: path name: id required: true type: string - description: 精确执行租约与相同来源范围;正文上限512 KiB,无query,拒绝未知或重复字段 | Exact execution lease and identical source scope; 512 KiB body limit, no query, unknown or duplicate fields in: body name: request required: true schema: $ref: '#/definitions/client.ManagerFileAccessRequest' produces: - application/json responses: "200": description: 不可缓存的同次来源观察与连接 | Non-cacheable same-decision source observation and connection schema: $ref: '#/definitions/client.ManagerFileAccessObservation' "400": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 复核 Manager 精确文件执行的当前完整来源权限 | Recheck current complete source permissions for Manager exact-file execution tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/manager-profile-accesses: post: consumes: - application/json description: 仅固定 addp-manager Tenant Service 凭据;核验真实 running attempt、租约、完整配置和全部现行源规则。仅返回当次观察时刻,不是访问租约或源连接 | Only the fixed addp-manager Tenant Service credential; checks the actual running attempt, lease, complete configuration and all current source rules. Returns only a point-in-time observation, not an access lease or source connection parameters: - description: 规范正整数授权 ID | Canonical positive authorization ID in: path name: id required: true type: string - description: 精确执行租约与相同来源范围;正文上限 512 KiB,无 query | Exact execution lease and identical source boundary; 512 KiB body limit, no query in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMManagerProfileAccessRequest' produces: - application/json responses: "200": description: 不可缓存的当次观察 | Non-cacheable current observation schema: $ref: '#/definitions/internal_api.IAMManagerProfileAccessResponse' "400": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 复核 Manager 剖析执行的当前完整来源权限 | Recheck current complete source permissions for Manager profiling tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/manager-raster-cog-accesses: post: consumes: - application/json description: 仅固定 addp-manager Tenant Service 与机器执行 Permission;核验真实 running attempt、租约、配置、任务和引擎版本、完整模型组成及现行源规则。返回当次同快照 FTP/NFS/MinIO 连接,只供本次受控源 I/O,不缓存或落库 | Only fixed addp-manager Tenant Service with machine execution permission. Verify the actual running attempt, lease, configuration, task and engine versions, complete model composition and current source rules. Return the same-snapshot FTP/NFS/MinIO connection for this guarded source I/O only; never cache or persist parameters: - description: 规范正整数授权ID | Canonical positive authorization ID in: path name: id required: true type: string - description: 精确执行租约与相同来源范围;正文上限512 KiB,无query,拒绝未知或重复字段 | Exact execution lease and identical source scope; 512 KiB body limit, no query, unknown or duplicate fields in: body name: request required: true schema: $ref: '#/definitions/client.ManagerFileAccessRequest' produces: - application/json responses: "200": description: 不可缓存的同次来源观察与连接 | Non-cacheable same-decision source observation and connection schema: $ref: '#/definitions/client.ManagerFileAccessObservation' "400": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 复核 Manager 精确文件执行的当前完整来源权限 | Recheck current complete source permissions for Manager exact-file execution tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/subject-roles: post: consumes: - application/json description: 仅所属 Develop 或 Transfer Tenant Service 可按真实运行租约核验,不授予数据读取或原值权限 | Only the owning Develop or Transfer Tenant Service may observe roles using the current running lease; grants no data or plaintext access parameters: - description: 执行授权 ID | Execution authorization ID in: path name: id required: true type: string - description: 当前执行租约 | Current execution lease in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMExecutionSubjectRolesRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMExecutionSubjectRolesResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核验执行发起人的当前角色 | Observe current execution subject roles tags: - Runtime 执行授权 | Runtime Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/{id}/transfer-object-accesses: post: consumes: - application/json description: 仅固定 addp-transfer Tenant Service,核对实际运行租约、冻结配置、引擎版本和当前源 Grant。只返回当次受控读取所需连接 | Fixed addp-transfer Tenant Service only. Check the active lease, frozen configuration, engine version and current source Grant. Return the connection only for this guarded read parameters: - description: 规范正整数授权 ID | Canonical positive authorization ID in: path name: id required: true type: string - description: 真实执行租约及冻结源范围 | Actual execution lease and frozen source scope in: body name: request required: true schema: $ref: '#/definitions/client.TransferObjectAccessRequest' produces: - application/json responses: "200": description: 不可缓存的当前源引擎观察 | Non-cacheable current source engine observation schema: $ref: '#/definitions/client.ManagerFileAccessObservation' "400": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 复核失败 | Recheck failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 复核 Transfer 单对象导入当前源权限 | Recheck current Transfer single-object import source permission tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-authorizations/develop-file-workflows/{execution_id}/create-approval-context: get: description: 同租户独立批准人,复核专用批准资格与目标管理范围。仅返回原执行和精确目标的最小审批信息,不返回配置、来源清单、连接、凭据或租约;不创建批准、Grant或运行体,不激活执行。 | Independent approver in the same tenant with the approval permission and target management scope. Returns only original execution and exact target context, excluding configuration, source lists, connections, credentials and leases. Creates no approval, Grant or runtime and does not activate execution. parameters: - description: 原执行 UUID | Original execution UUID in: path name: execution_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_iam.DevelopFileCreateApprovalContext' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 读取 GeoPackage 单次保存审批上下文 | Read GeoPackage creation approval context tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.develop_file_create_approval.create /execution-authorizations/manager-image-segmentation/access: post: consumes: - application/json description: 仅 Manager 租户服务可按当前租约核验固定源与目标 | Only the Manager tenant service may verify frozen resources using the current lease parameters: - description: 当前执行租约 | Current execution lease in: body name: request required: true schema: $ref: '#/definitions/client.ImageSegmentationAccessRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/client.ImageSegmentationAccessObservation' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 复核影像分割执行的数据权限 | Verify image segmentation execution access tags: - Runtime 执行授权 | Runtime Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /execution-read-scope: get: produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/execution.ReadScope' "403": description: Forbidden schema: additionalProperties: type: string type: object security: - BearerAuth: [] summary: 获取清理执行读取范围 | Get cleanup execution read scope tags: - Execution diagnostics x-addp-auth-mode: authenticated /internal/audit-logs: post: consumes: - application/json parameters: - description: 审计事件 | Audit event in: body name: request required: true schema: $ref: '#/definitions/models.AuditLogCreateRequest' produces: - application/json responses: "201": description: Created schema: properties: message: type: string type: object summary: 追加内部审计事件 | Append internal audit event tags: - 内部接口 | Internal x-addp-auth-mode: internal /login: post: consumes: - application/json parameters: - description: 登录凭据 | Login credentials in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMBrowserLoginRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMBrowserLoginResponse' summary: 本地账号登录 | Sign in with local account tags: - 认证 | Authentication x-addp-auth-mode: public /logout: post: responses: "204": description: No Content security: - BearerAuth: [] summary: 退出浏览器会话 | Sign out browser session tags: - 认证 | Authentication x-addp-auth-mode: authenticated /notebook-session-authorizations/{id}/catalog/children: post: consumes: - application/json description: |- 仅 addp-develop Tenant Service Principal 可消费绑定 Session 的用户派生授权;授权复核与 EngineCatalogProvider.ListChildren 在同一请求完成 | Only the addp-develop tenant service principal may consume the session-bound user-derived authorization; authorization review and EngineCatalogProvider.ListChildren complete in one request PostgreSQL 按原用户目录可见性分页,其他引擎沿管理读取权限浏览 | PostgreSQL paginates visible entries for the original user. Other catalogs require management read permission parameters: - description: Notebook 会话授权 ID | Notebook session authorization ID in: path name: id required: true type: string - description: Session、Engine 与 Catalog 路径 | Session, Engine, and Catalog path in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMNotebookEngineCatalogChildrenRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineCatalogListChildrenResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "422": description: Unprocessable Entity schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "502": description: Bad Gateway schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "504": description: Gateway Timeout schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 使用 Notebook 会话授权列出实时 Catalog 子节点 | List live Catalog children with Notebook session authorization tags: - Notebook 会话授权 | Notebook Session Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.notebook_session_authorization.execute /notebook-session-authorizations/{id}/engine-descriptors: get: description: 按会话原用户有效来源授权列出 PostgreSQL,其他在线实时目录沿引擎管理读取资格列出 | List PostgreSQL by current session-user source grants and other live catalogs by engine management read permission parameters: - description: Notebook 会话授权 ID | Notebook session authorization ID in: path name: id required: true type: string - description: Notebook 会话 ID | Notebook session ID in: query name: session_id required: true type: string produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineRuntimeDescriptor' type: array "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "502": description: Bad Gateway schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 使用 Notebook 会话授权列出可访问数据引擎 | List accessible data engines with Notebook session authorization tags: - Notebook 会话授权 | Notebook Session Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.notebook_session_authorization.execute /notebook-session-authorizations/{id}/execution-engine-accesses: post: consumes: - application/json description: 为新的 execution 原子创建只读 Execution Authorization 并返回仅供 addp-develop 受控 Runtime 使用的引擎访问 | Atomically create a read-only Execution Authorization for a new execution and return engine access only to the controlled addp-develop runtime parameters: - description: Notebook 会话授权 ID | Notebook session authorization ID in: path name: id required: true type: string - description: Session、execution 与 Engine 边界 | Session, execution, and Engine boundary in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMNotebookExecutionEngineAccessRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMExecutionEngineAccessResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 派生 Notebook 单次只读执行访问 | Derive one Notebook read execution access tags: - Notebook 会话授权 | Notebook Session Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.notebook_session_authorization.execute /notebook-session-authorizations/{id}/revocations: post: consumes: - application/json description: addp-develop 关闭 Session 时幂等撤销其会话授权 | Idempotently revoke the session authorization when addp-develop closes the Session parameters: - description: Notebook 会话授权 ID | Notebook session authorization ID in: path name: id required: true type: string - description: Notebook Session | Notebook Session in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMRevokeNotebookSessionAuthorizationRequest' responses: "204": description: No Content "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 撤销 Notebook 会话授权 | Revoke Notebook session authorization tags: - Notebook 会话授权 | Notebook Session Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.notebook_session_authorization.execute /oauth/authorization_requests: post: consumes: - application/x-www-form-urlencoded produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMOAuthAuthorizationRequestResponse' summary: 创建 OAuth 授权请求 | Create OAuth authorization request tags: - OAuth x-addp-auth-mode: public /oauth/authorization_requests/{request_id}: delete: parameters: - description: 授权请求 ID | Authorization request ID in: path name: request_id required: true type: string responses: "204": description: No Content security: - BearerAuth: [] summary: 取消 OAuth 授权请求 | Cancel OAuth authorization request tags: - OAuth x-addp-auth-mode: public get: parameters: - description: 授权请求 ID | Authorization request ID in: path name: request_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMOAuthAuthorizationRequestView' security: - BearerAuth: [] summary: 查询 OAuth 授权请求 | Get OAuth authorization request tags: - OAuth x-addp-auth-mode: self /oauth/authorizations: post: consumes: - application/json parameters: - description: 授权决定 | Authorization decision in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMOAuthAuthorizationDecisionRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMOAuthAuthorizationDecisionResponse' security: - BearerAuth: [] summary: 决定 OAuth 授权 | Decide OAuth authorization tags: - OAuth x-addp-auth-mode: self /oauth/device/authorizations: post: consumes: - application/json parameters: - description: 设备授权决定 | Device authorization decision in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMOAuthDeviceDecisionRequest' produces: - application/json responses: "204": description: No Content security: - BearerAuth: [] summary: 决定设备授权 | Decide device authorization tags: - OAuth x-addp-auth-mode: self /oauth/device/code: post: consumes: - application/x-www-form-urlencoded produces: - application/json responses: "200": description: OK schema: type: object summary: 创建设备授权 | Create device authorization tags: - OAuth x-addp-auth-mode: public /oauth/revoke: post: consumes: - application/x-www-form-urlencoded description: 撤销与安全审计原子提交;存储故障返回 5xx,不能解释为已撤销 | Revocation and security audit commit atomically; storage failures return 5xx and must not be interpreted as successful revocation responses: "200": description: OK "400": description: 撤销请求格式错误 | Invalid revocation request schema: $ref: '#/definitions/fosite.RFC6749ErrorJson' "401": description: 客户端认证失败 | Client authentication failed schema: $ref: '#/definitions/fosite.RFC6749ErrorJson' "500": description: 撤销事务或审计失败 | Revocation transaction or audit failed schema: $ref: '#/definitions/fosite.RFC6749ErrorJson' "503": description: 暂时无法处理撤销 | Temporarily unable to process revocation schema: $ref: '#/definitions/fosite.RFC6749ErrorJson' summary: 撤销 OAuth Token | Revoke OAuth token tags: - OAuth x-addp-auth-mode: public /oauth/token: post: consumes: - application/x-www-form-urlencoded description: Client Credentials 的 expires_in 按数据库当前时间计算,为 1–300 秒;签发期间有效期异常时回滚并返回 503 | Client Credentials expires_in uses current database time and is 1–300 seconds; invalid lifetime during issuance rolls back and returns 503 parameters: - description: Confidential Client 使用 HTTP Basic,用户名为 client_id、密码为 Client Secret | Confidential clients use HTTP Basic with client_id as username and Client Secret as password in: header name: Authorization type: string - description: 授权类型 | Grant type enum: - authorization_code - refresh_token - client_credentials - urn:ietf:params:oauth:grant-type:device_code in: formData name: grant_type required: true type: string - description: Public Client ID;Confidential Client 必须改用 HTTP Basic | Public client ID; confidential clients must use HTTP Basic in: formData name: client_id type: string - description: Authorization Code Grant 的授权码 | Authorization code for Authorization Code Grant in: formData name: code type: string - description: Authorization Code Grant 的回调 URI | Redirect URI for Authorization Code Grant in: formData name: redirect_uri type: string - description: Authorization Code Grant 的 PKCE verifier | PKCE verifier for Authorization Code Grant in: formData name: code_verifier type: string - description: Refresh Token Grant 的 Refresh Token | Refresh token for Refresh Token Grant in: formData name: refresh_token type: string - description: Device Code Grant 的 Device Code | Device code for Device Code Grant in: formData name: device_code type: string - description: Client Credentials 固定为 addp.api | Fixed to addp.api for Client Credentials in: formData name: scope type: string - description: Client Credentials 固定为 addp.api | Fixed to addp.api for Client Credentials in: formData name: audience type: string - description: Tenant Runtime Client Credentials 必填,用于选择有效 Tenant Membership;与 context_type 互斥 | Required for Tenant Runtime Client Credentials to select an effective Tenant Membership; mutually exclusive with context_type in: formData name: tenant_id type: integer - description: 平台控制面 Client Credentials 固定为 platform;与 tenant_id 互斥 | Fixed to platform for control-plane Client Credentials; mutually exclusive with tenant_id enum: - platform in: formData name: context_type type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMOAuthTokenResponse' "401": description: 客户端不存在、停用或认证失败 | Unknown, disabled or unauthenticated client schema: $ref: '#/definitions/fosite.RFC6749ErrorJson' "503": description: 客户端查询存储不可用或暂时无法签发有效令牌 | Client lookup storage unavailable or temporarily unable to issue a valid token schema: $ref: '#/definitions/fosite.RFC6749ErrorJson' summary: 兑换 OAuth Token | Exchange OAuth token tags: - OAuth x-addp-auth-mode: public /platform/administrator_changes: get: parameters: - description: 页码 | Page number in: query name: page type: integer - description: 页大小 | Page size in: query name: page_size type: integer - description: 请求状态 | Request status enum: - pending - approved - rejected - cancelled - applied in: query name: status type: string - description: 目标用户 ID | Target principal ID in: query name: target_principal_id type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMAdministratorChangeResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询平台管理员变更请求 | List platform administrator change requests tags: - 平台权限治理 | Platform Authorization Governance x-addp-auth-mode: permission x-addp-required-permissions: - iam.platform_administrator_change.read post: consumes: - application/json parameters: - description: 身份变更 | Identity change in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCreateAdministratorChangeRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMAdministratorChangeResponse' security: - BearerAuth: [] summary: 创建平台管理员变更请求 | Create platform administrator change request tags: - 平台权限治理 | Platform Authorization Governance x-addp-auth-mode: permission x-addp-required-permissions: - iam.platform_administrator_change.create /platform/administrator_changes/{id}: get: parameters: - description: 变更请求 ID | Change request ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMAdministratorChangeResponse' security: - BearerAuth: [] summary: 查询平台管理员变更请求详情 | Get platform administrator change request tags: - 平台权限治理 | Platform Authorization Governance x-addp-auth-mode: permission x-addp-required-permissions: - iam.platform_administrator_change.read /platform/administrator_changes/{id}/approve: post: consumes: - application/json parameters: - description: 变更请求 ID | Change request ID in: path name: id required: true type: string - description: 版本和复核意见 | Version and review reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMReviewAdministratorChangeRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMAdministratorChangeResponse' security: - BearerAuth: [] summary: 批准平台管理员变更 | Approve platform administrator change tags: - 平台权限治理 | Platform Authorization Governance x-addp-auth-mode: permission x-addp-required-permissions: - iam.platform_administrator_change.approve /platform/administrator_changes/{id}/cancel: post: consumes: - application/json parameters: - description: 请求 ID | Request ID in: path name: id required: true type: string - description: 版本和原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMReviewAdministratorChangeRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMAdministratorChangeResponse' security: - BearerAuth: [] summary: 撤销本人待复核或凭据待登记的请求 | Cancel own pending request or unconsumed recovery tags: - 平台权限治理 | Platform Authorization Governance x-addp-auth-mode: permission x-addp-required-permissions: - iam.platform_administrator_change.create /platform/administrator_changes/{id}/reject: post: consumes: - application/json parameters: - description: 变更请求 ID | Change request ID in: path name: id required: true type: string - description: 版本和复核意见 | Version and review reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMReviewAdministratorChangeRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMAdministratorChangeResponse' security: - BearerAuth: [] summary: 拒绝平台管理员变更 | Reject platform administrator change tags: - 平台权限治理 | Platform Authorization Governance x-addp-auth-mode: permission x-addp-required-permissions: - iam.platform_administrator_change.reject /platform/administrator_changes/candidates: get: parameters: - description: 页码 | Page number in: query name: page type: integer - description: 页大小 | Page size in: query name: page_size type: integer - description: 显示名称搜索 | Display name search in: query name: search type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMAdministratorChangeCandidateResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询管理员治理候选用户 | List administrator change candidate users tags: - 平台权限治理 | Platform Authorization Governance x-addp-auth-mode: permission x-addp-required-permissions: - iam.platform_administrator_change.create /platform/audit/events: get: parameters: - description: 授权主体 ID | Principal ID in: query name: principal_id type: integer - description: '授权主体类型:user 或 service_principal | Principal type: user or service_principal' in: query name: principal_type type: string - description: 模块标识 | Module name in: query name: module_name type: string - description: 实体类型 | Entity type in: query name: entity_type type: string - description: 实体 ID | Entity ID in: query name: entity_id type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMAuditEventResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询平台审计事件 | List platform audit events tags: - 平台审计 | Platform Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.event.read post: consumes: - application/json description: 平台身份来自服务凭据,且只能记录自身模块 | Platform identity derives from service credentials and the event must belong to the caller module parameters: - description: 审计事件 | Audit event in: body name: request required: true schema: $ref: '#/definitions/models.AuditLogCreateRequest' produces: - application/json responses: "201": description: Created schema: properties: message: type: string type: object "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 追加平台服务审计事件 | Append platform service audit event tags: - 平台审计 | Platform Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.event.create /platform/audit/events/{id}: get: parameters: - description: 审计事件 ID | Audit event ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMAuditEventResponse' security: - BearerAuth: [] summary: 查询平台审计事件详情 | Get platform audit event tags: - 平台审计 | Platform Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.event.read /platform/audit/events/export: get: description: 按稳定顺序导出当前筛选条件下的全部审计事件 | Export all audit events matching the current filters in stable order parameters: - description: csv 或 json | csv or json in: query name: format type: string - description: 授权主体 ID | Principal ID in: query name: principal_id type: integer - description: '授权主体类型:user 或 service_principal | Principal type: user or service_principal' in: query name: principal_type type: string - description: 模块标识 | Module name in: query name: module_name type: string - description: 实体类型 | Entity type in: query name: entity_type type: string - description: 实体 ID | Entity ID in: query name: entity_id type: string produces: - application/json - text/csv responses: "200": description: OK headers: X-ADDP-Export-Count: description: 实际导出的事件数 | Number of exported events type: integer schema: items: $ref: '#/definitions/internal_api.IAMAuditEventResponse' type: array security: - BearerAuth: [] summary: 导出平台审计事件 | Export platform audit events tags: - 平台审计 | Platform Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.event.export /platform/audit/events/summary: get: parameters: - description: 授权主体 ID | Principal ID in: query name: principal_id type: integer - description: '授权主体类型:user 或 service_principal | Principal type: user or service_principal' in: query name: principal_type type: string - description: 模块标识 | Module name in: query name: module_name type: string - description: 实体类型 | Entity type in: query name: entity_type type: string - description: 实体 ID | Entity ID in: query name: entity_id type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_iam.AuditSummary' security: - BearerAuth: [] summary: 汇总平台审计事件 | Summarize platform audit events tags: - 平台审计 | Platform Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.event.read /platform/audit/events/trends: get: parameters: - description: 授权主体 ID | Principal ID in: query name: principal_id type: integer - description: '授权主体类型:user 或 service_principal | Principal type: user or service_principal' in: query name: principal_type type: string - description: 模块标识 | Module name in: query name: module_name type: string - description: 实体类型 | Entity type in: query name: entity_type type: string - description: 实体 ID | Entity ID in: query name: entity_id type: string produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/internal_api.IAMAuditTrendResponse' type: array security: - BearerAuth: [] summary: 查询平台审计趋势 | Get platform audit trends tags: - 平台审计 | Platform Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.event.read /platform/emergency_session_requests: get: parameters: - description: 页码 | Page number in: query name: page type: integer - description: 页大小 | Page size in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/github_com_addp_system_internal_iam.EmergencySessionRequest' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查询应急撤销请求 | List emergency revocation requests tags: - 紧急会话撤销 | Emergency Session Revocation x-addp-auth-mode: permission x-addp-required-permissions: - iam.emergency_session_revocation.read /platform/emergency_session_requests/{id}: get: parameters: - description: 请求 UUID | Request UUID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_iam.EmergencySessionRequest' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核清应急撤销结果 | Resolve emergency revocation result tags: - 紧急会话撤销 | Emergency Session Revocation x-addp-auth-mode: permission x-addp-required-permissions: - iam.emergency_session_revocation.read /platform/emergency_session_requests/{id}/approve: post: consumes: - application/json parameters: - description: 请求 UUID | Request UUID in: path name: id required: true type: string - description: 请求 | Request in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMEmergencySessionReviewRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_iam.EmergencySessionRequest' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 批准 | Approve tags: - 紧急会话撤销 | Emergency Session Revocation x-addp-auth-mode: permission x-addp-required-permissions: - iam.emergency_session_revocation.approve /platform/emergency_session_requests/{id}/reject: post: consumes: - application/json parameters: - description: 请求 UUID | Request UUID in: path name: id required: true type: string - description: 请求 | Request in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMEmergencySessionReviewRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_iam.EmergencySessionRequest' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 拒绝 | Reject tags: - 紧急会话撤销 | Emergency Session Revocation x-addp-auth-mode: permission x-addp-required-permissions: - iam.emergency_session_revocation.reject /platform/emergency_session_requests/{id}/revoke: post: consumes: - application/json parameters: - description: 请求 UUID | Request UUID in: path name: id required: true type: string - description: 请求 | Request in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMEmergencySessionReviewRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_iam.EmergencySessionRequest' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 撤回授权 | Revoke grant tags: - 紧急会话撤销 | Emergency Session Revocation x-addp-auth-mode: permission x-addp-required-permissions: - iam.emergency_session_revocation.revoke /platform/engine-raster-policies/{id}: get: parameters: - description: 引擎实例 ID | Engine instance ID in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.RasterPolicyView' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 栅格资源配置 | Get raster resource policy tags: - 栅格资源配置 | Raster Resource Policy x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_raster_policy.read put: consumes: - application/json parameters: - description: 引擎实例 ID | Engine instance ID in: path name: id required: true type: integer - description: 配置 | Configuration in: body name: request required: true schema: $ref: '#/definitions/internal_api.RasterPlatformUpdate' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.RasterPolicyView' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 栅格资源配置 | Update raster resource policy tags: - 栅格资源配置 | Raster Resource Policy x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_raster_policy.update /platform/engine-raster-policies/engines: get: produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/github_com_addp_system_internal_service.RasterEngineSummary' type: array "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 栅格资源配置 | List raster runtimes tags: - 栅格资源配置 | Raster Resource Policy x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_raster_policy.read /platform/engine_deployments: get: description: 只读管理员确认的部署声明;不读取租户引擎或业务数据 | Read confirmed deployment declarations without Tenant engines or business data parameters: - default: 1 description: 页码 | Page in: query name: page type: integer - default: 20 description: 每页数量 | Page size in: query name: page_size type: integer - description: 部署名称片段 | Deployment name fragment in: query name: search type: string - description: 部署来源范围 | Deployment provenance scope enum: - infra - business in: query name: scope type: string - description: 引擎类型 | Engine type enum: - postgresql - redis - minio - falkordb - mysql - neo4j - ftp - spark in: query name: engine_type type: string - description: 声明的主机 UUID | Declared host UUID in: query name: node_id type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentPage' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查询平台引擎部署 | List platform engine deployments tags: - 引擎部署 | Engine Deployments x-addp-auth-mode: permission x-addp-required-permissions: - platform.engine_deployment.read post: consumes: - application/json description: 管理员确认 PostgreSQL 来源与主机;不创建租户引擎、不探测 SQL 或 Docker | Confirm PostgreSQL source and host without creating Tenant engines or probing SQL or Docker parameters: - description: 至多16个显式来源及主机确认 | Up to 16 explicit source and host confirmations in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentAdmissionRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentAdmissionResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 批量确认自带引擎部署 | Confirm built-in engine deployments in a batch tags: - 引擎部署 | Engine Deployments x-addp-auth-mode: permission x-addp-required-permissions: - platform.engine_deployment.create - platform.host_node.read /platform/engine_deployments/{deployment_id}: get: description: 返回确认快照和当前纳管关联,不代表在线或采集成功 | Return the confirmed snapshot and current management association, not live collection status parameters: - description: 部署 UUID | Deployment UUID in: path name: deployment_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeployment' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查看平台引擎部署 | Read platform engine deployment tags: - 引擎部署 | Engine Deployments x-addp-auth-mode: permission x-addp-required-permissions: - platform.engine_deployment.read put: consumes: - application/json description: 完整替换及版本 CAS,保留原声明有效区间与审计;不执行部署操作 | Full replacement with version CAS and retained declaration intervals and audit, without deployment operations parameters: - description: 部署 UUID | Deployment UUID in: path name: deployment_id required: true type: string - description: 完整声明及当前版本 | Complete declaration and current version in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeploymentUpdateRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineDeployment' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 更新平台引擎部署声明 | Update platform engine deployment declaration tags: - 引擎部署 | Engine Deployments x-addp-auth-mode: permission x-addp-required-permissions: - platform.engine_deployment.update - platform.host_node.read /platform/engine_deployments/discovery: get: description: 仅读取部署侧有界快照;过期或失败清除候选,不自动登记或推断主机 | Read bounded deployment snapshots; stale or failed sources clear candidates without registration or host inference produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.DeploymentDiscovery' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查看自带部署发现来源 | Read built-in deployment discovery tags: - 引擎部署 | Engine Deployments x-addp-auth-mode: permission x-addp-required-permissions: - platform.engine_deployment.read /platform/host_nodes: get: consumes: - application/json description: 平台 User 节点台账;不执行主机操作或资源采集 | Platform user node inventory without host operations or resource collection parameters: - default: 1 description: 页码 | Page in: query name: page type: integer - default: 20 description: 每页数量 | Page size in: query name: page_size type: integer - description: 名称或地址片段 | Name or address fragment in: query name: search type: string - description: 主机类型;省略为全部 | Host kind; omit for all enum: - physical - virtual in: query name: node_kind type: string - description: 纳管启用状态;省略为全部 | Management enabled state; omit for all in: query name: enabled type: boolean produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.HostNodePage' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查询节点台账 | List managed host nodes tags: - 节点台账 | Host Nodes x-addp-auth-mode: permission x-addp-required-permissions: - platform.host_node.read post: consumes: - application/json description: 平台 User 节点台账;不执行主机操作或资源采集 | Platform user node inventory without host operations or resource collection parameters: - description: 节点台账与允许集合 | Node inventory and allowed bindings in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.HostNodeInput' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/github_com_addp_system_internal_models.HostNode' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 创建纳管节点 | Create managed host node tags: - 节点台账 | Host Nodes x-addp-auth-mode: permission x-addp-required-permissions: - platform.host_node.create /platform/host_nodes/{node_id}: get: consumes: - application/json description: 平台 User 节点台账;不执行主机操作或资源采集 | Platform user node inventory without host operations or resource collection parameters: - description: 节点 UUID | Node UUID in: path name: node_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.HostNode' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查看节点台账 | Get managed host node tags: - 节点台账 | Host Nodes x-addp-auth-mode: permission x-addp-required-permissions: - platform.host_node.read put: consumes: - application/json description: 平台 User 节点台账;不执行主机操作或资源采集 | Platform user node inventory without host operations or resource collection parameters: - description: 节点 UUID | Node UUID in: path name: node_id required: true type: string - description: 完整替换及节点版本 | Full replacement and node version in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.HostNodeUpdateRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.HostNode' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 更新节点台账 | Update managed host node tags: - 节点台账 | Host Nodes x-addp-auth-mode: permission x-addp-required-permissions: - platform.host_node.update /platform/infra_configuration: get: produces: - application/json responses: "200": description: 组件配置观测 | Component settings observations schema: items: $ref: '#/definitions/github_com_addp_system_internal_infraconfig.Component' type: array "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查看基础设施运行配置 | Read infrastructure runtime configuration tags: - 基础设施配置 | Infrastructure Configuration x-addp-auth-mode: permission x-addp-required-permissions: - system.infra_configuration.read /platform/infra_configuration/{component}/parameters/{parameter}/apply: post: consumes: - application/json description: 返回应用、持久化与读回结果 | Return application, persistence, and verification results parameters: - description: 部署角色 | Deployment role in: path name: component required: true type: string - description: 参数名称 | Parameter name in: path name: parameter required: true type: string - description: 原生单位中的值 | Value in the native unit in: body name: request required: true schema: $ref: '#/definitions/internal_api.InfraParameterApplyRequest' produces: - application/json responses: "200": description: 操作结果 | Operation outcome schema: $ref: '#/definitions/github_com_addp_system_internal_infraconfig.Outcome' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 应用一个基础设施参数 | Apply one infrastructure parameter tags: - 基础设施配置 | Infrastructure Configuration x-addp-auth-mode: permission x-addp-required-permissions: - system.infra_configuration.read - system.infra_configuration.update /platform/module-instances: get: description: 按模块、节点、角色、当前有效状态及登记或离线判定时间组合查询实例;恢复后退出离线时间查询,不重建历史在线状态 | Search instances by module, node, role, current effective status and registration or offline determination time; recovered instances leave offline-time results, without reconstructing past availability parameters: - description: 稳定模块名,精确匹配 | Stable module name, exact match in: query name: module_name type: string - description: 最多 100 个不重复规范正整数实例记录 ID,以逗号分隔,精确过滤 | Up to 100 unique canonical positive instance record IDs, comma-separated, exact filtering in: query name: ids type: string - description: 宿主节点名或运行环境主机名,不区分大小写的精确匹配 | Host node name or runtime hostname, case-insensitive exact match in: query name: node_name type: string - description: 宿主节点 IPv4/IPv6,规范化后精确匹配 | Host node IPv4/IPv6, canonical exact match in: query name: node_ip type: string - description: 启动实例标识精确集合,最多100个 | Exact startup instance identities, at most 100 in: query name: instance_ids type: string - description: 登记端点主机名或 IP,精确匹配 | Registered endpoint hostname or IP, exact match in: query name: registered_host type: string - description: '角色过滤:backend、worker、scheduler、ingress | Role filter: backend, worker, scheduler, ingress' in: query name: role type: string - description: '有效状态过滤:up、down | Effective status filter: up, down' in: query name: status type: string - description: 是否已声明进程采集;只接受单个 true/false,省略不限制,不表示采集成功 | Process collection declaration; one canonical true/false only, omitted means unrestricted, does not indicate successful collection in: query name: process_metrics_declared type: boolean - description: 当前下线原因:graceful 正常退出、lease_expired 租约超时;未扫描的过期租约同样匹配,恢复实例不匹配 | Current stop reason; expired leases match before scanning, recovered instances do not match enum: - graceful - lease_expired in: query name: stop_reason type: string - default: registered description: '时间依据:registered 登记、offline 离线判定 | Time basis: registered or offline determination' enum: - registered - offline in: query name: time_basis type: string - description: 选定时间依据的下界,RFC3339,含 | Lower bound of the selected time basis, RFC3339, inclusive in: query name: time_from type: string - description: 选定时间依据的上界,RFC3339,不含 | Upper bound of the selected time basis, RFC3339, exclusive in: query name: time_to type: string - default: 1 description: 页码 | Page number in: query name: page type: integer - default: 10 description: 每页数量,最大 100 | Page size, maximum 100 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleRuntimeInstanceRecord' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 跨模块分页查询运行实例 | List runtime instances across modules tags: - 平台模块管理 | Platform Module Management x-addp-auth-mode: permission x-addp-required-permissions: - platform.module.read /platform/module-log-sources: get: description: 未登记不代表启动失败;发现状态 unknown 不代表空目录;discovery_issues 区分观测超时和扫描问题 | Unregistered does not mean startup failure; unknown discovery does not mean an empty catalog; discovery_issues separates stale reports from scan issues parameters: - description: 模块名 | Module name in: query name: module_name type: string - description: 节点名精确匹配 | Exact node name in: query name: node_name type: string - description: 角色 | Role enum: - backend - worker - scheduler - ingress in: query name: role type: string - description: 首次采集起始时间(含) | Inclusive first capture time in: query name: time_from type: string - description: 首次采集结束时间(不含) | Exclusive first capture time in: query name: time_to type: string - default: 1 description: 页码 | Page number in: query name: page type: integer - default: 20 description: 每页条数 | Page size in: query maximum: 100 name: page_size type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleLogSourcePage' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查询未登记实例的运行日志来源 | List runtime log sources without a current registration tags: - 平台模块管理 | Platform Module Management x-addp-auth-mode: permission x-addp-required-permissions: - platform.module_log.read /platform/module_startup_failures: get: description: 只返回当前部署已证实的后端启动失败,不改变实例状态 | Returns confirmed startup failures in the current deployment without changing instance status produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleStartupFailuresResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查询开发后端启动失败 | List development backend startup failures tags: - 平台模块管理 | Platform Module Management x-addp-auth-mode: permission x-addp-required-permissions: - platform.module.read /platform/modules: get: description: 平台系统管理员读取持久模块定义及 Backend、Worker、Scheduler 当前租约投影 | A platform system administrator reads persistent module definitions and current Backend, Worker, and Scheduler lease projections produces: - application/json responses: "200": description: OK schema: properties: count: type: integer modules: items: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleInfo' type: array type: object "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查询平台模块定义与运行实例 | List platform module definitions and runtime instances tags: - 平台模块管理 | Platform Module Management x-addp-auth-mode: permission x-addp-required-permissions: - platform.module.read post: consumes: - application/json description: 由平台模块管理员显式登记尚不存在的 Catalog 启用状态;不创建运行实例,已有定义返回冲突且不覆盖 | Explicitly creates a missing Catalog definition using platform module management authority; creates no runtime instance and never overwrites an existing definition parameters: - description: 部署声明 | Deployment declaration in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleDefinitionCreateRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleInfo' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 登记 Catalog 部署意图 | Declare Catalog deployment intent tags: - 平台模块管理 | Platform Module Management x-addp-auth-mode: permission x-addp-required-permissions: - platform.module.update /platform/modules/{module_name}: get: parameters: - description: 模块名 | Module name in: path name: module_name required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleInfo' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查询平台模块详情 | Get platform module details tags: - 平台模块管理 | Platform Module Management x-addp-auth-mode: permission x-addp-required-permissions: - platform.module.read put: consumes: - application/json description: 只更新业务模块的管理员 enabled 意图;System 与 Gateway 固定启用,更新返回 409 bootstrap_module_immutable | Updates only business module enabled intent; System and Gateway are always enabled, and updates return 409 bootstrap_module_immutable parameters: - description: 模块名 | Module name in: path name: module_name required: true type: string - description: 模块定义更新 | Module definition update in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleDefinitionUpdateRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleInfo' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 更新平台模块启用状态 | Update platform module enabled state tags: - 平台模块管理 | Platform Module Management x-addp-auth-mode: permission x-addp-required-permissions: - platform.module.update /platform/modules/{module_name}/instances/{instance_id}/logs: get: description: 固定窗口游标分页;30 分钟有效,非存储快照,采集完整性未知,离线实例与可信未登记来源均可读取 | Fixed-window cursor paging; valid for 30 minutes, not a storage snapshot, collection completeness unknown; offline instances and trusted unregistered sources supported parameters: - description: 模块名 | Module name in: path name: module_name required: true type: string - description: 进程实例 ID | Process instance ID in: path name: instance_id required: true type: string - description: UTC RFC3339 起始时间(含) | Inclusive UTC RFC3339 start in: query name: from required: true type: string - description: UTC RFC3339 结束时间(不含) | Exclusive UTC RFC3339 end in: query name: to required: true type: string - description: 日志级别 | Log level enum: - debug - info - warn - error - unknown in: query name: level type: string - description: 规范 Trace ID 精确过滤 | Exact canonical Trace ID filter in: query name: trace_id type: string - description: 字面量关键字,最多 128 字符 | Literal keyword, at most 128 characters in: query name: keyword type: string - description: 每批上限,默认 200,最多 1000 | Batch limit, default 200, maximum 1000 in: query name: limit type: integer - description: 服务端产生的续查游标;须保留同一筛选与窗口 | Server-issued cursor; retain the same filters and window in: query name: cursor type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_service.RuntimeLogResult' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "422": description: Unprocessable Entity schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "502": description: Bad Gateway schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "504": description: Gateway Timeout schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查看指定模块实例运行日志 | Read runtime logs of a module instance tags: - 平台模块管理 | Platform Module Management x-addp-auth-mode: permission x-addp-required-permissions: - platform.module_log.read /platform/security_policy: get: produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMSecurityPolicyResponse' "401": description: Unauthorized schema: additionalProperties: true type: object "403": description: Forbidden schema: additionalProperties: true type: object security: - BearerAuth: [] summary: 查询 IAM 安全策略 | Get IAM security policy tags: - IAM 安全策略 | IAM Security Policy x-addp-auth-mode: permission x-addp-required-permissions: - iam.security_policy.read put: consumes: - application/json description: 保存新策略版本;策略在 System 受控重启后生效 | Saves a new policy version that takes effect after a controlled System restart parameters: - description: IAM 安全策略 | IAM security policy in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMUpdateSecurityPolicyRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMSecurityPolicyResponse' "400": description: Bad Request schema: additionalProperties: true type: object "401": description: Unauthorized schema: additionalProperties: true type: object "403": description: Forbidden schema: additionalProperties: true type: object "409": description: Conflict schema: additionalProperties: true type: object security: - BearerAuth: [] summary: 更新 IAM 安全策略 | Update IAM security policy tags: - IAM 安全策略 | IAM Security Policy x-addp-auth-mode: permission x-addp-required-permissions: - iam.security_policy.update /platform/tenant_administrator_candidates: get: description: 仅返回有效且未持有平台角色的普通用户 | Return only active users without an effective platform role parameters: - description: 姓名、邮箱或用户名 | Name, email, or username in: query name: search type: string produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/internal_api.IAMTenantAdministratorCandidateResponse' type: array security: - BearerAuth: [] summary: 查询首位租户管理员候选人 | List initial tenant administrator candidates tags: - 平台租户 | Platform Tenants x-addp-auth-mode: permission x-addp-required-permissions: - platform.tenant.create /platform/tenants: get: parameters: - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: 名称或编码 | Name or code in: query name: search type: string - description: 状态 | Status in: query name: status type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMTenantResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查询平台租户 | List platform tenants tags: - 平台租户 | Platform Tenants x-addp-auth-mode: permission x-addp-required-permissions: - platform.tenant.read post: consumes: - application/json parameters: - description: 租户 | Tenant in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCreateTenantRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMTenantResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 创建平台租户 | Create platform tenant tags: - 平台租户 | Platform Tenants x-addp-auth-mode: permission x-addp-required-permissions: - platform.tenant.create /platform/tenants/{id}: get: parameters: - description: 租户 ID | Tenant ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查询平台租户详情 | Get platform tenant tags: - 平台租户 | Platform Tenants x-addp-auth-mode: permission x-addp-required-permissions: - platform.tenant.read put: consumes: - application/json parameters: - description: 租户 ID | Tenant ID in: path name: id required: true type: string - description: 租户资料 | Tenant profile in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMUpdateTenantRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantResponse' security: - BearerAuth: [] summary: 更新平台租户 | Update platform tenant tags: - 平台租户 | Platform Tenants x-addp-auth-mode: permission x-addp-required-permissions: - platform.tenant.update /platform/tenants/{id}/close: post: consumes: - application/json parameters: - description: 租户 ID | Tenant ID in: path name: id required: true type: string - description: 原因 | Reason in: body name: request schema: $ref: '#/definitions/internal_api.IAMLifecycleReasonRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantStatusResponse' security: - BearerAuth: [] summary: 关闭平台租户 | Close platform tenant tags: - 平台租户 | Platform Tenants x-addp-auth-mode: permission x-addp-required-permissions: - platform.tenant.close /platform/tenants/{id}/initialization: post: consumes: - application/json description: 为尚无成员和角色分配的既有租户原子建立首位租户管理员 | Atomically establish the first tenant administrator for an existing tenant without memberships or assignments parameters: - description: 租户 ID | Tenant ID in: path name: id required: true type: string - description: 首位租户管理员 | Initial tenant administrator in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMInitializeTenantRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 初始化既有租户 | Initialize existing tenant tags: - 平台租户 | Platform Tenants x-addp-auth-mode: permission x-addp-required-permissions: - platform.tenant.initialize /platform/tenants/{id}/restore: post: consumes: - application/json parameters: - description: 租户 ID | Tenant ID in: path name: id required: true type: string - description: 原因 | Reason in: body name: request schema: $ref: '#/definitions/internal_api.IAMLifecycleReasonRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantStatusResponse' security: - BearerAuth: [] summary: 恢复平台租户 | Restore platform tenant tags: - 平台租户 | Platform Tenants x-addp-auth-mode: permission x-addp-required-permissions: - platform.tenant.restore /platform/tenants/{id}/suspend: post: consumes: - application/json parameters: - description: 租户 ID | Tenant ID in: path name: id required: true type: string - description: 原因 | Reason in: body name: request schema: $ref: '#/definitions/internal_api.IAMLifecycleReasonRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantStatusResponse' security: - BearerAuth: [] summary: 暂停平台租户 | Suspend platform tenant tags: - 平台租户 | Platform Tenants x-addp-auth-mode: permission x-addp-required-permissions: - platform.tenant.suspend /platform/users: get: parameters: - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: 姓名、邮箱或用户名 | Name, email, or username in: query name: search type: string - description: 状态 | Status in: query name: status type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMManagedUserResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询平台用户 | List platform users tags: - 平台用户 | Platform Users x-addp-auth-mode: permission x-addp-required-permissions: - iam.user.read post: consumes: - application/json parameters: - description: 用户与本地账号 | User and local account in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCreateManagedUserRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMManagedUserResponse' security: - BearerAuth: [] summary: 创建本地平台用户 | Create local platform user tags: - 平台用户 | Platform Users x-addp-auth-mode: permission x-addp-required-permissions: - iam.user.create /platform/users/{id}: get: parameters: - description: 用户 ID | User ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMManagedUserResponse' security: - BearerAuth: [] summary: 查询平台用户详情 | Get platform user tags: - 平台用户 | Platform Users x-addp-auth-mode: permission x-addp-required-permissions: - iam.user.read put: consumes: - application/json parameters: - description: 用户 ID | User ID in: path name: id required: true type: string - description: 用户资料 | User profile in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMUpdateManagedUserRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMManagedUserResponse' security: - BearerAuth: [] summary: 更新平台用户 | Update platform user tags: - 平台用户 | Platform Users x-addp-auth-mode: permission x-addp-required-permissions: - iam.user.update /platform/users/{id}/reactivate: post: consumes: - application/json parameters: - description: 用户 ID | User ID in: path name: id required: true type: string - description: 状态变更 | Status change in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMChangeManagedUserStatusRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMManagedUserStatusResponse' security: - BearerAuth: [] summary: 重新激活平台用户 | Reactivate platform user tags: - 平台用户 | Platform Users x-addp-auth-mode: permission x-addp-required-permissions: - iam.user.reactivate /platform/users/{id}/reset-mfa: post: consumes: - application/json description: 废止不持有有效平台角色的普通用户旧 TOTP,并撤销其全部既有认证会话;用户随后必须自助登记新 TOTP | Disable the old TOTP for an ordinary user without an effective platform role and revoke all existing authentication sessions; the user must then enroll a new TOTP parameters: - description: 用户 ID | User ID in: path name: id required: true type: string - description: 重置原因 | Reset reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMResetManagedMFARequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMManagedMFAResetResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 重置普通用户身份验证器 | Reset ordinary user authenticator tags: - 平台用户 | Platform Users x-addp-auth-mode: permission x-addp-required-permissions: - iam.mfa_credential.reset /platform/users/{id}/reset-password: post: consumes: - application/json description: 仅允许重置不持有有效平台角色的普通用户,并撤销其全部既有认证会话 | Reset only an ordinary user without an effective platform role and revoke all existing authentication sessions parameters: - description: 用户 ID | User ID in: path name: id required: true type: string - description: 新密码与原因 | New password and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMResetManagedLocalAccountPasswordRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMManagedLocalAccountPasswordResetResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 重置普通用户本地密码 | Reset ordinary user local password tags: - 平台用户 | Platform Users x-addp-auth-mode: permission x-addp-required-permissions: - iam.local_account.reset /platform/users/{id}/suspend: post: consumes: - application/json parameters: - description: 用户 ID | User ID in: path name: id required: true type: string - description: 状态变更 | Status change in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMChangeManagedUserStatusRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMManagedUserStatusResponse' security: - BearerAuth: [] summary: 暂停平台用户 | Suspend platform user tags: - 平台用户 | Platform Users x-addp-auth-mode: permission x-addp-required-permissions: - iam.user.suspend /refresh: post: produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMAccessTokenResponse' summary: 轮换浏览器令牌 | Rotate browser tokens tags: - 认证 | Authentication x-addp-auth-mode: public /runtime/api-consumer-credentials/validate: get: description: Gateway 或 Service 平台 Service Principal 验证数据面 API 消费凭据;服务间认证本身仍只使用 Bearer | Gateway or Service validates a data-plane API consumer credential; service-to-service authentication remains Bearer-only parameters: - description: API Key Hash in: query name: key_hash required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.APIConsumerCredentialValidationResponse' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 验证 API 消费凭据 Hash | Validate API consumer credential hash tags: - API 消费方 | API Consumers x-addp-auth-mode: permission x-addp-required-permissions: - iam.api_consumer_runtime.read /runtime/catalog-references/candidates: get: description: 仅 addp-catalog Tenant Service Principal 可分页查询当前 Tenant 有效的 Department、User 或 Project Group;只返回名称、编码、稳定 ID 和状态,不返回成员、角色或数据。Catalog 须在人的消费入口独立核验条目与责任资格 | Only the addp-catalog tenant service principal may page active departments, users or project groups in the current tenant. Returns only names, codes, stable IDs and statuses, never members, roles or data. Catalog independently checks entry and responsibility eligibility at human consumption boundaries parameters: - description: 主体类型 | Subject type enum: - department - user - project_group in: query name: subject_type required: true type: string - description: 名称或编码,最多 100 字符 | Name or code, maximum 100 characters in: query name: search type: string - description: 页码,默认 1 | Page number, default 1 in: query name: page type: integer - description: 每页数量,默认 20,最大 50 | Page size, default 20 and maximum 50 in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMCatalogReferenceCandidateResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查询 Catalog 主体引用候选 | List Catalog subject reference candidates tags: - Runtime Catalog References x-addp-auth-mode: permission x-addp-required-permissions: - iam.department.read - iam.project_group.read - iam.tenant_membership.read /runtime/catalog-references/resolve: post: consumes: - application/json description: 仅 addp-catalog Tenant Service Principal 可按当前 Tenant 解析 Department、User 与 Project Group;User ID 是全局稳定身份但必须有当前 Tenant Membership;Project Group 只供协作集合显示;跨 Tenant 与不存在统一返回 found=false | Only the addp-catalog tenant service principal may resolve departments, users, and project groups in the current tenant; a user ID is globally stable but requires a current tenant membership; project groups are only used to display collaboration collections; cross-tenant and missing subjects both return found=false parameters: - description: 主体引用集合,最多 200 个 | Subject references, up to 200 in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCatalogReferenceBatchRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMCatalogReferenceBatchResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 精确批量解析 Catalog 组织引用 | Resolve Catalog organization references in batch tags: - Runtime Catalog References x-addp-auth-mode: permission x-addp-required-permissions: - iam.department.read - iam.project_group.read - iam.tenant_membership.read /runtime/engine-access-fulfillments/{request_id}/accept: post: consumes: - application/json description: 仅 Catalog Tenant Service;锁外可信反查已提交请求,事务内核验当前人类、目标批准要求和期限;回执不是 Grant | Catalog Tenant Service only; trusted committed-basis lookup outside locks and current eligibility/target/expiry verification inside the transaction; receipt is not a Grant parameters: - description: 原请求 UUID | Original request UUID in: path name: request_id required: true type: string - description: 完整绑定 | Complete binding in: body name: request required: true schema: $ref: '#/definitions/authorization.SharingFulfillmentBinding' produces: - application/json responses: "200": description: 不可变回执,不是授权 | Immutable receipt, not granted access schema: $ref: '#/definitions/authorization.SharingFulfillmentResolution' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 首次受理源读取授权办理 | Accept source-read access fulfillment tags: - 源授权办理 | Source Access Fulfillment x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_fulfillment.execute /runtime/engine-access-fulfillments/{request_id}/close: post: consumes: - application/json description: 关闭与受理串行;若受理已胜出返回原回执,不重新办理或写 Grant | Serializes with acceptance; returns the winning original receipt, without new acceptance or Grant parameters: - description: 原请求 UUID | Original request UUID in: path name: request_id required: true type: string - description: 原完整绑定 | Original complete binding in: body name: request required: true schema: $ref: '#/definitions/authorization.SharingFulfillmentBinding' produces: - application/json responses: "200": description: 原不可变结果 | Original immutable outcome schema: $ref: '#/definitions/authorization.SharingFulfillmentResolution' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核清并关闭未受理的原办理请求 | Settle and close an unaccepted original fulfillment request tags: - 源授权办理核清 | Source Access Fulfillment Recovery x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_fulfillment.execute /runtime/engine-access-fulfillments/{request_id}/grant: post: consumes: - application/json description: 仅当前 Catalog Tenant Service;完整匹配原受理绑定,在原窗口内核验人类权限与委派;同参重试只返回原签发历史,不代表当前访问允许 | Current Catalog Tenant Service only; exact accepted binding and current human Permission/delegation within the original window; identical retries return issuance history, not current access Allow parameters: - description: 原办理 UUID | Original fulfillment UUID in: path name: request_id required: true type: string - description: 完整原绑定 | Complete original binding in: body name: request required: true schema: $ref: '#/definitions/authorization.SharingFulfillmentBinding' produces: - application/json responses: "200": description: 不可变签发历史,不是当前访问许可 | Immutable issuance history, not current access Allow schema: $ref: '#/definitions/authorization.SharingFulfillmentGrant' "400": description: 窗口到期、关闭、绑定冲突与 Meta 核验不可用含稳定错误码 | Stable errors for window expiry, closure, binding conflict and unavailable Meta validation schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 窗口到期、关闭、绑定冲突与 Meta 核验不可用含稳定错误码 | Stable errors for window expiry, closure, binding conflict and unavailable Meta validation schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 窗口到期、关闭、绑定冲突与 Meta 核验不可用含稳定错误码 | Stable errors for window expiry, closure, binding conflict and unavailable Meta validation schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 窗口到期、关闭、绑定冲突与 Meta 核验不可用含稳定错误码 | Stable errors for window expiry, closure, binding conflict and unavailable Meta validation schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 窗口到期、关闭、绑定冲突与 Meta 核验不可用含稳定错误码 | Stable errors for window expiry, closure, binding conflict and unavailable Meta validation schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: 窗口到期、关闭、绑定冲突与 Meta 核验不可用含稳定错误码 | Stable errors for window expiry, closure, binding conflict and unavailable Meta validation schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 签发已正式受理请求的源数据 Grant | Issue a source-data Grant for an accepted fulfillment tags: - 源授权办理 | Source Access Fulfillment x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_fulfillment.execute /runtime/engine-access-fulfillments/{request_id}/grant/resolve: post: consumes: - application/json description: 仅当前 Catalog Tenant Service,严格匹配原绑定;同一已提交快照优先返回本次签发历史,未签发时可返回 unissued_reason=relation_exists/window_expired/closed;原窗口按 System 数据库时间观察。阻碍不是失败历史或访问许可,不返回其他授权身份,不签发、撤销、续期或关闭请求 | Current Catalog Tenant Service and exact original binding only; one committed snapshot returns original issuance history first, or optional unissued_reason=relation_exists/window_expired/closed using System database time. Blockers are observations, not failure history or access Allow; no other Grant identity or mutation parameters: - description: 原办理 UUID | Original fulfillment UUID in: path name: request_id required: true type: string - description: 完整原绑定 | Complete original binding in: body name: request required: true schema: $ref: '#/definitions/authorization.SharingFulfillmentBinding' produces: - application/json responses: "200": description: 原签发优先;未签发可含当前阻碍,无阻碍省略原因 | Original issuance first; an unissued request may include a current blocker, omitted when none schema: $ref: '#/definitions/authorization.SharingFulfillmentGrantLookup' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 只读查询原请求的签发历史及当前阻碍 | Resolve original issuance history and current blockers without writes tags: - 源授权办理 | Source Access Fulfillment x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_fulfillment.execute /runtime/engine-access-fulfillments/{request_id}/resolve: post: consumes: - application/json description: 仅 Catalog 租户服务身份;精确匹配原绑定,只读未找到不表示关闭 | Catalog tenant service only; exact original binding; a read-only miss is not closure parameters: - description: 原请求 UUID | Original request UUID in: path name: request_id required: true type: string - description: 原完整绑定 | Original complete binding in: body name: request required: true schema: $ref: '#/definitions/authorization.SharingFulfillmentBinding' produces: - application/json responses: "200": description: 权威查询结果 | Authoritative lookup schema: $ref: '#/definitions/authorization.SharingFulfillmentLookup' "400": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: 请求失败 | Request failed schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核清原办理请求结果 | Resolve the original fulfillment outcome tags: - 源授权办理核清 | Source Access Fulfillment Recovery x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_fulfillment.execute /runtime/engine-descriptors: get: description: 返回同 Tenant 可见的脱敏控制面投影;工作流、脚本、联邦查询和 AI 推理运行时包含 protocol/host/port,数据引擎不返回 connection_info | Return same-tenant masked control-plane projections; workflow, script, federated-query, and AI inference runtimes include protocol/host/port while data engines never expose connection_info parameters: - default: 1 description: 页码 | Page number in: query name: page type: integer - default: 10 description: 每页数量 | Page size in: query name: page_size type: integer - description: 引擎类型 | Engine type in: query name: engine_type type: string - description: '能力分组,逗号分隔:storage,compute | Comma-separated capability groups: storage,compute' in: query name: capability_groups type: string - description: '引擎来源,逗号分隔:general,extension | Comma-separated engine origins: general,extension' in: query name: engine_origins type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/github_com_addp_system_internal_models.EngineRuntimeDescriptor' type: array page: type: integer page_size: type: integer total: type: integer type: object "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 获取引擎运行时描述列表 | List engine runtime descriptors tags: - 运行时控制面 | Runtime Control Plane x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_descriptor.read /runtime/engine-descriptors/{id}: get: description: 返回单个同 Tenant Engine Instance 的脱敏控制面投影,不返回数据引擎明文连接 | Return one same-tenant masked Engine Instance control-plane projection without data-engine plaintext connection details parameters: - description: 引擎ID | Engine ID in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.EngineRuntimeDescriptor' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 获取引擎运行时描述 | Get engine runtime descriptor tags: - 运行时控制面 | Runtime Control Plane x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_descriptor.read /runtime/engine-raster-policy: post: consumes: - application/json parameters: - description: 配置 | Configuration in: body name: request required: true schema: $ref: '#/definitions/internal_api.RuntimeRasterPolicyRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_service.RuntimeRasterPolicy' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 栅格资源配置 | Resolve runtime raster policy tags: - 栅格资源配置 | Raster Resource Policy x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_raster_policy_runtime.read /runtime/engines: post: consumes: - application/json description: 平台 Service Principal 注册自身内置 Runtime;同地址重复注册沿用原 ID 并刷新经过校验的能力声明,保留管理员设置及最新连接观测,再异步检测连接 | A platform service principal registers its runtime; repeat registration keeps the ID and refreshes validated capabilities while preserving administrator settings and connectivity observations, then checks connectivity asynchronously parameters: - description: Runtime 注册信息 | Runtime registration in: body name: request required: true schema: $ref: '#/definitions/internal_api.RuntimeEngineRegistrationRequest' produces: - application/json responses: "202": description: Accepted schema: properties: engine_id: type: integer engine_type: type: string message: type: string success: type: boolean type: object "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 注册内置 Engine Runtime | Register built-in engine runtime tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.runtime_registry.update /runtime/engines/{id}/metrics: put: consumes: - application/json description: 平台服务身份只能为自己的内置运行时和当前进程代次续租 | A platform runtime may renew only its own registered engine and process generation parameters: - description: 引擎 ID | Engine ID in: path name: id required: true type: integer - description: 指标来源 | Metrics declaration in: body name: request required: true schema: $ref: '#/definitions/models.RuntimeMetricsDeclaration' produces: - application/json responses: "204": description: No Content "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 续约内置运行时指标来源 | Renew a built-in runtime metrics source tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.runtime_metrics.update /runtime/execution-authorizations: post: consumes: - application/json description: 仅匹配 audience 的 Tenant Runtime Service Principal 可基于可验证的 Orchestrator 父 execution 与 owner 子 execution 来源链签发授权;子 execution 必须处于 pending,或由请求中精确的 attempt 与 lease_token 持有未过期的 running 租约 | Only the tenant runtime service principal matching the audience may issue from a verified Orchestrator parent and owner child execution chain; the child must be pending or hold the exact unexpired running lease identified by attempt and lease_token parameters: - description: 父子执行与授权边界 | Parent/child execution and authorization boundary in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMIssueExecutionAuthorizationFromExecutionRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMExecutionAuthorizationResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 从父子执行来源签发执行授权 | Issue execution authorization from execution provenance tags: - Runtime 执行授权 | Runtime Execution Authorization x-addp-auth-mode: permission x-addp-conditional-permissions: - transfer.task.execute - develop.data_read.execute - develop.data_write.execute x-addp-required-permissions: - system.execution_authorization.execute /runtime/execution-authorizations/develop-file-workflows: post: consumes: - application/json description: 固定同租户 addp-develop Service;System 独立核 common 父子行、相同手动或定时触发、真实用户、当前权限、父租约与原冻结 Intent,仅允许只读。不以服务权限替代用户 read Grant。 | Fixed same-tenant addp-develop Service. System verifies authoritative parent-child executions with matching manual or scheduled triggers, actual user, current permissions, parent lease and original frozen intent. Read only; service permission does not replace the user read Grant. parameters: - description: 原子执行与 Intent 摘要 | Original child execution and intent digest in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMIssueDevelopFileRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/client.IssuedDevelopFileAuthorization' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 从可信父执行签发 Develop 私有文件授权 | Issue Develop private file authorization from a trusted parent tags: - 执行授权 | Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /runtime/execution-authorizations/service-definitions: post: consumes: - application/json description: 仅 addp-service 可基于当前已发布定义版本为 DuckDB Runtime 签发最长 60 秒的只读授权 | Only addp-service may issue a read-only authorization of at most 60 seconds for the DuckDB Runtime from the current published definition version parameters: - description: 服务定义和授权边界 | Service definition and authorization boundary in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMIssueExecutionAuthorizationFromServiceDefinitionRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMExecutionAuthorizationResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 从已发布服务定义签发只读执行授权 | Issue read-only execution authorization from a published service definition tags: - Runtime 执行授权 | Runtime Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.execution_authorization.execute /runtime/initial-upload-grants/{upload_id}/items/{fingerprint}: post: description: 仅固定 Manager 运行身份;System 反查真实上传回执、Meta 首次识别与当前边界、原上传者和历史。成功与审计原子提交,重放不恢复已撤销授权,暂时故障不记录拒绝终态 | Fixed Manager Runtime only. System independently verifies committed receipt, Meta first identification/current boundary, uploader and history. Grant and audit commit atomically; replay never restores revoked Grants; temporary failures create no terminal denial parameters: - description: 上传 UUID | Upload UUID in: path name: upload_id required: true type: string - description: 数据项指纹 | DataItem fingerprint in: path name: fingerprint required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/authorization.UploadInitialResult' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 续办上传新数据初始使用权 | Continue initial access for a newly uploaded DataItem tags: - 源授权办理 | Source Access Fulfillment x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_initial_grant.execute /runtime/initial_production_grants/{producer_owner}/{execution_id}/{result_id}: get: description: 仅已注册生产模块对应的当前租户机器;只读、不依赖 Meta 或原人类当前资格,不签发或撤销。found=false 仅表示尚无终态,不等于拒绝或允许 | Registered producer Tenant Service only; read-only, independent of Meta and historical human qualification; no issuance or withdrawal. found=false means no terminal result, never denial or Allow parameters: - description: 已注册生产模块 | Registered production owner in: path name: producer_owner required: true type: string - description: 原独立成果 UUID | Original result UUID in: path name: result_id required: true type: string - description: 原执行 UUID | Original execution UUID in: path name: execution_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/authorization.InitialProductionLookup' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核清原独立成果的初始授权终态 | Resolve initial authorization history for original committed production tags: - 源授权办理 | Source Access Fulfillment x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_initial_grant.execute post: description: 仅已注册生产模块对应的当前租户机器;无请求体,按原执行反查证据。返回不可变签发或拒绝终态;暂时故障不生成终态。同执行重试不续期或恢复撤权 | Registered producer Tenant Service only; no request body, evidence is resolved by original execution. Returns immutable issued or denied history; temporary failures create no terminal outcome. Replay never renews expiry or revives a revoked Grant parameters: - description: 已注册生产模块 | Registered production owner in: path name: producer_owner required: true type: string - description: 原独立成果 UUID | Original result UUID in: path name: result_id required: true type: string - description: 原执行 UUID | Original execution UUID in: path name: execution_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/authorization.InitialProductionResult' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 续办独立成果初始只读授权 | Continue initial read authorization for committed production tags: - 源授权办理 | Source Access Fulfillment x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_access_initial_grant.execute /runtime/meta_collection_checks: post: consumes: - application/json description: 固定 addp-meta Tenant Service;System 独立核验当前机器身份、Common 执行与 lease、Meta 计划和任务摘要及取消状态。200 仅为当次观察,不是可缓存凭据;重试和后续读取重新核验 | Restricted to addp-meta Tenant Service. Independently checks current machine identity, canonical Common execution and lease, Meta plan/task digest and cancellation state. HTTP 200 is a current observation, never a cacheable credential; retries and subsequent reads recheck parameters: - description: 执行和租约 | Execution and lease in: body name: request required: true schema: $ref: '#/definitions/execution.MetaCollectionAccessRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/execution.MetaCollectionAccessObservation' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核验当前 Meta basic 采集资格 | Check current Meta basic collection access tags: - 元数据集中采集 | Centralized Metadata Collection x-addp-auth-mode: permission x-addp-required-permissions: - system.meta_collection.execute /runtime/module-log-source-observations: post: consumes: - application/json description: 来源元数据不裁决业务启动结果;仅绑定节点的观察服务可调用;v2 必须提供有界扫描问题 | Source metadata does not determine startup outcome; bound observer service only; v2 requires bounded scan issues parameters: - description: 有界来源报告 | Bounded source report in: body name: request required: true schema: $ref: '#/definitions/runtimelog.SourceReport' produces: - application/json responses: "200": description: OK schema: properties: accepted: type: boolean type: object "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 上报受控运行日志来源 | Report controlled runtime log sources tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.module_log_source.create /runtime/modules: get: description: 平台 Service Principal 查询持久模块定义及运行实例;status=up 仅返回已启用且存在有效 Backend 租约的模块 | A platform service principal lists persistent module definitions and runtime instances; status=up returns only enabled modules with a valid Backend lease parameters: - description: 模块状态过滤 | Module status filter in: query name: status type: string produces: - application/json responses: "200": description: OK schema: properties: count: type: integer modules: items: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleInfo' type: array type: object "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查询平台注册模块 | List registered platform modules tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.runtime_registry.read post: consumes: - application/json description: 平台运行身份在已发布的模块定义下登记当前实例 | Register the current instance against its published module definition parameters: - description: 模块注册信息 | Module registration in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleRegistrationRequest' produces: - application/json responses: "200": description: OK schema: properties: message: type: string module: type: string type: object "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 注册当前运行模块 | Register current runtime module tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.runtime_registry.update /runtime/modules/{module_name}: get: description: 平台 Service Principal 按模块名查询运行模块注册信息 | A platform service principal gets runtime module registration by module name parameters: - description: 模块名 | Module name in: path name: module_name required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.ModuleInfo' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查询平台注册模块详情 | Get registered platform module tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.runtime_registry.read /runtime/modules/{module_name}/endpoints: get: description: 仅供 Monitor 查询执行所属模块和 Transfer 查询 Manager、Develop | Monitor resolves execution owners and Transfer resolves Manager or Develop parameters: - description: 模块名称 | Module name in: path name: module_name required: true type: string produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/models.ModuleRoutingEndpoint' type: array "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 查询指定模块的路由端点 | Get one module's routing endpoints tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.runtime_registry.read /runtime/modules/{module_name}/instances/{instance_id}: delete: description: 正常退出的模块进程将自身实例立即标记为 down 并记录 graceful 原因;持久模块定义和实例历史保留 | A normally exiting module process immediately marks its own instance down with a graceful reason while preserving the persistent definition and instance history parameters: - description: 模块名 | Module name in: path name: module_name required: true type: string - description: 运行实例 ID | Runtime instance ID in: path name: instance_id required: true type: string produces: - application/json responses: "204": description: No Content "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 注销当前模块运行实例 | Deregister current module runtime instance tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.runtime_registry.update /runtime/modules/heartbeat: post: consumes: - application/json parameters: - description: 模块心跳 | Module heartbeat in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.HeartbeatRequest' produces: - application/json responses: "200": description: OK schema: properties: message: type: string module: type: string type: object "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 更新当前运行模块心跳 | Update current runtime module heartbeat tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.runtime_registry.update /runtime/modules/watch: get: description: 仅供 Gateway 获取有效路由端点及绝对截止时间。修订变化或等待超时返回完整快照 | Returns forwarding endpoints and absolute expiry times to Gateway when the revision changes or the wait expires parameters: - default: 0 description: 客户端当前修订号 | Client current revision in: query name: revision type: integer - default: 10 description: 最长等待秒数,范围 0-30 | Maximum wait in seconds, range 0-30 in: query name: wait_seconds type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/models.ModuleRoutingSnapshot' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 等待模块路由快照 | Watch module routing snapshot tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.runtime_registry.read /runtime/observability-identities: get: description: 固定 Monitor Platform Service Client 读取有界节点、有效实例及已确认平台引擎身份投影,包含私有进程采集声明和无凭据引擎来源键及自动核验的 CDC 基础设施组件;不含元数据、凭据或租户数据,不供浏览器使用 | The fixed Monitor Platform Service Client reads a bounded node, instance and admitted platform engine identity projection including private process metrics declarations and credential-free engine source keys and automatically verified CDC infrastructure components; excludes metadata, credentials and tenant data and is not a browser API produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/models.ObservabilityIdentitySnapshot' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "503": description: Service Unavailable schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "504": description: Gateway Timeout schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 读取当前观测身份 | Read current observability identities tags: - 运行登记 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.observability_identity.read /runtime/ontology-rule-evaluations/consume: post: consumes: - application/json parameters: - description: 本次规则求值绑定 | Rule evaluation binding in: body name: request required: true schema: $ref: '#/definitions/authorization.OntologyRuleCall' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/authorization.CurrentSubjectRoles' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 消费单记录规则取数授权 | Consume a single-record rule read authorization tags: - 认证 | Authentication x-addp-auth-mode: permission x-addp-required-permissions: - system.ontology_fact.execute /runtime/platform-definition-publication-checks: post: consumes: - application/json description: 固定 Ontology Platform Service 身份核验当前发布权限;仅回显能力修订摘要及机器主体,不签发凭据,不表示发布或激活成功 | Check current publication permission for the fixed Ontology Platform Service; echo only the capability/revision/digest binding and machine identity, without issuing a credential or claiming publication or activation parameters: - description: 能力修订摘要 | Capability revision and digest in: body name: request required: true schema: $ref: '#/definitions/authorization.PlatformPublicationCheck' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/authorization.PlatformPublicationObservation' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 核验平台定义发布身份 | Check platform definition publisher tags: - Runtime 发布授权 | Runtime Publication Authorization x-addp-auth-mode: permission x-addp-required-permissions: - ontology.platform_definition.publish /runtime/security-access-actors/resolve: post: consumes: - application/json description: 仅 addp-security Tenant Service Principal 可按当前 Tenant 解析 User Principal 的最小显示摘要,用于固化原值访问申请人和审批人快照 | Only the addp-security tenant service principal may resolve minimal User Principal display summaries in the current tenant for immutable plaintext access requester and reviewer snapshots parameters: - description: User 引用集合,最多 200 个 | User references, up to 200 in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCatalogReferenceBatchRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMCatalogReferenceBatchResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 精确批量解析 Security 原值访问行为人 | Resolve Security plaintext access actors in batch tags: - Runtime Security Access Actors x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_membership.read /runtime/task-authorization-subjects/{id}/resolve: post: consumes: - application/json description: 仅对应 owner 的 addp-orchestrator 或 addp-transfer Tenant Service Principal 可解析与当前定义哈希匹配且仍有效的任务授权主体 | Only the matching owner addp-orchestrator or addp-transfer tenant service principal may resolve a still-valid task subject matching the current definition hash parameters: - description: 任务授权主体 ID | Task authorization subject ID in: path name: id required: true type: string - description: 任务定义身份 | Task definition identity in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMTaskAuthorizationSubjectRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTaskAuthorizationSubjectResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 解析定时任务授权主体 | Resolve a scheduled task authorization subject tags: - Runtime 执行授权 | Runtime Execution Authorization x-addp-auth-mode: permission x-addp-required-permissions: - system.task_authorization.execute /runtime/task-providers: get: description: 返回全部 Provider 声明,并按当前模块 Backend 租约动态解析可用性和有效端点池 | Returns all Provider declarations and dynamically resolves availability and the eligible endpoint pool from current module Backend leases produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/models.TaskProvider' type: array "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 读取 TaskProvider 模块角色 | Read TaskProvider module roles tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.runtime_registry.read /runtime/task-providers/{module_name}: get: description: 每次读取都重新解析当前有效 Backend 池;模块离线时仍返回声明但 available=false | Resolves the current valid Backend pool on every read; an offline module keeps its declaration with available=false parameters: - description: 模块名 | Module name in: path name: module_name required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/models.TaskProvider' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 读取 TaskProvider 详情 | Read TaskProvider detail tags: - 运行时注册 | Runtime Registry x-addp-auth-mode: permission x-addp-required-permissions: - system.runtime_registry.read /runtime/tenants: get: description: 供平台 Service Principal 发现已初始化的 active Tenant | Allows platform Service Principals to discover initialized active tenants parameters: - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: 状态 | Status in: query name: status type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMTenantResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 发现运行时租户 | Discover runtime tenants tags: - 服务运行时 | Service Runtime x-addp-auth-mode: permission x-addp-required-permissions: - platform.tenant.read /tenant/api-consumers: get: produces: - application/json responses: "200": description: OK schema: additionalProperties: true type: object security: - BearerAuth: [] summary: 获取 API 消费方列表 | List API consumers tags: - API 消费方 | API Consumers x-addp-auth-mode: permission x-addp-required-permissions: - iam.api_consumer.read post: consumes: - application/json parameters: - description: API 消费方 | API consumer in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.CreateAPIConsumerRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/github_com_addp_system_internal_models.APIConsumer' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 创建 API 消费方 | Create API consumer tags: - API 消费方 | API Consumers x-addp-auth-mode: permission x-addp-required-permissions: - iam.api_consumer.create /tenant/api-consumers/{id}: delete: parameters: - description: API 消费方 ID | API consumer ID in: path name: id required: true type: integer produces: - application/json responses: "204": description: No Content security: - BearerAuth: [] summary: 删除 API 消费方 | Delete API consumer tags: - API 消费方 | API Consumers x-addp-auth-mode: permission x-addp-required-permissions: - iam.api_consumer.delete get: parameters: - description: API 消费方 ID | API consumer ID in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.APIConsumer' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 获取 API 消费方 | Get API consumer tags: - API 消费方 | API Consumers x-addp-auth-mode: permission x-addp-required-permissions: - iam.api_consumer.read put: consumes: - application/json parameters: - description: API 消费方 ID | API consumer ID in: path name: id required: true type: integer - description: 更新内容 | Update in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.UpdateAPIConsumerRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.APIConsumer' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 更新 API 消费方 | Update API consumer tags: - API 消费方 | API Consumers x-addp-auth-mode: permission x-addp-required-permissions: - iam.api_consumer.update /tenant/api-consumers/{id}/credentials: get: parameters: - description: API 消费方 ID | API consumer ID in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: additionalProperties: true type: object security: - BearerAuth: [] summary: 获取 API 消费凭据列表 | List API consumer credentials tags: - API 消费方 | API Consumers x-addp-auth-mode: permission x-addp-required-permissions: - iam.api_consumer_credential.read post: consumes: - application/json parameters: - description: API 消费方 ID | API consumer ID in: path name: id required: true type: integer - description: 凭据配置 | Credential in: body name: request required: true schema: $ref: '#/definitions/github_com_addp_system_internal_models.CreateAPIConsumerCredentialRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/github_com_addp_system_internal_models.APIConsumerCredential' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 创建 API 消费凭据 | Create API consumer credential tags: - API 消费方 | API Consumers x-addp-auth-mode: permission x-addp-required-permissions: - iam.api_consumer_credential.create /tenant/api-consumers/{id}/credentials/{credential_id}: delete: parameters: - description: API 消费方 ID | API consumer ID in: path name: id required: true type: integer - description: 凭据 ID | Credential ID in: path name: credential_id required: true type: integer produces: - application/json responses: "204": description: No Content security: - BearerAuth: [] summary: 撤销 API 消费凭据 | Revoke API consumer credential tags: - API 消费方 | API Consumers x-addp-auth-mode: permission x-addp-required-permissions: - iam.api_consumer_credential.revoke /tenant/audit/events: get: parameters: - description: 成员对应授权主体 ID | Principal ID of the member in: query name: principal_id type: integer - description: '操作成员类型:user 或 service_principal | Actor member type: user or service_principal' in: query name: principal_type type: string - description: 模块标识 | Module name in: query name: module_name type: string - description: 实体类型 | Entity type in: query name: entity_type type: string - description: 实体 ID | Entity ID in: query name: entity_id type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMAuditEventResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询当前租户审计事件 | List current tenant audit events tags: - 租户审计 | Tenant Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.tenant_event.read post: consumes: - application/json description: Principal、Context 与 Tenant 只从 Service Access Token 获取,请求体中的同名字段不会成为授权事实 | Principal, context, and tenant are derived only from the Service Access Token; matching request fields are not authorization facts parameters: - description: 审计事件 | Audit event in: body name: request required: true schema: $ref: '#/definitions/models.AuditLogCreateRequest' produces: - application/json responses: "201": description: Created schema: properties: message: type: string type: object "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 追加 Tenant 服务审计事件 | Append tenant service audit event tags: - Tenant 审计 | Tenant Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.tenant_event.create /tenant/audit/events/{id}: get: parameters: - description: 审计事件 ID | Audit event ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMAuditEventResponse' security: - BearerAuth: [] summary: 查询当前租户审计事件详情 | Get current tenant audit event tags: - 租户审计 | Tenant Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.tenant_event.read /tenant/audit/events/export: get: description: 按稳定顺序导出当前筛选条件下的全部审计事件 | Export all audit events matching the current filters in stable order parameters: - description: csv 或 json | csv or json in: query name: format type: string - description: 成员对应授权主体 ID | Principal ID of the member in: query name: principal_id type: integer - description: '操作成员类型:user 或 service_principal | Actor member type: user or service_principal' in: query name: principal_type type: string - description: 模块标识 | Module name in: query name: module_name type: string - description: 实体类型 | Entity type in: query name: entity_type type: string - description: 实体 ID | Entity ID in: query name: entity_id type: string produces: - application/json - text/csv responses: "200": description: OK headers: X-ADDP-Export-Count: description: 实际导出的事件数 | Number of exported events type: integer schema: items: $ref: '#/definitions/internal_api.IAMAuditEventResponse' type: array security: - BearerAuth: [] summary: 导出当前租户审计事件 | Export current tenant audit events tags: - 租户审计 | Tenant Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.tenant_event.export /tenant/audit/events/summary: get: parameters: - description: 成员对应授权主体 ID | Principal ID of the member in: query name: principal_id type: integer - description: '操作成员类型:user 或 service_principal | Actor member type: user or service_principal' in: query name: principal_type type: string - description: 模块标识 | Module name in: query name: module_name type: string - description: 实体类型 | Entity type in: query name: entity_type type: string - description: 实体 ID | Entity ID in: query name: entity_id type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_iam.AuditSummary' security: - BearerAuth: [] summary: 汇总当前租户审计事件 | Summarize current tenant audit events tags: - 租户审计 | Tenant Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.tenant_event.read /tenant/audit/events/trends: get: parameters: - description: 成员对应授权主体 ID | Principal ID of the member in: query name: principal_id type: integer - description: '操作成员类型:user 或 service_principal | Actor member type: user or service_principal' in: query name: principal_type type: string - description: 模块标识 | Module name in: query name: module_name type: string - description: 实体类型 | Entity type in: query name: entity_type type: string - description: 实体 ID | Entity ID in: query name: entity_id type: string produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/internal_api.IAMAuditTrendResponse' type: array security: - BearerAuth: [] summary: 查询当前租户审计趋势 | Get current tenant audit trends tags: - 租户审计 | Tenant Audit x-addp-auth-mode: permission x-addp-required-permissions: - audit.tenant_event.read /tenant/departments: get: description: 分页查询当前 Tenant 的稳定组织单元 | List stable organization units in the current tenant parameters: - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: 编码或名称 | Code or name in: query name: search type: string - description: '状态:active/disabled | Status: active/disabled' in: query name: status type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMDepartmentResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询部门 | List departments tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.department.read post: consumes: - application/json parameters: - description: 部门定义 | Department definition in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCreateDepartmentRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMDepartmentResponse' security: - BearerAuth: [] summary: 创建部门 | Create department tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.department.create /tenant/departments/{id}: get: parameters: - description: 部门 ID | Department ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMDepartmentResponse' security: - BearerAuth: [] summary: 查询部门详情 | Get department tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.department.read put: consumes: - application/json parameters: - description: 部门 ID | Department ID in: path name: id required: true type: string - description: 完整可编辑聚合与版本 | Full editable aggregate and version in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMUpdateDepartmentRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMDepartmentResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 更新部门 | Update department tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.department.update /tenant/departments/{id}/disable: post: consumes: - application/json parameters: - description: 部门 ID | Department ID in: path name: id required: true type: string - description: 版本与原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMVersionedLifecycleRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMDepartmentResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 停用部门 | Disable department tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.department.update /tenant/departments/{id}/memberships: get: parameters: - description: 部门 ID | Department ID in: path name: id required: true type: string - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: '状态:active/ended | Status: active/ended' in: query name: status type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMOrganizationMembershipResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询部门成员 | List department memberships tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.department_membership.read post: consumes: - application/json parameters: - description: 部门 ID | Department ID in: path name: id required: true type: string - description: 成员关系 | Membership in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCreateDepartmentMembershipRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMOrganizationMembershipResponse' "409": description: 成员不是用户账号、部门已停用或成员状态不可用 | Member is not a user account, department is disabled, or membership is unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 新增部门成员 | Create department membership tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.department_membership.create /tenant/departments/{id}/memberships/{membership_id}: put: consumes: - application/json parameters: - description: 部门 ID | Department ID in: path name: id required: true type: string - description: 成员关系 ID | Membership ID in: path name: membership_id required: true type: string - description: 关系与版本 | Relationship and version in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMUpdateDepartmentMembershipRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMOrganizationMembershipResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 更新部门成员关系 | Update department membership tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.department_membership.update /tenant/departments/{id}/memberships/{membership_id}/close: post: consumes: - application/json parameters: - description: 部门 ID | Department ID in: path name: id required: true type: string - description: 成员关系 ID | Membership ID in: path name: membership_id required: true type: string - description: 版本与原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMVersionedLifecycleRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMOrganizationMembershipResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 结束部门成员关系 | Close department membership tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.department_membership.close /tenant/departments/{id}/restore: post: consumes: - application/json parameters: - description: 部门 ID | Department ID in: path name: id required: true type: string - description: 版本与原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMVersionedLifecycleRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMDepartmentResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 恢复部门 | Restore department tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.department.restore /tenant/emergency_session_requests: get: parameters: - description: 页码 | Page number in: query name: page type: integer - description: 页大小 | Page size in: query name: page_size type: integer produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/github_com_addp_system_internal_iam.EmergencySessionRequest' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查询应急撤销请求 | List emergency revocation requests tags: - 紧急会话撤销 | Emergency Session Revocation x-addp-auth-mode: permission x-addp-required-permissions: - iam.emergency_session_revocation.read post: consumes: - application/json parameters: - description: 请求 | Request in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMEmergencySessionCreateRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/github_com_addp_system_internal_iam.EmergencySessionRequest' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 申请单会话应急撤销 | Request emergency single-session revocation tags: - 紧急会话撤销 | Emergency Session Revocation x-addp-auth-mode: permission x-addp-required-permissions: - iam.emergency_session_revocation.create /tenant/emergency_session_requests/{id}: get: parameters: - description: 请求 UUID | Request UUID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_iam.EmergencySessionRequest' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 核清应急撤销结果 | Resolve emergency revocation result tags: - 紧急会话撤销 | Emergency Session Revocation x-addp-auth-mode: permission x-addp-required-permissions: - iam.emergency_session_revocation.read /tenant/emergency_session_requests/{id}/cancel: post: consumes: - application/json parameters: - description: 请求 UUID | Request UUID in: path name: id required: true type: string - description: 请求 | Request in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMEmergencySessionReviewRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_iam.EmergencySessionRequest' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 取消申请 | Cancel request tags: - 紧急会话撤销 | Emergency Session Revocation x-addp-auth-mode: permission x-addp-required-permissions: - iam.emergency_session_revocation.cancel /tenant/emergency_session_requests/{id}/execute: post: consumes: - application/json parameters: - description: 请求 UUID | Request UUID in: path name: id required: true type: string - description: 请求 | Request in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMEmergencySessionExecuteRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_iam.EmergencySessionRequest' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 单次执行会话撤销 | Execute single-session revocation tags: - 紧急会话撤销 | Emergency Session Revocation x-addp-auth-mode: permission x-addp-required-permissions: - iam.emergency_session_revocation.execute /tenant/engine-raster-policies/{id}: get: parameters: - description: 引擎实例 ID | Engine instance ID in: path name: id required: true type: integer produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.RasterPolicyView' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 栅格资源配置 | Get tenant raster quota tags: - 栅格资源配置 | Raster Resource Policy x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_raster_policy.read put: consumes: - application/json parameters: - description: 引擎实例 ID | Engine instance ID in: path name: id required: true type: integer - description: 配置 | Configuration in: body name: request required: true schema: $ref: '#/definitions/internal_api.RasterTenantUpdate' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/github_com_addp_system_internal_models.RasterPolicyView' "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 栅格资源配置 | Update tenant raster quota tags: - 栅格资源配置 | Raster Resource Policy x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_raster_policy.update /tenant/engine-raster-policies/engines: get: produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/github_com_addp_system_internal_service.RasterEngineSummary' type: array "400": description: Bad Request schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "404": description: Not Found schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "409": description: Conflict schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/github_com_addp_system_internal_models.ErrorResponse' security: - BearerAuth: [] summary: 栅格资源配置 | List raster runtimes tags: - 栅格资源配置 | Raster Resource Policy x-addp-auth-mode: permission x-addp-required-permissions: - system.engine_raster_policy.read /tenant/invitations: get: parameters: - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: 邀请邮箱 | Invitation email in: query name: search type: string - description: 状态 | Status in: query name: status type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMTenantInvitationResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询租户邀请 | List tenant invitations tags: - 租户邀请 | Tenant Invitations x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_invitation.read post: consumes: - application/json parameters: - description: 邀请 | Invitation in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCreateTenantInvitationRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMCreatedTenantInvitationResponse' security: - BearerAuth: [] summary: 创建租户邀请 | Create tenant invitation tags: - 租户邀请 | Tenant Invitations x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_invitation.create /tenant/invitations/{id}: get: parameters: - description: 邀请 ID | Invitation ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantInvitationResponse' security: - BearerAuth: [] summary: 查询租户邀请详情 | Get tenant invitation tags: - 租户邀请 | Tenant Invitations x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_invitation.read /tenant/invitations/{id}/revoke: post: parameters: - description: 邀请 ID | Invitation ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantInvitationResponse' security: - BearerAuth: [] summary: 撤销租户邀请 | Revoke tenant invitation tags: - 租户邀请 | Tenant Invitations x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_invitation.revoke /tenant/invitations/acceptances: post: consumes: - application/json parameters: - description: 租户邀请 | Tenant invitation in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMInvitationAcceptanceRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMInvitationAcceptanceResponse' summary: 接受租户邀请 | Accept tenant invitation tags: - 租户邀请 | Tenant Invitations x-addp-auth-mode: authenticated /tenant/invitations/registrations: post: consumes: - application/json parameters: - description: 注册资料 | Registration profile in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMInvitationRegistrationRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMInvitationAcceptanceResponse' summary: 通过邀请注册 | Register through tenant invitation tags: - 租户邀请 | Tenant Invitations x-addp-auth-mode: public /tenant/memberships: get: parameters: - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: 姓名或用户名 | Name or username in: query name: search type: string - description: 状态 | Status in: query name: status type: string - description: '成员类型:user 或 service_principal | Member type: user or service_principal' in: query name: principal_type type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMTenantMembershipResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询当前租户成员 | List current tenant memberships tags: - 租户成员 | Tenant Memberships x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_membership.read /tenant/memberships/{id}: get: parameters: - description: 成员关系 ID | Membership ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantMembershipResponse' security: - BearerAuth: [] summary: 查询当前租户成员详情 | Get current tenant membership tags: - 租户成员 | Tenant Memberships x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_membership.read put: consumes: - application/json parameters: - description: 成员关系 ID | Membership ID in: path name: id required: true type: string - description: 成员有效期 | Membership expiry in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMUpdateTenantMembershipRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantMembershipResponse' security: - BearerAuth: [] summary: 更新当前租户成员 | Update current tenant membership tags: - 租户成员 | Tenant Memberships x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_membership.update /tenant/memberships/{id}/close: post: consumes: - application/json parameters: - description: 成员关系 ID | Membership ID in: path name: id required: true type: string - description: 原因 | Reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMLifecycleReasonRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantMembershipResponse' security: - BearerAuth: [] summary: 结束租户成员关系 | Close tenant membership tags: - 租户成员 | Tenant Memberships x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_membership.close /tenant/memberships/{id}/restore: post: consumes: - application/json parameters: - description: 成员关系 ID | Membership ID in: path name: id required: true type: string - description: 原因 | Reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMLifecycleReasonRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantMembershipResponse' security: - BearerAuth: [] summary: 恢复租户成员关系 | Restore tenant membership tags: - 租户成员 | Tenant Memberships x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_membership.restore /tenant/memberships/{id}/suspend: post: consumes: - application/json parameters: - description: 成员关系 ID | Membership ID in: path name: id required: true type: string - description: 原因 | Reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMLifecycleReasonRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantMembershipResponse' security: - BearerAuth: [] summary: 暂停租户成员关系 | Suspend tenant membership tags: - 租户成员 | Tenant Memberships x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_membership.suspend /tenant/oauth_clients: get: description: 分页查询当前 Tenant 管理的公共 OAuth Client | List public OAuth clients managed by the current tenant parameters: - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: 客户端 ID 或名称 | Client ID or name in: query name: search type: string - description: '状态:active/disabled | Status: active/disabled' in: query name: status type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMOAuthClientResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询外部 OAuth 客户端 | List external OAuth clients tags: - 租户 OAuth 客户端 | Tenant OAuth Clients x-addp-auth-mode: permission x-addp-required-permissions: - iam.oauth_client.read post: consumes: - application/json description: 创建固定使用 Authorization Code、PKCE 和 Refresh Token 的无密钥公共客户端 | Create a secretless public client fixed to Authorization Code, PKCE, and Refresh Token parameters: - description: 客户端定义 | Client definition in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCreateOAuthClientRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMOAuthClientResponse' security: - BearerAuth: [] summary: 创建外部 OAuth 客户端 | Create external OAuth client tags: - 租户 OAuth 客户端 | Tenant OAuth Clients x-addp-auth-mode: permission x-addp-required-permissions: - iam.oauth_client.create /tenant/oauth_clients/{client_id}: get: parameters: - description: OAuth Client ID in: path name: client_id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMOAuthClientResponse' security: - BearerAuth: [] summary: 查询外部 OAuth 客户端详情 | Get external OAuth client tags: - 租户 OAuth 客户端 | Tenant OAuth Clients x-addp-auth-mode: permission x-addp-required-permissions: - iam.oauth_client.read put: consumes: - application/json description: 完整更新显示名称和 redirect URI;协议配置不可修改 | Fully update display name and redirect URIs; protocol settings are immutable parameters: - description: OAuth Client ID in: path name: client_id required: true type: string - description: 客户端定义与版本 | Client definition and version in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMUpdateOAuthClientRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMOAuthClientResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 更新外部 OAuth 客户端 | Update external OAuth client tags: - 租户 OAuth 客户端 | Tenant OAuth Clients x-addp-auth-mode: permission x-addp-required-permissions: - iam.oauth_client.update /tenant/oauth_clients/{client_id}/restore: post: consumes: - application/json description: 恢复注册状态;历史授权和令牌不会恢复 | Restore registration state; historical authorizations and tokens remain revoked parameters: - description: OAuth Client ID in: path name: client_id required: true type: string - description: 版本与原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMVersionedLifecycleRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMOAuthClientResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 恢复外部 OAuth 客户端 | Restore external OAuth client tags: - 租户 OAuth 客户端 | Tenant OAuth Clients x-addp-auth-mode: permission x-addp-required-permissions: - iam.oauth_client.restore /tenant/oauth_clients/{client_id}/suspend: post: consumes: - application/json description: 停用并撤销该客户端的待授权请求和全部有效令牌族 | Disable and revoke pending authorizations and all active token families for the client parameters: - description: OAuth Client ID in: path name: client_id required: true type: string - description: 版本与原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMVersionedLifecycleRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMOAuthClientResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 停用外部 OAuth 客户端 | Disable external OAuth client tags: - 租户 OAuth 客户端 | Tenant OAuth Clients x-addp-auth-mode: permission x-addp-required-permissions: - iam.oauth_client.suspend /tenant/project_groups: get: description: 分页查询当前 Tenant 的跨部门协作集合 | List cross-department collaboration groups in the current tenant parameters: - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: 编码或名称 | Code or name in: query name: search type: string - description: '状态:active/closed | Status: active/closed' in: query name: status type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMProjectGroupResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询项目组 | List project groups tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.project_group.read post: consumes: - application/json parameters: - description: 项目组定义 | Project group definition in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCreateProjectGroupRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMProjectGroupResponse' security: - BearerAuth: [] summary: 创建项目组 | Create project group tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.project_group.create /tenant/project_groups/{id}: get: parameters: - description: 项目组 ID | Project group ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMProjectGroupResponse' security: - BearerAuth: [] summary: 查询项目组详情 | Get project group tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.project_group.read put: consumes: - application/json parameters: - description: 项目组 ID | Project group ID in: path name: id required: true type: string - description: 完整可编辑聚合与版本 | Full editable aggregate and version in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMUpdateProjectGroupRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMProjectGroupResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 更新项目组 | Update project group tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.project_group.update /tenant/project_groups/{id}/close: post: consumes: - application/json parameters: - description: 项目组 ID | Project group ID in: path name: id required: true type: string - description: 版本与原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMVersionedLifecycleRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMProjectGroupResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 关闭项目组 | Close project group tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.project_group.close /tenant/project_groups/{id}/memberships: get: parameters: - description: 项目组 ID | Project group ID in: path name: id required: true type: string - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: '状态:active/ended | Status: active/ended' in: query name: status type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMOrganizationMembershipResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询项目组成员 | List project group memberships tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.project_group_membership.read post: consumes: - application/json parameters: - description: 项目组 ID | Project group ID in: path name: id required: true type: string - description: 成员关系 | Membership in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCreateProjectGroupMembershipRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMOrganizationMembershipResponse' "409": description: 成员不是用户账号、项目组已关闭或成员状态不可用 | Member is not a user account, project group is closed, or membership is unavailable schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 新增项目组成员 | Create project group membership tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.project_group_membership.create /tenant/project_groups/{id}/memberships/{membership_id}: put: consumes: - application/json parameters: - description: 项目组 ID | Project group ID in: path name: id required: true type: string - description: 成员关系 ID | Membership ID in: path name: membership_id required: true type: string - description: 组内角色与版本 | Group role and version in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMUpdateProjectGroupMembershipRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMOrganizationMembershipResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 更新项目组成员关系 | Update project group membership tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.project_group_membership.update /tenant/project_groups/{id}/memberships/{membership_id}/close: post: consumes: - application/json parameters: - description: 项目组 ID | Project group ID in: path name: id required: true type: string - description: 成员关系 ID | Membership ID in: path name: membership_id required: true type: string - description: 版本与原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMVersionedLifecycleRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMOrganizationMembershipResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 结束项目组成员关系 | Close project group membership tags: - 租户组织 | Tenant Organization x-addp-auth-mode: permission x-addp-required-permissions: - iam.project_group_membership.close /tenant/role_assignments: get: parameters: - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: 成员关系 ID | Membership ID in: query name: membership_id type: string - description: '成员类型:user 或 service_principal | Member type: user or service_principal' in: query name: principal_type type: string - description: '当前状态:scheduled、effective、expired 或 revoked;默认 effective | Current state: scheduled, effective, expired, or revoked; defaults to effective' in: query name: effective_state type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMTenantRoleAssignmentResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询当前租户角色分配 | List role assignments in the current tenant tags: - 租户角色分配 | Tenant Role Assignments x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_role_assignment.read post: consumes: - application/json parameters: - description: 角色分配 | Role assignments in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCreateTenantRoleAssignmentsRequest' produces: - application/json responses: "201": description: Created schema: items: $ref: '#/definitions/internal_api.IAMTenantRoleAssignmentResponse' type: array "403": description: 平台运行账号对租户管理员只读 | Platform runtime accounts are read-only to tenant administrators schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "404": description: 账号或角色不存在或不属于当前租户 | Account or role not found in the current tenant schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: '角色分配冲突:重复分配或账号类型不兼容 | Role assignment conflict: duplicate assignment or incompatible account type' schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 批量创建当前租户角色分配 | Create role assignments in the current tenant tags: - 租户角色分配 | Tenant Role Assignments x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_role_assignment.create /tenant/role_assignments/{id}: get: parameters: - description: 角色分配 ID | Role assignment ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantRoleAssignmentResponse' "404": description: 角色分配不存在或不属于当前租户 | Role assignment not found in the current tenant schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查询当前租户角色分配详情 | Get role assignment details in the current tenant tags: - 租户角色分配 | Tenant Role Assignments x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_role_assignment.read /tenant/role_assignments/{id}/revoke: post: consumes: - application/json parameters: - description: 角色分配 ID | Role assignment ID in: path name: id required: true type: string - description: 撤销原因 | Revocation reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMRevokeTenantRoleAssignmentRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantRoleAssignmentResponse' "403": description: 平台运行账号对租户管理员只读 | Platform runtime accounts are read-only to tenant administrators schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "409": description: 角色分配已撤销或已到期 | Role assignment is already revoked or expired schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 撤销当前租户角色分配 | Revoke role assignment in the current tenant tags: - 租户角色分配 | Tenant Role Assignments x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_role_assignment.revoke /tenant/role_permissions: get: produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/internal_api.IAMTenantAssignablePermissionResponse' type: array security: - BearerAuth: [] summary: 查询租户自定义角色可选权限 | List permissions available to tenant custom roles tags: - 租户角色 | Tenant Roles x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_role.read /tenant/roles: get: produces: - application/json responses: "200": description: OK schema: items: $ref: '#/definitions/internal_api.IAMTenantRoleResponse' type: array security: - BearerAuth: [] summary: 查询当前租户可分配角色 | List assignable roles in the current tenant tags: - 租户角色 | Tenant Roles x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_role.read post: consumes: - application/json description: role_key 须为命名空间.名称,两段均以小写英文字母开头,仅含小写英文字母、数字和下划线,例如 custom.ontology_manager;首尾空白会被移除,格式无效返回 400 role_key_invalid。 | role_key must use namespace.name; each segment starts with a lowercase letter and contains only lowercase letters, digits, and underscores, e.g. custom.ontology_manager. Surrounding whitespace is trimmed; invalid format returns 400 role_key_invalid. parameters: - description: 角色定义 | Role definition in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMTenantRoleRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMTenantRoleResponse' "400": description: 请求参数无效;标识格式错误码为 role_key_invalid | Invalid request; invalid key format uses role_key_invalid schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 创建租户自定义角色 | Create tenant custom role tags: - 租户角色 | Tenant Roles x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_role.create /tenant/roles/{id}: delete: consumes: - application/json parameters: - description: 角色 ID | Role ID in: path name: id required: true type: string - description: 停用原因 | Disable reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMDeleteTenantRoleRequest' produces: - application/json responses: "204": description: No Content security: - BearerAuth: [] summary: 停用租户自定义角色 | Disable tenant custom role tags: - 租户角色 | Tenant Roles x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_role.delete put: consumes: - application/json parameters: - description: 角色 ID | Role ID in: path name: id required: true type: string - description: 角色定义 | Role definition in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMTenantRoleRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMTenantRoleResponse' security: - BearerAuth: [] summary: 更新租户自定义角色 | Update tenant custom role tags: - 租户角色 | Tenant Roles x-addp-auth-mode: permission x-addp-required-permissions: - iam.tenant_role.update /tenant/service_accounts: get: description: 分页查询当前 Tenant 可用的机器身份;Tenant-owned 服务账号可管理,Platform-owned Runtime 服务主体只读 | List machine identities available in the current tenant; tenant-owned service accounts are manageable and platform-owned runtime identities are read-only parameters: - description: 页码 | Page number in: query name: page type: integer - description: 每页数量 | Page size in: query name: page_size type: integer - description: 名称、说明或 Client ID | Name, description, or client ID in: query name: search type: string - description: '状态:active/suspended | Status: active/suspended' in: query name: status type: string - description: '管理归属:tenant/platform | Management ownership: tenant/platform' in: query name: owner_scope type: string produces: - application/json responses: "200": description: OK schema: properties: data: items: $ref: '#/definitions/internal_api.IAMServiceAccountResponse' type: array page: type: integer page_size: type: integer total: format: int64 type: integer total_pages: type: integer type: object security: - BearerAuth: [] summary: 查询服务账号 | List service accounts tags: - 租户服务账号 | Tenant Service Accounts x-addp-auth-mode: permission x-addp-required-permissions: - iam.service_account.read post: consumes: - application/json description: 原子创建服务主体、租户成员关系和 Client Credentials 凭据;Client Secret 仅在本响应展示一次 | Atomically create the identity, membership, and credential; the client secret is returned once parameters: - description: 服务账号定义 | Service account definition in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMCreateServiceAccountRequest' produces: - application/json responses: "201": description: Created schema: $ref: '#/definitions/internal_api.IAMServiceAccountCredentialResponse' security: - BearerAuth: [] summary: 创建服务账号 | Create service account tags: - 租户服务账号 | Tenant Service Accounts x-addp-auth-mode: permission x-addp-required-permissions: - iam.service_account.create /tenant/service_accounts/{id}: get: parameters: - description: 服务账号 ID | Service account ID in: path name: id required: true type: string produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMServiceAccountResponse' security: - BearerAuth: [] summary: 查询服务账号详情 | Get service account tags: - 租户服务账号 | Tenant Service Accounts x-addp-auth-mode: permission x-addp-required-permissions: - iam.service_account.read put: consumes: - application/json description: 完整更新名称与说明;Client ID 不可修改 | Fully update name and description; client ID is immutable parameters: - description: 服务账号 ID | Service account ID in: path name: id required: true type: string - description: 定义与版本 | Definition and version in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMUpdateServiceAccountRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMServiceAccountResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 更新服务账号 | Update service account tags: - 租户服务账号 | Tenant Service Accounts x-addp-auth-mode: permission x-addp-required-permissions: - iam.service_account.update /tenant/service_accounts/{id}/restore: post: consumes: - application/json parameters: - description: 服务账号 ID | Service account ID in: path name: id required: true type: string - description: 版本与原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMVersionedLifecycleRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMServiceAccountResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 恢复服务账号 | Restore service account tags: - 租户服务账号 | Tenant Service Accounts x-addp-auth-mode: permission x-addp-required-permissions: - iam.service_account.restore /tenant/service_accounts/{id}/rotate-secret: post: consumes: - application/json description: 旧 Client Secret 立即失效,新 Secret 仅在本响应展示一次 | Invalidate the old client secret and return the new secret once parameters: - description: 服务账号 ID | Service account ID in: path name: id required: true type: string - description: 版本与原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMVersionedLifecycleRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMServiceAccountCredentialResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 轮换服务账号密钥 | Rotate service account secret tags: - 租户服务账号 | Tenant Service Accounts x-addp-auth-mode: permission x-addp-required-permissions: - iam.service_credential.update /tenant/service_accounts/{id}/suspend: post: consumes: - application/json description: 原子暂停服务主体、成员关系和 Client Credentials 凭据,并使已签发令牌失效 | Atomically suspend the identity, membership, and credential and invalidate issued tokens parameters: - description: 服务账号 ID | Service account ID in: path name: id required: true type: string - description: 版本与原因 | Version and reason in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMVersionedLifecycleRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMServiceAccountResponse' "409": description: Conflict schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 暂停服务账号 | Suspend service account tags: - 租户服务账号 | Tenant Service Accounts x-addp-auth-mode: permission x-addp-required-permissions: - iam.service_account.suspend /users/me: get: produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMCurrentUserResponse' security: - BearerAuth: [] summary: 查询当前用户资料 | Get current user profile tags: - 当前用户 | Current User x-addp-auth-mode: self /users/me/organization: get: description: 只返回第一方当前用户在当前租户的有效部门和项目组成员关系及最小显示信息;无需组织管理权限;平台上下文返回空组织。组织角色不授予管理或数据权限 | Returns only the first-party current user's effective memberships and minimal display facts in the current tenant, without organization management permissions. Platform context has no organization. Relationship roles grant no management or data permissions produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMCurrentOrganizationResponse' "400": description: Bad Request schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "401": description: Unauthorized schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "403": description: Forbidden schema: $ref: '#/definitions/internal_api.IAMErrorResponse' "500": description: Internal Server Error schema: $ref: '#/definitions/internal_api.IAMErrorResponse' security: - BearerAuth: [] summary: 查询本人组织归属 | Get current user's organization tags: - 当前用户 | Current User x-addp-auth-mode: self /users/me/password: put: consumes: - application/json parameters: - description: 密码 | Passwords in: body name: request required: true schema: $ref: '#/definitions/internal_api.IAMChangeCurrentPasswordRequest' produces: - application/json responses: "200": description: OK schema: $ref: '#/definitions/internal_api.IAMPasswordRotationResponse' security: - BearerAuth: [] summary: 修改当前用户密码 | Change current user password tags: - 当前用户 | Current User x-addp-auth-mode: self securityDefinitions: BearerAuth: description: Type "Bearer" followed by a space and an ADDP opaque access token. in: header name: Authorization type: apiKey swagger: "2.0"