Skip to content

Commit 55261ca

Browse files
committed
restlet2repo: saving modified files
1 parent ff59a6c commit 55261ca

2 files changed

Lines changed: 47 additions & 0 deletions

File tree

spec/definitions/board_request.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ properties:
102102
description: Return items that pay at most this amount.
103103
example: 300
104104
type: integer
105+
max_tripmiles:
106+
description: Return items with at most this many tripmiles.
107+
example: 500
108+
type: integer
105109
max_weight:
106110
description: Return items that weight less than this.
107111
example: 40000
@@ -122,6 +126,10 @@ properties:
122126
description: Return items that pay at least this amount.
123127
example: 50
124128
type: integer
129+
min_tripmiles:
130+
description: Return items with at least this many tripmiles.
131+
example: 100
132+
type: integer
125133
min_weight:
126134
description: Return items that weight at least this much.
127135
example: 1000
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
get:
2+
parameters:
3+
- description: >-
4+
For testing, you can initiate a voice verification. Then check the FMCSA
5+
database tables to get the UUID.
6+
in: path
7+
maxLength: 36
8+
minLength: 36
9+
name: UUID
10+
required: true
11+
type: string
12+
responses:
13+
'200':
14+
description: This will return an XML document.
15+
summary: >-
16+
STAGE=PRIVATE This URL doesn't require an API key. It takes a UUID in the
17+
url. This will generate an XML document with a 6 digit verification code in
18+
it. The Twilio API uses this to call the related user and say out the code.
19+
tags:
20+
- profiles
21+
post:
22+
parameters:
23+
- in: path
24+
maxLength: 36
25+
minLength: 36
26+
name: UUID
27+
required: true
28+
type: string
29+
responses:
30+
'200':
31+
description: Same as the GET.
32+
summary: >-
33+
STAGE=PRIVATE Same as GET. According to the code comments sometimes the
34+
Twilio service sends POST requests and sometimes it's GET requests. There
35+
was no extra info on why.
36+
tags:
37+
- profiles
38+
x-restlet:
39+
section: PROFILES

0 commit comments

Comments
 (0)