Skip to content

Commit 41e34b4

Browse files
docs: update postman json files
1 parent 0223166 commit 41e34b4

File tree

3 files changed

+0
-397
lines changed

3 files changed

+0
-397
lines changed

apps/api/OsmoX-API.postman_collection.json

Lines changed: 0 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -325,51 +325,6 @@
325325
},
326326
"response": []
327327
},
328-
{
329-
"name": "KAPS - SMS",
330-
"event": [
331-
{
332-
"listen": "test",
333-
"script": {
334-
"exec": [
335-
""
336-
],
337-
"type": "text/javascript",
338-
"packages": {}
339-
}
340-
}
341-
],
342-
"request": {
343-
"method": "POST",
344-
"header": [
345-
{
346-
"key": "Content-Type",
347-
"value": "application/json",
348-
"type": "text"
349-
},
350-
{
351-
"key": "x-api-key",
352-
"value": "{{x-api-key}}",
353-
"type": "text"
354-
}
355-
],
356-
"body": {
357-
"mode": "raw",
358-
"raw": "{\n // Assuming providerId 8 also has channelType 8\n \"providerId\": 8,\n \"data\": {\n \"indiaDltContentTemplateId\": \"1707160146562806652\",\n \"indiaDltPrincipalEntityId\":\"1601100000000005964\",\n \"to\": \"+918900100002,+918900100003\",\n \"text\": \"This is a test message from OsmoX.\\nThank you for using our service.\"\n }\n}"
359-
},
360-
"url": {
361-
"raw": "{{base_url}}/notifications",
362-
"host": [
363-
"{{base_url}}"
364-
],
365-
"path": [
366-
"notifications"
367-
]
368-
},
369-
"description": "Allows successfully creating new notification for the KAPS SMS channel type."
370-
},
371-
"response": []
372-
},
373328
{
374329
"name": "AWS - PushNotification - Android",
375330
"event": [
@@ -1429,54 +1384,6 @@
14291384
},
14301385
"response": []
14311386
},
1432-
{
1433-
"name": "Create KAPSystem SMS Provider",
1434-
"event": [
1435-
{
1436-
"listen": "test",
1437-
"script": {
1438-
"exec": [
1439-
""
1440-
],
1441-
"type": "text/javascript",
1442-
"packages": {}
1443-
}
1444-
}
1445-
],
1446-
"request": {
1447-
"method": "POST",
1448-
"header": [
1449-
{
1450-
"key": "Authorization",
1451-
"value": "Bearer {{auth-token}}",
1452-
"type": "text"
1453-
},
1454-
{
1455-
"key": "Content-Type",
1456-
"value": "application/json",
1457-
"type": "text"
1458-
}
1459-
],
1460-
"body": {
1461-
"mode": "graphql",
1462-
"graphql": {
1463-
"query": "mutation CreateProvider($applicationId: Float!) {\n provider(createProviderInput: {\n applicationId: $applicationId,\n channelType: 8\n configuration: {\n KAP_SMS_BASE_API_URL:\"http://<api-domain>/api/v3/sendsms/plain\",\n KAP_SMS_ACCOUNT_USERNAME: \"<YOUR_KAP_SMS_ACCOUNT_USERNAME>\", \n KAP_SMS_ACCOUNT_PASSWORD: \"<YOUR_KAP_SMS_ACCOUNT_PASSWORD>\", \n KAP_SMS_FROM: \"KAPMSG\" \n },\n isEnabled: 1,\n name: \"<New Provider Name>\",\n userId: 1,\n }) {\n providerId\n applicationId\n channelType\n configuration\n isEnabled\n name\n userId\n createdOn\n updatedOn\n status\n }\n}",
1464-
"variables": "{\n \"applicationId\": {{applicationId}}\n}"
1465-
}
1466-
},
1467-
"url": {
1468-
"raw": "{{base_url}}/graphql",
1469-
"host": [
1470-
"{{base_url}}"
1471-
],
1472-
"path": [
1473-
"graphql"
1474-
]
1475-
},
1476-
"description": "Allows successfully creating a provider based on the options passed."
1477-
},
1478-
"response": []
1479-
},
14801387
{
14811388
"name": "Create AWS SNS Push Notification Provider",
14821389
"event": [
@@ -2122,50 +2029,6 @@
21222029
},
21232030
"response": []
21242031
},
2125-
{
2126-
"name": "KAPS SMS cURL",
2127-
"request": {
2128-
"method": "GET",
2129-
"header": [],
2130-
"url": {
2131-
"raw": "{{KAP_SMS_BASE_API_URL}}?username={{KAP_SMS_ACCOUNT_USERNAME}}&password={{KAP_SMS_ACCOUNT_PASSWORD}}&from={{KAP_SMS_FROM}}&indiaDltContentTemplateId=1707160146562806652&indiaDltPrincipalEntityId=1601100000000005964&to=+918900100002&text=This is a test message from OsmoX.",
2132-
"host": [
2133-
"{{KAP_SMS_BASE_API_URL}}"
2134-
],
2135-
"query": [
2136-
{
2137-
"key": "username",
2138-
"value": "{{KAP_SMS_ACCOUNT_USERNAME}}"
2139-
},
2140-
{
2141-
"key": "password",
2142-
"value": "{{KAP_SMS_ACCOUNT_PASSWORD}}"
2143-
},
2144-
{
2145-
"key": "from",
2146-
"value": "{{KAP_SMS_FROM}}"
2147-
},
2148-
{
2149-
"key": "indiaDltContentTemplateId",
2150-
"value": "1707160146562806652"
2151-
},
2152-
{
2153-
"key": "indiaDltPrincipalEntityId",
2154-
"value": "1601100000000005964"
2155-
},
2156-
{
2157-
"key": "to",
2158-
"value": "+918900100002"
2159-
},
2160-
{
2161-
"key": "text",
2162-
"value": "This is a test message from OsmoX."
2163-
}
2164-
]
2165-
}
2166-
},
2167-
"response": []
2168-
},
21692032
{
21702033
"name": "Twilio Voice Call cURL",
21712034
"request": {

apps/api/OsmoX-API.postman_environment.json

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -78,26 +78,6 @@
7878
"value": "some-plivo-auth-token",
7979
"enabled": true
8080
},
81-
{
82-
"key": "KAP_SMS_ACCOUNT_USERNAME",
83-
"value": "kaps-username",
84-
"enabled": true
85-
},
86-
{
87-
"key": "KAP_SMS_BASE_API_URL",
88-
"value": "http://<api-domain>/api/v3/sendsms/plain",
89-
"enabled": true
90-
},
91-
{
92-
"key": "KAP_SMS_ACCOUNT_PASSWORD",
93-
"value": "kaps-password",
94-
"enabled": true
95-
},
96-
{
97-
"key": "KAP_SMS_FROM",
98-
"value": "KAPMSG",
99-
"enabled": true
100-
},
10181
{
10282
"key": "AWS_REGION",
10383
"value": "aws-region",

0 commit comments

Comments
 (0)