Package io.goobi.viewer.api.rest.model


package io.goobi.viewer.api.rest.model
Shared data transfer objects and helper classes used across REST API versions, including generic request parameters, response wrappers, and user-facing model facades.
  • Class
    Description
    Response object for GET /api/v1/users/current.
    REST API response model that carries an HTTP status code, a human-readable error description, and an optional stack trace.
    Thin wrapper around a Java List that serializes its contents directly as a JSON array via JsonValue.
    POST request parameters for IndexingResource (indexer version).
    Common interface for REST API response message objects that carry a human-readable message string.
    Service class that handles HTTP file delivery with support for byte-range requests, conditional caching headers (ETag, If-Modified-Since), and optional GZIP encoding for text content.
    Helper class for serving media resources via the REST API, handling content-type detection, redirect decisions, and HTTP response header configuration based on viewer media-type settings.
    Request parameters for the PRERENDER_PDF task, specifying the record identifier, an optional ContentServer configuration variant, and whether existing PDF files should be overwritten.
    POST request parameters for RecordsResource.
    POST request parameters for SitemapResource.
    REST API response model indicating whether an operation succeeded, together with an optional human-readable result description.
    POST request parameters for RecordsResource.
    Simplified representation of a User object for json (de-)serialization.
    Simple template to create a json-representation of a viewer page, typically a CMS-Page.