summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--File IO REST API Spec.html881
-rw-r--r--src/ninjacloud.go145
2 files changed, 1026 insertions, 0 deletions
diff --git a/File IO REST API Spec.html b/File IO REST API Spec.html
new file mode 100644
index 0000000..289359e
--- /dev/null
+++ b/File IO REST API Spec.html
@@ -0,0 +1,881 @@
1<!DOCTYPE html>
2<!-- <copyright>
3Copyright (c) 2012, Motorola Mobility LLC.
4All Rights Reserved.
5
6Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
7
8* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
9
10* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
11
12* Neither the name of Motorola Mobility LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
13
14THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
15BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
16SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
18OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
19TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
20ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21</copyright> -->
22<html>
23<head>
24 <title>Ninja File IO Rest API Documentation.doc</title>
25 <style type="text/css">@import url('https://themes.googleusercontent.com/fonts/css?kit=MSSLfUayeNh9PW3ng9UWrirlBcGJ7N4dBtR9TI-y1vHA6mILqzkelCs0stqH5so2');
26
27 ol {
28 margin: 0;
29 padding: 0
30 }
31
32 p {
33 margin: 0
34 }
35
36 .c5 {
37 vertical-align: top;
38 width: 108.9pt;
39 border-style: solid;
40 border-color: #000000;
41 border-width: 1pt;
42 padding: 0pt 5.4pt 0pt 5.4pt
43 }
44
45 .c12 {
46 vertical-align: top;
47 width: 447.8pt;
48 border-style: solid;
49 border-color: #000000;
50 border-width: 1pt;
51 padding: 0pt 5.4pt 0pt 5.4pt
52 }
53
54 .c4 {
55 vertical-align: top;
56 width: 106.8pt;
57 border-style: solid;
58 border-color: #000000;
59 border-width: 1pt;
60 padding: 0pt 5.4pt 0pt 5.4pt
61 }
62
63 .c7 {
64 vertical-align: top;
65 width: 445.5pt;
66 border-style: solid;
67 border-color: #000000;
68 border-width: 1pt;
69 padding: 0pt 5.4pt 0pt 5.4pt
70 }
71
72 .c6 {
73 vertical-align: top;
74 width: 445.7pt;
75 border-style: solid;
76 border-color: #000000;
77 border-width: 1pt;
78 padding: 0pt 5.4pt 0pt 5.4pt
79 }
80
81 .c0 {
82 line-height: 1.0;
83 direction: ltr;
84 padding-bottom: 0pt
85 }
86
87 .c18 {
88 font-size: 9pt;
89 font-family: Arial
90 }
91
92 .c17 {
93 max-width: 648pt;
94 padding: 72pt 72pt 72pt 72pt
95 }
96
97 .c14 {
98 font-size: 9pt;
99 font-family: Consolas
100 }
101
102 .c1 {
103 direction: ltr;
104 padding-bottom: 0pt
105 }
106
107 .c8 {
108 height: 0pt
109 }
110
111 .c11 {
112 height: 11pt
113 }
114
115 .c16 {
116 font-size: 16pt
117 }
118
119 .c3 {
120 text-decoration: underline
121 }
122
123 .c2 {
124 direction: ltr
125 }
126
127 .c13 {
128 background-color: #ffffff
129 }
130
131 .c15 {
132 border-collapse: collapse
133 }
134
135 .c9 {
136 margin-left: 36pt
137 }
138
139 .c10 {
140 font-style: italic
141 }
142
143 .title {
144 padding-top: 24pt;
145 line-height: 1.15;
146 text-align: left;
147 color: #000000;
148 font-size: 36pt;
149 font-family: Calibri;
150 font-weight: bold;
151 padding-bottom: 6pt
152 }
153
154 .subtitle {
155 padding-top: 18pt;
156 line-height: 1.15;
157 text-align: left;
158 color: #666666;
159 font-style: italic;
160 font-size: 24pt;
161 font-family: Georgia;
162 padding-bottom: 4pt
163 }
164
165 body {
166 color: #000000;
167 font-size: 11pt;
168 font-family: Calibri
169 }
170
171 h1 {
172 padding-top: 12pt;
173 line-height: 1.15;
174 text-align: left;
175 color: #000000;
176 font-size: 16pt;
177 font-family: Cambria;
178 font-weight: bold;
179 padding-bottom: 3pt
180 }
181
182 h2 {
183 padding-top: 12pt;
184 line-height: 1.15;
185 text-align: left;
186 color: #000000;
187 font-style: italic;
188 font-size: 14pt;
189 font-family: Cambria;
190 font-weight: bold;
191 padding-bottom: 3pt
192 }
193
194 h3 {
195 padding-top: 12pt;
196 line-height: 1.15;
197 text-align: left;
198 color: #000000;
199 font-size: 13pt;
200 font-family: Cambria;
201 font-weight: bold;
202 padding-bottom: 3pt
203 }
204
205 h4 {
206 padding-top: 12pt;
207 line-height: 1.15;
208 text-align: left;
209 color: #000000;
210 font-size: 14pt;
211 font-family: Calibri;
212 font-weight: bold;
213 padding-bottom: 3pt
214 }
215
216 h5 {
217 padding-top: 12pt;
218 line-height: 1.15;
219 text-align: left;
220 color: #000000;
221 font-style: italic;
222 font-size: 13pt;
223 font-family: Calibri;
224 font-weight: bold;
225 padding-bottom: 3pt
226 }
227
228 h6 {
229 padding-top: 12pt;
230 line-height: 1.15;
231 text-align: left;
232 color: #000000;
233 font-size: 11pt;
234 font-family: Calibri;
235 font-weight: bold;
236 padding-bottom: 3pt
237 }</style>
238</head>
239<body class="c13 c17"><h1 class="c2"><span>Cloud Status API</span></h1>
240