For the complete documentation index, see llms.txt. This page is also available as Markdown.

microappchild

description

The MicroAppChild API provides endpoints for managing child items (such as files and images) that are associated with MicroApp data entries (see microappdata). These endpoints are used to handle file attachments, images, and other child resources that belong to a parent MicroApp data entry.

Child items are always associated with a specific field (identified by fieldID) in a parent MicroApp row (identified by appID). The parent row must be created first using the MicroApp data endpoints before child items can be attached to it.

Private Data behavior

Image and file fields can be configured as Private Data. The MicroAppChild API follows the same row, field, and Private Data access rules as the Buzzy runtime.

  • If the authenticated caller can view the field, list/read responses can include the normal attachment metadata and signed URLs needed to render the file or image.

  • If the caller cannot view the field, Buzzy returns a hidden Private Data placeholder and does not expose file names, metadata, storage keys, or signed URLs.

  • Create, update, and delete operations require field edit access, not only row access.

  • Viewer and Team Viewer policies apply first through the parent row. Field view and Field edit then decide whether the caller can read or change the attachment field.

  • Signed URLs should be treated as sensitive output. Do not forward them to systems or users that should not have file access.

  • V1 gates attachment metadata and signed URLs. File bytes are not separately encrypted by this feature.

parameters

The X-Auth-Token and X-User-Id are derived from the values authToken and userId returned from the login endpoint and are used in the HTTP header.

List Child Items

Endpoint

Headers

  • x-user-id: User ID for authentication

  • x-auth-token: Authentication token

  • Content-Type: application/json

Query Parameters

  • appID (required): Parent app item ID

  • fieldID (required): Parent field ID

  • optUserToken (optional): User authentication token

Response

Returns an array of child items matching the query parameters.

Example Request

Create Child Item

Endpoint

Headers

  • x-user-id: User ID for authentication

  • x-auth-token: Authentication token

  • Content-Type: application/json

Request Body

Response

Returns the ID of the newly created child item.

Update Child Item

Endpoint

Headers

  • x-user-id: User ID for authentication

  • x-auth-token: Authentication token

  • Content-Type: application/json

Request Body

Response

Returns success status of the update operation.

Delete Child Item

Endpoint

Headers

  • x-user-id: User ID for authentication

  • x-auth-token: Authentication token

  • Content-Type: application/json

Request Body

Response

Returns success status of the deletion operation.

Last updated