Skip to main content
Version: v1 (Current)

Build and Bind Collections

Collections store project-specific structured content and submissions. Use a collection when your data needs custom fields and entries rather than a fixed attendee or agenda object. Apps access it through declared dependencies and project bindings.

Create the data structure​

On the dashboard host, start at /p/{team}/{project}/collections using team/project slugs. Collection settings use /collections/{collection}/edit; the entry listing is /collections/{collection}, and a new entry starts at /collections/{collection}/entries/create. Here {collection} is the collection slug, while individual entries use their numeric IDs.

Collection administration uses view_collections/manage_collections; entry administration uses view_collection_entries/manage_collection_entries, and assets have separate view/manage permissions. Access to edit the collection design does not imply access to read or manage all submitted entries.

  1. Open the project's Collections section and create a named collection with a stable slug and description.
  2. Open its editor and define fields with appropriate types, required/validation rules and names.
  3. Organize fields into sections/layouts so admins and submitters can enter the data consistently.
  4. Set supported constraints, status and submission/authentication settings.
  5. Create representative entries through Entries, or import through the offered import controls.

Use draft, active or archived for collection status. The dashboard’s reusable collection selector lists active collections; an absent draft collection in a selector does not mean it was deleted. Status is not a substitute for permissions or a guarantee that every API query hides the resource.

Field definitions and visual field placement are separate concepts. The builder derives the collection's index definition from saved field definitions; do not hand-edit derived index data to replace the field editor.

The field families are input, option-select, boolean, picker, file, display and relationship; choose a compatible style within each family. A display field provides presentation rather than submitted data. Relationships can target collection entries, attendees, credential types, groups or agenda items. Select the target and relationship direction deliberately: a computed has_many list is not a writable array of child records.

Admin and portal form layouts choose which field slugs participate in that form. The service tries an ordered role/permission match, then the default layout, then the first layout; no matching layout is not an access-denied result. With no layout, validation can cover all defined data fields. Keep layout selection separate from API read permissions and collection audience gates.

Use the Constraints tab for the supported unique field combinations, maximum entries per attendee and relationship-capacity rules. A per-submitter limit depends on an attendee submitter; it is not a visitor/email deduplication system for arbitrary anonymous requests. Check the rejected submission and saved entry count as well as the UI message, particularly for concurrent submissions. Keep capacity limits distinct from form-field required/format validation.

Design before importing​

Use stable field keys. Decide which values are text, numbers, dates, choices, relations or files before importing. Test one row and confirm mapping/validation before a large import. Review duplicate/identity behavior offered by the import flow; do not assume every import overwrites existing entries.

Entry imports and collection-design imports are separate workflows. Use the entry importer’s offered identity and relationship mapping; support for a relationship in the editor does not guarantee that every target type can be resolved from an imported label. Inspect the resolved target IDs and test a new entry and a matching update.

For files, configure the collection's supported asset classes and bind file fields to valid uploads. A file asset, the entry holding its reference and an app displaying the entry have different ownership and visibility concerns.

Configure submission and audience access​

Review public submission and authentication options separately. The stored allow_public_submissions and require_authentication settings describe intended submission behavior; they do not replace the authenticated API principal, installed page’s operation grants or group rules. A public submission option does not mean all collection entries or all fields should be readable by guests. Configure group rules and the relevant API scopes, and test both the form/page route and collection data access. A collection’s own audience rules can omit it from API lists or make entry reads return 404 for an excluded attendee; a correctly formed URL does not bypass that gate.

Use Permissions and Dependencies to evaluate inherited rules, matching allow/deny behavior, tagged scopes and readable fields. A matching broader allow can preserve access that another rule appears to restrict.

Configure attendee-owned entries​

