Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,408 for path (0.02 sec)

  1. docs/en/docs/tutorial/path-params.md

    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## Path parameters containing paths { #path-parameters-containing-paths }
    
    Let's say you have a *path operation* with a path `/files/{file_path}`.
    
    But you need `file_path` itself to contain a *path*, like `home/johndoe/myfile.txt`.
    
    So, the URL for that file would be something like: `/files/home/johndoe/myfile.txt`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/path-params.md

    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## Parámetros de path conteniendo paths
    
    Imaginemos que tienes una *path operation* con un path `/files/{file_path}`.
    
    Pero necesitas que `file_path` en sí mismo contenga un *path*, como `home/johndoe/myfile.txt`.
    
    Entonces, la URL para ese archivo sería algo como: `/files/home/johndoe/myfile.txt`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/path-params.md

    # Path Параметри
    
    Ви можете визначити "параметри" або "змінні" шляху, використовуючи синтаксис форматованих рядків:
    
    {* ../../docs_src/path_params/tutorial001.py hl[6:7] *}
    
    Значення параметра шляху `item_id` передається у функцію як аргумент `item_id`.
    
    Якщо запустити цей приклад та перейти за посиланням <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, то отримаємо таку відповідь:
    
    ```JSON
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. docs/tr/docs/tutorial/path-params.md

    ```JSON
    {
      "detail": [
        {
          "type": "int_parsing",
          "loc": [
            "path",
            "item_id"
          ],
          "msg": "Input should be a valid integer, unable to parse string as an integer",
          "input": "foo"
        }
      ]
    }
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. docs/id/docs/tutorial/path-params.md

    }
    ```
    
    ## Parameter path berisi path
    
    Misalkan terdapat *operasi path* dengan path `/files/{file_path}`.
    
    Tetapi anda memerlukan `file_path` itu berisi *path*, seperti like `home/johndoe/myfile.txt`.
    
    Sehingga URL untuk file tersebut akan seperti: `/files/home/johndoe/myfile.txt`.
    
    ### Dukungan OpenAPI
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/path-params.md

    ```JSON
    {
      "detail": [
        {
          "type": "int_parsing",
          "loc": [
            "path",
            "item_id"
          ],
          "msg": "Input should be a valid integer, unable to parse string as an integer",
          "input": "foo"
        }
      ]
    }
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/path-operation-configuration.md

    # Configuración de Path Operation
    
    Hay varios parámetros que puedes pasar a tu *path operation decorator* para configurarlo.
    
    /// warning | Advertencia
    
    Ten en cuenta que estos parámetros se pasan directamente al *path operation decorator*, no a tu *path operation function*.
    
    ///
    
    ## Código de Estado del Response
    
    Puedes definir el `status_code` (HTTP) que se utilizará en el response de tu *path operation*.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-operation-configuration.md

    # Path Operation Configuration { #path-operation-configuration }
    
    There are several parameters that you can pass to your *path operation decorator* to configure it.
    
    /// warning
    
    Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*.
    
    ///
    
    ## Response Status Code { #response-status-code }
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/path-operation-advanced-configuration.md

    Si quieres usar los nombres de las funciones de tus APIs como `operationId`s, puedes iterar sobre todas ellas y sobrescribir el `operation_id` de cada *path operation* usando su `APIRoute.name`.
    
    Deberías hacerlo después de agregar todas tus *path operations*.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial002.py hl[2, 12:21, 24] *}
    
    /// tip | Consejo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/path-params-numeric-validations.md

    # Path Параметри та валідація числових даних
    
    Так само як Ви можете оголошувати додаткові перевірки та метадані для query параметрів за допомогою `Query`, Ви можете оголошувати той самий тип перевірок і метаданих для параметрів шляху за допомогою `Path`.
    
    ## Імпорт Path
    
    Спочатку імпортуйте `Path` з `fastapi` і імпортуйте `Annotated`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    /// info | Інформація
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:35:49 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top