Skip to content

CreateBlobInput

@blobs/sdk v0.1.0


@blobs/sdk / types/Blobs / CreateBlobInput

Defined in: types/Blobs.ts:144

Payload for creating a new blob.

All fields are optional; the backend supplies sensible defaults (root-level, private, content_type=text).

Properties

parent_id?

optional parent_id?: string | null

Defined in: types/Blobs.ts:146

Parent blob ID, or null/omitted to create at the root.


title?

optional title?: string

Defined in: types/Blobs.ts:148

Initial title.


content?

optional content?: string

Defined in: types/Blobs.ts:150

Initial body/content.


content_type?

optional content_type?: string

Defined in: types/Blobs.ts:152

Content kind (e.g., text, markdown, code).


is_public?

optional is_public?: boolean

Defined in: types/Blobs.ts:154

Whether the blob is publicly readable. Defaults to false.


inherit_permissions?

optional inherit_permissions?: boolean

Defined in: types/Blobs.ts:156

Whether children inherit this blob’s permissions. Defaults to true.