Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.
Mark Greenway edited this page Apr 29, 2023 · 1 revision

Paths

paths:
  /callbacks:
    get:
      tags:
        - CallbackHandlers
      summary: Dump the Database to Json
      description: For debugging purposes only
      requestBody:
        content: {}
      responses:
        200:
          description: OK
    post:
      tags:
        - CallbackHandlers
      summary: Create a Callback
      description: Post a CallbackCreate_Dto and the service will call it.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallbackCreate_Dto'
        required: true
      responses:
        200:
          description: OK
  /callbacks/homeassistant:
    get:
      tags:
        - CallbackHandlers
      summary: Home Assistant Friendly count and info on active callbacks
      description: Gives Count and then array of callbacks
      requestBody:
        content: {}
      responses:
        200:
          description: OK
  /callbacks/{id}:
    delete:
      tags:
        - CallbackHandlers
      summary: Delete a callback by id
      description: Primarily for preventing a callback from occurring.
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          schema:
            type: string
      requestBody:
        content: {}
      responses:
        200:
          description: OK

Clone this wiki locally