files

Upload File

Current files HTTP operation. External credential scopes: write:records. Access is resolved for the authenticated user or by the endpoint-specific OAuth checks. Direct requests execute without an app confirmation screen. Production rate limit: 100 requests per 15-minute window per device account, 1000 per browser session, otherwise per client IP. RateLimit headers report the current window; respect Retry-After on 429. Accepted types: JPEG, PNG, GIF, WebP images (10 MB each); MP4, QuickTime and AVI video (100 MB each); JSON, PDF and CSV documents (5 MB each). Maximum 10 files per request.

post/v1/file/upload

Request

  • Base URL: https://api.ranch.bot
  • URL: https://api.ranch.bot/v1/file/upload
  • Auth: HTTP bearer

Query parameters

entity_type'animal' | 'group' | 'record' | 'user'
entity_idstring uuid

Response

Success

successboolean required
errorsobject[] required

Changes

No recorded changes to this operation across all 1 revision of this API.