there is a data unit associated with a storage unit, then that data unit can define the descriptive properties (such as description, tags), and the schema to be used. The data unit is tied to its corresponding storage unit through their names, which must exactly match. Get a Source Instance with Default Settings Get a default source instance, for use when creating a new source. The values returned from this method can be edited, and used with to create a new source in Loom. ‘POST /sources’ Path: sources/default Method: GET Parameters: location: the location of the source (semantics based on storageType); required storage_type: the type of storage; optional, if server can derive it format_type: the type of format to use; optional (not needed for all storage types) Returns: entity: source object (no entity/id) storage: Storage, without embedded StorageUnits storage_units: StorageUnits, separate from Storage Register (Create) a Source using Default Settings Create a new source given a location, using all default settings. This is a convenience to combine the calls to and when no modification of the default source ‘GET /sources/default’ ‘POST /sources’ is required. Path: sources/default Method: POST Parameters: location: the location of the source (semantics based on storage_type); required storage_type: the type of storage; optional, if server can derive it format_type: the type of format used to read and parse the source; optional (not needed for all storage types); defaults to if storage ‘text/delim’ type==’file/text’, else null entity: a bundle of core properties (e.g., entity/name, entity/description, etc) to be set on the created Source entity; optional (name can be derived from location) Returns: id: ID of created source Get Source Summaries Get summaries of all sources matching the provided filters. Path: sources/summary Method: GET Parameters: filter_recency: filter on when the entity was last modified; values or ‘all’ ‘recent’ (default) filter_source_storagetype: filter on the storage type; values source’s ‘all’ (default)
there is a data unit associated with a storage unit, then that data unit can define the descriptive properties (such as description, tags), and the schema to be used. The data unit is tied to its corresponding storage unit through their names, which must exactly match. Get a Source Instance with Default Settings Get a default source instance, for use when creating a new source. The values returned from this method can be edited, and used with ‘POST /sources’ to create a new source in Loom. Path: sources/default Method: GET Parameters: location: the location of the source (semantics based on storageType); required storage_type: the type of storage; optional, if server can derive it format_type: the type of format to use; optional (not needed for all storage types) Returns: entity: source object (no entity/id) storage: Storage, without embedded StorageUnits storage_units: StorageUnits, separate from Storage Register (Create) a Source using Default Settings Create a new source given a location, using all default settings. This is a convenience to combine the calls to ‘GET /sources/default’ and ‘POST /sources’ when no modification of the default source is required. Path: sources/default Method: POST Parameters: location: the location of the source (semantics based on storage_type); required storage_type: the type of storage; optional, if server can derive it format_type: the type of format used to read and parse the source; optional (not needed for all storage types); defaults to ‘text/delim’ if storage type==’file/text’, else null entity: a bundle of core properties (e.g., entity/name, entity/description, etc) to be set on the created Source entity; optional (name can be derived from location) Returns: id: ID of created source Get Source Summaries Get summaries of all sources matching the provided filters. Path: sources/summary Method: GET Parameters: filter_recency: filter on when the entity was last modified; values ‘all’ or ‘recent’ (default) filter_source_storagetype: filter on the source’s storage type; values ‘all’ (default)