From d2e49e6e6b878c5e81b54217b8478b0c73964a63 Mon Sep 17 00:00:00 2001 From: Benoit Alessandroni <benoit@happy-dev.fr> Date: Wed, 10 Jul 2019 16:19:00 +0200 Subject: [PATCH] Adding the endpoints config example --- src/config.sample.json | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/src/config.sample.json b/src/config.sample.json index 743f6eb4..a2798122 100644 --- a/src/config.sample.json +++ b/src/config.sample.json @@ -3,20 +3,44 @@ "sdn": "http://127.0.0.1:8000", "cdn": "https://cdn.happy-dev.fr", "xmpp": "https://jabber.happy-dev.fr/http-bind/", - "client_id": "833925" + "client_id": "833925", + "endpoints": { + "resources": "http://127.0.0.1:8000/resources/", + "fields": "http://127.0.0.1:8000/fields/", + "formats": "http://127.0.0.1:8000/formats/", + "types": "http://127.0.0.1:8000/types/", + "languages": "http://127.0.0.1:8000/languages/", + "steps": "http://127.0.0.1:8000/steps/" + }, }, "staging": { "sdn": "http://test-paris.happy-dev.fr", "cdn": "https://cdn.happy-dev.fr", "xmpp": "https://jabber.happy-dev.fr/http-bind/", - "client_id": "833925" + "client_id": "833925", + "endpoints": { + "resources": "http://127.0.0.1:8000/resources/", + "fields": "http://127.0.0.1:8000/fields/", + "formats": "http://127.0.0.1:8000/formats/", + "types": "http://127.0.0.1:8000/types/", + "languages": "http://127.0.0.1:8000/languages/", + "steps": "http://127.0.0.1:8000/steps/" + }, }, "prod": { "sdn": "https://api.alpha.happy-dev.fr", "cdn": "https://cdn.happy-dev.fr", "xmpp": "https://jabber.happy-dev.fr/http-bind/", - "client_id": "833925" + "client_id": "833925", + "endpoints": { + "resources": "http://127.0.0.1:8000/resources/", + "fields": "http://127.0.0.1:8000/fields/", + "formats": "http://127.0.0.1:8000/formats/", + "types": "http://127.0.0.1:8000/types/", + "languages": "http://127.0.0.1:8000/languages/", + "steps": "http://127.0.0.1:8000/steps/" + }, } } -- GitLab