Adds more APIs
This commit is contained in:
parent
1bdb2f49c9
commit
1de6c32840
|
@ -16,6 +16,8 @@ Welcome to the unofficial Kuvera API docs. Kuvera has a decent good read-only AP
|
||||||
6. Top bought, sold, and watched funds on Kuvera
|
6. Top bought, sold, and watched funds on Kuvera
|
||||||
7. Fixed Deposit Plans
|
7. Fixed Deposit Plans
|
||||||
8. Crypto Tokens (in INR)
|
8. Crypto Tokens (in INR)
|
||||||
|
9. Gold rates, both hisorical and latest
|
||||||
|
10. Exchange rate for USD
|
||||||
|
|
||||||
## Authentication
|
## Authentication
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ info:
|
||||||
description: Unofficial read API specification for Kuvera. See README on left to get started.
|
description: Unofficial read API specification for Kuvera. See README on left to get started.
|
||||||
servers:
|
servers:
|
||||||
- url: 'https://api.kuvera.in'
|
- url: 'https://api.kuvera.in'
|
||||||
|
description: Kuvera Production API Server
|
||||||
paths:
|
paths:
|
||||||
/mf/api/v4/fund_schemes/list.json:
|
/mf/api/v4/fund_schemes/list.json:
|
||||||
get:
|
get:
|
||||||
|
@ -857,6 +858,80 @@ paths:
|
||||||
- current_gold_price
|
- current_gold_price
|
||||||
operationId: current_gold_price
|
operationId: current_gold_price
|
||||||
description: Returns current gold price at which you can buy/sell Gold on Kuvera
|
description: Returns current gold price at which you can buy/sell Gold on Kuvera
|
||||||
|
/api/v3/users/authenticate.json:
|
||||||
|
post:
|
||||||
|
summary: Login User
|
||||||
|
operationId: authenticate_user
|
||||||
|
description: Authenticates a use and gets a JWT token
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
description: ''
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
email:
|
||||||
|
type: string
|
||||||
|
minLength: 1
|
||||||
|
format: email
|
||||||
|
password:
|
||||||
|
type: string
|
||||||
|
minLength: 1
|
||||||
|
format: password
|
||||||
|
v:
|
||||||
|
type: string
|
||||||
|
minLength: 1
|
||||||
|
description: Application Version
|
||||||
|
example: 1.179.14
|
||||||
|
required:
|
||||||
|
- email
|
||||||
|
- password
|
||||||
|
examples:
|
||||||
|
Sample Input:
|
||||||
|
value:
|
||||||
|
email: user@example.com
|
||||||
|
password: pa$$word
|
||||||
|
v: 1.179.14
|
||||||
|
description: Email and Password
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: OK
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
description: ''
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
status:
|
||||||
|
type: string
|
||||||
|
minLength: 1
|
||||||
|
description: '"success" if login worked'
|
||||||
|
token:
|
||||||
|
type: string
|
||||||
|
minLength: 1
|
||||||
|
description: JWT Token
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
minLength: 1
|
||||||
|
description: User's name
|
||||||
|
email:
|
||||||
|
type: string
|
||||||
|
minLength: 1
|
||||||
|
description: User's email address
|
||||||
|
profile:
|
||||||
|
description: Set to null
|
||||||
|
new_user:
|
||||||
|
type: boolean
|
||||||
|
description: ''
|
||||||
|
required:
|
||||||
|
- status
|
||||||
|
- token
|
||||||
|
- name
|
||||||
|
- email
|
||||||
|
- new_user
|
||||||
|
tags:
|
||||||
|
- Kuvera
|
||||||
|
- Authentication
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
Mutual-Fund:
|
Mutual-Fund:
|
||||||
|
@ -1084,4 +1159,4 @@ tags:
|
||||||
- name: Index Data
|
- name: Index Data
|
||||||
- name: Fixed Deposit
|
- name: Fixed Deposit
|
||||||
- name: Crypto
|
- name: Crypto
|
||||||
security: []
|
- name: Authentication
|
||||||
|
|
Loading…
Reference in New Issue