Durango v0.1.3 Durango.Api.Collections View Source

Link to this section Summary

Functions

PUT /_api/collection/{collection-name}/properties Change properties of a collection

GET /_api/collection/{collection-name}/checksum Return checksum for the collection

POST /_api/collection Create collection

DELETE /_api/collection/{collection-name} Drops a collection

GET /_api/collection/{collection-name}/count Return number of documents in a collection

GET /_api/collection/{collection-name} Return information about a collection

GET /_api/collection reads all collections

PUT /_api/collection/{collection-name}/load Load collection

PUT /_api/collection/{collection-name}/loadIndexesIntoMemory Load Indexes into Memory

GET /_api/collection/{collection-name}/properties Read properties of a collection

PUT /_api/collection/{collection-name}/rename Rename collection

GET /_api/collection/{collection-name}/revision Return collection revision id

PUT /_api/collection/{collection-name}/rotate Rotate journal of a collection

GET /_api/collection/{collection-name}/figures Return statistics for a collection

PUT /_api/collection/{collection-name}/truncate Truncate collection

PUT /_api/collection/{collection-name}/unload Unload collection

Link to this section Functions

Link to this function change_properties(repo, name, changes) View Source

PUT /_api/collection/{collection-name}/properties Change properties of a collection

GET /_api/collection/{collection-name}/checksum Return checksum for the collection

Link to this function create_collection(repo, name) View Source

POST /_api/collection Create collection

Link to this function delete_collection(repo, name) View Source

DELETE /_api/collection/{collection-name} Drops a collection

Link to this function document_count(repo, name) View Source

GET /_api/collection/{collection-name}/count Return number of documents in a collection

GET /_api/collection/{collection-name} Return information about a collection

GET /_api/collection reads all collections

Link to this function load_collection(repo, name) View Source

PUT /_api/collection/{collection-name}/load Load collection

Link to this function load_indexes(repo, name) View Source

PUT /_api/collection/{collection-name}/loadIndexesIntoMemory Load Indexes into Memory

GET /_api/collection/{collection-name}/properties Read properties of a collection

Link to this function rename(repo, name, new_name) View Source

PUT /_api/collection/{collection-name}/rename Rename collection

GET /_api/collection/{collection-name}/revision Return collection revision id

Link to this function rotate_journal(repo, name) View Source

PUT /_api/collection/{collection-name}/rotate Rotate journal of a collection

GET /_api/collection/{collection-name}/figures Return statistics for a collection

PUT /_api/collection/{collection-name}/truncate Truncate collection

PUT /_api/collection/{collection-name}/unload Unload collection