Added GET /orgs/:orgId/accounts/:accountI API endpoint

This commit is contained in:
Tarcisio Gruppi
2019-03-27 01:49:26 -03:00
parent 3ab14b2d99
commit cbb10098d3
14 changed files with 173 additions and 71 deletions

View File

@@ -9,11 +9,11 @@ import (
/**
* @api {post} /sessions Create a new Session
* @apiVersion 1.1.0
* @apiVersion 1.2.0
* @apiName PostSession
* @apiGroup Session
*
* @apiHeader {String} Accept-Version ^1.1.0 semver versioning
* @apiHeader {String} Accept-Version ^1.2.0 semver versioning
* @apiHeader {String} Authorization HTTP Basic Auth
*
* @apiParam {String} id 32 character hex string
@@ -59,12 +59,12 @@ func PostSession(w rest.ResponseWriter, r *rest.Request) {
/**
* @api {delete} /sessions/:sessionId Log out of a Session
* @apiVersion 1.1.0
* @apiVersion 1.2.0
* @apiName DeleteSession
* @apiGroup Session
*
* @apiHeader {String} Authorization HTTP Basic Auth
* @apiHeader {String} Accept-Version ^1.1.0 semver versioning
* @apiHeader {String} Accept-Version ^1.2.0 semver versioning
*
* @apiSuccessExample Success-Response:
* HTTP/1.1 200 OK