Giter VIP home page Giter VIP logo

ezplatform-rest-reference's Introduction

eZ Platform REST reference

This repository is deprecated. See Ibexa developer documentation for the current REST API reference.

This repository contains the REST API reference for eZ Platform. It is built based on RESTful API Modeling Language (RAML), for more information see https://raml.org/.

The repository is separated into three directories:

  • input - RAML definitions and examples of HTTP methods used in eZ Platform
  • output - static HTML automatically generated from RAML definitions
  • raml2html - tool for generating static HTML from RAML definitions

input

To document new REST API, you need to:

  1. Add a new method with errors to input/ez.raml.
  2. Add examples of request (e.g. SectionInput.xml.example) and response (e.g. Section.xml.example) to input/examples.
  3. Update descriptions of request and response elements in input/ez-types.raml.

For detailed information on how to use RAML to document API, see Specification.

raml2html

Installation

Install required dependencies before use. Go to raml2html root directory and run:

composer install

To generate static HTML from RAML definitions, use the following code:

php raml2html/raml2html.php build --non-standard-http-methods=COPY,MOVE,PUBLISH,SWAP -t default -o output/ input/ez.raml 

ezplatform-rest-reference's People

Contributors

adamwojs avatar ciastektk avatar dabrt avatar juskora avatar magdalenazuba avatar steveb-p avatar vidarl avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.