Table of Contents

Class ApiRoutes

Namespace
Core.CliniCore.Api
Assembly
Core.CliniCore.dll

Single source of truth for all API route patterns. Used by both API controllers and Remote repositories.

Structure:

  • Constants: Route segments used in [HttpGet] attributes
  • Static methods: Full paths used in HttpClient calls
public static class ApiRoutes
Inheritance
ApiRoutes
Inherited Members

Fields

Base

Represents the base path segment for API endpoints.

public const string Base = "api"

Field Value

string

Remarks

This constant is typically used as the root path for constructing API routes.