Skip to content

Commit 5e4a63c

Browse files
Remove old http fetch policy refs (#124)
## 💸 TL;DR <!-- What's the three sentence summary of purpose of the PR --> Removed all references and links to the old http-fetch-policy page. Updated current docs and versioned 0.12 / 0.13 docs so: -FAQ links point to http-fetch.md -Allowlist links point to http-fetch.md#global-fetch-allowlist -Internal HTTP Fetch allowlist links use #global-fetch-allowlist -Verified with search: no stale http-fetch-policy references remain, and lints are clean.
1 parent 24fe04b commit 5e4a63c

7 files changed

Lines changed: 22 additions & 22 deletions

File tree

docs/capabilities/http-fetch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Domain entries must be exact hostnames only, such as nytimes.com or wikipedia.or
3434
* No protocols: https://api.example.com
3535
* No paths: api.example.com/webhooks
3636

37-
Domains that are approved for your app will be displayed in the Developer Settings section for your app at https://developers.reddit.com/apps/{your-app-slug}/developer-settings. These domains are allow-listed for **your app only** and not globally.
37+
Domains that are approved for your app will be displayed in the Developer Settings section for your app at `https://developers.reddit.com/apps/{your-app-slug}/developer-settings`. These domains are allow-listed for **your app only** and not globally.
3838

39-
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](https://developers.reddit.com/docs/capabilities/server/http-fetch#global-fetch-allowlist) to view the list of globally allowed domains.
39+
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](#global-fetch-allowlist) to view the list of globally allowed domains.
4040

4141
## Limitations
4242

@@ -206,9 +206,9 @@ Domain entries must be exact hostnames only, such as nytimes.com or wikipedia.or
206206
* No protocols: https://api.example.com
207207
* No paths: api.example.com/webhooks
208208

209-
Domains that are approved for your app are displayed in the \[Developer Settings\](https://developers.reddit.com/apps/{your-app-slug}/developer-settings) section for your app. These domains are allow-listed for **your app only** and not globally.
209+
Domains that are approved for your app are displayed in the Developer Settings section for your app at `https://developers.reddit.com/apps/{your-app-slug}/developer-settings`. These domains are allow-listed for **your app only** and not globally.
210210

211-
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](https://developers.reddit.com/docs/capabilities/server/http-fetch-policy#global-fetch-allowlist) to view the list of globally allowed domains.
211+
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](#global-fetch-allowlist) to view the list of globally allowed domains.
212212

213213
### Terms and conditions
214214

docs/guides/faq.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Most app versions are reviewed within **1–2 business days**. New apps or versi
147147

148148
- **Payments**: apps using the payments capability go through additional policy review.
149149
- **`runAs: 'USER'`**: user action permissions require explicit approval as part of the review.
150-
- **External fetch domains**: new domain requests are reviewed separately and can add time (see [HTTP Fetch Policy](../capabilities/server/http-fetch-policy.md)).
150+
- **External fetch domains**: new domain requests are reviewed separately and can add time (see [HTTP Fetch](../capabilities/http-fetch.md)).
151151

152152
To keep review moving:
153153

@@ -418,10 +418,10 @@ Domain requests are reviewed separately from app publishing and can take **up to
418418
To make approval go smoothly:
419419

420420
- Use exact hostnames only — no wildcards (`*.example.com`), no protocols (`https://`), and no paths (`api.example.com/webhooks`).
421-
- Add a "Fetch Domains" section to your `README.md` listing each domain and explaining why you need it. The expected format is documented in [HTTP Fetch Policy](../capabilities/server/http-fetch-policy.md).
421+
- Add a "Fetch Domains" section to your `README.md` listing each domain and explaining why you need it. The expected format is documented in [HTTP Fetch](../capabilities/http-fetch.md).
422422
- Include links to your Terms and Conditions and Privacy Policy in your app details form.
423423

424-
Before submitting, check the [global fetch allowlist](../capabilities/server/http-fetch-policy.md#global-fetch-allowlist) — if your domain is already listed there, no separate request is needed. Personal domains (e.g., `personaldomain.com`) aren't approved.
424+
Before submitting, check the [global fetch allowlist](../capabilities/http-fetch.md#global-fetch-allowlist) — if your domain is already listed there, no separate request is needed. Personal domains (e.g., `personaldomain.com`) aren't approved.
425425

426426
</details>
427427

versioned_docs/version-0.11/capabilities/http-fetch.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Domain entries must be exact hostnames only, such as nytimes.com or wikipedia.or
4949
- No protocols: https://api.example.com
5050
- No paths: api.example.com/webhooks
5151

52-
Domains that are approved for your app will be displayed in the Developer Settings section for your app at https://developers.reddit.com/apps/{your-app-slug}/developer-settings.
52+
Domains that are approved for your app will be displayed in the Developer Settings section for your app at `https://developers.reddit.com/apps/{your-app-slug}/developer-settings`.
5353
These domains are allow-listed for **your app only** and not globally.
5454

5555
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](./http-fetch-allowlist.md) to view the list of globally allowed domains.

versioned_docs/version-0.12/capabilities/http-fetch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Domain entries must be exact hostnames only, such as nytimes.com or wikipedia.or
3434
* No protocols: https://api.example.com
3535
* No paths: api.example.com/webhooks
3636

37-
Domains that are approved for your app will be displayed in the Developer Settings section for your app at https://developers.reddit.com/apps/{your-app-slug}/developer-settings. These domains are allow-listed for **your app only** and not globally.
37+
Domains that are approved for your app will be displayed in the Developer Settings section for your app at `https://developers.reddit.com/apps/{your-app-slug}/developer-settings`. These domains are allow-listed for **your app only** and not globally.
3838

39-
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](https://developers.reddit.com/docs/capabilities/server/http-fetch#global-fetch-allowlist) to view the list of globally allowed domains.
39+
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](#global-fetch-allowlist) to view the list of globally allowed domains.
4040

4141
## Limitations
4242

@@ -206,9 +206,9 @@ Domain entries must be exact hostnames only, such as nytimes.com or wikipedia.or
206206
* No protocols: https://api.example.com
207207
* No paths: api.example.com/webhooks
208208

209-
Domains that are approved for your app are displayed in the \[Developer Settings\](https://developers.reddit.com/apps/{your-app-slug}/developer-settings) section for your app. These domains are allow-listed for **your app only** and not globally.
209+
Domains that are approved for your app are displayed in the Developer Settings section for your app at `https://developers.reddit.com/apps/{your-app-slug}/developer-settings`. These domains are allow-listed for **your app only** and not globally.
210210

211-
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](https://developers.reddit.com/docs/capabilities/server/http-fetch-policy#global-fetch-allowlist) to view the list of globally allowed domains.
211+
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](#global-fetch-allowlist) to view the list of globally allowed domains.
212212

213213
### Terms and conditions
214214

versioned_docs/version-0.12/guides/faq.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Most app versions are reviewed within **1–2 business days**. New apps or versi
147147

148148
- **Payments**: apps using the payments capability go through additional policy review.
149149
- **`runAs: 'USER'`**: user action permissions require explicit approval as part of the review.
150-
- **External fetch domains**: new domain requests are reviewed separately and can add time (see [HTTP Fetch Policy](../capabilities/server/http-fetch-policy.md)).
150+
- **External fetch domains**: new domain requests are reviewed separately and can add time (see [HTTP Fetch](../capabilities/http-fetch.md)).
151151

152152
To keep review moving:
153153

@@ -418,10 +418,10 @@ Domain requests are reviewed separately from app publishing and can take **up to
418418
To make approval go smoothly:
419419

420420
- Use exact hostnames only — no wildcards (`*.example.com`), no protocols (`https://`), and no paths (`api.example.com/webhooks`).
421-
- Add a "Fetch Domains" section to your `README.md` listing each domain and explaining why you need it. The expected format is documented in [HTTP Fetch Policy](../capabilities/server/http-fetch-policy.md).
421+
- Add a "Fetch Domains" section to your `README.md` listing each domain and explaining why you need it. The expected format is documented in [HTTP Fetch](../capabilities/http-fetch.md).
422422
- Include links to your Terms and Conditions and Privacy Policy in your app details form.
423423

424-
Before submitting, check the [global fetch allowlist](../capabilities/server/http-fetch-policy.md#global-fetch-allowlist) — if your domain is already listed there, no separate request is needed. Personal domains (e.g., `personaldomain.com`) aren't approved.
424+
Before submitting, check the [global fetch allowlist](../capabilities/http-fetch.md#global-fetch-allowlist) — if your domain is already listed there, no separate request is needed. Personal domains (e.g., `personaldomain.com`) aren't approved.
425425

426426
</details>
427427

versioned_docs/version-0.13/capabilities/http-fetch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Domain entries must be exact hostnames only, such as nytimes.com or wikipedia.or
3434
* No protocols: https://api.example.com
3535
* No paths: api.example.com/webhooks
3636

37-
Domains that are approved for your app will be displayed in the Developer Settings section for your app at https://developers.reddit.com/apps/{your-app-slug}/developer-settings. These domains are allow-listed for **your app only** and not globally.
37+
Domains that are approved for your app will be displayed in the Developer Settings section for your app at `https://developers.reddit.com/apps/{your-app-slug}/developer-settings`. These domains are allow-listed for **your app only** and not globally.
3838

39-
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](https://developers.reddit.com/docs/capabilities/server/http-fetch#global-fetch-allowlist) to view the list of globally allowed domains.
39+
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](#global-fetch-allowlist) to view the list of globally allowed domains.
4040

4141
## Limitations
4242

@@ -206,9 +206,9 @@ Domain entries must be exact hostnames only, such as nytimes.com or wikipedia.or
206206
* No protocols: https://api.example.com
207207
* No paths: api.example.com/webhooks
208208

209-
Domains that are approved for your app are displayed in the \[Developer Settings\](https://developers.reddit.com/apps/{your-app-slug}/developer-settings) section for your app. These domains are allow-listed for **your app only** and not globally.
209+
Domains that are approved for your app are displayed in the Developer Settings section for your app at `https://developers.reddit.com/apps/{your-app-slug}/developer-settings`. These domains are allow-listed for **your app only** and not globally.
210210

211-
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](https://developers.reddit.com/docs/capabilities/server/http-fetch-policy#global-fetch-allowlist) to view the list of globally allowed domains.
211+
Apps must request each individual domain that it intends to fetch, even if the domain is already globally allowed. See the [global fetch allowlist](#global-fetch-allowlist) to view the list of globally allowed domains.
212212

213213
### Terms and conditions
214214

versioned_docs/version-0.13/guides/faq.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Most app versions are reviewed within **1–2 business days**. New apps or versi
147147

148148
- **Payments**: apps using the payments capability go through additional policy review.
149149
- **`runAs: 'USER'`**: user action permissions require explicit approval as part of the review.
150-
- **External fetch domains**: new domain requests are reviewed separately and can add time (see [HTTP Fetch Policy](../capabilities/server/http-fetch-policy.md)).
150+
- **External fetch domains**: new domain requests are reviewed separately and can add time (see [HTTP Fetch](../capabilities/http-fetch.md)).
151151

152152
To keep review moving:
153153

@@ -418,10 +418,10 @@ Domain requests are reviewed separately from app publishing and can take **up to
418418
To make approval go smoothly:
419419

420420
- Use exact hostnames only — no wildcards (`*.example.com`), no protocols (`https://`), and no paths (`api.example.com/webhooks`).
421-
- Add a "Fetch Domains" section to your `README.md` listing each domain and explaining why you need it. The expected format is documented in [HTTP Fetch Policy](../capabilities/server/http-fetch-policy.md).
421+
- Add a "Fetch Domains" section to your `README.md` listing each domain and explaining why you need it. The expected format is documented in [HTTP Fetch](../capabilities/http-fetch.md).
422422
- Include links to your Terms and Conditions and Privacy Policy in your app details form.
423423

424-
Before submitting, check the [global fetch allowlist](../capabilities/server/http-fetch-policy.md#global-fetch-allowlist) — if your domain is already listed there, no separate request is needed. Personal domains (e.g., `personaldomain.com`) aren't approved.
424+
Before submitting, check the [global fetch allowlist](../capabilities/http-fetch.md#global-fetch-allowlist) — if your domain is already listed there, no separate request is needed. Personal domains (e.g., `personaldomain.com`) aren't approved.
425425

426426
</details>
427427

0 commit comments

Comments
 (0)