Skip to content

Commit c68c725

Browse files
Update links in docs for customHeaders
1 parent 24a149c commit c68c725

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Diff for: src/diffbot.d.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ declare class Diffbot {
5757
* @param {string[]} [options.naturalLanguage] Used to request the output of the Diffbot Natural Language API in the field naturalLanguage. Example: &naturalLanguage=entities,facts,categories,sentiment.
5858
* @param {string} [options.body] Optional HTML markup to pass as POST body
5959
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-article#custom-javascript
60-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
60+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-article#custom-headers
6161
* @returns {object} The article query results
6262
*/
6363
article(options: {
@@ -88,7 +88,7 @@ declare class Diffbot {
8888
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
8989
* @param {string} [options.body] Optional HTML markup to pass as POST body
9090
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-discussion#custom-javascript
91-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
91+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-discussion#custom-headers
9292
* @returns {object} The discussion query results
9393
*/
9494
discussion(options: {
@@ -114,7 +114,7 @@ declare class Diffbot {
114114
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
115115
* @param {string} [options.body] Optional HTML markup to pass as POST body
116116
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-event#custom-javascript
117-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
117+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-event#custom-headers
118118
* @returns {object} The analyze query results
119119
*/
120120
event(options: {
@@ -139,7 +139,7 @@ declare class Diffbot {
139139
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
140140
* @param {string} [options.body] Optional HTML markup to pass as POST body
141141
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-image#custom-javascript
142-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
142+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-image#custom-headers
143143
* @returns {object} The image query results
144144
*/
145145
image(options: {
@@ -165,7 +165,7 @@ declare class Diffbot {
165165
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
166166
* @param {string} [options.body] Optional HTML markup to pass as POST body
167167
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-product#custom-javascript
168-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
168+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-product#custom-headers
169169
* @returns {object} The product query results
170170
*/
171171
product(options: {
@@ -191,7 +191,7 @@ declare class Diffbot {
191191
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
192192
* @param {string} [options.body] Optional HTML markup to pass as POST body
193193
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-video#custom-javascript
194-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
194+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-video#custom-headers
195195
* @returns {object} The video query results
196196
*/
197197
video(options: {

Diff for: src/diffbot.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class Diffbot {
9696
* @param {string[]} [options.naturalLanguage] Used to request the output of the Diffbot Natural Language API in the field naturalLanguage. Example: &naturalLanguage=entities,facts,categories,sentiment.
9797
* @param {string} [options.body] Optional HTML markup to pass as POST body
9898
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-article#custom-javascript
99-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
99+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-article#custom-headers
100100
* @returns {object} The article query results
101101
*/
102102
article(options) {
@@ -166,7 +166,7 @@ class Diffbot {
166166
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
167167
* @param {string} [options.body] Optional HTML markup to pass as POST body
168168
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-discussion#custom-javascript
169-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
169+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-discussion#custom-headers
170170
* @returns {object} The discussion query results
171171
*/
172172
discussion(options) {
@@ -219,7 +219,7 @@ class Diffbot {
219219
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
220220
* @param {string} [options.body] Optional HTML markup to pass as POST body
221221
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-event#custom-javascript
222-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
222+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-event#custom-headers
223223
* @returns {object} The analyze query results
224224
*/
225225
event(options) {
@@ -269,7 +269,7 @@ class Diffbot {
269269
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
270270
* @param {string} [options.body] Optional HTML markup to pass as POST body
271271
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-image#custom-javascript
272-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
272+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-image#custom-headers
273273
* @returns {object} The image query results
274274
*/
275275
image(options) {
@@ -320,7 +320,7 @@ class Diffbot {
320320
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
321321
* @param {string} [options.body] Optional HTML markup to pass as POST body
322322
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-product#custom-javascript
323-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
323+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-product#custom-headers
324324
* @returns {object} The product query results
325325
*/
326326
product(options) {
@@ -373,7 +373,7 @@ class Diffbot {
373373
* @param {string} [options.proxyAuth] Used to specify the authentication parameters that will be used with the proxy specified in the &proxy parameter. (Ex: &proxyAuth=username:password)
374374
* @param {string} [options.body] Optional HTML markup to pass as POST body
375375
* @param {string} [options.customJS] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-video#custom-javascript
376-
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-analyze#custom-headers
376+
* @param {object} [options.customHeaders] This functionality is currently in beta. See docs for details: https://docs.diffbot.com/docs/en/api-video#custom-headers
377377
* @returns {object} The video query results
378378
*/
379379
video(options) {

0 commit comments

Comments
 (0)