Giter Site home page Giter Site logo

rest.li-api-hub's Introduction

Rest.li API Hub

API Hub is a web UI for browsing and searching a catalog of rest.li APIs.

Features:

  • Explorable catalog of all Rest.li resources
  • Lucene powered full text search across all resources and data schemas

  • Detailed resource pages including all available RESTful methods

  • Detailed data schema pages
  • All resources and data schemas documentation is displayed and nicely formatted
  • Generated example HTTP requests and responses

  • Interactive Console for composing and sending requests to live REST resources

  • Requests composed in console and be saved to a paste service (gist by default) and shared via a link

Install and Run

Requirements:

  • Java 1.6+

Download latest stable build: http://rest.li/releases/apihub/restli-apihub-0.0.2.zip

Unzip the build, e.g.:

unzip restli-apihub-0.0.2.zip

Start the application:

Linux/OSX:
cd restli-apihub-0.0.2/bin
./restli-apihub

Windows:
cd restli-apihub-0.0.2\bin
restli-apihub.bat

In your browser, hit http://localhost:9000/apihub

Configuration

Edit the data loader strategy configuration properties in conf/application.conf.

  • Comment out the test data loader:
   #dataLoadStrategy=resource
   #filesystemCacheDir=int-test-dataset.json
  • Uncomment the crawling loader, modify the resourceUrls list to include URLs to all your rest.li resources.
   dataLoadStrategy=crawlerFilesystemCached
   filesystemCacheDir=/tmp/apihub
   resourceUrls=[                                                                                                                                                                    
     "http://localhost:1338/fortunes",
     "http://localhost:1338/greetings"
   ]

Building From Source

Requirements:

  • SBT - 0.13.0+
  • Play - 2.2.1+

How to run:

  • play run
  • In your browser, hit http://localhost:9000/apihub

How to debug:

  • play debug run
  • Connect IDE debugger to port 9999

rest.li-api-hub's People

Watchers

James Cloos avatar Vikram Jha avatar  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.