GET api/2.0/people/thirdparty/providers
Returns a list of the available third-party accounts.
Name |
Description |
Type |
Example |
inviteView
sent in body
|
Specifies whether to return providers that are available for invitation links, i.e. the user can login or register through these providers
|
Bool value
|
true
|
settingsView
sent in body
|
Specifies whether to return URLs in the format that is used on the Settings page
|
Bool value
|
true
|
clientCallback
sent in body
|
Method that is called after authorization
|
string
|
some text
|
fromOnly
sent in body
|
Provider name if the response only from this provider is needed
|
string
|
some text
|
GET api/2.0/people/thirdparty/providers
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"inviteView": true,
"settingsView": true,
"clientCallback": "some text",
"fromOnly": "some text"
}
List of third-party accounts
application/json
{
"status": 0,
"response": [
{
"Provider": "some text",
"Url": "some text",
"Linked": true,
"Class": "some text"
}
]
}
text/xml
<result>
<status>0</status>
<response>
<Provider>some text</Provider>
<Url>some text</Url>
<Linked>True</Linked>
<Class>some text</Class>
</response>
</result>