Interface | IWebhookPayloadRequest | An internal fake request used while composing webhook payloads. |
Class | WebhookPayloadRequest | An internal fake request used while composing webhook payloads. |
Class | WebhookAbsoluteURL | A variant of CanonicalAbsoluteURL that always forces a local path. |
Function | compose_webhook_payload | Compose a webhook payload dictionary from some fields of an object. |
Fields are serialised in the same way that lazr.restful does for webservice-exported objects, except that object paths are always local.
Parameters | interface | The interface of the object to serialise. |
obj | The object to serialise. | |
names | A list of fields from obj to serialise. |