@elastic.io/component-commons-library
Version:
Library for most common component development cases
102 lines (101 loc) • 3.73 kB
JSON
{
"data": [
{
"id": "6177a881b100118463e7",
"type": "auth-secret",
"links": {
"self": "/v2/workspaces/61510bc0800111695ca/secrets/6177a8801100118463e7"
},
"attributes": {
"name": "My New Zoho CRM Component Credential",
"state": "ready",
"credentials": {
"access_token": "1000.0517d59a414962e5ab229ca81b84cf7.87099e7a7f1a1bc5d504388255221",
"refresh_token": "1000.0e91f62ecfa11e419e14c2696c6489af.be5bbb101c52a1c8c6562c0ce851ce",
"expires_in": 3600,
"scope": "ZohoCRM.modules.ALL,ZohoCRM.users.ALL,ZohoCRM.org.ALL,ZohoCRM.settings.ALL,ZohoCRM.bulk.ALL,ZohoCRM.notifications.ALL,ZohoCRM.coql.READ",
"additional_params": "{\"access_type\":\"offline\"}",
"undefined_params": {
"api_domain": "https://www.zohoapis.eu"
}
},
"type": "oauth2"
},
"relationships": {
"workspace": {
"data": {
"id": "6156b64eb0bc0811695ca",
"type": "workspace"
},
"links": {
"self": "/v2/workspaces/6156b1eb0bc0800111695ca"
}
},
"user": {
"data": {
"id": "60b8f58e8ae4f111d9ec02",
"type": "user"
},
"links": {
"self": "/v2/users/60b81ae4f40011d9ec02"
}
},
"auth_client": {
"data": {
"id": "6177a71069b5001261c17e",
"type": "auth-client"
},
"links": {
"self": "/v2/tenants/56caf8e70717e6c545d/auth-clients/6177a1069b5001261c17e"
}
}
}
},
{
"id": "615cb1010011b51095",
"type": "auth-secret",
"links": {
"self": "/v2/workspaces/6156b64eb0b10111695ca/secrets/615cb13510011b51095"
},
"attributes": {
"name": "shopware",
"state": "ready",
"credentials": {
"username": "shop1min",
"password": "D5IJJIPhs8kTGQF1T5Khq3Gkw3WPieXIK4Lzd"
},
"type": "basic"
},
"relationships": {
"workspace": {
"data": {
"id": "6156b64e111695ca",
"type": "workspace"
},
"links": {
"self": "/v2/workspaces/61561eb0bc0800111695ca"
}
},
"user": {
"data": {
"id": "60b8f58e8ae411d9ec02",
"type": "user"
},
"links": {
"self": "/v2/users/60b8f58e8ae4f411d9ec02"
}
},
"auth_client": {
"data": {
"id": "5f7f22eb1b4112c8671c",
"type": "auth-client"
},
"links": {
"self": "/v2/tenants/56caf8e707e428a1c545d/auth-clients/5f7f22eb1b4ff1c8671c"
}
}
}
}
],
"meta": {}
}