GET api/authentication?scope={scope}&forceRefresh={forceRefresh}&storage={storage}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| scope | string |
Default value is viewables:read |
|
| forceRefresh | boolean |
Default value is True |
|
| storage | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ForgeToken| Name | Description | Type | Additional information |
|---|---|---|---|
| token_type | string |
None. |
|
| expires_in | integer |
None. |
|
| access_token | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"token_type": "sample string 1",
"expires_in": 2,
"access_token": "sample string 3"
}
application/xml, text/xml
Sample:
<ForgeToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Autodesk.Consulting.SWECO.BLRD.Models"> <access_token>sample string 3</access_token> <expires_in>2</expires_in> <token_type>sample string 1</token_type> </ForgeToken>