<commit_before><commit_msg>add edc api doc<commit_after>protocol is HTTP

requests will be made to some configurable base url (i.e. http://soma:1080/).
url base is omitted from paths below

Channels:

/channel
	returns a single integer specifiyng the number of channels

/channel/<n>/state
	returns the state (off, single, loop) of channel n

/channel/<n>/state/(off|single|loop)
	sets the state of channel n

/channel/<n>/pattern
	returns the current pattern set on channel n

/channel/<n>/pattern/<name>
	sets the pattern of channel n to name

Patterns:

/patterns
	returns a list of available pattern names seperated by new lines

/patterns/<name>
	returns the png asociated with pattern name

Rate:

/rate
	returns the current rate in BPM * 100

/rate/<BPM * 100>
	sets the current rate

{'fraction_non_alphanumeric': 0.08091024020227561, 'fraction_numerical': 0.012642225031605562, 'mean_word_length': 4.012658227848101, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3552346', 'n_tokens_mistral': 262, 'n_tokens_neox': 250, 'n_words': 106}