Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit f2d0d11

Browse files
authored
Merge branch 'main' into tf-verification-v2
2 parents eb1db45 + fd76434 commit f2d0d11

File tree

6 files changed

+28
-3
lines changed

6 files changed

+28
-3
lines changed

.github/workflows/lts-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
BUCKET_NAME: ${{ needs.lts_needed.outputs.release_name }}
5252

5353
- name: Sync to S3
54-
uses: Bandwidth/s3-sync-action@v1.3.0
54+
uses: Bandwidth/s3-sync-action@v1.4.0
5555
with:
5656
bucket-name: ${{ steps.bucket_name.outputs.bucket_name }}
5757
bucket-expiration: '180'

site/custom.config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"numbersSpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/numbers.yml",
33
"phoneNumberLookupSpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/phone-number-lookup.yml",
44
"voiceSpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/voice.yml",
5+
"activeCallInfoSpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/active-call-info.yml",
56
"messagingSpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/messaging.yml",
67
"messagingInternationalSpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/messagingInternational.json",
78
"webRtcSpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/webrtc.yml",

site/docusaurus.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const phoneNumberLookupSpec = fs.readFileSync(
1212
"utf-8"
1313
);
1414
const voiceSpec = fs.readFileSync("./specs/voice.yml", "utf-8");
15+
const activeCallInfoSpec = fs.readFileSync('./specs/active-call-info.yml', 'utf-8');
1516
const messagingSpec = fs.readFileSync("./specs/messaging.yml", "utf-8");
1617
const webRtcSpec = fs.readFileSync("./specs/webrtc.yml", "utf-8");
1718
const multiFactorAuthSpec = fs.readFileSync(
@@ -170,6 +171,8 @@ module.exports = {
170171
phoneNumberLookupSpecLink: `${customConfig.phoneNumberLookupSpecLink}`,
171172
voiceSpec: YAML.parse(voiceSpec),
172173
voiceSpecLink: `${customConfig.voiceSpecLink}`,
174+
activeCallInfoSpec: YAML.parse(activeCallInfoSpec),
175+
activeCallInfoSpecLink: `${customConfig.activeCallInfoSpecLink}`,
173176
messagingSpec: YAML.parse(messagingSpec),
174177
messagingSpecLink: `${customConfig.messagingSpecLink}`,
175178
messagingInternationalSpec: JSON.parse(messagingInternationalSpec),

site/lts.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[
2+
"v2023.04.25",
23
"v2023.04.12",
34
"v2023.03.29",
45
"v2023.03.15",
@@ -9,6 +10,5 @@
910
"v2022.12.21",
1011
"v2022.12.15",
1112
"v2022.11.30",
12-
"v2022.11.09",
13-
"v2022.10.20"
13+
"v2022.11.09"
1414
]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import React from 'react';
2+
import Layout from '@theme/Layout';
3+
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
4+
import ApiReference from '@site/src/components/ApiReference';
5+
6+
export default function ApiReferencePage() {
7+
const {siteConfig} = useDocusaurusContext();
8+
return (
9+
<Layout
10+
title={`Call Verification API Reference`}
11+
description="The Bandwidth Call Verification API can be used to retrieve fraud and spoofing risk scores for specific phone calls that are currently active on the Bandwidth network."
12+
keywords="Bandwidth,API,Voice,Call">
13+
<ApiReference spec={siteConfig.customFields.activeCallInfoSpec} color={siteConfig.customFields.voicePurple} downloadDefinitionUrl={siteConfig.customFields.activeCallInfoSpecLink}/>
14+
</Layout>
15+
);
16+
}

site/src/pages/apis/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ const apiList = [
88
Svg: require('@site/static/img/api-icons/voice.svg').default,
99
link: '/apis/voice/'
1010
},
11+
{
12+
title: 'Call Verification API',
13+
Svg: require('@site/static/img/api-icons/voice.svg').default,
14+
link: '/apis/active-call-info/'
15+
},
1116
{
1217
title: 'Phone Number Lookup API',
1318
Svg: require('@site/static/img/api-icons/phone-number-lookup.svg').default,

0 commit comments

Comments
 (0)