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
- 36.0
- HTTP Methods
- GET
- GET Response Body (and DependencyRepresentation)
-
Property Name Type Description Filter Group and Version Available Version assetSharingUrl String The sharing URL for the asset. Small, 36.0 36.0 dashboards DependencyCollectionRepresentation The dashboards that depend on the asset. Small, 36.0 36.0 datasets DependencyCollectionRepresentation The datasets that depend on the asset. Small, 36.0 36.0 folder AssetReferenceRepresentation The folder containing the asset. Small, 36.0 36.0 id String The 18-character asset ID. Small, 36.0 36.0 lastModifiedBy Wave User The user who last modified the asset. Small, 36.0 36.0 lastModifiedDate Date The last time the asset was modified, in ISO8601 date format. Small, 36.0 36.0 lenses DependencyCollectionRepresentation The lenses that depend on the asset. Small, 36.0 36.0 name String The name of the asset. Small, 36.0 36.0 type String The asset type. Possible values are: - dashboard
- dataset
- folder
- lens
- workflow
Small, 36.0 36.0 url String The URL to retrieve the definition of the asset. Small, 36.0 36.0 workflows DependencyCollectionRepresentation The dataflows that depend on the asset. Small, 36.0 36.0 -
- DependencyCollectionRepresentation
-
Property Name Type Description Filter Group and Version Available Version dependencies Dependency[] The list of dependencies for an asset. Small, 36.0 36.0 totalSize Integer The total count of the dependencies. Small, 36.0 36.0
-
- AssetReferenceRepresentation
-
Property Name Type Description Filter Group and Version Available Version alias String The asset alias. Small, 36.0 36.0 id String The 18-character ID of the asset. Small, 36.0 36.0 label String The asset label. Small, 36.0 36.0 url String The asset URL. Small, 36.0 36.0
- Example Response Body
-
1{ 2 "assetSharingUrl" : "https://yourInstance.salesforce.com/analytics/wave/application?assetId=00l40&orgId=00D40&loginHost=yourInstance.salesforce.com&urlType=sharing", 3 "id" : "00l40000000M5EiAAK", 4 "lastModifiedBy" : { }, 5 "lenses" : { 6 "dependencies" : [ { 7 "assetSharingUrl" : "https://yourInstance.salesforce.com/analytics/wave/lens?assetId=0FK40&loginHost=yourInstance.salesforce.com&urlType=sharing", 8 "datasets" : { 9 "dependencies" : [ { 10 "id" : "0Fb400000004DKRCA2", 11 "lastModifiedBy" : { }, 12 "name" : "sales", 13 "type" : "dataset", 14 "url" : "/services/data/v36.0/wave/datasets/0Fb400000004DKRCA2" 15 } ], 16 "totalSize" : 1 17 }, 18 "folder" : { 19 "alias" : "Test", 20 "id" : "00l40000000M5EnAAK", 21 "label" : "Test", 22 "url" : "https://yourInstance.salesforce.com/analytics/wave/application?assetId=00l40&loginHost=yourInstance.salesforce.com&urlType=sharing" 23 }, 24 "id" : "0FK400000004D8CGAU", 25 "lastModifiedBy" : { 26 "id" : "00540000000Hf6rAAC", 27 "name" : "Admin User", 28 "profilePhotoUrl" : "https://yourInstance.salesforce.com/profilephoto/72940000000003y/T" 29 }, 30 "lastModifiedDate" : "2015-06-16T22:36:21.000Z", 31 "name" : "New lens", 32 "type" : "lens", 33 "url" : "/services/data/v36.0/wave/lenses/0FK400000004D8CGAU" 34 } ], 35 "totalSize" : 1 36 }, 37 "type" : "folder" 38}