tags: REST API addition

Addition of  API and REST API for tags.
2:2: E901 SyntaxError: invalid syntax
2:14: E225 missing whitespace around operator
2:29: E225 missing whitespace around operator
4:2: E111 indentation is not a multiple of four
4:2: E113 unexpected indentation
4:53: E225 missing whitespace around operator
5:1: E225 missing whitespace around operator
5:6: E225 missing whitespace around operator
6:3: E111 indentation is not a multiple of four
6:3: E113 unexpected indentation
6:3: E225 missing whitespace around operator
6:8: E225 missing whitespace around operator
7:5: E113 unexpected indentation
7:5: E225 missing whitespace around operator
7:11: E225 missing whitespace around operator
7:36: E225 missing whitespace around operator
7:43: E225 missing whitespace around operator
8:3: E111 indentation is not a multiple of four
8:3: E225 missing whitespace around operator
8:9: E225 missing whitespace around operator
9:3: E111 indentation is not a multiple of four
9:8: E225 missing whitespace around operator
10:5: E113 unexpected indentation
10:5: E225 missing whitespace around operator
10:8: E225 missing whitespace around operator
10:39: E225 missing whitespace around operator
10:43: E225 missing whitespace around operator
11:7: E225 missing whitespace around operator
11:28: E225 missing whitespace around operator
11:31: E225 missing whitespace around operator
12:8: E225 missing whitespace around operator
12:24: E231 missing whitespace after ':'
12:24: E701 multiple statements on one line (colon)
12:25: E225 missing whitespace around operator
12:29: E225 missing whitespace around operator
13:7: E225 missing whitespace around operator
13:11: E701 multiple statements on one line (colon)
13:22: E225 missing whitespace around operator
13:25: E225 missing whitespace around operator
14:8: E225 missing whitespace around operator
15:7: E225 missing whitespace around operator
15:28: E225 missing whitespace around operator
15:31: E225 missing whitespace around operator
16:3: E111 indentation is not a multiple of four
16:3: E225 missing whitespace around operator
16:9: E225 missing whitespace around operator
17:1: E225 missing whitespace around operator
17:7: E225 missing whitespace around operator
1:D100: Docstring missing
2: I101 copyright is missing