4 Commits

Author SHA1 Message Date
1d05b7e36b feat: support base64 file upload in rl_upload, clarify API docs
- rl_upload.dspy: use b64media2url to convert base64/local path to
  public URL before calling vendor API
- docs/api_downapp.md:
  - Clarify dapi Bearer Token auth flow (dapi middleware -> get_user/get_userorgid)
  - Add base64 upload example for rl_upload
  - Clarify rl_status URL is a temporary signed download link (12h),
    asset is permanently stored on volcengine, permanent ref is vendor_asset_id
  - Update overview with auth, upload, and key management sections
2026-05-28 17:45:07 +08:00
36be53699d fix: replace local_group_id with vendor_group_id in all client-facing APIs
- rl_upload_user: accept vendor_group_id instead of group_id,
  validate directly via rl_org_group(org_id, vendor_group_id)
- rl_query_groups: remove local_group_id from response, only return
  vendor_group_id, vendor, status, create_time
- rl_handle_callback: remove local_group_id from return value
- rl_upload.dspy: rename param group_id -> vendor_group_id
- docs/api_downapp.md: update all examples and descriptions
2026-05-28 17:27:26 +08:00
2cd0974909 refactor: vendor config and org-group mapping 2026-05-28 16:44:00 +08:00
530f337704 feat: add downapp user API interfaces and ops management table
- New table rl_app_user for application tracking
- APIs: rl_apply, rl_verify, rl_upload, rl_status, rl_check_app_status
- Ops CRUD for managing applications and keys
- Multi-vendor support reserved via vendor field
2026-05-28 16:25:02 +08:00