Skip to content

TwilioSMSWebhook ​

Overview ​

Intentionally simple parent class for all views. Only implements dispatch-by-method and simple sanity checking.

dispatch ​

Dispatch the incoming request to the appropriate handler method.

This method implements the core request/response lifecycle for Django REST Framework views:

  1. Wraps the incoming Django HttpRequest in a REST framework Request.
  2. Performs content negotiation, authentication, permission, and throttling checks.
  3. Resolves and calls the appropriate HTTP method handler (e.g. get(), post(), put()).
  4. Handles any exceptions raised during processing and converts them into appropriate Response objects.
  5. Finalizes and returns the response with proper rendering and headers applied.

Signature ​

dispatch(self, request, args, kwargs)

Parameters ​

NameTypeRequiredDefaultDescription
selfyes
requestyes
argsno
kwargsno

Source ​

.venv/lib/python3.12/site-packages/django/utils/decorators.py:490

options ​

Handler method for HTTP 'OPTIONS' request.

Signature ​

options(self, request, args, kwargs)

Parameters ​

NameTypeRequiredDefaultDescription
selfyes
requestyes
argsno
kwargsno

Source ​

.venv/lib/python3.12/site-packages/rest_framework/views.py:531

post ​

Signature ​

post(self, request, args, kwargs)

Parameters ​

NameTypeRequiredDefaultDescription
selfyes
requestyes
argsno
kwargsno

Source ​

server/vueda/vdq/views.py:68

permission_classes ​

schema ​

Source ​

server/vueda/vdq/views.py:62