At develop commit 25e1564 (reviewed 2026-10-19), an app can receive supported collection-entry permissions scoped to Attendee's own. Entry ownership is configured independently of submitter identity and submission limits.

  1. Create the collection first, then add an attendee relationship field whose direction is belongs_to or belongs_to_many. A text/email field or computed has_many relationship cannot supply ownership.
  2. In the collection editor's Details tab, choose that relationship under Owner Field and save. The saved value is its slug in permissions_config.owner_field. Initial collection creation prohibits an owner-field value because the collection has no fields yet; configure it after defining the relationship.
  3. Declare the supported entry action with own scope in the app's dependencies, retain its parent collection visibility/binding, and install/configure the intended collection. Choosing Owner Field alone grants no API action.
  4. Check existing entries: their configured owner field must point to the intended attendee ID, or contain that ID in a multi-owner list. Existing submitter identity does not populate a newly selected owner field automatically.
  5. Test a signed-in owner, another attendee and a guest, plus create/update and attempted ownership changes. Confirm deployed support for this develop behavior.

For example, this develop declaration names a selected collection and own-scoped entry actions beneath it:

[
{
"model": "Collection",
"identifier": "selected_collection",
"permissions": ["view_collections"]
},
{
"model": "CollectionEntry",
"identifier": "@selected_collection",
"permissions": ["view_collection_entries:own", "manage_collection_entries:own"]
}
]

The selector must bind selected_collection to the intended same-project collection. The entry permission names are the reviewed catalog names; manage_collection_entries maps multiple write actions, so it is broader than an update-only label. This declaration does not configure Owner Field, populate existing owners or prove an installed request will succeed. Verify rule contributions and the actual single-entry and batch endpoints separately. Ownership guards run when participating models save under a recorded own restriction; the isolated decision checks do not certify every endpoint's authorization or batch behavior.

With no valid owner field, entries cannot qualify as attendee-owned. On participating own-scoped creates, a missing owner is filled with the signed-in attendee (one ID or a one-item list matching the relationship). An explicitly supplied owner selection may name only that attendee. An own-scoped update must retain the signed-in attendee and cannot add or remove other owners, even when the existing entry has multiple owners. Wider grants can authorize a different path; adding an own grant does not narrow them.

For an empty own-only list or denied write, inspect the saved Owner Field, actual numeric relationship IDs, same-project attendee session, parent collection visibility and effective grants before changing scope. A guest own-only list has no attendee-owned records; public submission settings do not manufacture an owner. Changing the owner-field setting changes which data supplies ownership, so verify existing entries and access before adopting it for an established collection.

Bind an app​

Declare a catalog-supported Collection dependency in the app version and give its configuration selector the same identifier. Install the app into the project and select this collection. Use the runtime store for reads/submissions and the operation IDs exposed by the deployed API reference.

If the app acts on entries within a selected collection, keep the structural parent binding; access to one collection must not silently become access to every project's entries. Confirm the selected record IDs and relations belong to the installation's project.

Discover collection definitions through the API​

The project API provides GET /collections, GET /collections/{collection} and POST /collections/search. These are read/search operations; collection design creation and editing use the dashboard workflow above. {collection} is the slug, not its numeric ID. POST search uses the same authorized index/fetch lifecycle as the list, so changing method does not bypass visibility.

Use the supported runtime page context for an App or an appropriately scoped backend credential. The base policy maps list/detail to view_collections. Project scoping, tag visibility and a compiled permission plan can further narrow rows. With no compiled plan, the plan layer is a passthrough, not proof of unrestricted effective access. The collection's own audience rules are applied separately: a matching deny excludes it; when allow rules exist, one must match; ruleless collections retain legacy visibility. The controller passes the request's attendee attribute, or null, into this own-rule query. There is no administrator/machine-key bypass in that call; a key without attendee context can still miss a group-gated collection. Test the actual principal rather than assuming a broad key means every collection is returned.

The query does not automatically restrict results to active collections. Draft/archived definitions can appear when other gates permit them, unlike an active-only configuration selector. A 404 for a detail read can reflect row scope or audience exclusion as well as a missing slug. An empty page is not proof there are no project collections.

