What is a 'stub' attachment?

I’m trying to load a document and its attachments via the CBL rest api. The json that comes back contains:

_attachments: 
  { 'fe4f4891-d90d-4fc9-9051-0541f5a9c6a7': 
    { digest: 'sha1-g9aU9ZF5SoSQw7BYXH/f5JBuO4A=',
        length: 1572,
        revpos: 2,
        stub: true,
        content_type: 'image/jpeg' } }

… but no data. What does stub=true mean? How should I be getting the data?

1 Like

moving this to mobile, as it concerns couchbase lite