Skip to content

docs(cloud): sync POST /api/assets OpenAPI with current cloud behavior - #1319

Closed
comfyui-wiki wants to merge 1 commit into
mainfrom
docs/sync-openapi-cloud-assets
Closed

docs(cloud): sync POST /api/assets OpenAPI with current cloud behavior#1319
comfyui-wiki wants to merge 1 commit into
mainfrom
docs/sync-openapi-cloud-assets

Conversation

@comfyui-wiki

Copy link
Copy Markdown
Member

Summary

  • Remove deprecated application/json URL upload from POST /api/assets in openapi-cloud.yaml
  • Document multipart-only asset creation and point URL flows to POST /api/assets/download and GET /api/assets/remote-metadata
  • Align request/response fields with cloud/services/ingest/openapi.yaml (tags as JSON string, hash field, dedup 200/201 semantics)
  • Clarify remote-metadata 400 errors and add civitai.red to allowed download domains

Fixes misleading public docs that led to UNSUPPORTED_SOURCE confusion (#754). Related to #1308 / #806 guide work.

Test plan

  • openapi-cloud.yaml parses as valid YAML
  • Cloud/API reviewer confirms POST /api/assets multipart-only behavior
  • Mintlify Cloud API Reference renders updated POST /api/assets page
  • Verify no regression on existing asset/download endpoint docs

Remove the deprecated JSON URL upload from POST /api/assets and document
multipart-only creation, pointing URL flows to download and remote-metadata.
Align request/response fields with the ingest spec to fix misleading docs
that caused UNSUPPORTED_SOURCE confusion (see #754).
@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@comfyui-wiki, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 11 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 00c68a77-d816-48d8-a363-036f3d422778

📥 Commits

Reviewing files that changed from the base of the PR and between d01fffb and 9fa9c62.

📒 Files selected for processing (1)
  • openapi-cloud.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/sync-openapi-cloud-assets
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch docs/sync-openapi-cloud-assets

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mintlify

mintlify Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
comfy 🟢 Ready View Preview Jul 24, 2026, 8:35 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
comfy 🟡 Building Jul 24, 2026, 8:32 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant