couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Complete_HTTP_API_Reference" by NuuttiKotivuori
Date Sat, 28 Aug 2010 20:11:41 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Complete_HTTP_API_Reference" page has been changed by NuuttiKotivuori.
http://wiki.apache.org/couchdb/Complete_HTTP_API_Reference?action=diff&rev1=13&rev2=14

--------------------------------------------------

  = Complete HTTP API Reference =
  
+ Server-level miscellaneous methods:
  ||GET||/||Get MOTD and version||
  ||GET||/favicon.ico||Special path for providing a site icon, path found in configuration||
  ||GET||/_all_dbs||Returns a list of all databases on this server||
@@ -15, +16 @@

  ||GET||/_sleep||Returns success after waiting for a given number of milliseconds ''(removed
since 1.0.0)''||
  ||GET||/_utils/'''file'''||Return static web pages that contain the CouchDB administration
interface||
  
+ Server configuration:
  ||GET||/_config||Returns the entire server configuration||
  ||GET||/_config/'''section'''||Returns a single section from server configuration||
  ||GET||/_config/'''section'''/'''key'''||Returns a single configuration value from given
section in server configuration||
  ||PUT||/_config/'''section'''/'''key'''||Set a single configuration value in a given section
to server configuration||
  ||DELETE||/_config/'''section'''/'''key'''||Delete a single configuration value from a given
section in server configuration||
  
+ Authentication:
  ||GET||/_session||Returns cookie based login user information||
  ||POST||/_session||Do cookie based user login||
  ||DELETE||/_session||Logout cooked based user||
- 
  ||GET||/_oauth||XXX||
  ||POST||/_oauth||XXX||
  
+ Database methods:
- 
- 
  ||GET||/'''db'''||Returns database information||
  ||PUT||/'''db'''||Create a new database||
  ||DELETE||/'''db'''||Delete an existing database||
@@ -50, +51 @@

  ||GET||/'''db'''/_revs_limit||Sets the limit of historical revisions to store for a single
document in the database||
  ||PUT||/'''db'''/_revs_limit||Gets the limit of historical revisions to store for a single
document in the database||
  
+ Database document methods:
  ||POST||/'''db'''||Inserts a new document with an automatically generated id||
  ||GET||/'''db'''/'''doc'''||Returns the latest revision of the document||
  ||PUT||/'''db'''/'''doc'''||Inserts a new version of the document||
@@ -59, +61 @@

  ||PUT||/'''db'''/'''doc'''/'''attachment'''||Inserts an attachment to the document||
  ||DELETE||/'''db'''/'''doc'''/'''attachment'''||Deletes an attachment from the document||
  
+ Special non-replicating documents:
  ||GET||/'''db'''/_local/'''local-doc'''||Returns the latest revision of the non-replicated
document||
  ||PUT||/'''db'''/_local/'''local-doc'''||Inserts a new version of the non-replicated document||
  ||DELETE||/'''db'''/_local/'''local-doc'''||Deletes the non-replicated document||
  ||COPY||/'''db'''/_local/'''local-doc'''||Copies the non-replicated document||
  
+ Special design documents:
  ||GET||/'''db'''/_design/'''design-doc'''||Returns the latest revision of the design document||
  ||PUT||/'''db'''/_design/'''design-doc'''||Inserts a new version of the design document||
  ||DELETE||/'''db'''/_design/'''design-doc'''||Deletes the design document||
@@ -72, +76 @@

  ||PUT||/'''db'''/_design/'''design-doc'''/'''attachment'''||Inserts an attachment to the
design document||
  ||DELETE||/'''db'''/_design/'''design-doc'''/'''attachment'''||Deletes an attachment from
the design document||
  
+ Special design document handlers:
  ||GET||/'''db'''/_design/'''design-doc'''/_info||Returns information about the design document||
  ||GET||/'''db'''/_design/'''design-doc'''/_view/'''view-name'''||Returns results of the
view||
  ||POST||/'''db'''/_design/'''design-doc'''/_view/'''view-name'''||Returns certain rows from
the view||

Mime
View raw message