Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
83023b7
new doc draft with eyes method
andreaazzara Dec 19, 2019
43ca74b
new domotz eyes api draft
andreaazzara Dec 19, 2019
bbf4f84
new eyes-related methods
andreaazzara Dec 19, 2019
69d7909
API v0.7.0
andreaazzara Jan 15, 2020
f52264b
Merge branch 'master' into rc
andreaazzara Mar 26, 2020
3ba64ec
new doc RC
andreaazzara Mar 30, 2020
c02db05
bump version
andreaazzara Apr 8, 2020
2e0cd69
bump version
andreatondo Apr 8, 2020
d0a934b
Update domotz logo
andreatondo Apr 9, 2020
346102e
Update domotz logo
andreatondo Apr 9, 2020
3d48a9e
Merge branch 'master' into rc
andreatondo Apr 9, 2020
f336598
US-2433: added configuration for c2e usage
faustothegrey May 4, 2020
5b68bc0
US-2433: test touch
faustothegrey May 4, 2020
3f11cf0
Merge branch 'master' of github.com:domotz/slate
faustothegrey May 4, 2020
d698442
[rc] US-2433: added docs for c2e usage
faustothegrey May 4, 2020
33aac26
[rc] US-2433: added docs for c2e usage
faustothegrey May 4, 2020
0b7c1d2
[rc] US-2433: improved connection consumption dto
faustothegrey May 5, 2020
0b06df6
[rc] US-2433: added link from connectToDevice to getConnectionConsump…
faustothegrey May 14, 2020
3b31fec
[rc] US-2433: added connection consumption link to onvif snapshot des…
faustothegrey May 15, 2020
091c3d0
v 0.8.1
andreaazzara May 19, 2020
211c978
Merge remote-tracking branch 'origin/master'
andreaazzara May 19, 2020
41141a3
v0.8.2 RC
andreaazzara Jun 30, 2020
b7b74c4
v0.8.2 RC
andreaazzara Jul 1, 2020
652028b
v0.8.2 RC
andreaazzara Jul 2, 2020
9c1c133
Add webhook explanation to the api description
andreaazzara Jul 27, 2020
0bf07f6
Add webhook explanation to the api description
andreaazzara Jul 27, 2020
808e6f5
add public api to retrieve snmp oid history
andreaazzara Sep 11, 2020
d6c0ec4
BT-1654: remove servers section
andreaazzara Oct 13, 2020
54eb33b
BT-1654: use a placeholder for baseURL
andreaazzara Oct 13, 2020
8d92ec4
new docs (rdp and ssh connection description)
andreaazzara Nov 17, 2020
702ac0d
BT-1739: replace tome.host user guide with help.domotz.com
andreatondo Dec 2, 2020
993c41f
US-3879: update documentation with agent activation api key
andreatondo Dec 9, 2020
bed8195
PPP-125: adding documentation for Trigger
alessandrolulli Dec 18, 2020
c384c37
PPP-125: adjust function name
alessandrolulli Dec 18, 2020
9774646
PPP-125: additional description
alessandrolulli Dec 21, 2020
2479974
SSB-355: add new openapi definition for vpn on public api
Jan 7, 2021
c0f3e74
SSB-355: ready for review version of vpn endpoints on public api
Jan 12, 2021
63074ec
SSB-355: execute generation script against testing env
georgi-tsatsev Jan 13, 2021
1f15c37
SSB-355: final version of vpn session public API endpoints
georgi-tsatsev Jan 14, 2021
5d59186
Merge pull request #1 from domotz/SSB-355
GeorgiTsatsev Jan 20, 2021
8bd5dd0
added parameter description fot listAgents
alessandrolulli Feb 15, 2021
e31c04f
US-4981: renamed eyes section to snmp/tcp sensor
Mar 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ WORKDIR /local

RUN bundle install --system

