-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathwebservice.yaml
42 lines (32 loc) · 1.52 KB
/
webservice.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# webservice settings: see http://docs.exosite.com/reference/services/webservice for more information
# Tag to filter which endpoints to display on the auto-generated documentation
# Can be modified by user, as whitelisted in the options.safeConfigs in the murano.yaml file.
documented_endpoints:
- public
- default
- security
- schema
api_info:
title: Hello Api Title
description: |
This is your solutions own custom API. You best get started with one of our many example APIs that are Turn-Key-Solutions for most common IoT problems. From there this solution interface allows you to fine tune what is there to your needs or add new functions that are specific to the business you're building.
Build something great!
In this example customers interfaces such as websites and mobile devices can directly interact with the domain to access the APIs defined here.
User registration is the first step and happens in this example via `POST /user/{email}` documented below. From there devices can be added and roles assigned.
#### Documentation
In future versions it will be also possible for you to change this documentation itself and publish it to your customers via `/docs`
version: v1
contact:
name: Exosite
email: [email protected]
# Set security schemes for this solution
security_schemes:
- type: bearer # In a specific endpoint
- type: apiKey
name: X-API-KEY
in: header
# Set security for this solution
security:
- apiKey
# Set rate limit for this solution
rate_limit: 0