メニュー

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

開発者プレビューからProxyベータに移行する

Proxy is now available in beta. If you are a customer who previously used the developer preview version of Proxy, you will need to update your code to use the new version.

There is no data migration between the preview version and the beta version. All objects must be created anew.

Changes from preview to beta

Here we've collected the largest sticking points to keep in mind when moving your application to beta from developer preview. These sections detail how to

Create a new Service using Proxy public beta

Via the API, the URL for Proxy changes.

NEW Beta version

https://proxy.twilio.com/v1/Services

(OLD Preview version)

https://preview.twilio.com/Proxy/Services

In the helper libraries, the pattern is to drop the preview reference in your code.

For example, in Node.js, the code for creating a Service changes from:

New Node.js beta example

client.proxy.services
  .create({
    uniqueName: 'My Awesome Service',
    callbackUrl: 'https://www.example.com/',
  })
  .then(response => {
    console.log(response);
  })
  .catch(err => {
    console.log(err);
  });

(Old Node.js preview code)

client.preview.proxy.services.create(

   friendly_name: 'My Awesome Service',

   callback_url: 'https://www.example.com/'

)

注 : friendly_name is now unique_name. This is a required change in Proxy beta!
For examples in all six supported languages and cURL on how to make this change, refer to the quickstart guide.

Phone number migration

To add phone numbers to your new service, follow the steps in the updated quickstart guide. If you add phone numbers to the beta service currently attached to your developer preview service, they will move to be associated with the newly created service.

Proxy beta resource specific changes

Also note the changes for Proxy Beta on specific resources. This page details the changes you'll need to make note of while moving to beta.

Service (サービス)

See the REST resource page for Proxy Service for descriptions of the new parameter features.

Old field New field 注釈
FriendlyName UniqueName Must be a unique name per service.
OutOfSessionCallbackUrl
InterceptCallbackUrl
GeoMatchLevel
NumberSelectionBehavior
DefaultTtl

Session (セッション)

See the REST resource page for Proxy Session for descriptions of the new parameter features.

Old field New field 注釈
StartTime DateStarted
EndTime DateEnded
Mode
DateLastInteraction
ClosedReason

Interaction (インタラクション)

See the REST resource page for Proxy Interaction for a description of Data.

Old field New field 注釈
概要 Data

Participant (参加者)

See the REST resource page for Proxy Participant for a description of DateDeleted.

Old field New field 注釈
DateDeleted
Rate this page:

ヘルプが必要ですか?

誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。