Giter Club home page Giter Club logo

zm-gql's Introduction

zm-gql

Zimbra GraphQL Service

This service provides a GraphQL interface for users to perform operations on the Zimbra platform.


Installation

Pre-Requisites

The zm-mailbox project must be built and deployed to the .zcs-deps folder.

The zm-build and zm-zcs projects should also reside in the same local parent folder as this project.

Deploying the extension from CLI

For testing purposes you can build and and deploy the extension to /opt/zimbra/lib/ext/zm-gql by running the following:

ant clean deploy

Afterwards, become the zimbra user and perform a zmmailboxdctl restart.


Testing

Unit testing the extension from CLI

ant clean test

Usage

API

Download and install a GraphQL explorer and view the docs built by introspection.

The general usage flow involves performing an auth, then using the acquired auth token to perform subsequent GraphQL requests.

The service url should appear as: https://<hostname>/service/extension/graphql.

The auth token should be used in a Cookie header as ZM_AUTH_TOKEN=<auth_token_value>.

zm-gql's People

Contributors

desouzas avatar umagmrit avatar rupalid avatar chinmay15 avatar jdavid-synacor avatar naijenn avatar shrikant-prasad avatar sneha-patil-synacor avatar shrutig0510 avatar zimsuchitgupta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.