R/documents.R
document_add_attachments.Rd
Add attachments to existing document
document_add_attachments(doc_id, attachments, api_key = get_api_key())
Unique identifier of the document
attachments to attach to the fields in tibble/data.frame form (one attachment per row), e.g., tibble(field = 7, path = "file.txt")
tibble(field = 7, path = "file.txt")
RSpace API key
A JSON object, invisibly. The function will raise an error if doc_id is not specified.
doc_id