|
- openapi: 3.0.0
- info:
- title: Beacon Parser API
- version: 1.0.0
- paths:
- /configs/beacons:
- get:
- summary: Retrieve beacon parsing configurations
- responses:
- '200':
- description: A list of beacon protocol definitions
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/BeaconConfig'
-
- components:
- schemas:
- BeaconConfig:
- type: object
- properties:
- name:
- type: string
- example: "Ingics"
- min:
- type: integer
- max:
- type: integer
- pattern:
- type: array
- items:
- type: string
- example: ["0xFF", "0x59"]
- configs:
- type: object
- additionalProperties:
- $ref: '#/components/schemas/FieldMapping'
-
- FieldMapping:
- type: object
- properties:
- offset:
- type: integer
- length:
- type: integer
- order:
- type: string
- enum: [littleendian, bigendian]
|