REST API: ConnectApp
ConnectApps リスト リソースは、Twilio アカウント内 で作成したすべての ConnectApp を返します。 インスタンス リソースは、ConnectApp の情報と、ConnectApp を許可する利用者が要求されるパーミッションを返します。
ConnectApp インスタンス リソース
リソースURI
/2010-04-01/Accounts/{AccountSid}/ConnectApps/{ConnectAppSid}
リソースのプロパティ
Resource Properties in REST API format | |
---|---|
account_sid
|
The SID of the Account that created the ConnectApp resource. |
authorize_redirect_url
|
The URL we redirect the user to after we authenticate the user and obtain authorization to access the Connect App. |
company_name
|
The company name set for the Connect App. |
deauthorize_callback_method
|
The HTTP method we use to call |
deauthorize_callback_url
|
The URL we call using the |
description
|
The description of the Connect App. |
friendly_name
|
The string that you assigned to describe the resource. |
homepage_url
|
この ConnectApp の詳しい情報を得られる公開 URL です。 |
permissions
|
ConnectApp が要求するパーミッションのセットです。 |
sid
|
The unique string that that we created to identify the ConnectApp resource. |
uri
|
The URI of the resource, relative to |
HTTP POST
ConnectApp のプロパティを更新します。更新に成功すると、更新されたリソース表現を返します。 返却されるレスポンスは、GET リクエストを送信した場合と同じです。
オプションパラメーター
次のパラメーターの 1 つまたは複数を指定して、この ConnectApp のプロパティを更新できます。
Parameters in REST API format | |
---|---|
account_sid
Path
|
The SID of the Account that created the ConnectApp resources to update. |
sid
Path
|
The Twilio-provided string that uniquely identifies the ConnectApp resource to update. |
authorize_redirect_url
オプション
|
The URL to redirect the user to after we authenticate the user and obtain authorization to access the Connect App. |
company_name
オプション
|
The company name to set for the Connect App. |
deauthorize_callback_method
オプション
|
The HTTP method to use when calling |
deauthorize_callback_url
オプション
|
The URL to call using the |
description
オプション
|
A description of the Connect App. |
friendly_name
オプション
|
A descriptive string that you create to describe the resource. It can be up to 64 characters long. |
homepage_url
オプション
|
A public URL where users can obtain more information about this Connect App. |
permissions
オプション
|
A comma-separated list of the permissions you will request from the users of this ConnectApp. Can include: |
HTTP PUT
サポートされていません。
HTTP DELETE
サポートされていません。
ConnectApps リスト リソース
リソースURI
/2010-04-01/Accounts/{AccountSid}/ConnectApps
HTTP GET
ConnectApp リソース表現のリストを返します。各項目は、アカウント内の ConnectApp を表現します。 このリストは ページ情報を含みます。
例 1
ヘルプが必要ですか?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.