From 42616682d5ad4448f5afa11560c520dd9801ac9d Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 30 Jul 2013 17:25:00 -0400 Subject: [PATCH] Add API endpoint to render some message content without sending a message. (imported from commit e1604b3bf4fc65e958db22f280eba1b5d2ba1e90) --- humbug/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/humbug/__init__.py b/humbug/__init__.py index 1512a6e..9f032c7 100644 --- a/humbug/__init__.py +++ b/humbug/__init__.py @@ -292,3 +292,4 @@ Client._register('get_members', method='GET', url='users') Client._register('list_subscriptions', method='GET', url='users/me/subscriptions') Client._register('add_subscriptions', url='users/me/subscriptions', make_request=_mk_subs) Client._register('remove_subscriptions', method='PATCH', url='users/me/subscriptions', make_request=_mk_rm_subs) +Client._register('render_message', method='GET', url='messages/render')