Collection discovery defaults to 100 rows and supports limit up to 1000 plus page; this differs from the entry list's 200 cap. The paginator integer-casts the supplied limit, uses the default for nonpositive values, and refuses a value above the maximum with 422 rather than clamping it. Follow resource pagination (data, links, meta). No default stable sort is added by this controller; use a supported explicit sort when repeatable ordering matters. Filters are limited to status, name and slug; search covers name, slug and description; sorting supports name, created_at and status. Use the deployed Orion search descriptor format rather than treating arbitrary query keys as filters.

Request optional definition relations with include=fieldDefinitions,sections,formLayouts,projectTags. The serialized names are field_definitions, sections, form_layouts and project_tags, and they are omitted unless loaded. The base definition contains ID/name/slug/description/status, asset classes, public-submission/authentication flags and timestamps. It does not serialize constraints, permissions_config or index_definition; absence of those keys does not mean no constraints or rules exist. Included field definitions can have display-image values resolved before serialization; they are not an entry-data export. Full nested definition/relationship serialization remains a separate contract review.

Tag includes expose only portal-visible labels for ordinary portal callers, while recognized project API keys can receive hidden labels. A hidden label can still enforce access; missing labels do not prove missing tag rules. Public-submission/authentication flags likewise describe configuration, not an independent read/write grant. Before shipping discovery, verify a permitted and excluded attendee, a guest, the intended backend key, another project's slug, an inactive definition and multiple pages. These are deployment acceptance tasks; the documentation's structural examples do not execute them.

Read and write entries​

On the portal/API host, the project API base is /api/v1/projects/{team}/{project}. Collections resolve by slug:

OperationRelative path
Read collection definitionGET /collections/{collection}
List entriesGET /collections/{collection}/entries
Create entryPOST /collections/{collection}/entries
Read an entryGET /collections/{collection}/entries/{entry}
Update supplied entry dataPUT or PATCH /collections/{collection}/entries/{entry}
Search entriesPOST /collections/{collection}/entries/search
Delete entryDELETE /collections/{collection}/entries/{entry}

Use the runtime store/page context for a browser App, or the appropriately scoped server credential for a backend integration. Check the deployed REST API operation and authentication contract before sending requests; the dashboard’s admin-session routes above are a separate interface.

For a collection defining required text field title and optional boolean field featured, with both fields included in the caller’s form layout, this is an entry-create body:

{
"data": {
"title": "Partner demo",
"featured": true
}
}

Profile-style flat keys are not the entry payload: collection values belong under data. The controller validates defined fields for the resolved layout and filters submitted data to that layout. Display fields and computed has_many relationships are not submitted values. Do not send submitter identity to impersonate another person; the create path takes it from the authenticated caller.

Creation saves an entry with status draft. Collection status and entry status are different, and a draft status alone does not guarantee an entry is hidden from every authorized read. The reviewed create/update path processes entry data rather than using a top-level status value as a publish command. Confirm the App’s actual visibility and any supported publishing workflow separately.

Updates merge supplied data keys with existing values: omitting featured preserves it, while an explicit null can clear a nullable field. Required fields use partial-update validation when omitted, but submitting an invalid/empty required value still fails. Do not replace an entry’s full data blob locally and assume that missing keys were deleted on the server. Re-read the saved record.

Filters on custom entry fields use data->slug and require the field’s searchable flag; sorting custom fields requires its sortable flag. These flags affect query capabilities and table presentation, not authorization. The entry list caps page size at 200; follow pagination rather than treating one page as the complete collection.

Relationships and assets in responses​

List responses do not automatically expand relationships. Request named fields with ?populate=owner (using a real relationship slug) or comma-separated paths; populate=* on a list is rejected with 422. Individual-entry reads default to relationship population; use ?populate=none for raw relationship IDs. Population has depth/count guards and can return population_truncated metadata, so do not assume all nested records were returned. A relationship pointer is not a grant to the target’s data.

File values reference collection assets. Use a valid asset from the same collection or the supported upload workflow; copying a numeric asset ID from another collection is not a file transfer. Inspect resolved asset URLs and their expiry, and test the real storage/CORS path before relying on a preview.

Batch entry operations​

