You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/methods/getSitemapFlat.js
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,26 @@ import utils from '../utils'
5
5
* @memberof AgilityFetch.Client
6
6
* @param {Object} requestParams - The parameters for the API request.
7
7
* @param {number} requestParams.channelName - The reference name of the digital channel of the sitemap to return. If you only have one channel, your channel reference name is likely *website*.
8
+
* @param {string} requestParams.languageCode - The language code of the content you want to retrieve.
8
9
* @returns {Promise<AgilityFetch.Types.SitemapFlat>} - The sitemap response in a flat format.
Copy file name to clipboardExpand all lines: src/methods/getSitemapNested.js
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,26 @@ import utils from '../utils'
5
5
* @memberof AgilityFetch.Client
6
6
* @param {Object} requestParams - The parameters for the API request.
7
7
* @param {number} requestParams.channelName - The reference name of the digital channel of the sitemap to return. If you only have one channel, your channel reference name is likely *website*.
8
+
* @param {string} requestParams.languageCode - The language code of the content you want to retrieve.
8
9
* @returns {Promise<AgilityFetch.Types.SitemapNested>} - The array of sitemap items returned.
0 commit comments