Attachment semantics in REST backend