Use /collections/{collection}/entries/batch with POST to create, PATCH to update and DELETE to soft-delete. These are the collection entry API's batch operations, separate from dashboard import and from an application's offline queue. Use the same authenticated project/page context and entry operation permissions as the individual workflow; each operation still resolves its parent collection and scoped rows. Reading a collection definition is not permission to mutate all entries. Verify entry row/field isolation explicitly rather than inferring it from a definition read.

The synthetic examples below are not submitted. POST accepts resources as a nonempty list of entry-create payloads:

{
"resources": [
{"data": {"title": "First example", "featured": false}},
{"data": {"title": "Second example", "featured": true}}
]
}

PATCH accepts resources keyed by the existing numeric entry ID, not a list of objects with an id property:

{
"resources": {
"123": {"data": {"featured": true}},
"124": {"data": {"title": "Updated example"}}
}
}

DELETE accepts a list of numeric entry IDs:

{
"resources": [123, 124]
}

The dependency validates a required array-compatible, nonempty resources container for batch create/update. The reviewed batch-delete request does not add the same shape validation; send the documented ID list rather than relying on malformed or empty input behavior. No collection-specific maximum batch count is declared in this handler. That is not a promise of unlimited safe request size: use controlled batches suited to the deployed request/time limits and reconcile each response.

Batch update/delete fetch matching parent-scoped, visible rows and operate on those found. Missing, foreign or filtered IDs can be absent from the returned collection instead of producing one error object per requested ID. Output order is query order, not a guaranteed copy of input order. Match returned IDs to requested IDs and investigate omissions. A successful empty/short response is not proof that every requested entry changed.

Batch responses use a resource collection with a data array (normally 200), rather than an import job ID or the printing API's bare result array. Individual create returns a created resource (201); individual read/update/delete return a resource (200). Default delete is soft deletion, and the API delete response is not the dashboard history's restore control. This guide does not prescribe privileged force deletion or advertise an API restore route.

Batch create/update call the same dynamic layout validation and merge/save services as individual entries. Attendees use portal layouts; other caller types use admin layouts. Creation derives submitter identity from the authenticated caller; update constraint context retains the original submitter. Per-attendee submission caps do not become per-key or anonymous visitor quotas. Configured uniqueness/capacity/submission constraints are also rechecked by the entry observer under a collection-row lock. A rejected constraint can return 422 even after field validation passed. This source mechanism still needs actual concurrency acceptance in the target database.

The platform config disables Orion’s outer operation transactions (orion.transactions.enabled: false). Although the dependency has transaction hooks, those hooks do nothing under this setting. Entry create/update services still use individual database transactions, so earlier rows can remain committed when a later row fails; the batch does not return printing-style mixed error rows. After an error, reconcile all intended IDs and saved values before retrying. Even when outer transactions are enabled in another environment, a database rollback does not guarantee reversal of external workflow effects or uploaded bytes. Entry events and cache changes can be triggered during saves. There is no entry-create idempotency key in this contract: after a lost response, inspect saved entries and their audit history before replaying the whole create list.

Readback and recovery limits​

Entry reads can include submittedBy, collection and projectTags subject to relation authorization. Do not expose submitter details solely because the include name is supported. There is no automatic published-only filter added by this entry handler. List/search normally paginate with limit default 100 and maximum 200; an over-limit request fails with 422. Collection definition discovery's 1000 maximum does not apply here.

Read details can expand relationships by default, while list/search need named populate paths and refuse populate=*. The parser limits paths to three hops; the population service also bounds relation/request row counts and can report truncation. File IDs in read responses can become asset objects with signed URLs, including resolvable soft-deleted asset references; missing referenced assets can become null. populate=none disables relationship population, not file resolution. Do not resend a readback object as if it were the original writable ID payload.

Write responses do not run the detail-read population hook. Re-read the same entry with the intended population/include settings before judging app rendering. For an invalid mutation, inspect field/layout validation and constraint messages. For an empty/short batch, inspect IDs, parent/project, audience/tag scopes and per-entry permissions before retrying. Preserve requested/returned IDs and original create inputs for uncertain-write reconciliation. Live mutation, denial, concurrency, upload and workflow acceptance remain separate from the documentation's structural examples.

