<commit_before># Umbraco.MultipleStartNodes
Adds the ability to have multiple content and media start nodes for Umbraco users.<commit_msg>Start adding documentation to the readme<commit_after># Umbraco.MultipleStartNodes
Adds the ability to have multiple content and media start nodes for Umbraco users. 

##How it works

**On the back-end** the package relies heavily on Umbraco's [Tree Events](https://our.umbraco.org/documentation/extending/section-trees/trees-v7) and ASP.NET's [Delegating Handlers](https://www.asp.net/web-api/overview/advanced/httpclient-message-handlers).

###Tree Events###

The *TreeControllerBase.TreeNodesRendering* event is used to replace the nodes that appear when the content/media tree is initially rendered. This is done by clearing the e.Nodes list, querying our custom table for the current user's start nodes, and adding them to e.Nodes.

The *TreeControllerBase.MenuRendering* event is used to remove admin functions (create, sort, republish) from the content/media root node as well as remove any context menu options in the config RemoveActionsForStartNodes from the user's start nodes.

###Delegating Handlers###

*WebApiHandler* captures a number UmbracoApi requests and modifies the result before returning it to the client.

    /umbraco/backoffice/umbracoapi/content/getbyid
    /umbraco/backoffice/umbracoapi/content/postsave

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis, praesentium.

    /umbraco/backoffice/umbracoapi/media/getbyid
    /umbraco/backoffice/umbracoapi/media/postsave

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ut, placeat.

    /umbraco/backoffice/umbracoapi/entity/getancestors

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Libero, pariatur.

    /umbraco/backoffice/umbracoapi/entity/searchall

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium, eaque.

    /umbraco/backoffice/umbracoapi/entity/search

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolore, cupiditate.

    /umbraco/backoffice/umbracoapi/media/getchildren

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Provident, nam.

    /umbraco/backoffice/umbracoapi/media/getchildfolders

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempora, incidunt.

    /umbraco/backoffice/umbracoapi/content/postmove
    /umbraco/backoffice/umbracoapi/content/postcopy
    /umbraco/backoffice/umbracoapi/media/postmove

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam, necessitatibus?

---

**On the front-end** 

{'fraction_non_alphanumeric': 0.07448059584476675, 'fraction_numerical': 0.0003920031360250882, 'mean_word_length': 4.82648401826484, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2418549', 'n_tokens_mistral': 849, 'n_tokens_neox': 806, 'n_words': 244}