Skip to content

Instantly share code, notes, and snippets.

{
"swagger": "2.0",
"info": {
"description": "# Swagger template\n\n\nThis is a swagger template for your api, you should adpat exemples to your context and add a description of the purpose af the API. You should also replase todo with your data.\n\n# Routes\n\n\n ```\n GET data/v1/products\n GET data/v1/products/search?q=\n GET data/v1/products/:id\n POST data/v1/products\n POST data/v1/products/:id\n PATCH data/v1/products/:id\n PUT data/v1/products/:id\n DELETE data/v1/products/:id\n GET data/v1/products/swagger.yaml\n GET data/v1/products/postman.json\n ```\n\n# SubRoutes\n\nRessources can be linked to others, in this case subRessource will have a products_id field with the value :id\n\n\n ```\n GET data/v1/products/:id/_subRessource\n GET data/v1/products/:id/_subRessource/search?q=\n GET data/v1/products/:id/_subRessource/:subRessource_id\n POST data/v1/products/:id/_subRessource\n POST data/v1/products/:id/_subRessource/:subRessource_id\n PATCH data/v1/products/:id/_s
swagger: '2.0'
info:
description: >-
# Description des API prestations
## Modèle de ressources
<img src="https://docs.google.com/drawings/u/0/d/1H6WV7owLt3ivdq41Wl20MyBY5i1aeIJ9W82Ii4pBam4/export/png?id=1H6WV7owLt3ivdq41Wl20MyBY5i1aeIJ9W82Ii4pBam4&pageid=p">
source image : http://bit.ly/prestations_modele_donnees_light
@clodio
clodio / README.md
Last active May 21, 2019 15:44 — forked from metmajer/README.md
Sunburst with Labels HT kEUR

Sunburst with Labels HT kEUR new

@clodio
clodio / .block
Last active January 19, 2017 20:09 — forked from mbostock/.block
Treemap
border: no
height: 600
license: gpl-3.0
@clodio
clodio / logstash.conf
Last active May 17, 2017 11:45
Serca ELK
#####################################################################
# Fichier de configuration logstash pour les logs serca tomcat
# claude.seguret@laposte.fr, frederic.soulie@laposte.fr
######################################################################
# Outil indispensable pour groker (regexp du log à dépouper)
# https://grokdebug.herokuapp.com/discover?#
# Exemple de log
# 10/Feb/2017:00:00:05 +0100] 10.91.64.28 GET /services/mascadia/legacy/controle?idClient=EBOUTIQUE&passwdClient=pass HTTP/1.1 ?idClient=EBOUTIQUE&passwdClient=pass 200 1795 254
#!/bin/bash
#
# FROM Nagios script to check website is up and responding in a timely manner
# Written by Chris Freeman (cfree6223@gmail.com)
# Version 1.1
# (c) GPLv2 2011
#
# Special thanks to dkwiebe and Konstantine Vinogradov for suggestions and feedback
#
# MODIFIED BY Claude seguret to add graphite metrics
# Config file for collectd(1).
#
# Some plugins need additional configuration and are disabled by default.
# Please read collectd.conf(5) for details.
#
# You should also read /usr/share/doc/collectd-core/README.Debian.plugins
# before enabling any more plugins.
##############################################################################
# Global #
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.