Skip to content

AgentPrismMetaResponse

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

Response for {prefix}/api/meta. Carries the minimum information the UI needs to configure itself.

public sealed record AgentPrismMetaResponse : IEquatable<AgentPrismMetaResponse>

objectAgentPrismMetaResponse

IEquatable<AgentPrismMetaResponse>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

This endpoint is reachable without authentication; the UI has no other way to learn which authentication method to use. Its content is therefore deliberately narrow: it carries no secret, tenant data, agent name, or count information.

public AgentPrismMetaResponse()

Active authentication methods.

public required AgentPrismAuthenticationMeta Authentication { get; init; }

AgentPrismAuthenticationMeta

Path prefix the endpoints are connected to. The UI builds its own calls from this.

public required string Prefix { get; init; }

string

Role permissions of the current caller.

public required AgentPrismRoleMeta Roles { get; init; }

AgentPrismRoleMeta

Active storage implementations.

public required AgentPrismStorageMeta Storage { get; init; }

AgentPrismStorageMeta

AgentPrism version.

public required string Version { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(AgentPrismMetaResponse? other)

other AgentPrismMetaResponse?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(AgentPrismMetaResponse?, AgentPrismMetaResponse?)

Section titled “ operator ==(AgentPrismMetaResponse?, AgentPrismMetaResponse?)”
public static bool operator ==(AgentPrismMetaResponse? left, AgentPrismMetaResponse? right)

left AgentPrismMetaResponse?

right AgentPrismMetaResponse?

bool

operator !=(AgentPrismMetaResponse?, AgentPrismMetaResponse?)

Section titled “ operator !=(AgentPrismMetaResponse?, AgentPrismMetaResponse?)”
public static bool operator !=(AgentPrismMetaResponse? left, AgentPrismMetaResponse? right)

left AgentPrismMetaResponse?

right AgentPrismMetaResponse?

bool