RUN npm install -g widdershins@3.6.6 node-fetch@2.2.0 json-stable-stringify@1.0.1 swagger-cli@2.2.1
RUN npm install -g widdershins@3.6.6 node-fetch@2.2.0 json-stable-stringify@1.0.1 swagger-cli@4.0.3
Binary file modified build/images/favicon.ico
Binary file not shown.
Binary file modified build/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12,713 changes: 9,367 additions & 3,346 deletions build/index.html

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions domotz_gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ const converter = require('widdershins');
const fs = require('fs');
const fetch = require('node-fetch');
const childProcess = require('child_process');
// const apiDefBaseUrl = 'https://api-testing-eu-central-1-cell-1.domotz.nl';
const apiDefBaseUrl = 'https://api-staging-eu-central-1-cell-1.domotz.co';
const apiDefBaseUrl = 'https://api-testing-eu-central-1-cell-1.domotz.nl';
// const apiDefBaseUrl = 'https://api-staging-eu-central-1-cell-1.domotz.co';
// const apiDefBaseUrl = 'https://api.domotz.de';
// const apiDefBaseUrl = 'http://172.17.0.1:8888';
const apiDefDocUrl = 'your-domotz-api-endpoint';
// const apiDefBaseUrl = 'http://192.168.77.5:8888';

var stringify = require('json-stable-stringify');
const tmpFile = '/tmp/domotz_api.json';

Expand All @@ -20,7 +21,7 @@ try {
} catch (e) {
validationError = true;
}

let apiDefDocUrl = '{baseURL}'

let options = {};
options.user_templates = './domotz_templates';
Expand Down
2 changes: 1 addition & 1 deletion domotz_gen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

docker run -w /local -v ${PWD}:/local -it registry.domotz.com/domotz/domotz_slate:1.0.2 \
docker run -w /local -v ${PWD}:/local -it registry.domotz.com/domotz/domotz_slate:1.0.3 \
bash -c 'export NODE_PATH="$(npm config get prefix)/lib/node_modules" && node domotz_gen.js && bundle exec middleman build'
17 changes: 1 addition & 16 deletions domotz_templates/main.dot
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,8 @@

{{? data.api.info.description}}{{=data.api.info.description}}{{?}}

{{? data.api.servers }}
Base URLs:
{{~data.api.servers :s}}
* <a href="{{=s.url}}">{{=s.url}}</a>
{{ for(var v in s.variables) { }}
* **{{=v}}** - {{=s.variables[v].description||''}} Default: {{=s.variables[v].default}}
{{? s.variables[v].enum}}
{{~ s.variables[v].enum :e}}
* {{= e}}
{{~}}
{{?}}
{{ } }}
{{~}}
{{?}}

{{? data.api.info.termsOfService}}<a href="{{=data.api.info.termsOfService}}">Terms of service</a>{{?}}
{{? data.api.info.contact}}{{? data.api.info.contact.email}}Email: <a href="mailto:{{=data.api.info.contact.email}}">{{=data.api.info.contact.name || 'Support'}}</a> {{?}}{{? data.api.info.contact.url}}Web: <a href="{{=data.api.info.contact.url}}">{{= data.api.info.contact.name || 'Support'}}</a> {{?}}{{?}}
{{? data.api.info.contact}}{{? data.api.info.contact.email}}<br><a href="mailto:{{=data.api.info.contact.email}}">{{=data.api.info.contact.name || 'Support'}}</a> {{?}}{{? data.api.info.contact.url}}Web: <a href="{{=data.api.info.contact.url}}">{{= data.api.info.contact.name || 'Support'}}</a> {{?}}{{?}}
{{? data.api.info.license}}{{? data.api.info.license.url}}License: <a href="{{=data.api.info.license.url}}">{{=data.api.info.license.name}}</a>{{??}} License: {{=data.api.info.license.name}}{{?}}{{?}}

{{? data.api.components && data.api.components.securitySchemes }}
Expand Down
Binary file modified source/images/favicon.ico
Binary file not shown.
Binary file modified source/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading