Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 97 for Webhook (0.07 seconds)

  1. tests/test_webhooks_security.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    bearer_scheme = HTTPBearer()
    
    
    class Subscription(BaseModel):
        username: str
        monthly_fee: float
        start_date: datetime
    
    
    @app.webhooks.post("new-subscription")
    def new_subscription(
        body: Subscription, token: Annotated[str, Security(bearer_scheme)]
    ):
        """
        When a new user subscribes to your service we'll send you a POST request with this
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py

    def test_get():
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == ["Rick", "Morty"]
    
    
    def test_dummy_webhook():
        # Just for coverage
        app.webhooks.routes[0].endpoint({})
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

         * @param discloser the mail posting discloser
         */
        protected void sendToSlack(final CardView cardView, final SMailPostingDiscloser discloser) {
            // https://api.slack.com/messaging/webhooks#posting_with_webhooks
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String slackWebhookUrls = fessConfig.getSlackWebhookUrls();
            if (StringUtil.isBlank(slackWebhookUrls)) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. docs_src/openapi_webhooks/tutorial001_py39.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Subscription(BaseModel):
        username: str
        monthly_fee: float
        start_date: datetime
    
    
    @app.webhooks.post("new-subscription")
    def new_subscription(body: Subscription):
        """
        When a new user subscribes to your service we'll send you a POST request with this
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 550 bytes
    - Click Count (0)
  5. CHANGELOG/CHANGELOG-1.24.md

    - JobReadyPods graduates to Beta and it's enabled by default. ([#107476](https://github.com/kubernetes/kubernetes/pull/107476), [@alculquicondor](https://github.com/alculquicondor))
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Aug 24 00:02:43 GMT 2023
    - 473.4K bytes
    - Click Count (0)
  6. docs/en/docs/reference/fastapi.md

    You can import the `FastAPI` class directly from `fastapi`:
    
    ```python
    from fastapi import FastAPI
    ```
    
    ::: fastapi.FastAPI
        options:
            members:
                - openapi_version
                - webhooks
                - state
                - dependency_overrides
                - openapi
                - websocket
                - include_router
                - get
                - put
                - post
                - delete
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 701 bytes
    - Click Count (0)
  7. docs/en/data/sponsors.yml

        title: SDKs for your API | Speakeasy
        img: https://fastapi.tiangolo.com/img/sponsors/speakeasy.png
      - url: https://www.svix.com/
        title: Svix - Webhooks as a service
        img: https://fastapi.tiangolo.com/img/sponsors/svix.svg
      - url: https://www.stainlessapi.com/?utm_source=fastapi&utm_medium=referral
        title: Stainless | Generate best-in-class SDKs
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 01 20:06:57 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. docs/en/docs/release-notes.md

        * New support for documenting **webhooks**, read the new docs here: <a href="https://fastapi.tiangolo.com/advanced/openapi-webhooks/" class="external-link" target="_blank">Advanced User Guide: OpenAPI Webhooks</a>.
        * Upgrade OpenAPI 3.1.0, this uses JSON Schema 2020-12.
        * Upgrade Swagger UI to version 5.x.x, that supports OpenAPI 3.1.0.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  9. docs/en/mkdocs.yml

        - advanced/testing-events.md
        - advanced/testing-dependencies.md
        - advanced/async-tests.md
        - advanced/settings.md
        - advanced/openapi-callbacks.md
        - advanced/openapi-webhooks.md
        - advanced/wsgi.md
        - advanced/generate-clients.md
      - fastapi-cli.md
      - Deployment:
        - deployment/index.md
        - deployment/versions.md
        - deployment/fastapicloud.md
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:44:55 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. fastapi/applications.py

                )
            self.webhooks: Annotated[
                routing.APIRouter,
                Doc(
                    """
                    The `app.webhooks` attribute is an `APIRouter` with the *path
                    operations* that will be used just for documentation of webhooks.
    
                    Read more about it in the
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
Back to Top