Skip to content

Commit f12ed7c

Browse files
Http fetch checker (#219)
## 💸 TL;DR <!-- What's the three sentence summary of purpose of the PR --> Interactive domain checker for devs to see if their domain is allowed or not. Also will suggest domains we allowlist based on what they are trying to make. NO AI, this is purely deterministic.
1 parent c822bd5 commit f12ed7c

6 files changed

Lines changed: 1393 additions & 6 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import FetchDomainChecker from "@site/src/components/FetchDomainChecker";
2+
13
# HTTP Fetch
24

35
Make requests to allow-listed external domains.
@@ -28,6 +30,8 @@ Apps may request a domain to be added to the allow-list by specifying domains in
2830

2931
Requested domains will be submitted for review when you playtest or upload your app. Most domain requests are reviewed within **1–2 business days**, though requests with policy ambiguity may take longer. Admins may approve or deny domain requests.
3032

33+
<FetchDomainChecker />
34+
3135
Domain entries must be exact hostnames only, such as nytimes.com or wikipedia.org. These fetch requests are not allowed:
3236

3337
- Be specific. No using \*.example.com when you need api.example.com

‎docs/guides/faq.mdx‎

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

176176
- **Payments**: apps using the payments capability go through additional policy review.
177177
- **`runAs: 'USER'`**: user action permissions require explicit approval as part of the review.
178-
- **External fetch domains**: new domain requests are reviewed separately under the same **1–2 business day** target, though requests with policy ambiguity may take longer (see [HTTP Fetch](../capabilities/http-fetch.md)).
178+
- **External fetch domains**: new domain requests are reviewed separately under the same **1–2 business day** target, though requests with policy ambiguity may take longer (see [HTTP Fetch](../capabilities/http-fetch.mdx)).
179179

180180
To keep review moving:
181181

@@ -454,10 +454,10 @@ Domain requests are reviewed separately from app publishing. Most domain request
454454
To make approval go smoothly:
455455

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

460-
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.
460+
Before submitting, check the [global fetch allowlist](../capabilities/http-fetch.mdx#global-fetch-allowlist) — if your domain is already listed there, no separate request is needed. Personal domains (e.g., `personaldomain.com`) aren't approved.
461461

462462
</details>
463463

0 commit comments

Comments
 (0)