Documentation ¶
Index ¶
- func RequestDelete(input *context.Input)
- func RequestGet(input *context.Input)
- func RequestGetList(input *context.Input)
- func RequestPost(input *context.Input)
- func RequestPut(input *context.Input)
- func ResponseDelete()
- func ResponseGet()
- func ResponseGetList()
- func ResponsePost()
- func ResponsePut()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseDelete ¶
func ResponseDelete()
*
- @apiDefine TokenDeleteResponse *
- @apiSuccessExample {json} Success-Response:
- HTTP/1.1 200 OK
func ResponseGet ¶
func ResponseGet()
*
- @apiDefine TokenGetResponse *
- @apiSuccess {String} id The id
- @apiSuccess {Int} createStamp Unix time stamp of create time *
- @apiSuccessExample {json} Success-Response:
- HTTP/1.1 200 OK
- {
- "id": "KAJFDA7GFTRE87FDS78F7",
- ...
- "createStamp": "1415637736",
- }
func ResponseGetList ¶
func ResponseGetList()
*
- @apiDefine TokenGetListResponse *
- @apiSuccess {Object[]} orgTokenList Array of all organisation tokens
- @apiSuccess {String} orgTokenList.id The orgToken id *
- @apiSuccessExample {json} Success-Response:
- HTTP/1.1 200 OK
- "orgTokenList": [
- {
- "id": "KAJFDA7GFTRE87FDS78F7",
- "createStamp": "1415637736",
- },
- ...
- ]
- }
func ResponsePost ¶
func ResponsePost()
*
- @apiDefine TokenPostResponse *
- @apiSuccess {String} id The id
- @apiSuccess {Int} createStamp Unix time stamp of create time *
- @apiSuccessExample {json} Success-Response:
- HTTP/1.1 200 OK
- {
- "id": "KAJFDA7GFTRE87FDS78F7",
- "createStamp": "1415637736",
- }
func ResponsePut ¶
func ResponsePut()
*
- @apiDefine TokenPutResponse *
- @apiSuccess {String} id The id
- @apiSuccess {Int} createStamp Unix time stamp of create time *
- @apiSuccessExample {json} Success-Response:
- HTTP/1.1 200 OK
- {
- "id": "KAJFDA7GFTRE87FDS78F7",
- "createStamp": "1415637736",
- }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.