Skip to content

Interface IBackendForFrontendRestDocumentRuntimeCatalog

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

Exposes the client-aware REST documentation surfaces derived from the active backend-for-frontend bindings and published REST endpoint catalog.

public interface IBackendForFrontendRestDocumentRuntimeCatalog

This runtime surface keeps filtered OpenAPI JSON and Scalar materialization aligned with the existing backend-for-frontend binding and REST endpoint runtime catalogs instead of introducing a host-only documentation registry.

Gets all client-aware REST documentation surfaces visible to the current runtime.

IReadOnlyList<BackendForFrontendRestDocumentRuntimeDescriptor> Documents { get; }

IReadOnlyList<BackendForFrontendRestDocumentRuntimeDescriptor>

Gets all binding-scoped REST documentation surfaces owned by the requested binding.

IReadOnlyList<BackendForFrontendRestDocumentRuntimeDescriptor> GetByBindingId(string bindingId)

bindingId string

The backend-for-frontend binding identifier to filter by.

IReadOnlyList<BackendForFrontendRestDocumentRuntimeDescriptor>

The matching runtime descriptors, or an empty list when the binding is not active.

Gets all client-scoped REST documentation surfaces owned by the requested client.

IReadOnlyList<BackendForFrontendRestDocumentRuntimeDescriptor> GetByClientId(string clientId)

clientId string

The client identifier to filter by.

IReadOnlyList<BackendForFrontendRestDocumentRuntimeDescriptor>

The matching runtime descriptors, or an empty list when the client is not active.

Gets one client-aware REST documentation surface by its stable identifier.

BackendForFrontendRestDocumentRuntimeDescriptor? GetById(string documentId)

documentId string

The documentation-surface identifier to resolve.

BackendForFrontendRestDocumentRuntimeDescriptor?

The matching runtime descriptor, or null when it is not active.