token

package
v0.0.0-...-7695c73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestDelete

func RequestDelete(input *context.Input)

*

  • @apiDefine TokenDeleteRequest *
  • @apiParam {String} orgId The org id

func RequestGet

func RequestGet(input *context.Input)

*

  • @apiDefine TokenGetRequest *
  • @apiParam {String} orgId The org id

func RequestGetList

func RequestGetList(input *context.Input)

*

  • @apiDefine TokenGetListRequest *

func RequestPost

func RequestPost(input *context.Input)

*

  • @apiDefine TokenPostRequest

func RequestPut

func RequestPut(input *context.Input)

*

  • @apiDefine TokenPutRequest *
  • @apiParam {String} orgId The org id

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL