Skip to content

Interface IRestEndpointSuppressionRuntimeCatalog

Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll

Exposes the REST endpoint suppression rules visible to the current runtime.

public interface IRestEndpointSuppressionRuntimeCatalog

This surface complements by publishing the configured host-level suppression rules that can hide descriptor-backed module-owned REST candidates that participate in host governance, including shorthand candidates and explicit module-DSL route groups that opted in, before precedence resolution selects the final public REST surface.

Gets all REST endpoint suppression rules visible to the current runtime.

IReadOnlyList<RestEndpointSuppressionDescriptor> Suppressions { get; }

IReadOnlyList<RestEndpointSuppressionDescriptor>

Gets all REST endpoint suppression rules that target the requested behavior identifier, either directly or through configured behavior-id prefixes.

IReadOnlyList<RestEndpointSuppressionDescriptor> GetByBehaviorId(string behaviorId)

behaviorId string

The stable behavior identifier to filter by.

IReadOnlyList<RestEndpointSuppressionDescriptor>

The matching suppression descriptors, or an empty list when no rules exist.

Gets one REST endpoint suppression rule by its stable identifier.

RestEndpointSuppressionDescriptor? GetById(string suppressionId)

suppressionId string

The suppression identifier to resolve.

RestEndpointSuppressionDescriptor?

The matching suppression descriptor, or null when it is not present.

Gets all REST endpoint suppression rules that target the requested source module identifier.

IReadOnlyList<RestEndpointSuppressionDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The stable source-module identifier to filter by.

IReadOnlyList<RestEndpointSuppressionDescriptor>

The matching suppression descriptors, or an empty list when no rules exist.