- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for webhooks (0.07 sec)
-
docs/pt/docs/advanced/openapi-webhooks.md
/// Note que utilizando webhooks você não está de fato declarando uma **rota** (como `/items/`), o texto que informa é apenas um **identificador** do webhook (o nome do evento), por exemplo em `@app.webhooks.post("new-subscription")`, o nome do webhook é `new-subscription`. Isto porque espera-se que os **seus usuários** definam o verdadeiro **caminho da URL** onde eles desejam receber a requisição do webhook de algum outra maneira. (e.g. um painel).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/de/docs/advanced/openapi-webhooks.md
/// Beachten Sie, dass Sie bei Webhooks tatsächlich keinen *Pfad* (wie `/items/`) deklarieren, sondern dass der Text, den Sie dort übergeben, lediglich eine **Kennzeichnung** des Webhooks (der Name des Events) ist. Zum Beispiel ist in `@app.webhooks.post("new-subscription")` der Webhook-Name `new-subscription`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-webhooks.md
/// info Webhooks are available in OpenAPI 3.1.0 and above, supported by FastAPI `0.99.0` and above. /// ## An app with webhooks
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:38:23 UTC 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/tag/util.go
return fmt.Errorf("expected a single webhook for default revision") } webhook := whs[0] for i := range webhook.Webhooks { wh := webhook.Webhooks[i] // this is an abomination, but if this isn't a per-revision webhook, we want to make it ineffectual // without deleting it. Add a nonsense match. wh.NamespaceSelector = util.NeverMatch wh.ObjectSelector = util.NeverMatch webhook.Webhooks[i] = wh }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 5.5K bytes - Viewed (0) -
.teamcity/pluginData/Check/plugin-settings.xml
<?xml version="1.0" encoding="UTF-8"?> <settings> <webhooks enabled="true"> <webhook url="https://gradle-bot.grdev.net/teamcity_slacktemplate" enabled="true" template="slack.com"> <states> <state type="buildAddedToQueue" enabled="false" /> <state type="buildRemovedFromQueue" enabled="true" /> <state type="buildStarted" enabled="true" /> <state type="changesLoaded" enabled="true" />
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue May 18 02:15:16 UTC 2021 - 2.2K bytes - Viewed (0) -
istioctl/pkg/tag/revision.go
// Get a list of control planes which are installed in remote clusters // In this case, it is possible that they only have webhooks installed. webhooks, err := Webhooks(context.Background(), client) if err != nil { return nil, fmt.Errorf("error while listing mutating webhooks: %v", err) } for _, hook := range webhooks { rev := renderWithDefault(hook.GetLabels()[label.IoIstioRev.Name], DefaultRevisionName)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 4.5K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
"istio.io/istio/pkg/kube" ) func TestTagList(t *testing.T) { tcs := []struct { name string webhooks admitv1.MutatingWebhookConfigurationList namespaces corev1.NamespaceList outputMatches []string error string }{ { name: "TestBasicTag", webhooks: admitv1.MutatingWebhookConfigurationList{ Items: []admitv1.MutatingWebhookConfiguration{ {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 8.5K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
row.Cells = append(row.Cells, table.NewCell(wa.Reason)) return row }) w.AddHeader("WEBHOOK", "REVISION", "INJECTED", "REASON") injectedTotal := 0 for _, ws := range was { if ws.Injected { injectedTotal++ } w.AddRow(ws) } w.Flush() if injectedTotal > 1 { fmt.Fprintf(writer, "ERROR: multiple webhooks will inject, which can lead to errors") } return nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0) -
tests/test_webhooks_security.py
from typing_extensions import Annotated 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
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Oct 20 09:00:44 UTC 2023 - 4.6K bytes - Viewed (0) -
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",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Oct 20 09:00:44 UTC 2023 - 4.4K bytes - Viewed (0)