Skip to content

Commit 1996e2d

Browse files
committed
saving modified files
1 parent 19e92d8 commit 1996e2d

1 file changed

Lines changed: 25 additions & 37 deletions

File tree

restlet_studio/swagger.yaml

Lines changed: 25 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,6 +1525,7 @@ paths:
15251525
enum:
15261526
- email
15271527
- text
1528+
- voice
15281529
- push
15291530
- name: end-user-token
15301531
in: header
@@ -1567,7 +1568,7 @@ paths:
15671568
tags:
15681569
- optins
15691570
summary: STAGE=UNK Submit a request to be opted in.
1570-
description: "Currently only Push notifications are implemented. With them a post creates and approves the optin. Later on when text/email is ported post will create the optin with the status of 'no response' meaning they haven't replied with the propper code, or clicked an authorization link."
1571+
description: "Text, voice, push and manual are implemented. With push a post creates and approves the optin. With the others, a code is sent to the refecenced contact, and can be verified via the PATCH operation. Email has not yet been enabled."
15711572
parameters:
15721573
- name: end-user-token
15731574
in: header
@@ -1583,19 +1584,20 @@ paths:
15831584
properties:
15841585
notification_channel:
15851586
type: string
1586-
description: "Currently defaults to all, and is ignored. When we start using it it will be for opting people out or in one list like alerts, or messages, but not others."
1587+
description: Everything but email has been implemented. Push is 1 step verification. Everyone but push and manual uses PATCH to verify the code.
15871588
default: all
15881589
notification_medium:
15891590
type: string
15901591
description: We currently only accept push
15911592
enum:
15921593
- email
15931594
- text
1595+
- voice
1596+
- manual
15941597
- push
15951598
tokens:
15961599
type: object
1597-
example: "\"tokens\": { \"ios\": \"12345678\", \"android\": \"5432344\" } "
1598-
description: "This is how you can add multiple push notifications at once, or for systems that have multiple tokens required."
1600+
description: "This is how you can add multiple push notifications at once, or for systems that have multiple tokens required. For other notification mediums use \"contact_number\": \"1234567890\" instead of ios or android."
15991601
properties:
16001602
$SERVICE_OR_KEY_NAME:
16011603
type: string
@@ -1618,6 +1620,7 @@ paths:
16181620
enum:
16191621
- email
16201622
- text
1623+
- voice
16211624
- push
16221625
- name: notification_channel
16231626
in: query
@@ -1639,6 +1642,7 @@ paths:
16391642
tags:
16401643
- optins
16411644
summary: STAGE=UNK Confirm an optin.
1645+
description: "Used to verify an optin code, or update which channels the user is subscribed to. Email is not yet enabled."
16421646
parameters:
16431647
- name: end-user-token
16441648
in: header
@@ -1651,14 +1655,21 @@ paths:
16511655
type: object
16521656
required:
16531657
- notification_medium
1654-
- verification_code
16551658
properties:
16561659
notification_medium:
16571660
type: string
16581661
enum:
16591662
- email
16601663
- text
1661-
verification_code:
1664+
- voice
1665+
notification_channel:
1666+
type: string
1667+
description: Specify which channels to subscribe to update. You can also send in an empty string to opt out of everything.
1668+
enum:
1669+
- all
1670+
- alerts
1671+
- search_data
1672+
code:
16621673
type: string
16631674
description: "This code is generated on a POST, and will arrive via the same medium it was designated for."
16641675
responses:
@@ -3261,7 +3272,6 @@ definitions:
32613272
type: string
32623273
example: age
32633274
description: The system automatically chooses the most common order based on the parameter chosen. Sort order can be specified by using the "sort_direction" parameter.
3264-
default: age
32653275
enum:
32663276
- origin_city
32673277
- origin_state
@@ -3288,14 +3298,15 @@ definitions:
32883298
- posting_type
32893299
- average_outbound_rate_at_destination
32903300
- loads_at_destination
3301+
default: age
32913302
sort_direction:
32923303
type: string
32933304
example: asc
32943305
description: The system automatically chooses the most common order based on the parameter chosen. Use this option if you want a specific sort direction.
3295-
default: asc
32963306
enum:
32973307
- asc
32983308
- desc
3309+
default: asc
32993310
trailer_type:
33003311
type: array
33013312
example:
@@ -5227,26 +5238,7 @@ definitions:
52275238
type: string
52285239
x-restlet:
52295240
section: PROFILES
5230-
example:
5231-
address: 11 Wall Street
5232-
city: New York
5233-
company: NY Stock Exchange
5234-
contact_extension: 111
5235-
contact_name: J.P. Morgan
5236-
contact_number: 8885559999
5237-
dispatch_extension: 1234
5238-
dispatch_number: 4445556666
5239-
dot_number: "12345678"
5240-
5241-
fax_number: 1112223333
5242-
mc_number: "12345678"
5243-
mobile_carrier: Sprint
5244-
mobile_number: 4445556666
5245-
state: NY
5246-
web_page: www.directfreight.com
5247-
carrier_onboard_url: www.carrier.com/onboard
5248-
carrier_terms_url: www.carrier.com/terms
5249-
zip: "12345"
5241+
example: "{ \"address\": \"11 Wall Street\", \"city\": \"New York\", \"company\": \"NY Stock Exchange\", \"contact_extension\": 111, \"contact_name\": \"J.P. Morgan\", \"contact_number\": 8885559999, \"dispatch_extension\": 1234, \"dispatch_number\": 4445556666, \"dot_number\": \"12345678\", \"email\": \"[email protected]\", \"fax_number\": 1112223333, \"mc_number\": \"12345678\", \"mobile_carrier\": \"Sprint\", \"mobile_number\":4445556666, \"state\": \"NY\", \"web_page\": \"www.directfreight.com\", \"carrier_onboard_url\": \"www.carrier.com/onboard\", \"carrier_terms_url\": \"www.carrier.com/terms\", \"zip\": \"12345\" }"
52505242
stop_item:
52515243
properties:
52525244
label:
@@ -5255,7 +5247,10 @@ definitions:
52555247
description: Label for this field.
52565248
summary:
52575249
type: string
5258-
example: "411 Locust Chillicothe, MO 64601 on 03-02-2023"
5250+
example: |
5251+
411 Locust
5252+
Chillicothe, MO 64601
5253+
on 03-02-2023
52595254
description: Summary of this field.
52605255
truck_info_object:
52615256
type: object
@@ -5276,14 +5271,7 @@ definitions:
52765271
type: number
52775272
x-restlet:
52785273
section: PROFILES
5279-
example:
5280-
miles_per_gal: 6.5
5281-
maint_per_mile: 0.17
5282-
driver_per_mile: 0.72
5283-
truck_ownership_per_mile: 0.27
5284-
ins_permits_per_mile: 0.13
5285-
fuel_capacity: 200.0
5286-
deadhead_per_mile: 1.29
5274+
example: "{\n\"miles_per_gal\": 6.50,\n\"maint_per_mile\": 0.17,\n\"driver_per_mile\": 0.72,\n\"truck_ownership_per_mile\": 0.27,\n\"ins_permits_per_mile\": 0.13,\n\"fuel_capacity\": 200.00,\n\"deadhead_per_mile\": 1.29 \n}\n"
52875275
rename_custom_field:
52885276
type: object
52895277
required:

0 commit comments

Comments
 (0)