[Swagger]Following changes
This commit is contained in:
@ -15,7 +15,7 @@ import AccessToken from '../../models/access-token';
|
||||
* post:
|
||||
* summary: Accept a session
|
||||
* parameters:
|
||||
* - $ref: "#/parameters/ShouldSecureKey"
|
||||
* - $ref: "#/parameters/NativeToken"
|
||||
* -
|
||||
* name: token
|
||||
* description: Session Token
|
||||
|
@ -14,7 +14,7 @@ import serialize from '../../../serializers/auth-session';
|
||||
* parameters:
|
||||
* -
|
||||
* name: token
|
||||
* description: API Token
|
||||
* description: Session Token
|
||||
* in: formData
|
||||
* required: true
|
||||
* type: string
|
||||
@ -28,7 +28,7 @@ import serialize from '../../../serializers/auth-session';
|
||||
* created_at:
|
||||
* type: string
|
||||
* format: date
|
||||
* description: de
|
||||
* description: Date and time of the session creation
|
||||
* app_id:
|
||||
* type: string
|
||||
* description: Application ID
|
||||
@ -37,7 +37,7 @@ import serialize from '../../../serializers/auth-session';
|
||||
* description: Session Token
|
||||
* user_id:
|
||||
* type: string
|
||||
* description: de
|
||||
* description: ID of user who create the session
|
||||
* app:
|
||||
* $ref: "#/definitions/Application"
|
||||
* default:
|
||||
|
@ -12,7 +12,7 @@ import serialize from '../../../serializers/user';
|
||||
* @swagger
|
||||
* /auth/session/userkey:
|
||||
* post:
|
||||
* summary: Get a userkey
|
||||
* summary: Get a access token(userkey)
|
||||
* parameters:
|
||||
* -
|
||||
* name: app_secret
|
||||
@ -35,7 +35,7 @@ import serialize from '../../../serializers/user';
|
||||
* properties:
|
||||
* userkey:
|
||||
* type: string
|
||||
* description: User Key
|
||||
* description: Access Token
|
||||
* user:
|
||||
* $ref: "#/definitions/User"
|
||||
* default:
|
||||
|
Reference in New Issue
Block a user