Method to build proper parameter string to OData requests based on the given option Object.
Checks whether a given parameter is standard OData param or not and based on this information this params get the '$' sign.
If there's no select param given, or it is empty 'Id' is the default, so only this field will be on the content in the JSON result. To get all the field values, without selection, set it to 'all', but please avoid this if it's possible.
Represents an ODataOptions obejct based through the IODataOptions interface. Holds the possible url parameters as properties.
String with the url params in the correct format e.g. '$select=DisplayName,Index'&$top=2&metadata=no'.
Method that gets the URL that refers to a single item in the Sense/Net Content Repository
Path that you want to format.
Path in entity format e.g. /workspaces('project') from /workspaces/project
Method that gets the URL that refers to a single item in the Sense/Net Content Repository by its Id
Id of the Content.
e.g. /content(123)
Method that tells if a path is an item path.
Path that you want to test.
Returns if the given path is a path of a Content or not.
Method that allows to join paths without multiple or missing slashes
The list of the paths to join
Generated using TypeDoc
ODataHelper
Helper methods for OData Operations