nexmo_api_specification 0.9.3 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/definitions/sms.yml +28 -2
- data/lib/nexmo_api_specification/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 545b648b9c7d8a69b9e40890dc6dcf5c43cc3348
|
4
|
+
data.tar.gz: 40d04446387f76895e2e35b8d0b133b212cbc34a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebc369d67f21697d8a5bccba58d529200760793c7c2fcca383a4d89b0a25ea59496fd0a1a7ddb499a91ce2a12edfafdaee95c3348f6f3c61b1b617e4b5be415e
|
7
|
+
data.tar.gz: b3d55b74c67007aa6cc05d5d93004b734a752eae559a544eef6c10501654f6b2b6d520e2a54043bfca3b95926f1c1145ddfc8c599818a7ef1def4933cd278ac3
|
data/definitions/sms.yml
CHANGED
@@ -24,7 +24,6 @@ paths:
|
|
24
24
|
enum:
|
25
25
|
- json
|
26
26
|
- xml
|
27
|
-
default: json
|
28
27
|
- name: api_key
|
29
28
|
description: Your API key
|
30
29
|
required: true
|
@@ -64,6 +63,10 @@ paths:
|
|
64
63
|
application/json:
|
65
64
|
schema:
|
66
65
|
$ref: '#/components/schemas/Message'
|
66
|
+
text/xml:
|
67
|
+
schema:
|
68
|
+
$ref: '#/components/schemas/MessageXmlWrapper'
|
69
|
+
|
67
70
|
callbacks:
|
68
71
|
delivery-receipt:
|
69
72
|
'{$request.body#/callback}':
|
@@ -314,6 +317,8 @@ components:
|
|
314
317
|
type: string
|
315
318
|
description: The ID of the message
|
316
319
|
example: 0A0000000123ABCD1
|
320
|
+
xml:
|
321
|
+
name: messageId
|
317
322
|
status:
|
318
323
|
type: string
|
319
324
|
description: The status of the message
|
@@ -322,14 +327,33 @@ components:
|
|
322
327
|
type: string
|
323
328
|
description: Your remaining balance
|
324
329
|
example: '3.14159265'
|
330
|
+
xml:
|
331
|
+
name: remainingBalance
|
325
332
|
message-price:
|
326
333
|
type: string
|
327
334
|
description: The cost of the message
|
328
335
|
example: '0.03330000'
|
336
|
+
xml:
|
337
|
+
name: messagePrice
|
329
338
|
network:
|
330
339
|
type: string
|
331
340
|
description: The ID of the network of the recipient
|
332
341
|
example: '12345'
|
342
|
+
MessageXmlWrapper:
|
343
|
+
type: object
|
344
|
+
xml:
|
345
|
+
name: mt-submission-response
|
346
|
+
properties:
|
347
|
+
messages:
|
348
|
+
type: array
|
349
|
+
items:
|
350
|
+
$ref: '#/components/schemas/Message'
|
351
|
+
properties:
|
352
|
+
count:
|
353
|
+
type: integer
|
354
|
+
example: 1
|
355
|
+
xml:
|
356
|
+
attribute: true
|
333
357
|
DeliveryReceipt:
|
334
358
|
type: object
|
335
359
|
properties:
|
@@ -368,7 +392,7 @@ components:
|
|
368
392
|
scts:
|
369
393
|
type: string
|
370
394
|
description: When the DLR was recieved from the carrier in the following format `YYMMDDHHMM`. For example, `2001011400` is at `2020-01-01 14:00`
|
371
|
-
example: 2001011400
|
395
|
+
example: '2001011400'
|
372
396
|
err-code:
|
373
397
|
type: string
|
374
398
|
description: |
|
@@ -407,3 +431,5 @@ x-groups:
|
|
407
431
|
schema:
|
408
432
|
application/json:
|
409
433
|
$ref: '#/components/schemas/SMS'
|
434
|
+
text/xml:
|
435
|
+
$ref: '#/components/schemas/MessageXmlWrapper'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexmo_api_specification
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Butler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|