Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,059 for status_ (0.37 seconds)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/general/ApiAdminGeneralAction.java

            return asJson(new ApiConfigResponse().setting(form).status(Status.OK).result());
        }
    
        // PUT /api/admin/general
        /**
         * Updates the general system settings.
         * Merges the provided settings with existing configuration and applies changes.
         *
         * @param body the general settings data to update
         * @return JSON response with update status
         */
        @Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            // Note: Full testing requires a running OpenSearch cluster
            assertTrue(true);
        }
    
        @Test
        public void test_getClusterStatus_returnsCorrectValue() {
            // Test cluster status getter exists
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public Set<String> getApiPingEsFieldSet() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. cmd/admin-handlers-pools.go

    		writeErrorResponseJSON(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	status, err := pools.Status(r.Context(), idx)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	adminLogIf(r.Context(), json.NewEncoder(w).Encode(&status))
    }
    
    func (a adminAPIHandlers) ListPools(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. cmd/bucket-lifecycle-handlers_test.go

    			body:               []byte(`<?xml version="1.0" encoding="UTF-8"?><LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`),
    			expectedRespStatus: http.StatusOK,
    			lifecycleResponse:  []byte(``),
    			errorResponse:      APIErrorResponse{},
    			shouldPass:         true,
    		},
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jun 10 15:50:49 GMT 2024
    - 11.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            final Map<String, Object> requestBody = new HashMap<>();
            final List<Map<String, Object>> documents = new ArrayList<>();
            requestBody.put("documents", documents);
    
            // Execute bulk create with empty list - expect error status (1)
            checkMethodBase(requestBody).put(API_PATH + "/" + BULK_ENDPOINT).then().body("response.status", equalTo(1));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  6. docs_src/path_operation_configuration/tutorial001_py310.py

    from fastapi import FastAPI, status
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", status_code=status.HTTP_201_CREATED)
    async def create_item(item: Item) -> Item:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:07:26 GMT 2026
    - 350 bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

        }
    
        @Test
        void testAvailable_ok() {
            checkGetMethod(Collections.emptyMap(), getAvailableEndpointSuffix() + "/").then().body("response.status", equalTo(0));
        }
    
        @Test
        void testInstall_ng() {
            checkPostMethod(Collections.emptyMap(), getInstallEndpointSuffix()).then().body("response.status", equalTo(1));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java

            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, dicts.size());
            assertEquals(0, status);
        }
    
        @Override
        @AfterEach
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  9. internal/bucket/replication/datatypes.go

    	Replica StatusType = "REPLICA"
    )
    
    // String returns string representation of status
    func (s StatusType) String() string {
    	return string(s)
    }
    
    // Empty returns true if this status is not set
    func (s StatusType) Empty() bool {
    	return string(s) == ""
    }
    
    // VersionPurgeStatusType represents status of a versioned delete or permanent delete w.r.t bucket replication
    type VersionPurgeStatusType string
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 03 06:45:06 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. docs/tr/docs/advanced/additional-responses.md

    **FastAPI**'ye yeni başlıyorsanız buna ihtiyaç duymayabilirsiniz.
    
    ///
    
    Ek status code'lar, media type'lar, açıklamalar vb. ile ek response'lar tanımlayabilirsiniz.
    
    Bu ek response'lar OpenAPI şemasına dahil edilir; dolayısıyla API dokümanlarında da görünürler.
    
    Ancak bu ek response'lar için, status code'unuzu ve içeriğinizi vererek `JSONResponse` gibi bir `Response`'u doğrudan döndürdüğünüzden emin olmanız gerekir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.2K bytes
    - Click Count (0)
Back to Top