children

Upload Profile Picture

Upload/replace child profile picture.

Authentication: JWT required via Authorization header RLS: User must own the child (enforced by Supabase)

Args: child_id: UUID of child file: Image file (JPEG, PNG, WebP, HEIC)

Returns: Profile picture URL and signed imgproxy URL

Raises: 400: Invalid file type or size 404: Child not found or not owned by user 500: Upload failed

post/children/{child_id}/profile-picture

Request

  • Base URL
    https://api.projectindi.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

child_idstring required

Request body multipart/form-data

filestring binary required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.