Skip to content
Snippets Groups Projects
Select Git revision
  • cabf47dcf058711d239e4fd0209e964330a53b49
  • master default protected
  • commit-alias
  • editor-modeline
  • commit-abbreviation
  • make-hooks-work-as-advertised
  • lyda-home-version
  • feature-aliases
  • git-version-bsd-fix
  • hook-changes
  • v1.20151229-1
  • v1.20151229
  • v1.20150502-1
  • v1.20150502
  • v1.20141026-manpage-static
  • v1.20141026-1
  • v1.20141026
  • v1.20141025-1
  • v1.20141025
  • v1.20141009-manpage-static
  • v1.20141009-1
  • v1.20141009
  • v1.20140508-1-bpo70+1
  • v1.20140508-1
  • v1.20140508-manpage-static
  • v1.20140508
  • v1.20140507
  • v1.20140313
  • v1.20131229-homebrew
  • v1.20131229-1-bpo60+1
30 results

vcsh.1.ronn

Blame
  • boxes.yaml 9.19 KiB
    ---
    openapi: "3.0.0"
    info:
      version: 1.0.0
      title: Boxes API
      description: Home inventory system
      termsOfService: https://phrye.com
      contact:
        name: Kevin Lyda
        email: kevin@lyda.ie
        url: https://git.lyda.ie/kevin/boxes/
      license:
        name: MIT
    servers:
      - url: https://localhost:8080/
    paths:
    
      /location/{lid}:
        get:
          summary: Location
          description: Get a location.
          operationId: GetLocation
          parameters:
            - $ref: '#/components/parameters/LID'
          responses:
            '200':
              $ref: '#/components/responses/Location'
            '403':
              $ref: '#/components/responses/Error'
        post:
          summary: Location
          description: Create a location.
          operationId: CreateLocation
          parameters:
            - $ref: '#/components/parameters/LID'
          requestBody:
            description: New location.
            required: true
            content:
              application/json:
                schema:
                  $ref: "#/components/schemas/Location"
          responses:
            '200':
              $ref: '#/components/responses/Location'
            '403':
              $ref: '#/components/responses/Error'
        patch:
          summary: Location
          description: Update a location.
          operationId: UpdateLocation
          parameters:
            - $ref: '#/components/parameters/LID'
          requestBody:
            description: Updated location.
            required: true
            content:
              application/json:
                schema:
                  $ref: "#/components/schemas/Location"
          responses:
            '200':
              $ref: '#/components/responses/Location'
            '403':
              $ref: '#/components/responses/Error'
        delete:
          summary: Location
          description: Delete a location.
          operationId: DeleteLocation
          parameters: