Add V1 REST API Reference docs for OpenHands Cloud#460
Add V1 REST API Reference docs for OpenHands Cloud#460jpelletier1 wants to merge 4 commits intomainfrom
Conversation
- Create V1_openapi.json with 41 V1 API endpoints extracted from the live OpenHands Cloud API (https://app.all-hands.dev/openapi.json) - Add V1 REST API Reference section to Cloud tab in docs.json - Update openhands/usage/api/v1.mdx with comprehensive overview including authentication, key resources table, and quick start example The V1 API reference includes: - Conversations: Start, search, get, update, delete conversations - Sandboxes: Search, pause, resume sandbox execution environments - Configuration: List available models and settings - Users: Get current user info - Secrets: Manage custom secrets - Git: Search installations, repositories, branches - Skills: Search available skills - Webhooks: Event webhook endpoints Co-authored-by: openhands <openhands@all-hands.dev>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
@tofarr might be the best person to review these docs. I had OpenHands write them using what's published here: https://app.all-hands.dev/openapi.json Preview location: https://allhandsai-add-v1-api-reference.mintlify.app/api-reference/conversations/search-conversation-events |
|
@OpenHands Please make these changes
|
|
I'm on it! jpelletier1 can track my progress at all-hands.dev |
- Update cloud-api.mdx to link to V1 REST API Reference - Remove V0 REST API group from Documentation > Additional Documentation > V0 Reference Co-authored-by: openhands <openhands@all-hands.dev>
Summary of ChangesI addressed the PR comment from @jpelletier1 with the following changes: Checklist of Requested Changes✅ Update the "OpenHands API Reference" link under
✅ Remove the
Changes Made
ConcisenessThe changes are minimal and focused solely on the two requested modifications. No extraneous changes were made. StatusCommitted and pushed to the |
|
@OpenHands Replace the "Quick Start Example" in Then, remove |
|
I'm on it! jpelletier1 can track my progress at all-hands.dev |
- Replace quick start example in v1.mdx with comprehensive API Usage Example from cloud-api.mdx - Add streaming, status polling, and legacy V0 migration sections to v1.mdx - Remove cloud-api.mdx (now consolidated into v1.mdx) - Update docs.json to use v1.mdx as the main Cloud API overview page - Update all internal links from /openhands/usage/cloud/cloud-api to /openhands/usage/api/v1 Co-authored-by: openhands <openhands@all-hands.dev>
Summary of ChangesI addressed the PR comment from @jpelletier1 requesting to consolidate the Cloud API documentation. Checklist of Requested Changes✅ Replace the "Quick Start Example" in
✅ Remove
Additional Necessary Changes
ConcisenessAll changes are directly related to the consolidation request. No extraneous changes were made. Commit: |
|
@OpenHands in |
|
I'm on it! jpelletier1 can track my progress at all-hands.dev |
Add a 'Resuming a Conversation' example section under API Usage Example (V1) that demonstrates how to use the sandbox resume endpoint to resume a paused conversation. Includes cURL, Python, and TypeScript code examples in multi-tab format.
|
Work Completed:
|
Summary of changes
This PR adds comprehensive API Reference documentation for the V1 REST API in OpenHands Cloud.
Changes
1. Created V1 OpenAPI Spec (
openapi/V1_openapi.json)https://app.all-hands.dev/openapi.json)2. Updated Navigation (
docs.json)V1 REST API Referencegroup under Cloud > Integrations > Cloud APIopenapi/V1_openapi.json3. Enhanced V1 API Overview (
openhands/usage/api/v1.mdx)Screenshots
The new API reference pages follow the same interactive format as the existing V0 API reference (like
/api-reference/list-supported-models), with:This PR was created by an AI assistant (OpenHands) on behalf of the user.
@jpelletier1 can click here to continue refining the PR