Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for validateApi (0.15 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

        // GET /api/admin/searchlist/docs
        // POST /api/admin/searchlist/docs
        @Execute
        public JsonResponse<ApiResult> docs(final SearchBody body) {
            validateApi(body, messages -> {});
    
            if (StringUtil.isBlank(body.q)) {
                // query matches on all documents.
                body.q = Constants.MATCHES_ALL_QUERY;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

        // Search Execute
        //
    
        // POST /api/admin/documents/bulk
        @Execute
        public JsonResponse<ApiResult> post$bulk(final BulkBody body) {
            validateApi(body, messages -> {});
            if (body.documents == null) {
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, "documents is required."));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top