Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3219

wrong description of status codes for PUT /{db}/{docid}/{attname}

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Documentation
    • None

    Description

      the description of the "Status Codes" for

      PUT /{db}/{docid}/{attname} 

      looks wrong
      "Uploads the supplied content as an attachment to the specified document. ..."
      Status Codes: 200 OK – Attachment successfully removed

      should be: 201 OK - Created

      http://docs.couchdb.org/en/2.0.0/api/document/attachments.html#put--db-docid-attname

      Attachments

        Activity

          People

            Unassigned Unassigned
            pmorjan Peter Morjan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: