'Get webhook JSON data to post to the API'

def get_webhook_data(self, project, integration):

    return json.dumps({'description': 'Read    the    Docs    ({domain})'.format(domain=settings.PRODUCTION_DOMAIN), 'url': 'https://{domain}{path}'.format(domain=settings.PRODUCTION_DOMAIN, path=reverse('api_webhook', kwargs={'project_slug': project.slug, 'integration_pk': integration.pk})), 'active': True, 'events': ['repo:push']})
