-
Notifications
You must be signed in to change notification settings - Fork 0
/
Fbrefreshtoken.yaml
59 lines (57 loc) · 1.28 KB
/
Fbrefreshtoken.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
swagger: '2.0'
info:
version: '1.0'
title: 'get new token with refresh token'
description: ''
host: securetoken.googleapis.com
basePath: /v1
schemes:
- https
paths:
/token:
post:
summary: get new token
description: get new token
tags:
- documents
produces:
- application/json
consumes:
- application/json
parameters:
- in: query
name: key
description: WEb API key
type: string
required: true
- in: body
name: body
required: true
schema:
type: object
properties:
grant_type:
type: string
example: refresh_token
refresh_token:
type: string
responses:
'200':
description: OK
schema:
type: object
properties:
access_token:
type: string
expires_in:
type: string
token_type:
type: string
refresh_token:
type: string
id_token:
type: string
user_id:
type: string
project_id:
type: string