Skip to content

Example in Embedding API documentation does not work #12468

@tovrstra

Description

@tovrstra

Details

The curl example on the following documentation page does not work: https://docs.readthedocs.com/platform/stable/api/v3.html#embed

I tried running locally the following command from the RTD documentation

curl https://app.readthedocs.org/api/v3/embed/?url=https://docs.readthedocs.io/en/latest/features.html%23read-the-docs-features

Expected Result

A JSON object with a content field as shown in the documentation.

Actual Result

I get the following:

{"error":"External domain not allowed. domain=docs.readthedocs.io"}

I tried a few variants but found not combination of domains that worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions