From 6fbe4404f5e491bf4827111e6f826f3d909572b4 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 16 May 2022 11:34:30 -0700 Subject: [PATCH] Update api.rst --- docs/api.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index c23866b60..1e70b19fa 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -31,7 +31,8 @@ The objects served by the document endpoint contain the following fields: * ``tags``: List of IDs of tags assigned to this document, or empty list. * ``document_type``: Document type of this document, or null. * ``correspondent``: Correspondent of this document or null. -* ``created``: The date at which this document was created. +* ``created``: The date time at which this document was created. +* ``created_date``: The date (YYYY-MM-DD) at which this document was created. Optional. If also passed with created, this is ignored. * ``modified``: The date at which this document was last edited in paperless. Read-only. * ``added``: The date at which this document was added to paperless. Read-only. * ``archive_serial_number``: The identifier of this document in a physical document archive.