Giter Site home page Giter Site logo

maxknu / pim-api-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akeneo/pim-api-docs

0.0 0.0 0.0 71.95 MB

Akeneo Web API documentation (contributions are welcomed!)

Home Page: https://api.akeneo.com/

JavaScript 26.21% Python 2.34% CSS 3.52% Makefile 0.26% HTML 3.09% Handlebars 41.74% HCL 7.35% Dockerfile 0.02% Less 15.45%

pim-api-docs's Introduction

Akeneo API documentation

This repository holds the sources for the documentation of the REST API that was released in 1.7.

The API documentation can be found here: api.akeneo.com.

Installation for dev/preview purposes

Requirements

Install Docker Engine.

Build with docker

make build

This is only building the documentation. The documentation is not available with this command, as it does not launch the HTTP server.

Build and launch HTTP server with docker

make watch

The REST API documentation site is then available on localhost:8000. Files located in the content and src directories are watched for changes, so when developing you do not need to launch any other task.

Deployment

Automatic

To deploy the content of your PR, first merge your PR, and then trigger the CircleCI task continue_with_prod?.

NOTE: Once the "continue_with_prod?" task is completed, there is a delay before the new version of the documentation becomes visible.

Manual

In case you want to re deploy the Serenity documentation, look at the latest merge in master and click on Deployment.

List of merged PR in master

Then click on Rerun.

Re run a deployment

Swagger

As our YAML Swagger spec uses references and links, it is considered as non-valid. During the build, we generate a valid JSON specification that is put under the content/swagger folder. Don't forget to version it if you made any change into the YAML Swagger spec.

Custom properties

Our Swagger spec is extended with custom properties:

Property Type Description
x-from-version string Indicates the version the property was added to the API. In the user documentation, hides the property from payload descriptions that doesn't match the selected API version.
x-examples-per-version [Example object] Allows to set a payload example for a specific version. Use as a Response object property.

Example object

Property Type Description
x-version string API version of the example
x-example any Example payload content

pim-api-docs's People

Contributors

ahocquard avatar anaisbaunelemaire avatar annaperis-akeneo avatar arduibag avatar cbarbe avatar chpnt avatar damien-carcel avatar dfayet avatar fitn avatar gwendalaubert avatar jeremybeaucousinakeneo avatar laurentpetard avatar levflavien avatar masacc avatar meganelepalud-akeneo avatar mmetayer avatar momoss avatar morganen avatar nidup avatar nmarniesse avatar nolwennp avatar pchasle avatar pierallard avatar pierrejolly avatar riffventura avatar samokiss avatar stevenvaidie avatar tomglvng avatar tseho avatar valerie-schneider 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.