Documentation ¶
Overview ¶
Package Server kabelliste API
This is the backend, which offers the cable database through a REST API.
Access is only granted with proper authentication tokens and roles of the calling client. The token is not to be set over OpenAPI, but on the very start of this website. (OpenAPIv2 does not support Cookie security settings) If you can read this text, you already got a valid token.
The official draft can be found in the wiki. This code is version controller at this repository. The `go doc` output can be viewed at pkg.go.dev.
Meta information about the current deployment you are using can be accessed at `/api/info`.
Feel free to open an issue if something doesn't work as expected.
Contact: Chris A. Fröschl <chris.froeschl@br.de> Schemes: http, https Consumes: - application/json Produces: - application/json - application/xml - application/zip - text/html Security: - token: Extensions: x-meta-value: value x-meta-array:
- value1
- value2
x-meta-array-obj:
- name: obj value: field
swagger:meta
Directories ¶
Path | Synopsis |
---|---|
Package config holds the global configuration of this application.
|
Package config holds the global configuration of this application. |
Package controller holds the "C" of the MVC pattern here.
|
Package controller holds the "C" of the MVC pattern here. |
See https://google.github.io/styleguide/jsoncstyleguide.xml?showone=data#data
|
See https://google.github.io/styleguide/jsoncstyleguide.xml?showone=data#data |
It is inspired by the regex table mentioned in https://benhoyt.com/writings/go-routing/#regex-table
|
It is inspired by the regex table mentioned in https://benhoyt.com/writings/go-routing/#regex-table |
service
|
|