# chickadee » estraier-client » put-document

##### Identifier search
put-document base-uri node contents attribsprocedure

Store a new document, or replace an existing document at node.

contents is a list of strings representing lines in the document. attribs is an alist of document attributes. The @uri attribute must be present or the document will not be stored! If the @uri is identical to an existing document, it is replaced.

Example:

```(put-document "http://admin:admin@localhost:1978" "testnode"
'("Hello there, this is another quick test") '((@uri . "test1")))```