René's URL Explorer Experiment


Title: Document an API | GitBook Documentation

Open Graph Title: Document an API | GitBook Documentation

X Title: Document an API | GitBook Documentation

Description: Add an OpenAPI spec to a page and let your visitors test endpoints right on the page with interactive blocks.

Open Graph Description: Add an OpenAPI spec to a page and let your visitors test endpoints right on the page with interactive blocks.

X Description: Add an OpenAPI spec to a page and let your visitors test endpoints right on the page with interactive blocks.

Generator: GitBook (7af524a)

direct link

Domain: gitbook.com

IPv4 address: 172.64.146.167

color-schemelight dark
mobile-web-app-capableyes
apple-mobile-web-app-titleGitBook Documentation
apple-mobile-web-app-status-bar-styledefault
og:imagehttps://gitbook.com/docs/~gitbook/image?url=https://4045551102-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/organizations%2Fd8f63b60-89ae-11e7-8574-5927d48c4877%2Fsites%2Fsite_p4Xo4%2Fsocialpreview%2Fd5EKATKk828mNHJwRpc8%2FGitBook.jpg?alt=media&token=c084d4cb-7e4f-47fe-93f6-cc992d56a958&width=1200&height=630&sign=7db106674820b13175e80832fffe0cbe&sv=3
twitter:cardsummary_large_image
twitter:imagehttps://gitbook.com/docs/~gitbook/image?url=https://4045551102-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/organizations%2Fd8f63b60-89ae-11e7-8574-5927d48c4877%2Fsites%2Fsite_p4Xo4%2Fsocialpreview%2Fd5EKATKk828mNHJwRpc8%2FGitBook.jpg?alt=media&token=c084d4cb-7e4f-47fe-93f6-cc992d56a958&width=1200&height=630&sign=7db106674820b13175e80832fffe0cbe&sv=3

Links:

