Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 864 for rjsonp (1.31 sec)

  1. docs/ru/docs/tutorial/handling-errors.md

    Если клиент запросит `http://example.com/items/foo` (`item_id` `"foo"`), то он получит статус-код 200 и ответ в формате JSON:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Но если клиент запросит `http://example.com/items/bar` (несуществующий `item_id` `"bar"`), то он получит статус-код 404 (ошибка "не найдено") и JSON-ответ в виде:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | Подсказка
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. cmd/kms-handlers.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if res, err := json.Marshal(apis); err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    	} else {
    		writeSuccessResponseJSON(w, res)
    	}
    }
    
    type versionResponse struct {
    	Version string `json:"version"`
    }
    
    // KMSVersionHandler - GET /minio/kms/v1/version
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. schema/serializer.go

    		var bytes []byte
    		switch v := dbValue.(type) {
    		case []byte:
    			bytes = v
    		case string:
    			bytes = []byte(v)
    		default:
    			bytes, err = json.Marshal(v)
    			if err != nil {
    				return err
    			}
    		}
    
    		if len(bytes) > 0 {
    			err = json.Unmarshal(bytes, fieldValue.Interface())
    		}
    	}
    
    	field.ReflectValueOf(ctx, dst).Set(fieldValue.Elem())
    	return
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 20 08:45:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. docs/pl/docs/tutorial/first-steps.md

    W takim przypadku będzie to oznaczać atrybuty JSON, ich typy danych itp.
    
    #### OpenAPI i JSON Schema
    
    OpenAPI definiuje API Schema dla Twojego API, który zawiera definicje (lub "schematy") danych wysyłanych i odbieranych przez Twój interfejs API przy użyciu **JSON Schema**, standardu dla schematów danych w formacie JSON.
    
    #### Sprawdź `openapi.json`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. docs/distributed/iam-import-with-missing-entities.sh

    	echo "BUG: Expected no of users: 2 Found: ${USER_COUNT}"
    	exit 1
    fi
    ./mc admin user svcacct list myminio "uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io" --json
    SVCACCT_COUNT_1=$(./mc admin user svcacct list myminio "uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io" --json | jq '.accessKey' | wc -l)
    if [ "${SVCACCT_COUNT_1}" -ne 2 ]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 11 15:01:29 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	Host          string                        `json:"host"`
    	Err           string                        `json:"err,omitempty"`
    	WaitingDrives map[string]madmin.DiskMetrics `json:"waitingDrives,omitempty"`
    }
    
    type serviceResult struct {
    	Action  madmin.ServiceAction `json:"action"`
    	DryRun  bool                 `json:"dryRun"`
    	Results []servicePeerResult  `json:"results,omitempty"`
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  7. cmd/format-meta.go

    type formatMetaV1 struct {
    	// Version of the format config.
    	Version string `json:"version"`
    	// Format indicates the backend format type, supports two values 'xl' and 'fs'.
    	Format string `json:"format"`
    	// ID is the identifier for the minio deployment
    	ID string `json:"id"`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  8. cmd/bucket-policy.go

    	}
    
    	data, err := json.Marshal(bucketPolicy)
    	if err != nil {
    		// This should not happen because bucketPolicy is valid to convert to JSON data.
    		return nil, err
    	}
    
    	var policyInfo miniogopolicy.BucketAccessPolicy
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(data, &policyInfo); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/schema-extra-example.md

    ///
    
    ### Поле `examples` у JSON Schema
    
    Пізніше JSON Schema додала поле <a href="https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5" class="external-link" target="_blank">`examples`</a> у нову версію специфікації.
    
    І вже OpenAPI 3.1.0 базується на цій новій версії (JSON Schema 2020-12), яка включає поле `examples`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jun 09 19:35:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/generate-clients.md

    Ahora como el resultado final está en un archivo `openapi.json`, modificarías el `package.json` para usar ese archivo local, por ejemplo:
    
    ```JSON  hl_lines="7"
    {
      "name": "frontend-app",
      "version": "1.0.0",
      "description": "",
      "main": "index.js",
      "scripts": {
        "generate-client": "openapi-ts --input ./openapi.json --output ./src/client --client axios"
      },
      "author": "",
      "license": "",
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Jun 17 11:53:56 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top