Namespace Singulink.Net.Http.Api
Classes
ApiErrorContent
Represents the content of an API error response, including the content as a string and its content type. Used to store error details when the error response
is not in text/plain
or a known/expected format.
ApiException
Represents an exception that occurs during API operations.
BadRequestApiException
Represents an exception that occurs when an API request cannot be processed due to a client error (HTTP 400 Bad Request).
ForbiddenApiException
Represents an exception that occurs when an API request is forbidden (HTTP 403 Forbidden).
NotFoundApiException
Represents an exception that occurs when a requested API resource is not found (HTTP 404 Not Found).
UnauthorizedApiException
Represents an exception that occurs when the API request is unauthorized (HTTP 401 Unauthorized).
UserChangedApiException
Represents an exception that occurs when an API request user ID precondition header does not match the current user (HTTP 412 Precondition Failed).
UserRequiredApiException
Represents an exception that occurs when an API request user ID precondition header is required but missing (HTTP 428 Precondition Required).
ValidationApiException
Represents an exception that occurs when validation fails for an API request (HTTP 422 Unprocessable Content/Entity).
Interfaces
ISessionToken<TUserId>
Represents a session token that contains user information and the last time it was refreshed.