Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
swagger-json
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨春程
swagger-json
Commits
e2591850
Commit
e2591850
authored
Aug 09, 2016
by
杨春程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
34fac26d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
57 deletions
+18
-57
swagger.json
swagger.json
+18
-57
No files found.
swagger.json
View file @
e2591850
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
as
a
demonstration
of
an
API
spec
in
YAML
#
as
a
demonstration
of
an
API
spec
in
YAML
swagger
:
'
2.0
'
swagger
:
'
2.0
'
info
:
info
:
title
:
api/settlement/create
title
:
Backend
description
:
下单
description
:
下单
version
:
"1.0.0"
version
:
"1.0.0"
#
the
domain
of
the
service
#
the
domain
of
the
service
...
@@ -110,34 +110,17 @@ paths:
...
@@ -110,34 +110,17 @@ paths:
description
:
Unexpected
error
description
:
Unexpected
error
schema
:
schema
:
$ref
:
'#/definitions/Error'
$ref
:
'#/definitions/Error'
/
estimates/time
:
/
pay/unified/refund
:
ge
t
:
pos
t
:
summary
:
Time
Estimates
summary
:
统一退款入口
description
:
The
Time
Estimates
endpoint
returns
ETAs
for
all
products
offered
at
a
given
location
,
with
the
responses
expressed
as
integers
in
seconds.
We
recommend
that
this
endpoint
be
called
every
minute
to
provide
the
most
accurate
,
up-to-date
ETAs.
description
:
支付宝、微信、applePay、分期
根据订单pyament_channel
区分
parameters
:
parameters
:
-
name
:
start_latitude
-
name
:
order_id
in
:
query
description
:
Latitude
component
of
start
location.
required
:
true
type
:
number
format
:
double
-
name
:
start_longitude
in
:
query
in
:
query
description
:
Longitude
component
of
start
location
.
description
:
被退款的订单id
.
required
:
true
required
:
true
type
:
number
type
:
number
format
:
double
format
:
integer
-
name
:
customer_uuid
in
:
query
type
:
string
format
:
uuid
description
:
Unique
customer
identifier
to
be
used
for
experience
customization.
-
name
:
product_id
in
:
query
type
:
string
description
:
Unique
identifier
representing
a
specific
product
for
a
given
latitude
&
longitude.
tags
:
-
Estimates
responses
:
responses
:
200
:
200
:
description
:
An
array
of
products
description
:
An
array
of
products
...
@@ -149,43 +132,21 @@ paths:
...
@@ -149,43 +132,21 @@ paths:
description
:
Unexpected
error
description
:
Unexpected
error
schema
:
schema
:
$ref
:
'#/definitions/Error'
$ref
:
'#/definitions/Error'
/me
:
/pay/unified/cashback
:
get
:
post
:
summary
:
User
Profile
summary
:
统一返现入口
description
:
The
User
Profile
endpoint
returns
information
about
the
Uber
user
that
has
authorized
with
the
application.
description
:
支付宝、微信、applePay
分期不支持返现
根据订单pyament_channel
区分
tags
:
-
User
responses
:
200
:
description
:
Profile
information
for
a
user
schema
:
$ref
:
'#/definitions/Profile'
default
:
description
:
Unexpected
error
schema
:
$ref
:
'#/definitions/Error'
/history
:
get
:
summary
:
User
Activity
description
:
The
User
Activity
endpoint
returns
data
about
a
user's
lifetime
activity
with
Uber.
The
response
will
include
pickup
locations
and
times
,
dropoff
locations
and
times
,
the
distance
of
past
requests
,
and
information
about
which
products
were
requested.<br><br>The
history
array
in
the
response
will
have
a
maximum
length
based
on
the
limit
parameter.
The
response
value
count
may
exceed
limit
,
therefore
subsequent
API
requests
may
be
necessary.
parameters
:
parameters
:
-
name
:
offset
-
name
:
order_id
in
:
query
type
:
integer
format
:
int
32
description
:
Offset
the
list
of
returned
results
by
this
amount.
Default
is
zero.
-
name
:
limit
in
:
query
in
:
query
type
:
integer
description
:
被退款的订单id.
format
:
int
32
required
:
true
description
:
Number
of
items
to
retrieve.
Default
is
5
,
maximum
is
100
.
type
:
number
tags
:
-
User
responses
:
responses
:
200
:
200
:
description
:
History
information
for
the
given
user
description
:
Profile
information
for
a
user
schema
:
schema
:
$ref
:
'#/definitions/
Activities
'
$ref
:
'#/definitions/
Profile
'
default
:
default
:
description
:
Unexpected
error
description
:
Unexpected
error
schema
:
schema
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment