Newer Version Available
Dependencies Resource
The Dependencies resource allows you to view all assets and dataflows that depend on an application (folder). An asset is a dataset, lens, dashboard, or application. The Dependencies resource returns only assets on which you have view access. This resource returns a representation of all assets and dataflows that are built using any of the datasets the application contains.
- Resource URL
-
1/wave/dependencies/<folder ID> - Formats
- JSON
- Available Version
- 34.0
- HTTP Methods
- GET
- GET Response Body (and Dependency Representation)
-
Property Name Type Description Filter Group and Version Available Version assetSharingUrl String The sharing URL for the asset. Small, 34.0 34.0 dashboards Dependency Collection The dashboards that depend on the asset. Small, 34.0 34.0 datasets Dependency Collection The datasets that depend on the asset. Small, 34.0 34.0 folder Asset Reference The folder containing the asset. Small, 34.0 34.0 id String The 18-character asset ID. Small, 34.0 34.0 lastModifiedBy Wave User The user who last modified the asset. Small, 34.0 34.0 lastModifiedDate Date The last time the asset was modified, in ISO8601 date format. Small, 34.0 34.0 lenses Dependency Collection The lenses that depend on the asset. Small, 34.0 34.0 name String The name of the asset. Small, 34.0 34.0 type String The asset type. Possible values are: - dashboard
- dataset
- folder
- lens
- workflow
Small, 34.0 34.0 url String The URL to retrieve the definition of the asset. Small, 34.0 34.0 workflows Dependency Collection The dataflows that depend on the asset. Small, 34.0 34.0 -
- Dependency Collection
-
Property Name Type Description Filter Group and Version Available Version dependencies Dependency[] The list of dependencies for an asset. Small, 34.0 34.0 totalSize Integer The total count of the dependencies. Small, 34.0 34.0
- Example Response Body
-
1{ 2 "assetSharingUrl" : "https://na1.salesforce.com/analytics/wave/application?assetId=00l40&orgId=00D40&loginHost=na1.salesforce.com&urlType=sharing", 3 "id" : "00l40000000M5EiAAK", 4 "lastModifiedBy" : { }, 5 "lenses" : { 6 "dependencies" : [ { 7 "assetSharingUrl" : "https://na1.salesforce.com/analytics/wave/lens?assetId=0FK40&loginHost=na1.salesforce.com&urlType=sharing", 8 "datasets" : { 9 "dependencies" : [ { 10 "id" : "0Fb400000004DKRCA2", 11 "lastModifiedBy" : { }, 12 "name" : "sales", 13 "type" : "dataset", 14 "url" : "/services/data/v34.0/wave/datasets/0Fb400000004DKRCA2" 15 } ], 16 "totalSize" : 1 17 }, 18 "folder" : { 19 "alias" : "Test", 20 "id" : "00l40000000M5EnAAK", 21 "url" : "https://na1.salesforce.com/analytics/wave/application?assetId=00l40&loginHost=na1.salesforce.com&urlType=sharing" 22 }, 23 "id" : "0FK400000004D8CGAU", 24 "lastModifiedBy" : { 25 "id" : "00540000000Hf6rAAC", 26 "name" : "Admin User", 27 "profilePhotoUrl" : "https://na1.salesforce.com/profilephoto/72940000000003y/T" 28 }, 29 "lastModifiedDate" : "2015-06-16T22:36:21.000Z", 30 "name" : "New lens", 31 "type" : "lens", 32 "url" : "/services/data/v34.0/wave/lenses/0FK400000004D8CGAU" 33 } ], 34 "totalSize" : 1 35 }, 36 "type" : "folder" 37}