Collection asset API​

Use the project API /collections/{collection}/assets to list (GET) or create (POST) an asset, /assets/{asset} to read (GET), update metadata (PUT/PATCH) or soft-delete (DELETE), and /assets/search for POST search. The parent is a collection slug; {asset} is its numeric asset ID. Each upload is a separate asset record; linking its ID into an entry is another write. There is no collection-asset batch route in the reviewed v1 declarations.

The relation handler scopes the parent to the project and fetches assets through that collection. Base policies distinguish view_collection_assets and manage_collection_assets, with parent authorization in the relation lifecycle. It does not add the collection's own audience assertion used by entry reads. Do not infer that an audience-hidden collection also hides its asset URLs under every principal: test direct asset reads and writes for the intended guest/attendee/backend credentials before enabling them. Collection tags, asset classification, signed URLs and entry permissions are different controls.

Lists/search default to limit=100 with a 1000 maximum, not the entries' 200 maximum; the shared paginator defaults nonpositive values and returns 422 above the cap. Filters support asset_class, mime_type and upload_status; search supports name and slug; sorting supports name, created_at and asset_class. No default stable sort is added. include=collection is an accepted relation name, but this explicit asset serializer does not emit a collection field; do not rely on it for a nested definition response.

Upload and read back​

For a conventional upload, POST multipart form data with the actual file in file_name, plus optional name and asset_class. Use one asset record per request. The current API selects CollectionAssetRequest; its file_name: sometimes rule overrides the model's file/type/size validator. Do not assume the model's FileOrArray guard or the alternate asset[] branch's size limit protects file_name. The alternate array fields are validated by inherited model rules but are not mapped into file_name by this generic relation save path; do not treat an accepted asset[]-only request as proof bytes were uploaded.

For direct-to-storage upload, the supported metadata shape is illustrated below. This synthetic request is not sent:

{
"name": "Documentation example",
"asset_class": "Attachment",
"file_name": {
"large_upload": true,
"filename": "example.png",
"size": 1234,
"type": "image/png"
}
}

Provide complete, accurate filename, byte size and MIME metadata. The upload trait consumes these keys even though this API's request validator does not fully validate their shape; malformed data can fail during save instead of returning a clean field error. The alternate asset[] validation uses the configured large-upload threshold (20 MiB by default), but that is not a universal enforced limit on this API's file_name. Review allowed file types, size and malware acceptance with the platform owner before exposing uploads. The API accepts asset_class as a string up to 255 characters rather than validating membership in the collection's configured class list; use the intended configured class, not a classification string as an authorization grant.

Creation normally returns 201 with a resource under data. Direct-upload metadata sets upload_status to waiting_for_upload; the response conditionally includes upload_urls keyed by original filename. Each value comes from the storage adapter and may be a URL or a descriptor containing a URL and headers. Inspect the returned value and use its URL/headers for a storage PUT; do not send the portal/API bearer token to storage. The source requests a ten-minute upload authorization. Missing/false/empty upload values are failures to resolve, not completed uploads. Re-read the same asset to obtain current authorization rather than reusing an expired request or blindly creating another record.

After sending bytes, re-read this asset and verify processing, storage reachability and required variants before linking it into an entry. The reviewed collection-asset routes expose no separate finalize operation; do not invent one or set upload_status through metadata update to simulate completion. Upload acceptance, storage arrival, processing and file-safety acceptance are separate. A failed processing/upload step can leave a record behind; inspect the existing ID before retrying creation.

Metadata, URLs and deletion​

PUT/PATCH accept supplied name, asset_class and slug strings (maximum 255), plus nullable array/object metadata. Omitted values remain unchanged; metadata replaces the whole value. These update rules do not accept a binary replacement, mime_type, upload_status or a malware result. Read back after saving, and preserve processing-related metadata when deliberately replacing it rather than overwriting it with an unrelated small object.

