Methods
-
addLocationDatumMetadataUrl( [locationId] [, sourceId])
-
Generate a URL for adding (merging) datum metadata via a
POSTrequest.Parameters:
Name Type Argument Description locationIdnumber <optional>
a specific location ID to use; if not provided the
locationIdproperty of this class will be usedsourceIdstring <optional>
a specific source ID to use; if not provided the
sourceIdproperty of this class will be usedReturns:
the URL
- Type
- string
-
deleteLocationDatumMetadataUrl( [locationId] [, sourceId])
-
Generate a URL for deleting datum metadata via a
DELETErequest.Parameters:
Name Type Argument Description locationIdnumber <optional>
a specific location ID to use; if not provided the
locationIdproperty of this class will be usedsourceIdstring <optional>
a specific source ID to use; if not provided the
sourceIdproperty of this class will be usedReturns:
the URL
- Type
- string
-
findLocationDatumMetadataUrl( [filter] [, sorts] [, pagination])
-
Generate a URL for searching for location metadata.
Parameters:
Name Type Argument Description filtermodule:domain~DatumFilter <optional>
a search filter; the
locationIds,sourceIds,tags,query, andlocationproperties are supportedsortsArray.<module:domain~SortDescriptor> <optional>
optional sort settings to use
paginationmodule:domain~Pagination <optional>
optional pagination settings to use
Returns:
the URL
- Type
- string
-
replaceLocationDatumMetadataUrl( [locationId] [, sourceId])
-
Generate a URL for setting datum metadata via a
PUTrequest.Parameters:
Name Type Argument Description locationIdnumber <optional>
a specific location ID to use; if not provided the
locationIdproperty of this class will be usedsourceIdstring <optional>
a specific source ID to use; if not provided the
sourceIdproperty of this class will be usedReturns:
the URL
- Type
- string
-
viewLocationDatumMetadataUrl( [locationId] [, sourceId])
-
Generate a URL for viewing datum metadata.
If no
sourceIdis provided, then the API will return all available datum metadata for all sources.Parameters:
Name Type Argument Description locationIdnumber <optional>
a specific location ID to use; if not provided the
locationIdproperty of this class will be usedsourceIdstring <optional>
a specific source ID to use; if not provided the
sourceIdproperty of this class will be used; ifnullthen ignore anysourceIdproperty of this classReturns:
the URL
- Type
- string