llms.txthttps://gitbook.com/docs/llms.txt
MCP serverhttps://gitbook.com/docs/~gitbook/mcp
Skip to contenthttps://gitbook.com/docs/create-content/openapi#gitbook-main-content
https://www.gitbook.com/
Pricinghttps://www.gitbook.com/pricing
Book a demohttps://www.gitbook.com/enterprise
Log inhttps://app.gitbook.com/join?utm_content=header_log_in&utm_source=gitbook_docs
Sign uphttps://app.gitbook.com/join?utm_content=header_sign_up&utm_source=gitbook_docs
Documentationhttps://gitbook.com/docs
Developershttps://gitbook.com/docs/developers
https://www.gitbook.com/
GitBook documentationhttps://gitbook.com/docs
Quickstarthttps://gitbook.com/docs/getting-started/quickstart
LLM-ready docshttps://gitbook.com/docs/getting-started/llm-ready-docs
Migrate to GitBookhttps://gitbook.com/docs/getting-started/import
Content structurehttps://gitbook.com/docs/create-content/content-structure
Format contenthttps://gitbook.com/docs/create-content/formatting
Blockshttps://gitbook.com/docs/create-content/blocks
Reusable contenthttps://gitbook.com/docs/create-content/reusable-content
Variables and expressionshttps://gitbook.com/docs/create-content/variables-and-expressions
Document an APIhttps://gitbook.com/docs/create-content/openapi
Add an OpenAPI specificationhttps://gitbook.com/docs/create-content/openapi/add-an-openapi-specification
Insert API reference in your docshttps://gitbook.com/docs/create-content/openapi/insert-api-reference-in-your-docs
Extensions referencehttps://gitbook.com/docs/create-content/openapi/extensions-reference
Guideshttps://gitbook.com/docs/create-content/openapi/guides
Style guideNewhttps://gitbook.com/docs/create-content/styleguide
Version controlhttps://gitbook.com/docs/create-content/version-control
Searching internal contenthttps://gitbook.com/docs/create-content/searching-your-content
Guideshttps://gitbook.com/docs/create-content/guides
Overviewhttps://gitbook.com/docs/gitbook-agent/overview
Writing with GitBook Agenthttps://gitbook.com/docs/gitbook-agent/write-and-edit-with-ai
Review change requests with GitBook Agenthttps://gitbook.com/docs/gitbook-agent/review-change-requests-with-gitbook-agent
Translationshttps://gitbook.com/docs/gitbook-agent/translations
Channelshttps://gitbook.com/docs/gitbook-agent/channels
Guideshttps://gitbook.com/docs/gitbook-agent/guides
GitHub & GitLab Synchttps://gitbook.com/docs/docs-as-code/git-sync
GitBook MCPNewhttps://gitbook.com/docs/docs-as-code/gitbook-mcp
GitBook CLIhttps://gitbook.com/docs/docs-as-code/gitbook-cli
Agent skillshttps://gitbook.com/docs/docs-as-code/ai-coding-assistants-and-skillmd
Guideshttps://gitbook.com/docs/docs-as-code/guides
Change requestshttps://gitbook.com/docs/collaborate/change-requests
Merge ruleshttps://gitbook.com/docs/collaborate/merge-rules
Commentshttps://gitbook.com/docs/collaborate/comments
Live editshttps://gitbook.com/docs/collaborate/live-edits
Notificationshttps://gitbook.com/docs/collaborate/notifications
Member managementhttps://gitbook.com/docs/collaborate/member-management
Inviting your teamhttps://gitbook.com/docs/collaborate/share
Guideshttps://gitbook.com/docs/collaborate/guides
Site settingshttps://gitbook.com/docs/manage-your-site/site-settings
Site structurehttps://gitbook.com/docs/manage-your-site/site-structure
Site customizationhttps://gitbook.com/docs/manage-your-site/customization
Install and manage integrationshttps://gitbook.com/docs/manage-your-site/install-an-integration
Site permissionshttps://gitbook.com/docs/manage-your-site/site-permissions
Guideshttps://gitbook.com/docs/manage-your-site/guides
Site audiencehttps://gitbook.com/docs/publish/site-audience
Adaptive contenthttps://gitbook.com/docs/publish/adaptive-content
Set a custom domainhttps://gitbook.com/docs/publish/custom-domain
Site redirectshttps://gitbook.com/docs/publish/site-redirects
SEOhttps://gitbook.com/docs/publish/seo
PDF exporthttps://gitbook.com/docs/publish/pdf-export
Embed in your producthttps://gitbook.com/docs/publish/embedding
Publish a docs sitehttps://gitbook.com/docs/publish/publish-a-docs-site
Guideshttps://gitbook.com/docs/publish/guides
AI Assistanthttps://gitbook.com/docs/ai-for-your-readers/gitbook-ai-assistant
Connectionshttps://gitbook.com/docs/ai-for-your-readers/connections
MCP servers for published docshttps://gitbook.com/docs/ai-for-your-readers/mcp-servers-for-published-docs
Site analyticshttps://gitbook.com/docs/analytics/insights
Broken linksNewhttps://gitbook.com/docs/analytics/broken-links
Content gapsNewhttps://gitbook.com/docs/analytics/content-gaps
Guideshttps://gitbook.com/docs/analytics/guides
Planshttps://gitbook.com/docs/account-and-billing/plans
Personal settingshttps://gitbook.com/docs/account-and-billing/account-settings
Organization settingshttps://gitbook.com/docs/account-and-billing/organization-settings
Audit logshttps://gitbook.com/docs/account-and-billing/audit-logs
SSO & SAMLhttps://gitbook.com/docs/account-and-billing/sso-and-saml
Billing FAQhttps://gitbook.com/docs/account-and-billing/billing-faq
Keyboard shortcutshttps://gitbook.com/docs/reference/keyboard-shortcuts
Glossaryhttps://gitbook.com/docs/reference/glossary
Core conceptshttps://gitbook.com/docs/reference/concepts
Troubleshootinghttps://gitbook.com/docs/help/troubleshooting
Report a bughttps://gitbook.com/docs/help/report-a-bug
Contact supporthttps://gitbook.com/docs/help/contact-support
Contribute to the docshttps://gitbook.com/docs/help/contribute
Powered by GitBookhttps://www.gitbook.com/powered-by?utm_source=content&utm_medium=trademark&utm_campaign=NkEGS7hzeqa35sMXQZ4X&utm_content=site_p4Xo4
https://www.gitbook.com/powered-by?utm_source=content&utm_medium=trademark&utm_campaign=NkEGS7hzeqa35sMXQZ4X&utm_content=site_p4Xo4
Documentationhttps://gitbook.com/docs
Create contenthttps://gitbook.com/docs/create-content/content-structure
https://gitbook.com/docs/create-content/openapi#openapi-compatibility
Swagger 2.0https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md
OpenAPI 3.0https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md
OpenAPI 3.1https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md
https://gitbook.com/docs/create-content/openapi#post-pet
https://gitbook.com/docs/create-content/openapi#test-it-powered-by-scalar
Scalarhttps://scalar.com/
https://gitbook.com/docs/create-content/openapi#faq
https://gitbook.com/docs/create-content/openapi#why-isnt-my-spec-loading
allow cross-originhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Origin
Showcasehttps://www.gitbook.com/customers
Enterprisehttps://www.gitbook.com/enterprise
Statushttps://www.gitbookstatus.com/
Careershttps://www.gitbook.com/about#open-roles
Bloghttps://www.gitbook.com/blog
Communityhttps://github.com/GitbookIO/community
Subprocessorshttps://gitbook.com/docs/policies
Terms of Servicehttps://gitbook.com/docs/policies/terms
https://github.com/GitBookIO
https://x.com/GitBookIO
https://linkedin.com/company/gitbook
https://youtube.com/@GitBookIO
OpenAPI compatibilityhttps://gitbook.com/docs/create-content/openapi#openapi-compatibility
postAdd a new pet to the store.https://gitbook.com/docs/create-content/openapi#post-pet
Test it (powered by Scalar)https://gitbook.com/docs/create-content/openapi#test-it-powered-by-scalar
FAQhttps://gitbook.com/docs/create-content/openapi#faq

Response headers:
Servercloudflare
Content-Typetext/html; charset=utf-8
Cache-Controlpublic, max-age=0, must-revalidate

Viewport: width=device-width, initial-scale=1, viewport-fit=cover

Robots: index, follow


URLs of crawlers that visited me.