Skip to content

GET object response omits inline sets/collections from markdown field #3169

Description

@paulternate

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

When an object contains an inline set (embedded query/collection widget), GET returns an empty blocks array and the markdown field omits the inline set entirely. The set configuration and its position in the document are silently dropped.

Expected Behavior

Inline sets should appear in the API response — either as a block entry with type and filter metadata, or as a placeholder/reference in the markdown field.

Steps To Reproduce

  1. Create an object and add an inline set via the AnyType UI (e.g. a Tasks set filtered to a specific relation)
  2. Fetch the object:
    curl -s 'http://localhost:31009/v1/spaces/{spaceId}/objects/{objectId}' \
      -H 'Authorization: Bearer {token}' \
      -H 'Anytype-Version: 2025-11-08'
    
  3. The response blocks array is empty and the markdown field contains only text blocks — no representation of the inline set.

Environment

- OS: 0.55.5
- Version: 2025-11-08

Anything else?

This prevents programmatic backup or sync of objects that use inline sets, since the set and its configuration cannot be read or restored via the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions