OK
const response = await fetch('//api/applications/home', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"message": "text",
"data": {
"user": {
"id": "text",
"createdBy": "text",
"name": "text",
"avatar": "text",
"tpAvatarLink": "text",
"state": "NEW",
"isEnabled": false,
"password": "text",
"isAnonymous": false,
"connections": [
{
"authId": "text",
"source": "text",
"rawId": "text",
"name": "text",
"avatar": "text",
"authConnectionAuthToken": {
"accessToken": "text",
"refreshToken": "text",
"refreshTokenExpired": false,
"accessTokenExpired": false
},
"tokens": [
"text"
]
}
],
"hasSetNickname": false,
"orgTransformedUserInfo": {
"empty": false
}
},
"organization": {
"id": "text",
"createdBy": "text",
"name": "text",
"isAutoGeneratedOrganization": false,
"contactName": "text",
"contactEmail": "text",
"contactPhoneNumber": "text",
"source": "text",
"thirdPartyCompanyId": "text",
"state": "ACTIVE",
"organizationDomain": {
"domain": "text",
"configs": [
{
"id": "text",
"source": "text",
"sourceName": "text",
"enable": false,
"enableRegister": false,
"authType": "text"
}
]
},
"commonSettings": {
"empty": false
},
"logoUrl": "text",
"authConfigs": [
{
"id": "text",
"source": "text",
"sourceName": "text",
"enable": false,
"enableRegister": false,
"authType": "text"
}
]
},
"folderInfoViews": [
{
"orgId": "text",
"folderId": "text",
"parentFolderId": "text",
"name": "text",
"createBy": "text",
"subFolders": [],
"subApplications": [
{
"orgId": "text",
"applicationId": "text",
"name": "text",
"createBy": "text",
"role": "text",
"applicationStatus": "NORMAL",
"folderId": "text",
"publicToAll": false,
"folder": false
}
],
"visible": false,
"manageable": false,
"folder": false
}
],
"homeApplicationViews": [
{
"orgId": "text",
"applicationId": "text",
"name": "text",
"createBy": "text",
"role": "text",
"applicationStatus": "NORMAL",
"folderId": "text",
"publicToAll": false,
"folder": false
}
]
},
"success": false
}