The resource includes ID/name/slug/class, original name/size, MIME/status, metadata, timestamps, an original asset URL and thumbnail/medium/large URL fields. Names/MIME and unavailable URLs can be null. The original URL requests 60 minutes of validity when the disk signs URLs; variant URL generation normally uses the trait's five-minute default. Disks without temporary URLs may return their configured ordinary URL instead. Refresh expired links through an authorized read; a permanent-looking URL is not an access-grant or malware-clean receipt. The serializer does not expose malware_scanned, scan_result or scanned_at as a safety result.

Deletion returns a resource representation (normally 200), soft-deletes the asset row and queues file cleanup through the upload trait. The response does not establish completed physical erasure, and row restoration alone does not guarantee recoverable bytes. It does not clear every entry's file reference. Entry file resolution deliberately includes soft-deleted assets, so a reference may still resolve before cleanup or later break as storage changes. Coordinate replacement/relinking and verify audience behavior; do not use soft deletion as a guaranteed revocation or privacy erasure workflow.

For 403/404, check operation permission, parent project/slug and asset ID, then test audience behavior directly. For a missing upload URL, inspect metadata/status and storage-adapter support. For a broken preview, distinguish absent original bytes, missing variants, expiry and file-safety acceptance. For a validation/server error, retain the existing asset ID, response and original payload before retrying. No real upload, deletion, signing callback, storage event, scanner or worker acceptance was executed for these documentation examples.

Export, reuse and recovery​

The dashboard schema export (GET /p/{team}/{project}/collections/{collection}/export) produces a version 1.0 JSON design containing collection settings, field definitions, sections and form layouts. It does not include entry rows or uploaded asset files. Importing that design (POST /p/{team}/{project}/collections/import) creates another collection, chooses a unique slug if necessary and regenerates derived definitions; it does not update an existing collection in place. Inspect relationship target IDs, assets and audience configuration in the destination project before use. Design reuse is not a complete data migration or backup.

Entry export is a separate dashboard action: POST /p/{team}/{project}/collections/{collection}/entries/export. It returns 202 with “Export started.” while queued generation continues. The current exporter selects the collection’s non-deleted entries rather than taking the current table’s selection/search as its export population. Open the project’s Exports page at /p/{team}/{project}/exports, select Admin Exports, and open the completed export’s details/download. The requesting admin also receives the completion notification when configured delivery succeeds. This collection action does not return an export-log ID for polling, so the initial 202 response cannot supply a download link. Check the finished file and export activity before claiming completion. File columns can contain signed URLs with expiry, not embedded permanent file copies.

Deletion is soft deletion. On the collection’s entry listing (/p/{team}/{project}/collections/{collection}), open Audit Log (the clipboard button) to see entry creation/deletion/restoration events. Authorized, eligible deleted entries show Restore there; individual entry edits appear in that entry’s own Audit Log. Entry history supports restore, but restoration rechecks current uniqueness/capacity/submission constraints; records created after deletion can prevent restoration. A deleted collection’s original slug can be reused, and restoring it is refused if another collection now owns that slug. Keep schema backups and entry exports suited to the recovery you actually need.

Verify behavior​

Create an entry with every required field, an empty optional field, an invalid value and a file if applicable. Confirm listing, searching, details, edit and submission paths for the intended audience. Test an excluded group and direct record access, including a record from another collection/project.

After changing fields, check existing entries and app rendering for missing/legacy values. A schema change is not proof that historical entries were migrated. Record any required backfill separately before launch.

Troubleshooting​

A field absent from the form calls for inspecting section placement and the saved layout, not only its field definition. A rejected entry calls for checking required fields, types and constraints. Missing app data calls for checking the installed version, selector identifier, collection ID, status and effective permissions. Broken file rendering calls for checking stored asset references, URL expiry and allowed asset classes. A 404 can reflect project/collection scope or an audience gate; an empty selector can reflect active-only selection. For missing values after save, inspect the chosen layout and validated data fields. For a restore refusal, inspect current constraints or a reused collection slug rather than treating history as an unconditional undo.