1.0.8 • Published 7 years ago

lpo_rest_en_ligne v1.0.8

Weekly downloads
-
License
Unlicense
Repository
-
Last release
7 years ago

lpo_rest_en_ligne

LpoRestEnLigne - JavaScript client for lpo_rest_en_ligne Service web pour qu'un Adhérent LPO gère ses nichoirs This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.8
  • Package version: 1.0.8
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install lpo_rest_en_ligne --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var LpoRestEnLigne = require('lpo_rest_en_ligne');

var api = new LpoRestEnLigne.NichoirApi()

var id = 56; // {Number} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.byProprietaireNichoirItem(id, callback);

Documentation for API Endpoints

All URIs are relative to http://192.168.1.10:8080/web/app_dev.php

ClassMethodHTTP requestDescription
LpoRestEnLigne.NichoirApibyProprietaireNichoirItemGET /nichoir/byproprio/{id}Retrieves a collection Nichoir of Proprietaire.
LpoRestEnLigne.NichoirApideleteNichoirItemDELETE /nichoirs/{id}Removes the Nichoir resource.
LpoRestEnLigne.NichoirApigetNichoirCollectionGET /nichoirsRetrieves the collection of Nichoir resources.
LpoRestEnLigne.NichoirApigetNichoirItemGET /nichoirs/{id}Retrieves a Nichoir resource.
LpoRestEnLigne.NichoirApipostNichoirCollectionPOST /nichoirsCreates a Nichoir resource.
LpoRestEnLigne.NichoirApiputNichoirItemPUT /nichoirs/{id}Replaces the Nichoir resource.
LpoRestEnLigne.OiseauApideleteOiseauItemDELETE /oiseaus/{id}Removes the Oiseau resource.
LpoRestEnLigne.OiseauApigetOiseauCollectionGET /oiseausRetrieves the collection of Oiseau resources.
LpoRestEnLigne.OiseauApigetOiseauItemGET /oiseaus/{id}Retrieves a Oiseau resource.
LpoRestEnLigne.OiseauApipostOiseauCollectionPOST /oiseausCreates a Oiseau resource.
LpoRestEnLigne.OiseauApiputOiseauItemPUT /oiseaus/{id}Replaces the Oiseau resource.
LpoRestEnLigne.PhotonichoirApideletePhotonichoirItemDELETE /photonichoirs/{id}Removes the Photonichoir resource.
LpoRestEnLigne.PhotonichoirApigetPhotonichoirCollectionGET /photonichoirsRetrieves the collection of Photonichoir resources.
LpoRestEnLigne.PhotonichoirApigetPhotonichoirItemGET /photonichoirs/{id}Retrieves a Photonichoir resource.
LpoRestEnLigne.PhotonichoirApipostPhotonichoirCollectionPOST /photonichoirsCreates a Photonichoir resource.
LpoRestEnLigne.PhotonichoirApiputPhotonichoirItemPUT /photonichoirs/{id}Replaces the Photonichoir resource.
LpoRestEnLigne.PhotooiseauApideletePhotooiseauItemDELETE /photooiseaus/{id}Removes the Photooiseau resource.
LpoRestEnLigne.PhotooiseauApigetPhotooiseauCollectionGET /photooiseausRetrieves the collection of Photooiseau resources.
LpoRestEnLigne.PhotooiseauApigetPhotooiseauItemGET /photooiseaus/{id}Retrieves a Photooiseau resource.
LpoRestEnLigne.PhotooiseauApipostPhotooiseauCollectionPOST /photooiseausCreates a Photooiseau resource.
LpoRestEnLigne.PhotooiseauApiputPhotooiseauItemPUT /photooiseaus/{id}Replaces the Photooiseau resource.
LpoRestEnLigne.ProprietaireApideleteProprietaireItemDELETE /proprietaires/{id}Removes the Proprietaire resource.
LpoRestEnLigne.ProprietaireApigetProprietaireCollectionGET /proprietairesRetrieves the collection of Proprietaire resources.
LpoRestEnLigne.ProprietaireApigetProprietaireItemGET /proprietaires/{id}Retrieves a Proprietaire resource.
LpoRestEnLigne.ProprietaireApipostProprietaireCollectionPOST /proprietairesCreates a Proprietaire resource.
LpoRestEnLigne.ProprietaireApiputProprietaireItemPUT /proprietaires/{id}Replaces the Proprietaire resource.

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.