Skip to content

Commit 704b8ca

Browse files
updated swagger.yaml
1 parent 0d9c415 commit 704b8ca

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

UWBAnchor/swagger.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
# Copyleft (c) 2022 Contributors to Smart Data Models initiative
3+
#
4+
5+
6+
components:
7+
schemas:
8+
UWBAnchor:
9+
$ref: "https://smart-data-models.github.io/dataModel.Device/UWBAnchor/model.yaml#/UWBAnchor"
10+
info:
11+
description: |
12+
Data model for the Ultra Wideband (UWB) Anchor which are electronic devices that detect UWB pulses emitted by UWB Tags and forward them to the location server for calculating tag positions.
13+
title: UWBAnchor
14+
version: "0.0.1"
15+
openapi: "3.0.0"
16+
17+
paths:
18+
/ngsi-ld/v1/entities:
19+
get:
20+
description: "Retrieve a set of entities which matches a specific query from an NGSI-LD system"
21+
parameters:
22+
-
23+
in: query
24+
name: type
25+
required: true
26+
schema:
27+
enum:
28+
- UWBAnchor
29+
type: string
30+
responses:
31+
? "200"
32+
:
33+
content:
34+
application/ld+json:
35+
examples:
36+
keyvalues:
37+
summary: "Key-Values Pairs"
38+
value:
39+
-
40+
$ref: "https://smart-data-models.github.io/dataModel.Device/UWBAnchor/examples/example.json"
41+
normalized:
42+
summary: "Normalized NGSI-LD"
43+
value:
44+
-
45+
$ref: "https://smart-data-models.github.io/dataModel.Device/UWBAnchor/examples/example-normalized.jsonld"
46+
description: OK
47+
tags:
48+
- ngsi-ld
49+
tags:
50+
-
51+
description: "NGSI-LD Linked-data Format"
52+
name: ngsi-ld

0 commit comments

Comments
 (0)