api/dashboards.js
/**
   *
   * @method metadata
   *
   * @description
   * Gets the JSON metadata for a dashboard
   */
@method metadata
@description
Gets the JSON metadata for a dashboard
@method metadata @description Gets the JSON metadata for a dashboard
metadata(id, options = {}) {
    const params = this.getHttpParams(options);
    const base = `dashboards/${id}/metadata.json`;
    return this.http.get(base, { params });
  }
metadata ( id , options = { } ) { const params = this . getHttpParams ( options ) ; const base = ` ${ id } ` ; return this . http . get ( base , { params } ) ; }
@method metadata
 @description
 Gets the JSON metadata for a dashboard
@method metadata @description Gets the JSON metadata for a dashboard