8.5. GET /db/_design/design-doc/attachment

MethodGET /db/_design/design-doc/attachment
Request None
Response Document content
Admin Privileges Requiredno

Returns the file attachment attachment associated with the design document /_design_/design-doc. The raw data of the associated attachment is returned (just as if you were accessing a static file. The returned HTTP Content-type will be the same as the content type set when the document attachment was submitted into the database.