You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: restlet_studio/swagger.yaml
+25-37Lines changed: 25 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -1525,6 +1525,7 @@ paths:
1525
1525
enum:
1526
1526
- email
1527
1527
- text
1528
+
- voice
1528
1529
- push
1529
1530
- name: end-user-token
1530
1531
in: header
@@ -1567,7 +1568,7 @@ paths:
1567
1568
tags:
1568
1569
- optins
1569
1570
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."
1571
1572
parameters:
1572
1573
- name: end-user-token
1573
1574
in: header
@@ -1583,19 +1584,20 @@ paths:
1583
1584
properties:
1584
1585
notification_channel:
1585
1586
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.
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."
1599
1601
properties:
1600
1602
$SERVICE_OR_KEY_NAME:
1601
1603
type: string
@@ -1618,6 +1620,7 @@ paths:
1618
1620
enum:
1619
1621
- email
1620
1622
- text
1623
+
- voice
1621
1624
- push
1622
1625
- name: notification_channel
1623
1626
in: query
@@ -1639,6 +1642,7 @@ paths:
1639
1642
tags:
1640
1643
- optins
1641
1644
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."
1642
1646
parameters:
1643
1647
- name: end-user-token
1644
1648
in: header
@@ -1651,14 +1655,21 @@ paths:
1651
1655
type: object
1652
1656
required:
1653
1657
- notification_medium
1654
-
- verification_code
1655
1658
properties:
1656
1659
notification_medium:
1657
1660
type: string
1658
1661
enum:
1659
1662
- email
1660
1663
- 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:
1662
1673
type: string
1663
1674
description: "This code is generated on a POST, and will arrive via the same medium it was designated for."
1664
1675
responses:
@@ -3261,7 +3272,6 @@ definitions:
3261
3272
type: string
3262
3273
example: age
3263
3274
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
3265
3275
enum:
3266
3276
- origin_city
3267
3277
- origin_state
@@ -3288,14 +3298,15 @@ definitions:
3288
3298
- posting_type
3289
3299
- average_outbound_rate_at_destination
3290
3300
- loads_at_destination
3301
+
default: age
3291
3302
sort_direction:
3292
3303
type: string
3293
3304
example: asc
3294
3305
description: The system automatically chooses the most common order based on the parameter chosen. Use this option if you want a specific sort direction.
0 commit comments