rhoconnect 4.0.4 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/CHANGELOG.md +54 -5
- data/CREDITS +219 -219
- data/Gemfile +2 -2
- data/Gemfile.lock +68 -79
- data/Rakefile +1 -2
- data/bench/benchapp/spec/models/ruby/mock_adapter_spec.rb +17 -17
- data/bench/benchapp/spec/models/ruby/queue_mock_adapter_spec.rb +17 -17
- data/bench/benchapp/spec/spec_helper.rb +3 -3
- data/bench/blobapp/spec/models/ruby/blob_adapter_spec.rb +17 -17
- data/bench/blobapp/spec/spec_helper.rb +3 -3
- data/bench/lib/bench/runner.rb +1 -69
- data/bench/lib/bench.rb +18 -18
- data/bench/spec/mock_adapter_spec.rb +54 -55
- data/bench/spec/mock_client_spec.rb +47 -48
- data/bench/spec/result_spec.rb +41 -44
- data/bench/spec/utils_spec.rb +24 -25
- data/commands/generators/app.rb +7 -5
- data/commands/generators/controller.rb +7 -5
- data/commands/generators/model.rb +7 -5
- data/commands/generators/source.rb +7 -5
- data/commands/parser.rb +1 -1
- data/commands/redis/redis_download.rb +1 -1
- data/doc/async-jobs.txt +9 -9
- data/doc/supported-platforms.txt +0 -2
- data/generators/rhoconnect.rb +92 -212
- data/generators/templates/application/rcgemfile +3 -3
- data/generators/templates/application/spec/application_controller_spec.rb +14 -16
- data/generators/templates/application/spec/js_spec.rb +20 -20
- data/generators/templates/application/spec/spec_helper.rb +1 -1
- data/generators/templates/source/controllers/ruby/controller_spec.rb +18 -19
- data/generators/templates/source/models/ruby/model_spec.rb +17 -17
- data/install.sh +10 -21
- data/installer/unix-like/rho_connect_install_constants.rb +5 -5
- data/installer/unix-like/rho_connect_install_installers.rb +4 -4
- data/installer/utils/constants.rb +6 -6
- data/installer/utils/nix_install_test.rb +29 -29
- data/installer/utils/package_upload/repos.rake +16 -26
- data/js-adapters/node.rb +4 -4
- data/js-adapters/node_channel.rb +4 -8
- data/lib/rhoconnect/db_adapter.rb +13 -13
- data/lib/rhoconnect/handler/changes/engine.rb +1 -1
- data/lib/rhoconnect/jobs/bulk_data_job.rb +29 -29
- data/lib/rhoconnect/license.rb +7 -7
- data/lib/rhoconnect/model/helpers/find_duplicates_on_update.rb +13 -13
- data/lib/rhoconnect/ping/apple.rb +4 -4
- data/lib/rhoconnect/server.rb +2 -2
- data/lib/rhoconnect/source.rb +2 -2
- data/lib/rhoconnect/store.rb +12 -6
- data/lib/rhoconnect/utilities.rb +2 -2
- data/lib/rhoconnect/version.rb +1 -1
- data/lib/rhoconnect.rb +6 -4
- data/rhoconnect.gemspec +5 -6
- data/spec/api/api_helper.rb +1 -1
- data/spec/api/app/fast_delete_spec.rb +22 -22
- data/spec/api/app/fast_insert_spec.rb +23 -23
- data/spec/api/app/fast_update_spec.rb +63 -63
- data/spec/api/app/push_deletes_spec.rb +11 -13
- data/spec/api/app/push_objects_spec.rb +39 -39
- data/spec/api/client/client_get_db_doc_spec.rb +29 -29
- data/spec/api/client/client_set_db_doc_spec.rb +11 -11
- data/spec/api/client/get_client_params_spec.rb +29 -29
- data/spec/api/client/list_client_docs_spec.rb +32 -34
- data/spec/api/client/reset_spec.rb +30 -30
- data/spec/api/readstate/set_refresh_time_spec.rb +43 -43
- data/spec/api/source/get_source_params_spec.rb +32 -34
- data/spec/api/source/list_sources_spec.rb +13 -13
- data/spec/api/source/update_source_params_spec.rb +19 -19
- data/spec/api/store/get_db_doc_spec.rb +27 -27
- data/spec/api/store/set_db_doc_spec.rb +38 -38
- data/spec/api/system/adapter_spec.rb +27 -29
- data/spec/api/system/get_license_info_spec.rb +11 -11
- data/spec/api/system/login_spec.rb +37 -37
- data/spec/api/system/reset_spec.rb +15 -15
- data/spec/api/system/stats_spec.rb +70 -71
- data/spec/api/user/create_user_spec.rb +37 -37
- data/spec/api/user/delete_client_spec.rb +7 -7
- data/spec/api/user/delete_user_spec.rb +62 -62
- data/spec/api/user/list_clients_spec.rb +24 -24
- data/spec/api/user/list_source_docs_spec.rb +29 -29
- data/spec/api/user/list_users_spec.rb +22 -22
- data/spec/api/user/ping_spec.rb +18 -18
- data/spec/api/user/show_user_spec.rb +10 -10
- data/spec/api/user/update_user_spec.rb +43 -43
- data/spec/api/user/user_get_db_doc_spec.rb +12 -12
- data/spec/api/user/user_set_db_doc_spec.rb +37 -37
- data/spec/api_token_spec.rb +8 -8
- data/spec/app_spec.rb +18 -17
- data/spec/apps/jstestapp/settings/settings.yml +2 -0
- data/spec/async_spec.rb +9 -11
- data/spec/bulk_data/bulk_data_spec.rb +120 -120
- data/spec/cli/cli_spec.rb +50 -53
- data/spec/client_spec.rb +105 -105
- data/spec/client_sync_spec.rb +529 -528
- data/spec/controllers/js_base_spec.rb +147 -141
- data/spec/doc/doc_spec.rb +51 -52
- data/spec/document_spec.rb +58 -58
- data/spec/dynamic_adapter_spec.rb +33 -36
- data/spec/generator/generator_spec.rb +76 -42
- data/spec/jobs/bulk_data_job_spec.rb +101 -102
- data/spec/jobs/ping_job_spec.rb +176 -177
- data/spec/jobs/source_job_spec.rb +24 -25
- data/spec/license_spec.rb +54 -55
- data/spec/models/js_base_spec.rb +121 -120
- data/spec/perf/bulk_data_perf_spec.rb +23 -24
- data/spec/perf/perf_spec_helper.rb +7 -7
- data/spec/perf/store_perf_spec.rb +139 -140
- data/spec/ping/apple_spec.rb +65 -65
- data/spec/ping/gcm_spec.rb +83 -84
- data/spec/ping/rhoconnect_push_spec.rb +52 -53
- data/spec/predefined_adapters/rho_internal_bench_adapter_controller_js_spec.rb +100 -101
- data/spec/predefined_adapters/rho_internal_js_bench_adapter_js_spec.rb +29 -31
- data/spec/read_state_spec.rb +24 -25
- data/spec/rhoconnect_spec.rb +7 -7
- data/spec/server/server_spec.rb +664 -662
- data/spec/server/stats_spec.rb +12 -12
- data/spec/source_adapter_spec.rb +124 -125
- data/spec/source_spec.rb +148 -149
- data/spec/source_sync_spec.rb +736 -736
- data/spec/spec_helper.rb +4 -5
- data/spec/stats/record_spec.rb +22 -21
- data/spec/store_orm_spec.rb +48 -48
- data/spec/store_spec.rb +428 -426
- data/spec/support/shared_examples.rb +5 -7
- data/spec/sync_states_spec.rb +67 -67
- data/spec/test_methods_spec.rb +121 -123
- data/spec/testdata/10000-data.txt +0 -0
- data/spec/testdata/5000-data.txt +0 -0
- data/spec/user_spec.rb +102 -102
- data/tasks/redis.rake +3 -3
- metadata +154 -195
- data/bench/benchapp/tmp/pids/passenger.9292.pid.lock +0 -0
- data/bench/benchapp/tmp/restart.txt +0 -0
- data/bench/blobapp/settings/license.key.bak +0 -2
- data/bench/blobapp/tmp/restart.txt +0 -0
- data/bench/lib/testdata/1-data.txt +0 -0
- data/bench/lib/testdata/10-data.txt +0 -0
- data/bench/lib/testdata/2-data.txt +0 -0
- data/bench/lib/testdata/250-data.txt +0 -0
- data/bench/lib/testdata/5-blob_data.txt +0 -0
- data/bench/lib/testdata/5-data.txt +0 -0
- data/bench/lib/testdata/50-data.txt +0 -0
- data/bench/lib/testdata/500-data.txt +0 -0
- data/doc/protocol.html +0 -1993
- data/spec/coverage/rcov/assets/0.2.3/jquery-1.3.2.min.js +0 -19
- data/spec/coverage/rcov/assets/0.2.3/jquery.tablesorter.min.js +0 -15
- data/spec/coverage/rcov/assets/0.2.3/print.css +0 -12
- data/spec/coverage/rcov/assets/0.2.3/rcov.js +0 -42
- data/spec/coverage/rcov/assets/0.2.3/screen.css +0 -270
- data/spec/coverage/rcov/index.html +0 -88
- data/spec/generator/generator_spec_helper.rb +0 -9
data/doc/protocol.html
DELETED
@@ -1,1993 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
6
|
-
<title>Rhoconnect API</title>
|
7
|
-
|
8
|
-
<link rel="stylesheet" href="./public/css/screen.css" type="text/css" media="screen, projection">
|
9
|
-
<link rel="stylesheet" href="./public/css/print.css" type="text/css" media="print">
|
10
|
-
<!--[if lt IE 8]>
|
11
|
-
<link rel="stylesheet" href="./public/css/ie.css" type="text/css" media="screen, projection">
|
12
|
-
<![endif]-->
|
13
|
-
<link rel="stylesheet" href="./public/css/style.css" type="text/css" media="screen" charset="utf-8"/>
|
14
|
-
</head>
|
15
|
-
|
16
|
-
<body>
|
17
|
-
<br/><br/>
|
18
|
-
<div class="container">
|
19
|
-
<div id="wrapper">
|
20
|
-
<h1>Table of Contents</h1>
|
21
|
-
<ul id="toc">
|
22
|
-
|
23
|
-
<li><span>1.</span> <a href="#1">clientlogin - authenticate client</a><br/></li>
|
24
|
-
|
25
|
-
<li><span>2.</span> <a href="#2">clientlogin - login failure</a><br/></li>
|
26
|
-
|
27
|
-
<li><span>3.</span> <a href="#3">clientcreate - create client id</a><br/></li>
|
28
|
-
|
29
|
-
<li><span>4.</span> <a href="#4">clientcreate-and-register - create client id with register params</a><br/></li>
|
30
|
-
|
31
|
-
<li><span>5.</span> <a href="#5">clientregister - register client with params</a><br/></li>
|
32
|
-
|
33
|
-
<li><span>6.</span> <a href="#6">clientreset - reset client database</a><br/></li>
|
34
|
-
|
35
|
-
<li><span>7.</span> <a href="#7">create - create object(s)</a><br/></li>
|
36
|
-
|
37
|
-
<li><span>8.</span> <a href="#8">update - update object(s)</a><br/></li>
|
38
|
-
|
39
|
-
<li><span>9.</span> <a href="#9">delete - delete object(s)</a><br/></li>
|
40
|
-
|
41
|
-
<li><span>10.</span> <a href="#10">create - client creates blobs</a><br/></li>
|
42
|
-
|
43
|
-
<li><span>11.</span> <a href="#11">create-update-delete - create,update,delete object(s)</a><br/></li>
|
44
|
-
|
45
|
-
<li><span>12.</span> <a href="#12">create-with-link - send link for created object</a><br/></li>
|
46
|
-
|
47
|
-
<li><span>13.</span> <a href="#13">query-error - send query error</a><br/></li>
|
48
|
-
|
49
|
-
<li><span>14.</span> <a href="#14">login-error - send login error</a><br/></li>
|
50
|
-
|
51
|
-
<li><span>15.</span> <a href="#15">logoff-error - send logoff error</a><br/></li>
|
52
|
-
|
53
|
-
<li><span>16.</span> <a href="#16">create-error - send create error</a><br/></li>
|
54
|
-
|
55
|
-
<li><span>17.</span> <a href="#17">update-error - send update error</a><br/></li>
|
56
|
-
|
57
|
-
<li><span>18.</span> <a href="#18">delete-error - send delete error</a><br/></li>
|
58
|
-
|
59
|
-
<li><span>19.</span> <a href="#19">insert objects - send insert objects</a><br/></li>
|
60
|
-
|
61
|
-
<li><span>20.</span> <a href="#20">metadata - send metadata</a><br/></li>
|
62
|
-
|
63
|
-
<li><span>21.</span> <a href="#21">delete objects - send delete objects</a><br/></li>
|
64
|
-
|
65
|
-
<li><span>22.</span> <a href="#22">insert-delete objects - send insert and delete objects</a><br/></li>
|
66
|
-
|
67
|
-
<li><span>23.</span> <a href="#23">search result - send search results</a><br/></li>
|
68
|
-
|
69
|
-
<li><span>24.</span> <a href="#24">search error - send search error</a><br/></li>
|
70
|
-
|
71
|
-
<li><span>25.</span> <a href="#25">multi source search - send multiple sources in search results</a><br/></li>
|
72
|
-
|
73
|
-
<li><span>26.</span> <a href="#26">multi source search ack - acknowledge search result on multiple sources</a><br/></li>
|
74
|
-
|
75
|
-
</ul>
|
76
|
-
</div>
|
77
|
-
</div>
|
78
|
-
<br/><br/>
|
79
|
-
<div class="container">
|
80
|
-
<div class="span-24 content">
|
81
|
-
<h2 id='1'>1. clientlogin - authenticate client</h2>
|
82
|
-
|
83
|
-
<h3>Request: POST /application/clientlogin</h3>
|
84
|
-
<table>
|
85
|
-
<thead>
|
86
|
-
<tr>
|
87
|
-
<th>Header</th>
|
88
|
-
<th>Value</th>
|
89
|
-
</tr>
|
90
|
-
</thead>
|
91
|
-
<tbody>
|
92
|
-
<tr>
|
93
|
-
<td style='text-align: left;'>Content-Type</td>
|
94
|
-
<td style='text-align: left;'>application/json</td>
|
95
|
-
</tr>
|
96
|
-
<tr>
|
97
|
-
<td style='text-align: left;'>Content-Length</td>
|
98
|
-
<td style='text-align: left;'>42</td>
|
99
|
-
</tr>
|
100
|
-
<tr>
|
101
|
-
<td style='text-align: left;'>Cookie</td>
|
102
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZjJiNGY1NTU2NzlhNWZjNzNjYzYxYmFjMzkz%0AZjYwN2ZkYTJmNmY4YTQzOGZmYTM1YjJmZjI3Njg1MjllNjFlYw%3D%3D%0A--5d267f2b4bb9c4cff9b9e1b29e80bbcdea1a9e5e</td>
|
103
|
-
</tr>
|
104
|
-
</tbody>
|
105
|
-
</table>
|
106
|
-
<table>
|
107
|
-
<thead>
|
108
|
-
<tr>
|
109
|
-
<th>Body</th>
|
110
|
-
</tr>
|
111
|
-
</thead>
|
112
|
-
<tbody>
|
113
|
-
<tr>
|
114
|
-
<td>{"password":"testpass","login":"testuser"}</td>
|
115
|
-
</tr>
|
116
|
-
</tbody>
|
117
|
-
</table>
|
118
|
-
<h3>Response: 500</h3>
|
119
|
-
<table>
|
120
|
-
<thead>
|
121
|
-
<tr>
|
122
|
-
<th>Header</th>
|
123
|
-
<th>Value</th>
|
124
|
-
</tr>
|
125
|
-
</thead>
|
126
|
-
<tbody>
|
127
|
-
<tr>
|
128
|
-
<td style='text-align: left;'>Content-Type</td>
|
129
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
130
|
-
</tr>
|
131
|
-
<tr>
|
132
|
-
<td style='text-align: left;'>Content-Length</td>
|
133
|
-
<td style='text-align: left;'>875</td>
|
134
|
-
</tr>
|
135
|
-
<tr>
|
136
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
137
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZjJiNGY1NTU2NzlhNWZjNzNjYzYxYmFjMzkz%0AZjYwN2ZkYTJmNmY4YTQzOGZmYTM1YjJmZjI3Njg1MjllNjFlYw%3D%3D%0A--5d267f2b4bb9c4cff9b9e1b29e80bbcdea1a9e5e; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
138
|
-
</tr>
|
139
|
-
</tbody>
|
140
|
-
</table>
|
141
|
-
<table>
|
142
|
-
<thead>
|
143
|
-
<tr>
|
144
|
-
<th>Body</th>
|
145
|
-
</tr>
|
146
|
-
</thead>
|
147
|
-
<tbody>
|
148
|
-
<tr>
|
149
|
-
<td style='text-align: left;'>Real HTTP connections are disabled. Unregistered request: POST http://test.rhoconnect.com/rhoconnect/authenticate with body '{"password":"testpass","login":"testuser","api_token":"b6f22608fa8b4acf84e844808845e2fe"}' with headers {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip, deflate', 'Content-Length'=>'89', 'Content-Type'=>'application/json'}
|
150
|
-
|
151
|
-
You can stub this request with the following snippet:
|
152
|
-
|
153
|
-
stub_request(:post, "http://test.rhoconnect.com/rhoconnect/authenticate").
|
154
|
-
with(:body => "{\"password\":\"testpass\",\"login\":\"testuser\",\"api_token\":\"b6f22608fa8b4acf84e844808845e2fe\"}",
|
155
|
-
:headers => {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip, deflate', 'Content-Length'=>'89', 'Content-Type'=>'application/json'}).
|
156
|
-
to_return(:status => 200, :body => "", :headers => {})
|
157
|
-
|
158
|
-
============================================================</td>
|
159
|
-
</tr>
|
160
|
-
</tbody>
|
161
|
-
</table>
|
162
|
-
<h2 id='2'>2. clientlogin - login failure</h2>
|
163
|
-
|
164
|
-
<h3>Request: POST /application/clientlogin</h3>
|
165
|
-
<table>
|
166
|
-
<thead>
|
167
|
-
<tr>
|
168
|
-
<th>Header</th>
|
169
|
-
<th>Value</th>
|
170
|
-
</tr>
|
171
|
-
</thead>
|
172
|
-
<tbody>
|
173
|
-
<tr>
|
174
|
-
<td style='text-align: left;'>Content-Type</td>
|
175
|
-
<td style='text-align: left;'>application/json</td>
|
176
|
-
</tr>
|
177
|
-
<tr>
|
178
|
-
<td style='text-align: left;'>Content-Length</td>
|
179
|
-
<td style='text-align: left;'>43</td>
|
180
|
-
</tr>
|
181
|
-
<tr>
|
182
|
-
<td style='text-align: left;'>Cookie</td>
|
183
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZDA4ZTNmOWRhNDU2OTMxYWM4NTdhNTZhMTE1%0AMDk4NTUwMmM1NGRlNzA1Yjg4N2U4ZmYwY2Q5Yjc4YTNjOWRjZA%3D%3D%0A--a815240864159985298bd866d982b386d4f697be</td>
|
184
|
-
</tr>
|
185
|
-
</tbody>
|
186
|
-
</table>
|
187
|
-
<table>
|
188
|
-
<thead>
|
189
|
-
<tr>
|
190
|
-
<th>Body</th>
|
191
|
-
</tr>
|
192
|
-
</thead>
|
193
|
-
<tbody>
|
194
|
-
<tr>
|
195
|
-
<td>{"password":"wrongpass","login":"testuser"}</td>
|
196
|
-
</tr>
|
197
|
-
</tbody>
|
198
|
-
</table>
|
199
|
-
<h3>Response: 500</h3>
|
200
|
-
<table>
|
201
|
-
<thead>
|
202
|
-
<tr>
|
203
|
-
<th>Header</th>
|
204
|
-
<th>Value</th>
|
205
|
-
</tr>
|
206
|
-
</thead>
|
207
|
-
<tbody>
|
208
|
-
<tr>
|
209
|
-
<td style='text-align: left;'>Content-Type</td>
|
210
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
211
|
-
</tr>
|
212
|
-
<tr>
|
213
|
-
<td style='text-align: left;'>Content-Length</td>
|
214
|
-
<td style='text-align: left;'>877</td>
|
215
|
-
</tr>
|
216
|
-
<tr>
|
217
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
218
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZDA4ZTNmOWRhNDU2OTMxYWM4NTdhNTZhMTE1%0AMDk4NTUwMmM1NGRlNzA1Yjg4N2U4ZmYwY2Q5Yjc4YTNjOWRjZA%3D%3D%0A--a815240864159985298bd866d982b386d4f697be; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
219
|
-
</tr>
|
220
|
-
</tbody>
|
221
|
-
</table>
|
222
|
-
<table>
|
223
|
-
<thead>
|
224
|
-
<tr>
|
225
|
-
<th>Body</th>
|
226
|
-
</tr>
|
227
|
-
</thead>
|
228
|
-
<tbody>
|
229
|
-
<tr>
|
230
|
-
<td style='text-align: left;'>Real HTTP connections are disabled. Unregistered request: POST http://test.rhoconnect.com/rhoconnect/authenticate with body '{"password":"wrongpass","login":"testuser","api_token":"b6f22608fa8b4acf84e844808845e2fe"}' with headers {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip, deflate', 'Content-Length'=>'90', 'Content-Type'=>'application/json'}
|
231
|
-
|
232
|
-
You can stub this request with the following snippet:
|
233
|
-
|
234
|
-
stub_request(:post, "http://test.rhoconnect.com/rhoconnect/authenticate").
|
235
|
-
with(:body => "{\"password\":\"wrongpass\",\"login\":\"testuser\",\"api_token\":\"b6f22608fa8b4acf84e844808845e2fe\"}",
|
236
|
-
:headers => {'Accept'=>'application/json', 'Accept-Encoding'=>'gzip, deflate', 'Content-Length'=>'90', 'Content-Type'=>'application/json'}).
|
237
|
-
to_return(:status => 200, :body => "", :headers => {})
|
238
|
-
|
239
|
-
============================================================</td>
|
240
|
-
</tr>
|
241
|
-
</tbody>
|
242
|
-
</table>
|
243
|
-
<h2 id='3'>3. clientcreate - create client id</h2>
|
244
|
-
|
245
|
-
<h3>Request: GET /application/clientcreate</h3>
|
246
|
-
<table>
|
247
|
-
<thead>
|
248
|
-
<tr>
|
249
|
-
<th>Header</th>
|
250
|
-
<th>Value</th>
|
251
|
-
</tr>
|
252
|
-
</thead>
|
253
|
-
<tbody>
|
254
|
-
<tr>
|
255
|
-
<td style='text-align: left;'>Content-Type</td>
|
256
|
-
<td style='text-align: left;'> </td>
|
257
|
-
</tr>
|
258
|
-
<tr>
|
259
|
-
<td style='text-align: left;'>Content-Length</td>
|
260
|
-
<td style='text-align: left;'>0</td>
|
261
|
-
</tr>
|
262
|
-
<tr>
|
263
|
-
<td style='text-align: left;'>Cookie</td>
|
264
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFNzQ1MTY3YjkzNTA5OGM5NzFmYTEzZjc0ZWU4%0ANTJjYmVhZDg4NWRlMTFjMWYzM2FhYjM5YTFmNjMzYzI3NGMxMw%3D%3D%0A--778c59561495f8b5957c9fef41d7c14a923ca1b1</td>
|
265
|
-
</tr>
|
266
|
-
</tbody>
|
267
|
-
</table>
|
268
|
-
<table>
|
269
|
-
<thead>
|
270
|
-
<tr>
|
271
|
-
<th>Body</th>
|
272
|
-
</tr>
|
273
|
-
</thead>
|
274
|
-
<tbody>
|
275
|
-
<tr>
|
276
|
-
<td></td>
|
277
|
-
</tr>
|
278
|
-
</tbody>
|
279
|
-
</table>
|
280
|
-
<h3>Response: 401</h3>
|
281
|
-
<table>
|
282
|
-
<thead>
|
283
|
-
<tr>
|
284
|
-
<th>Header</th>
|
285
|
-
<th>Value</th>
|
286
|
-
</tr>
|
287
|
-
</thead>
|
288
|
-
<tbody>
|
289
|
-
<tr>
|
290
|
-
<td style='text-align: left;'>Content-Type</td>
|
291
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
292
|
-
</tr>
|
293
|
-
<tr>
|
294
|
-
<td style='text-align: left;'>Content-Length</td>
|
295
|
-
<td style='text-align: left;'>17</td>
|
296
|
-
</tr>
|
297
|
-
<tr>
|
298
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
299
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFNzQ1MTY3YjkzNTA5OGM5NzFmYTEzZjc0ZWU4%0ANTJjYmVhZDg4NWRlMTFjMWYzM2FhYjM5YTFmNjMzYzI3NGMxMw%3D%3D%0A--778c59561495f8b5957c9fef41d7c14a923ca1b1; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
300
|
-
</tr>
|
301
|
-
</tbody>
|
302
|
-
</table>
|
303
|
-
<table>
|
304
|
-
<thead>
|
305
|
-
<tr>
|
306
|
-
<th>Body</th>
|
307
|
-
</tr>
|
308
|
-
</thead>
|
309
|
-
<tbody>
|
310
|
-
<tr>
|
311
|
-
<td style='text-align: left;'>Not authenticated</td>
|
312
|
-
</tr>
|
313
|
-
</tbody>
|
314
|
-
</table>
|
315
|
-
<h2 id='4'>4. clientcreate-and-register - create client id with register params</h2>
|
316
|
-
|
317
|
-
<h3>Request: GET /application/clientcreate?device_port=3333&device_pin=abcd&device_type=iPhone</h3>
|
318
|
-
<table>
|
319
|
-
<thead>
|
320
|
-
<tr>
|
321
|
-
<th>Header</th>
|
322
|
-
<th>Value</th>
|
323
|
-
</tr>
|
324
|
-
</thead>
|
325
|
-
<tbody>
|
326
|
-
<tr>
|
327
|
-
<td style='text-align: left;'>Content-Type</td>
|
328
|
-
<td style='text-align: left;'> </td>
|
329
|
-
</tr>
|
330
|
-
<tr>
|
331
|
-
<td style='text-align: left;'>Content-Length</td>
|
332
|
-
<td style='text-align: left;'>0</td>
|
333
|
-
</tr>
|
334
|
-
<tr>
|
335
|
-
<td style='text-align: left;'>Cookie</td>
|
336
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZTcwNWFmMmU1MDEzZWMzMWQ1MGExMjBhNzdh%0ANjk0NmM0MzhjNGVlZDg1OWFjOGE2NjA4M2FlMWE4M2UzMTczNw%3D%3D%0A--885dcbd360e2ae1fe380acf9493ca513a5870ea4</td>
|
337
|
-
</tr>
|
338
|
-
</tbody>
|
339
|
-
</table>
|
340
|
-
<table>
|
341
|
-
<thead>
|
342
|
-
<tr>
|
343
|
-
<th>Body</th>
|
344
|
-
</tr>
|
345
|
-
</thead>
|
346
|
-
<tbody>
|
347
|
-
<tr>
|
348
|
-
<td></td>
|
349
|
-
</tr>
|
350
|
-
</tbody>
|
351
|
-
</table>
|
352
|
-
<h3>Response: 401</h3>
|
353
|
-
<table>
|
354
|
-
<thead>
|
355
|
-
<tr>
|
356
|
-
<th>Header</th>
|
357
|
-
<th>Value</th>
|
358
|
-
</tr>
|
359
|
-
</thead>
|
360
|
-
<tbody>
|
361
|
-
<tr>
|
362
|
-
<td style='text-align: left;'>Content-Type</td>
|
363
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
364
|
-
</tr>
|
365
|
-
<tr>
|
366
|
-
<td style='text-align: left;'>Content-Length</td>
|
367
|
-
<td style='text-align: left;'>17</td>
|
368
|
-
</tr>
|
369
|
-
<tr>
|
370
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
371
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZTcwNWFmMmU1MDEzZWMzMWQ1MGExMjBhNzdh%0ANjk0NmM0MzhjNGVlZDg1OWFjOGE2NjA4M2FlMWE4M2UzMTczNw%3D%3D%0A--885dcbd360e2ae1fe380acf9493ca513a5870ea4; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
372
|
-
</tr>
|
373
|
-
</tbody>
|
374
|
-
</table>
|
375
|
-
<table>
|
376
|
-
<thead>
|
377
|
-
<tr>
|
378
|
-
<th>Body</th>
|
379
|
-
</tr>
|
380
|
-
</thead>
|
381
|
-
<tbody>
|
382
|
-
<tr>
|
383
|
-
<td style='text-align: left;'>Not authenticated</td>
|
384
|
-
</tr>
|
385
|
-
</tbody>
|
386
|
-
</table>
|
387
|
-
<h2 id='5'>5. clientregister - register client with params</h2>
|
388
|
-
|
389
|
-
<h3>Request: POST /application/clientregister</h3>
|
390
|
-
<table>
|
391
|
-
<thead>
|
392
|
-
<tr>
|
393
|
-
<th>Header</th>
|
394
|
-
<th>Value</th>
|
395
|
-
</tr>
|
396
|
-
</thead>
|
397
|
-
<tbody>
|
398
|
-
<tr>
|
399
|
-
<td style='text-align: left;'>Content-Type</td>
|
400
|
-
<td style='text-align: left;'>application/json</td>
|
401
|
-
</tr>
|
402
|
-
<tr>
|
403
|
-
<td style='text-align: left;'>Content-Length</td>
|
404
|
-
<td style='text-align: left;'>112</td>
|
405
|
-
</tr>
|
406
|
-
<tr>
|
407
|
-
<td style='text-align: left;'>Cookie</td>
|
408
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZTUzM2JmYzI0NWE1ODc0YWMxOWM2YTAxNmIw%0ANzUwY2ZmYmZiM2RiY2Y4ZWRhYTZkYjQ4MjExYjdhNGRjNmRiZQ%3D%3D%0A--5a2d62bc83371ab3b96686e330b6e30d6d0a1c36</td>
|
409
|
-
</tr>
|
410
|
-
</tbody>
|
411
|
-
</table>
|
412
|
-
<table>
|
413
|
-
<thead>
|
414
|
-
<tr>
|
415
|
-
<th>Body</th>
|
416
|
-
</tr>
|
417
|
-
</thead>
|
418
|
-
<tbody>
|
419
|
-
<tr>
|
420
|
-
<td>{"device_port":"3333","device_pin":"abcd","device_type":"iPhone","client_id":"1c253d3ec0284d4d8c825b52f16e2dc4"}</td>
|
421
|
-
</tr>
|
422
|
-
</tbody>
|
423
|
-
</table>
|
424
|
-
<h3>Response: 401</h3>
|
425
|
-
<table>
|
426
|
-
<thead>
|
427
|
-
<tr>
|
428
|
-
<th>Header</th>
|
429
|
-
<th>Value</th>
|
430
|
-
</tr>
|
431
|
-
</thead>
|
432
|
-
<tbody>
|
433
|
-
<tr>
|
434
|
-
<td style='text-align: left;'>Content-Type</td>
|
435
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
436
|
-
</tr>
|
437
|
-
<tr>
|
438
|
-
<td style='text-align: left;'>Content-Length</td>
|
439
|
-
<td style='text-align: left;'>17</td>
|
440
|
-
</tr>
|
441
|
-
<tr>
|
442
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
443
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZTUzM2JmYzI0NWE1ODc0YWMxOWM2YTAxNmIw%0ANzUwY2ZmYmZiM2RiY2Y4ZWRhYTZkYjQ4MjExYjdhNGRjNmRiZQ%3D%3D%0A--5a2d62bc83371ab3b96686e330b6e30d6d0a1c36; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
444
|
-
</tr>
|
445
|
-
</tbody>
|
446
|
-
</table>
|
447
|
-
<table>
|
448
|
-
<thead>
|
449
|
-
<tr>
|
450
|
-
<th>Body</th>
|
451
|
-
</tr>
|
452
|
-
</thead>
|
453
|
-
<tbody>
|
454
|
-
<tr>
|
455
|
-
<td style='text-align: left;'>Not authenticated</td>
|
456
|
-
</tr>
|
457
|
-
</tbody>
|
458
|
-
</table>
|
459
|
-
<h2 id='6'>6. clientreset - reset client database</h2>
|
460
|
-
|
461
|
-
<h3>Request: GET /application/clientreset?client_id=6ba5f6ae4b8048bb8d0668e2505cb2fc</h3>
|
462
|
-
<table>
|
463
|
-
<thead>
|
464
|
-
<tr>
|
465
|
-
<th>Header</th>
|
466
|
-
<th>Value</th>
|
467
|
-
</tr>
|
468
|
-
</thead>
|
469
|
-
<tbody>
|
470
|
-
<tr>
|
471
|
-
<td style='text-align: left;'>Content-Type</td>
|
472
|
-
<td style='text-align: left;'> </td>
|
473
|
-
</tr>
|
474
|
-
<tr>
|
475
|
-
<td style='text-align: left;'>Content-Length</td>
|
476
|
-
<td style='text-align: left;'>0</td>
|
477
|
-
</tr>
|
478
|
-
<tr>
|
479
|
-
<td style='text-align: left;'>Cookie</td>
|
480
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFOGRjMGI4ZDA0MTNiM2VkNDk2Yzk1OTIyYjJk%0AZmVlNDc3MjBmNzY0M2UyNjFjY2U0NmFhODAwYzIzMDNhNWM1Zg%3D%3D%0A--f1c5ba941358b370e489bd7ed0522f2743f4268a</td>
|
481
|
-
</tr>
|
482
|
-
</tbody>
|
483
|
-
</table>
|
484
|
-
<table>
|
485
|
-
<thead>
|
486
|
-
<tr>
|
487
|
-
<th>Body</th>
|
488
|
-
</tr>
|
489
|
-
</thead>
|
490
|
-
<tbody>
|
491
|
-
<tr>
|
492
|
-
<td></td>
|
493
|
-
</tr>
|
494
|
-
</tbody>
|
495
|
-
</table>
|
496
|
-
<h3>Response: 401</h3>
|
497
|
-
<table>
|
498
|
-
<thead>
|
499
|
-
<tr>
|
500
|
-
<th>Header</th>
|
501
|
-
<th>Value</th>
|
502
|
-
</tr>
|
503
|
-
</thead>
|
504
|
-
<tbody>
|
505
|
-
<tr>
|
506
|
-
<td style='text-align: left;'>Content-Type</td>
|
507
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
508
|
-
</tr>
|
509
|
-
<tr>
|
510
|
-
<td style='text-align: left;'>Content-Length</td>
|
511
|
-
<td style='text-align: left;'>17</td>
|
512
|
-
</tr>
|
513
|
-
<tr>
|
514
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
515
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFOGRjMGI4ZDA0MTNiM2VkNDk2Yzk1OTIyYjJk%0AZmVlNDc3MjBmNzY0M2UyNjFjY2U0NmFhODAwYzIzMDNhNWM1Zg%3D%3D%0A--f1c5ba941358b370e489bd7ed0522f2743f4268a; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
516
|
-
</tr>
|
517
|
-
</tbody>
|
518
|
-
</table>
|
519
|
-
<table>
|
520
|
-
<thead>
|
521
|
-
<tr>
|
522
|
-
<th>Body</th>
|
523
|
-
</tr>
|
524
|
-
</thead>
|
525
|
-
<tbody>
|
526
|
-
<tr>
|
527
|
-
<td style='text-align: left;'>Not authenticated</td>
|
528
|
-
</tr>
|
529
|
-
</tbody>
|
530
|
-
</table>
|
531
|
-
<h2 id='7'>7. create - create object(s)</h2>
|
532
|
-
|
533
|
-
<h3>Request: POST /application</h3>
|
534
|
-
<table>
|
535
|
-
<thead>
|
536
|
-
<tr>
|
537
|
-
<th>Header</th>
|
538
|
-
<th>Value</th>
|
539
|
-
</tr>
|
540
|
-
</thead>
|
541
|
-
<tbody>
|
542
|
-
<tr>
|
543
|
-
<td style='text-align: left;'>Content-Type</td>
|
544
|
-
<td style='text-align: left;'>application/json</td>
|
545
|
-
</tr>
|
546
|
-
<tr>
|
547
|
-
<td style='text-align: left;'>Content-Length</td>
|
548
|
-
<td style='text-align: left;'>144</td>
|
549
|
-
</tr>
|
550
|
-
<tr>
|
551
|
-
<td style='text-align: left;'>Cookie</td>
|
552
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZWE0ZDhhMWIzNTBmM2RmZDAzZTk0NGNhNTYx%0AYzVmNWExNDQ2ZWJiZjk1OTYxMTRhYTY1ZWZhNzlkNzExYzNkOA%3D%3D%0A--79118d47d54ba379357a9e8a09c58c9549ba0fd7</td>
|
553
|
-
</tr>
|
554
|
-
</tbody>
|
555
|
-
</table>
|
556
|
-
<table>
|
557
|
-
<thead>
|
558
|
-
<tr>
|
559
|
-
<th>Body</th>
|
560
|
-
</tr>
|
561
|
-
</thead>
|
562
|
-
<tbody>
|
563
|
-
<tr>
|
564
|
-
<td>{"client_id":"0bcc5287c27a4c3683f3925048a7e87e","source_name":"SampleAdapter","create":{"1":{"price":"199.99","brand":"Apple","name":"iPhone"}}}</td>
|
565
|
-
</tr>
|
566
|
-
</tbody>
|
567
|
-
</table>
|
568
|
-
<h3>Response: 401</h3>
|
569
|
-
<table>
|
570
|
-
<thead>
|
571
|
-
<tr>
|
572
|
-
<th>Header</th>
|
573
|
-
<th>Value</th>
|
574
|
-
</tr>
|
575
|
-
</thead>
|
576
|
-
<tbody>
|
577
|
-
<tr>
|
578
|
-
<td style='text-align: left;'>Content-Type</td>
|
579
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
580
|
-
</tr>
|
581
|
-
<tr>
|
582
|
-
<td style='text-align: left;'>Content-Length</td>
|
583
|
-
<td style='text-align: left;'>17</td>
|
584
|
-
</tr>
|
585
|
-
<tr>
|
586
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
587
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZWE0ZDhhMWIzNTBmM2RmZDAzZTk0NGNhNTYx%0AYzVmNWExNDQ2ZWJiZjk1OTYxMTRhYTY1ZWZhNzlkNzExYzNkOA%3D%3D%0A--79118d47d54ba379357a9e8a09c58c9549ba0fd7; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
588
|
-
</tr>
|
589
|
-
</tbody>
|
590
|
-
</table>
|
591
|
-
<table>
|
592
|
-
<thead>
|
593
|
-
<tr>
|
594
|
-
<th>Body</th>
|
595
|
-
</tr>
|
596
|
-
</thead>
|
597
|
-
<tbody>
|
598
|
-
<tr>
|
599
|
-
<td style='text-align: left;'>Not authenticated</td>
|
600
|
-
</tr>
|
601
|
-
</tbody>
|
602
|
-
</table>
|
603
|
-
<h2 id='8'>8. update - update object(s)</h2>
|
604
|
-
|
605
|
-
<h3>Request: POST /application</h3>
|
606
|
-
<table>
|
607
|
-
<thead>
|
608
|
-
<tr>
|
609
|
-
<th>Header</th>
|
610
|
-
<th>Value</th>
|
611
|
-
</tr>
|
612
|
-
</thead>
|
613
|
-
<tbody>
|
614
|
-
<tr>
|
615
|
-
<td style='text-align: left;'>Content-Type</td>
|
616
|
-
<td style='text-align: left;'>application/json</td>
|
617
|
-
</tr>
|
618
|
-
<tr>
|
619
|
-
<td style='text-align: left;'>Content-Length</td>
|
620
|
-
<td style='text-align: left;'>144</td>
|
621
|
-
</tr>
|
622
|
-
<tr>
|
623
|
-
<td style='text-align: left;'>Cookie</td>
|
624
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYmIyMjM1OWY0NzYwMmI2YjI3YjI2MDUzNjZm%0AODhiOThlYzQwNmMyYmIxMTJhYmVlODJhZmRkYzdiZjI2OTU0MA%3D%3D%0A--9af74756f32c6abef495c70f9dd929e3a8d53a39</td>
|
625
|
-
</tr>
|
626
|
-
</tbody>
|
627
|
-
</table>
|
628
|
-
<table>
|
629
|
-
<thead>
|
630
|
-
<tr>
|
631
|
-
<th>Body</th>
|
632
|
-
</tr>
|
633
|
-
</thead>
|
634
|
-
<tbody>
|
635
|
-
<tr>
|
636
|
-
<td>{"client_id":"868a63369e5b4a7797373fa6fe8bccb2","source_name":"SampleAdapter","update":{"1":{"price":"199.99","brand":"Apple","name":"iPhone"}}}</td>
|
637
|
-
</tr>
|
638
|
-
</tbody>
|
639
|
-
</table>
|
640
|
-
<h3>Response: 401</h3>
|
641
|
-
<table>
|
642
|
-
<thead>
|
643
|
-
<tr>
|
644
|
-
<th>Header</th>
|
645
|
-
<th>Value</th>
|
646
|
-
</tr>
|
647
|
-
</thead>
|
648
|
-
<tbody>
|
649
|
-
<tr>
|
650
|
-
<td style='text-align: left;'>Content-Type</td>
|
651
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
652
|
-
</tr>
|
653
|
-
<tr>
|
654
|
-
<td style='text-align: left;'>Content-Length</td>
|
655
|
-
<td style='text-align: left;'>17</td>
|
656
|
-
</tr>
|
657
|
-
<tr>
|
658
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
659
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYmIyMjM1OWY0NzYwMmI2YjI3YjI2MDUzNjZm%0AODhiOThlYzQwNmMyYmIxMTJhYmVlODJhZmRkYzdiZjI2OTU0MA%3D%3D%0A--9af74756f32c6abef495c70f9dd929e3a8d53a39; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
660
|
-
</tr>
|
661
|
-
</tbody>
|
662
|
-
</table>
|
663
|
-
<table>
|
664
|
-
<thead>
|
665
|
-
<tr>
|
666
|
-
<th>Body</th>
|
667
|
-
</tr>
|
668
|
-
</thead>
|
669
|
-
<tbody>
|
670
|
-
<tr>
|
671
|
-
<td style='text-align: left;'>Not authenticated</td>
|
672
|
-
</tr>
|
673
|
-
</tbody>
|
674
|
-
</table>
|
675
|
-
<h2 id='9'>9. delete - delete object(s)</h2>
|
676
|
-
|
677
|
-
<h3>Request: POST /application</h3>
|
678
|
-
<table>
|
679
|
-
<thead>
|
680
|
-
<tr>
|
681
|
-
<th>Header</th>
|
682
|
-
<th>Value</th>
|
683
|
-
</tr>
|
684
|
-
</thead>
|
685
|
-
<tbody>
|
686
|
-
<tr>
|
687
|
-
<td style='text-align: left;'>Content-Type</td>
|
688
|
-
<td style='text-align: left;'>application/json</td>
|
689
|
-
</tr>
|
690
|
-
<tr>
|
691
|
-
<td style='text-align: left;'>Content-Length</td>
|
692
|
-
<td style='text-align: left;'>144</td>
|
693
|
-
</tr>
|
694
|
-
<tr>
|
695
|
-
<td style='text-align: left;'>Cookie</td>
|
696
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFMWVhOTk2ZjE2ZGU3YjBkYWIzNjhlZmI5M2Q3%0ANmFhZThkNzAzNmRjMmVmMmY2NmM2ODhjNDQ1Y2I1ZDNhZDY1OA%3D%3D%0A--21e966b14828c42f76527e10c6b51e2db4aa72cf</td>
|
697
|
-
</tr>
|
698
|
-
</tbody>
|
699
|
-
</table>
|
700
|
-
<table>
|
701
|
-
<thead>
|
702
|
-
<tr>
|
703
|
-
<th>Body</th>
|
704
|
-
</tr>
|
705
|
-
</thead>
|
706
|
-
<tbody>
|
707
|
-
<tr>
|
708
|
-
<td>{"delete":{"1":{"price":"199.99","brand":"Apple","name":"iPhone"}},"client_id":"ac0b960fd357487f96c9ecc15703d629","source_name":"SampleAdapter"}</td>
|
709
|
-
</tr>
|
710
|
-
</tbody>
|
711
|
-
</table>
|
712
|
-
<h3>Response: 401</h3>
|
713
|
-
<table>
|
714
|
-
<thead>
|
715
|
-
<tr>
|
716
|
-
<th>Header</th>
|
717
|
-
<th>Value</th>
|
718
|
-
</tr>
|
719
|
-
</thead>
|
720
|
-
<tbody>
|
721
|
-
<tr>
|
722
|
-
<td style='text-align: left;'>Content-Type</td>
|
723
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
724
|
-
</tr>
|
725
|
-
<tr>
|
726
|
-
<td style='text-align: left;'>Content-Length</td>
|
727
|
-
<td style='text-align: left;'>17</td>
|
728
|
-
</tr>
|
729
|
-
<tr>
|
730
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
731
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFMWVhOTk2ZjE2ZGU3YjBkYWIzNjhlZmI5M2Q3%0ANmFhZThkNzAzNmRjMmVmMmY2NmM2ODhjNDQ1Y2I1ZDNhZDY1OA%3D%3D%0A--21e966b14828c42f76527e10c6b51e2db4aa72cf; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
732
|
-
</tr>
|
733
|
-
</tbody>
|
734
|
-
</table>
|
735
|
-
<table>
|
736
|
-
<thead>
|
737
|
-
<tr>
|
738
|
-
<th>Body</th>
|
739
|
-
</tr>
|
740
|
-
</thead>
|
741
|
-
<tbody>
|
742
|
-
<tr>
|
743
|
-
<td style='text-align: left;'>Not authenticated</td>
|
744
|
-
</tr>
|
745
|
-
</tbody>
|
746
|
-
</table>
|
747
|
-
<h2 id='10'>10. create - client creates blobs</h2>
|
748
|
-
|
749
|
-
<h3>Request: POST /api/application/queue_updates</h3>
|
750
|
-
<table>
|
751
|
-
<thead>
|
752
|
-
<tr>
|
753
|
-
<th>Header</th>
|
754
|
-
<th>Value</th>
|
755
|
-
</tr>
|
756
|
-
</thead>
|
757
|
-
<tbody>
|
758
|
-
<tr>
|
759
|
-
<td style='text-align: left;'>Content-Type</td>
|
760
|
-
<td style='text-align: left;'>multipart/form-data; boundary=----------XnJLe9ZIbbGUYtzPQJ16u1</td>
|
761
|
-
</tr>
|
762
|
-
<tr>
|
763
|
-
<td style='text-align: left;'>Content-Length</td>
|
764
|
-
<td style='text-align: left;'>833</td>
|
765
|
-
</tr>
|
766
|
-
<tr>
|
767
|
-
<td style='text-align: left;'>Cookie</td>
|
768
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7CDoNYXBwX25hbWUiEGFwcGxpY2F0aW9uOglhdXRoIg5kZWxlZ2F0ZWQ6
|
769
|
-
CmxvZ2luIg10ZXN0dXNlcg==
|
770
|
-
--87659670a0625baf4cdd81bdb9bf829b4567eb35</td>
|
771
|
-
</tr>
|
772
|
-
</tbody>
|
773
|
-
</table>
|
774
|
-
<table>
|
775
|
-
<thead>
|
776
|
-
<tr>
|
777
|
-
<th>Body</th>
|
778
|
-
</tr>
|
779
|
-
</thead>
|
780
|
-
<tbody>
|
781
|
-
<tr>
|
782
|
-
<td><pre>------------XnJLe9ZIbbGUYtzPQJ16u1
|
783
|
-
Content-Disposition: form-data; name="txtfile-rhoblob-1"; filename="upload1.txt"
|
784
|
-
Content-Type: application/octet-stream
|
785
|
-
Content-Length: 5
|
786
|
-
|
787
|
-
hello
|
788
|
-
------------XnJLe9ZIbbGUYtzPQJ16u1
|
789
|
-
Content-Disposition: form-data; name="txtfile-rhoblob-2"; filename="upload2.txt"
|
790
|
-
Content-Type: application/octet-stream
|
791
|
-
Content-Length: 5
|
792
|
-
|
793
|
-
world
|
794
|
-
------------XnJLe9ZIbbGUYtzPQJ16u1
|
795
|
-
Content-Disposition: form-data; name="cud"
|
796
|
-
|
797
|
-
{"client_id":"278c76a7ab2a4f64ba804c1aa22504f3","source_name":"SampleAdapter","version":3,"create":{"1":{"price":"199.99","brand":"Apple","name":"iPhone","txtfile-rhoblob":"upload1.txt","_id":"tempobj1"},"2":{"price":"99.99","brand":"Android","name":"G2","txtfile-rhoblob":"upload2.txt","_id":"tempobj2"}},"blob_fields":["txtfile-rhoblob"]}
|
798
|
-
------------XnJLe9ZIbbGUYtzPQJ16u1--</pre>
|
799
|
-
</td>
|
800
|
-
</tr>
|
801
|
-
</tbody>
|
802
|
-
</table>
|
803
|
-
<h3>Response: 200</h3>
|
804
|
-
<table>
|
805
|
-
<thead>
|
806
|
-
<tr>
|
807
|
-
<th>Header</th>
|
808
|
-
<th>Value</th>
|
809
|
-
</tr>
|
810
|
-
</thead>
|
811
|
-
<tbody>
|
812
|
-
<tr>
|
813
|
-
<td style='text-align: left;'>Content-Type</td>
|
814
|
-
<td style='text-align: left;'>text/html</td>
|
815
|
-
</tr>
|
816
|
-
<tr>
|
817
|
-
<td style='text-align: left;'>Content-Length</td>
|
818
|
-
<td style='text-align: left;'>0</td>
|
819
|
-
</tr>
|
820
|
-
<tr>
|
821
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
822
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7CDoKbG9naW4iDXRlc3R1c2VyOg1hcHBfbmFtZSIPcmhvdGVzdGFwcDoJ%0AYXV0aCIOZGVsZWdhdGVk%0A--788449811455529433e658e1c486c622f47ee0d8; path=/; expires=Mon, 04-Apr-2011 19:29:32</td>
|
823
|
-
</tr>
|
824
|
-
</tbody>
|
825
|
-
</table>
|
826
|
-
<table>
|
827
|
-
<thead>
|
828
|
-
<tr>
|
829
|
-
<th>Body</th>
|
830
|
-
</tr>
|
831
|
-
</thead>
|
832
|
-
<tbody>
|
833
|
-
<tr>
|
834
|
-
<td style='text-align: left;'></td>
|
835
|
-
</tr>
|
836
|
-
</tbody>
|
837
|
-
</table>
|
838
|
-
<h2 id='11'>11. create-update-delete - create,update,delete object(s)</h2>
|
839
|
-
|
840
|
-
<h3>Request: POST /application</h3>
|
841
|
-
<table>
|
842
|
-
<thead>
|
843
|
-
<tr>
|
844
|
-
<th>Header</th>
|
845
|
-
<th>Value</th>
|
846
|
-
</tr>
|
847
|
-
</thead>
|
848
|
-
<tbody>
|
849
|
-
<tr>
|
850
|
-
<td style='text-align: left;'>Content-Type</td>
|
851
|
-
<td style='text-align: left;'>application/json</td>
|
852
|
-
</tr>
|
853
|
-
<tr>
|
854
|
-
<td style='text-align: left;'>Content-Length</td>
|
855
|
-
<td style='text-align: left;'>269</td>
|
856
|
-
</tr>
|
857
|
-
<tr>
|
858
|
-
<td style='text-align: left;'>Cookie</td>
|
859
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYTZhMzI3MGNkZGQxYWFiZTBiYTBmNDQ4ZmY2%0ANzRkNTZkNTU1MzM4NjBkNmU0NDE1NGM1Y2JhYmQxYWYyOGZiMw%3D%3D%0A--3c4e592f10552870791aedaff34accae08e747e1</td>
|
860
|
-
</tr>
|
861
|
-
</tbody>
|
862
|
-
</table>
|
863
|
-
<table>
|
864
|
-
<thead>
|
865
|
-
<tr>
|
866
|
-
<th>Body</th>
|
867
|
-
</tr>
|
868
|
-
</thead>
|
869
|
-
<tbody>
|
870
|
-
<tr>
|
871
|
-
<td>{"delete":{"3":{"price":"299.99","brand":"HTC","name":"Fuze"}},"client_id":"941844907c644c8ca75180093ad2883e","source_name":"SampleAdapter","create":{"1":{"price":"199.99","brand":"Apple","name":"iPhone"}},"update":{"2":{"price":"99.99","brand":"Android","name":"G2"}}}</td>
|
872
|
-
</tr>
|
873
|
-
</tbody>
|
874
|
-
</table>
|
875
|
-
<h3>Response: 401</h3>
|
876
|
-
<table>
|
877
|
-
<thead>
|
878
|
-
<tr>
|
879
|
-
<th>Header</th>
|
880
|
-
<th>Value</th>
|
881
|
-
</tr>
|
882
|
-
</thead>
|
883
|
-
<tbody>
|
884
|
-
<tr>
|
885
|
-
<td style='text-align: left;'>Content-Type</td>
|
886
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
887
|
-
</tr>
|
888
|
-
<tr>
|
889
|
-
<td style='text-align: left;'>Content-Length</td>
|
890
|
-
<td style='text-align: left;'>17</td>
|
891
|
-
</tr>
|
892
|
-
<tr>
|
893
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
894
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYTZhMzI3MGNkZGQxYWFiZTBiYTBmNDQ4ZmY2%0ANzRkNTZkNTU1MzM4NjBkNmU0NDE1NGM1Y2JhYmQxYWYyOGZiMw%3D%3D%0A--3c4e592f10552870791aedaff34accae08e747e1; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
895
|
-
</tr>
|
896
|
-
</tbody>
|
897
|
-
</table>
|
898
|
-
<table>
|
899
|
-
<thead>
|
900
|
-
<tr>
|
901
|
-
<th>Body</th>
|
902
|
-
</tr>
|
903
|
-
</thead>
|
904
|
-
<tbody>
|
905
|
-
<tr>
|
906
|
-
<td style='text-align: left;'>Not authenticated</td>
|
907
|
-
</tr>
|
908
|
-
</tbody>
|
909
|
-
</table>
|
910
|
-
<h2 id='12'>12. create-with-link - send link for created object</h2>
|
911
|
-
|
912
|
-
<h3>Request: GET /application?client_id=6cfc1adaf0ef45bea42bbb2384438831&version=3&source_name=SampleAdapter</h3>
|
913
|
-
<table>
|
914
|
-
<thead>
|
915
|
-
<tr>
|
916
|
-
<th>Header</th>
|
917
|
-
<th>Value</th>
|
918
|
-
</tr>
|
919
|
-
</thead>
|
920
|
-
<tbody>
|
921
|
-
<tr>
|
922
|
-
<td style='text-align: left;'>Content-Type</td>
|
923
|
-
<td style='text-align: left;'> </td>
|
924
|
-
</tr>
|
925
|
-
<tr>
|
926
|
-
<td style='text-align: left;'>Content-Length</td>
|
927
|
-
<td style='text-align: left;'>0</td>
|
928
|
-
</tr>
|
929
|
-
<tr>
|
930
|
-
<td style='text-align: left;'>Cookie</td>
|
931
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFMzNiOGUzMGU1ZGY4ZTRkODJhMWI0YTI3MGZi%0AMDYwNTJlYTI5NmRhMDA2NzBmNDNiZjNlNjFlNzNkZGNiNWI0MQ%3D%3D%0A--28349f254d3aa9165b3a30ce6db2da95cb986288</td>
|
932
|
-
</tr>
|
933
|
-
</tbody>
|
934
|
-
</table>
|
935
|
-
<table>
|
936
|
-
<thead>
|
937
|
-
<tr>
|
938
|
-
<th>Body</th>
|
939
|
-
</tr>
|
940
|
-
</thead>
|
941
|
-
<tbody>
|
942
|
-
<tr>
|
943
|
-
<td></td>
|
944
|
-
</tr>
|
945
|
-
</tbody>
|
946
|
-
</table>
|
947
|
-
<h3>Response: 401</h3>
|
948
|
-
<table>
|
949
|
-
<thead>
|
950
|
-
<tr>
|
951
|
-
<th>Header</th>
|
952
|
-
<th>Value</th>
|
953
|
-
</tr>
|
954
|
-
</thead>
|
955
|
-
<tbody>
|
956
|
-
<tr>
|
957
|
-
<td style='text-align: left;'>Content-Type</td>
|
958
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
959
|
-
</tr>
|
960
|
-
<tr>
|
961
|
-
<td style='text-align: left;'>Content-Length</td>
|
962
|
-
<td style='text-align: left;'>17</td>
|
963
|
-
</tr>
|
964
|
-
<tr>
|
965
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
966
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFMzNiOGUzMGU1ZGY4ZTRkODJhMWI0YTI3MGZi%0AMDYwNTJlYTI5NmRhMDA2NzBmNDNiZjNlNjFlNzNkZGNiNWI0MQ%3D%3D%0A--28349f254d3aa9165b3a30ce6db2da95cb986288; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
967
|
-
</tr>
|
968
|
-
</tbody>
|
969
|
-
</table>
|
970
|
-
<table>
|
971
|
-
<thead>
|
972
|
-
<tr>
|
973
|
-
<th>Body</th>
|
974
|
-
</tr>
|
975
|
-
</thead>
|
976
|
-
<tbody>
|
977
|
-
<tr>
|
978
|
-
<td style='text-align: left;'>Not authenticated</td>
|
979
|
-
</tr>
|
980
|
-
</tbody>
|
981
|
-
</table>
|
982
|
-
<h2 id='13'>13. query-error - send query error</h2>
|
983
|
-
|
984
|
-
<h3>Request: GET /application?client_id=9310e7d63d5d4c75becf51341251e9ac&version=3&source_name=SampleAdapter</h3>
|
985
|
-
<table>
|
986
|
-
<thead>
|
987
|
-
<tr>
|
988
|
-
<th>Header</th>
|
989
|
-
<th>Value</th>
|
990
|
-
</tr>
|
991
|
-
</thead>
|
992
|
-
<tbody>
|
993
|
-
<tr>
|
994
|
-
<td style='text-align: left;'>Content-Type</td>
|
995
|
-
<td style='text-align: left;'> </td>
|
996
|
-
</tr>
|
997
|
-
<tr>
|
998
|
-
<td style='text-align: left;'>Content-Length</td>
|
999
|
-
<td style='text-align: left;'>0</td>
|
1000
|
-
</tr>
|
1001
|
-
<tr>
|
1002
|
-
<td style='text-align: left;'>Cookie</td>
|
1003
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFMGJjZmIyODc3M2NlZDUxNTc1NDMwYWZlMzk5%0AYTczZGY4ZTUyZmI4OWI0Y2Y3ODUxZDVhYmJiM2YxYTdiOWQyYg%3D%3D%0A--f99d094c2373f93e160544ea1ed20fcbb47bd2c1</td>
|
1004
|
-
</tr>
|
1005
|
-
</tbody>
|
1006
|
-
</table>
|
1007
|
-
<table>
|
1008
|
-
<thead>
|
1009
|
-
<tr>
|
1010
|
-
<th>Body</th>
|
1011
|
-
</tr>
|
1012
|
-
</thead>
|
1013
|
-
<tbody>
|
1014
|
-
<tr>
|
1015
|
-
<td></td>
|
1016
|
-
</tr>
|
1017
|
-
</tbody>
|
1018
|
-
</table>
|
1019
|
-
<h3>Response: 401</h3>
|
1020
|
-
<table>
|
1021
|
-
<thead>
|
1022
|
-
<tr>
|
1023
|
-
<th>Header</th>
|
1024
|
-
<th>Value</th>
|
1025
|
-
</tr>
|
1026
|
-
</thead>
|
1027
|
-
<tbody>
|
1028
|
-
<tr>
|
1029
|
-
<td style='text-align: left;'>Content-Type</td>
|
1030
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1031
|
-
</tr>
|
1032
|
-
<tr>
|
1033
|
-
<td style='text-align: left;'>Content-Length</td>
|
1034
|
-
<td style='text-align: left;'>17</td>
|
1035
|
-
</tr>
|
1036
|
-
<tr>
|
1037
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1038
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFMGJjZmIyODc3M2NlZDUxNTc1NDMwYWZlMzk5%0AYTczZGY4ZTUyZmI4OWI0Y2Y3ODUxZDVhYmJiM2YxYTdiOWQyYg%3D%3D%0A--f99d094c2373f93e160544ea1ed20fcbb47bd2c1; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
1039
|
-
</tr>
|
1040
|
-
</tbody>
|
1041
|
-
</table>
|
1042
|
-
<table>
|
1043
|
-
<thead>
|
1044
|
-
<tr>
|
1045
|
-
<th>Body</th>
|
1046
|
-
</tr>
|
1047
|
-
</thead>
|
1048
|
-
<tbody>
|
1049
|
-
<tr>
|
1050
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1051
|
-
</tr>
|
1052
|
-
</tbody>
|
1053
|
-
</table>
|
1054
|
-
<h2 id='14'>14. login-error - send login error</h2>
|
1055
|
-
|
1056
|
-
<h3>Request: GET /application?client_id=230aa747c8f545c5a8328c55eab08715&version=3&source_name=SampleAdapter</h3>
|
1057
|
-
<table>
|
1058
|
-
<thead>
|
1059
|
-
<tr>
|
1060
|
-
<th>Header</th>
|
1061
|
-
<th>Value</th>
|
1062
|
-
</tr>
|
1063
|
-
</thead>
|
1064
|
-
<tbody>
|
1065
|
-
<tr>
|
1066
|
-
<td style='text-align: left;'>Content-Type</td>
|
1067
|
-
<td style='text-align: left;'> </td>
|
1068
|
-
</tr>
|
1069
|
-
<tr>
|
1070
|
-
<td style='text-align: left;'>Content-Length</td>
|
1071
|
-
<td style='text-align: left;'>0</td>
|
1072
|
-
</tr>
|
1073
|
-
<tr>
|
1074
|
-
<td style='text-align: left;'>Cookie</td>
|
1075
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFNmUxZDhmNTJhNmFmMTkzZGU2ZTk0YTkxOWFk%0ANGY5NjM1ZDg1OGQyYjIwZTc5ZDhlNDk3NThjYTVhYWRkZDVjZg%3D%3D%0A--7c6cfa2140c37d37e230f8bb1287aa2655ab1a99</td>
|
1076
|
-
</tr>
|
1077
|
-
</tbody>
|
1078
|
-
</table>
|
1079
|
-
<table>
|
1080
|
-
<thead>
|
1081
|
-
<tr>
|
1082
|
-
<th>Body</th>
|
1083
|
-
</tr>
|
1084
|
-
</thead>
|
1085
|
-
<tbody>
|
1086
|
-
<tr>
|
1087
|
-
<td></td>
|
1088
|
-
</tr>
|
1089
|
-
</tbody>
|
1090
|
-
</table>
|
1091
|
-
<h3>Response: 401</h3>
|
1092
|
-
<table>
|
1093
|
-
<thead>
|
1094
|
-
<tr>
|
1095
|
-
<th>Header</th>
|
1096
|
-
<th>Value</th>
|
1097
|
-
</tr>
|
1098
|
-
</thead>
|
1099
|
-
<tbody>
|
1100
|
-
<tr>
|
1101
|
-
<td style='text-align: left;'>Content-Type</td>
|
1102
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1103
|
-
</tr>
|
1104
|
-
<tr>
|
1105
|
-
<td style='text-align: left;'>Content-Length</td>
|
1106
|
-
<td style='text-align: left;'>17</td>
|
1107
|
-
</tr>
|
1108
|
-
<tr>
|
1109
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1110
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFNmUxZDhmNTJhNmFmMTkzZGU2ZTk0YTkxOWFk%0ANGY5NjM1ZDg1OGQyYjIwZTc5ZDhlNDk3NThjYTVhYWRkZDVjZg%3D%3D%0A--7c6cfa2140c37d37e230f8bb1287aa2655ab1a99; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
1111
|
-
</tr>
|
1112
|
-
</tbody>
|
1113
|
-
</table>
|
1114
|
-
<table>
|
1115
|
-
<thead>
|
1116
|
-
<tr>
|
1117
|
-
<th>Body</th>
|
1118
|
-
</tr>
|
1119
|
-
</thead>
|
1120
|
-
<tbody>
|
1121
|
-
<tr>
|
1122
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1123
|
-
</tr>
|
1124
|
-
</tbody>
|
1125
|
-
</table>
|
1126
|
-
<h2 id='15'>15. logoff-error - send logoff error</h2>
|
1127
|
-
|
1128
|
-
<h3>Request: GET /application?client_id=a7bcd6b0cf354069857875f0507da09b&version=3&source_name=SampleAdapter</h3>
|
1129
|
-
<table>
|
1130
|
-
<thead>
|
1131
|
-
<tr>
|
1132
|
-
<th>Header</th>
|
1133
|
-
<th>Value</th>
|
1134
|
-
</tr>
|
1135
|
-
</thead>
|
1136
|
-
<tbody>
|
1137
|
-
<tr>
|
1138
|
-
<td style='text-align: left;'>Content-Type</td>
|
1139
|
-
<td style='text-align: left;'> </td>
|
1140
|
-
</tr>
|
1141
|
-
<tr>
|
1142
|
-
<td style='text-align: left;'>Content-Length</td>
|
1143
|
-
<td style='text-align: left;'>0</td>
|
1144
|
-
</tr>
|
1145
|
-
<tr>
|
1146
|
-
<td style='text-align: left;'>Cookie</td>
|
1147
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFODVjMjU3OTk5ZjQ3YzM0NzZjZTQxMzJjMzgy%0AYTNlYmMxNzBiNjIyMzE4Y2Q4OWRjZjBjMWUyNWY3MGE4N2YyZQ%3D%3D%0A--fca2f465f2da14dd9396be559ce9df6e0cbbea58</td>
|
1148
|
-
</tr>
|
1149
|
-
</tbody>
|
1150
|
-
</table>
|
1151
|
-
<table>
|
1152
|
-
<thead>
|
1153
|
-
<tr>
|
1154
|
-
<th>Body</th>
|
1155
|
-
</tr>
|
1156
|
-
</thead>
|
1157
|
-
<tbody>
|
1158
|
-
<tr>
|
1159
|
-
<td></td>
|
1160
|
-
</tr>
|
1161
|
-
</tbody>
|
1162
|
-
</table>
|
1163
|
-
<h3>Response: 401</h3>
|
1164
|
-
<table>
|
1165
|
-
<thead>
|
1166
|
-
<tr>
|
1167
|
-
<th>Header</th>
|
1168
|
-
<th>Value</th>
|
1169
|
-
</tr>
|
1170
|
-
</thead>
|
1171
|
-
<tbody>
|
1172
|
-
<tr>
|
1173
|
-
<td style='text-align: left;'>Content-Type</td>
|
1174
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1175
|
-
</tr>
|
1176
|
-
<tr>
|
1177
|
-
<td style='text-align: left;'>Content-Length</td>
|
1178
|
-
<td style='text-align: left;'>17</td>
|
1179
|
-
</tr>
|
1180
|
-
<tr>
|
1181
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1182
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFODVjMjU3OTk5ZjQ3YzM0NzZjZTQxMzJjMzgy%0AYTNlYmMxNzBiNjIyMzE4Y2Q4OWRjZjBjMWUyNWY3MGE4N2YyZQ%3D%3D%0A--fca2f465f2da14dd9396be559ce9df6e0cbbea58; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
1183
|
-
</tr>
|
1184
|
-
</tbody>
|
1185
|
-
</table>
|
1186
|
-
<table>
|
1187
|
-
<thead>
|
1188
|
-
<tr>
|
1189
|
-
<th>Body</th>
|
1190
|
-
</tr>
|
1191
|
-
</thead>
|
1192
|
-
<tbody>
|
1193
|
-
<tr>
|
1194
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1195
|
-
</tr>
|
1196
|
-
</tbody>
|
1197
|
-
</table>
|
1198
|
-
<h2 id='16'>16. create-error - send create error</h2>
|
1199
|
-
|
1200
|
-
<h3>Request: GET /application?client_id=69cd1887eca44678a150d2277a8c973c&version=3&source_name=SampleAdapter</h3>
|
1201
|
-
<table>
|
1202
|
-
<thead>
|
1203
|
-
<tr>
|
1204
|
-
<th>Header</th>
|
1205
|
-
<th>Value</th>
|
1206
|
-
</tr>
|
1207
|
-
</thead>
|
1208
|
-
<tbody>
|
1209
|
-
<tr>
|
1210
|
-
<td style='text-align: left;'>Content-Type</td>
|
1211
|
-
<td style='text-align: left;'> </td>
|
1212
|
-
</tr>
|
1213
|
-
<tr>
|
1214
|
-
<td style='text-align: left;'>Content-Length</td>
|
1215
|
-
<td style='text-align: left;'>0</td>
|
1216
|
-
</tr>
|
1217
|
-
<tr>
|
1218
|
-
<td style='text-align: left;'>Cookie</td>
|
1219
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFMTFiZGQwMzNjNmQ2MTRiZjM5ZjEyMDk2Yjgz%0ANWViMDE5MThmM2U4MGQ1ZWZkZjJhODg4N2Y5ZGQwZmFkYTkwZQ%3D%3D%0A--49f7d3a5a9d1204a46dbadbc89fdbd7bd54330d9</td>
|
1220
|
-
</tr>
|
1221
|
-
</tbody>
|
1222
|
-
</table>
|
1223
|
-
<table>
|
1224
|
-
<thead>
|
1225
|
-
<tr>
|
1226
|
-
<th>Body</th>
|
1227
|
-
</tr>
|
1228
|
-
</thead>
|
1229
|
-
<tbody>
|
1230
|
-
<tr>
|
1231
|
-
<td></td>
|
1232
|
-
</tr>
|
1233
|
-
</tbody>
|
1234
|
-
</table>
|
1235
|
-
<h3>Response: 401</h3>
|
1236
|
-
<table>
|
1237
|
-
<thead>
|
1238
|
-
<tr>
|
1239
|
-
<th>Header</th>
|
1240
|
-
<th>Value</th>
|
1241
|
-
</tr>
|
1242
|
-
</thead>
|
1243
|
-
<tbody>
|
1244
|
-
<tr>
|
1245
|
-
<td style='text-align: left;'>Content-Type</td>
|
1246
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1247
|
-
</tr>
|
1248
|
-
<tr>
|
1249
|
-
<td style='text-align: left;'>Content-Length</td>
|
1250
|
-
<td style='text-align: left;'>17</td>
|
1251
|
-
</tr>
|
1252
|
-
<tr>
|
1253
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1254
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFMTFiZGQwMzNjNmQ2MTRiZjM5ZjEyMDk2Yjgz%0ANWViMDE5MThmM2U4MGQ1ZWZkZjJhODg4N2Y5ZGQwZmFkYTkwZQ%3D%3D%0A--49f7d3a5a9d1204a46dbadbc89fdbd7bd54330d9; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
1255
|
-
</tr>
|
1256
|
-
</tbody>
|
1257
|
-
</table>
|
1258
|
-
<table>
|
1259
|
-
<thead>
|
1260
|
-
<tr>
|
1261
|
-
<th>Body</th>
|
1262
|
-
</tr>
|
1263
|
-
</thead>
|
1264
|
-
<tbody>
|
1265
|
-
<tr>
|
1266
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1267
|
-
</tr>
|
1268
|
-
</tbody>
|
1269
|
-
</table>
|
1270
|
-
<h2 id='17'>17. update-error - send update error</h2>
|
1271
|
-
|
1272
|
-
<h3>Request: GET /application?client_id=7bb4c54c3e6d42c28ef42f430a6b76d7&version=3&source_name=SampleAdapter</h3>
|
1273
|
-
<table>
|
1274
|
-
<thead>
|
1275
|
-
<tr>
|
1276
|
-
<th>Header</th>
|
1277
|
-
<th>Value</th>
|
1278
|
-
</tr>
|
1279
|
-
</thead>
|
1280
|
-
<tbody>
|
1281
|
-
<tr>
|
1282
|
-
<td style='text-align: left;'>Content-Type</td>
|
1283
|
-
<td style='text-align: left;'> </td>
|
1284
|
-
</tr>
|
1285
|
-
<tr>
|
1286
|
-
<td style='text-align: left;'>Content-Length</td>
|
1287
|
-
<td style='text-align: left;'>0</td>
|
1288
|
-
</tr>
|
1289
|
-
<tr>
|
1290
|
-
<td style='text-align: left;'>Cookie</td>
|
1291
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFMzg5YWFhNTUxYjM4ZGY0NTg3MmViNjdlZTRk%0AOTk2YWJhMDg4YzhjMjM2ZWE2YjJlZDE0YmIyZWQzYjNlYWYwZA%3D%3D%0A--87e453eba1c9abc44341af5b9e042defb0f4cd3f</td>
|
1292
|
-
</tr>
|
1293
|
-
</tbody>
|
1294
|
-
</table>
|
1295
|
-
<table>
|
1296
|
-
<thead>
|
1297
|
-
<tr>
|
1298
|
-
<th>Body</th>
|
1299
|
-
</tr>
|
1300
|
-
</thead>
|
1301
|
-
<tbody>
|
1302
|
-
<tr>
|
1303
|
-
<td></td>
|
1304
|
-
</tr>
|
1305
|
-
</tbody>
|
1306
|
-
</table>
|
1307
|
-
<h3>Response: 401</h3>
|
1308
|
-
<table>
|
1309
|
-
<thead>
|
1310
|
-
<tr>
|
1311
|
-
<th>Header</th>
|
1312
|
-
<th>Value</th>
|
1313
|
-
</tr>
|
1314
|
-
</thead>
|
1315
|
-
<tbody>
|
1316
|
-
<tr>
|
1317
|
-
<td style='text-align: left;'>Content-Type</td>
|
1318
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1319
|
-
</tr>
|
1320
|
-
<tr>
|
1321
|
-
<td style='text-align: left;'>Content-Length</td>
|
1322
|
-
<td style='text-align: left;'>17</td>
|
1323
|
-
</tr>
|
1324
|
-
<tr>
|
1325
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1326
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFMzg5YWFhNTUxYjM4ZGY0NTg3MmViNjdlZTRk%0AOTk2YWJhMDg4YzhjMjM2ZWE2YjJlZDE0YmIyZWQzYjNlYWYwZA%3D%3D%0A--87e453eba1c9abc44341af5b9e042defb0f4cd3f; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
1327
|
-
</tr>
|
1328
|
-
</tbody>
|
1329
|
-
</table>
|
1330
|
-
<table>
|
1331
|
-
<thead>
|
1332
|
-
<tr>
|
1333
|
-
<th>Body</th>
|
1334
|
-
</tr>
|
1335
|
-
</thead>
|
1336
|
-
<tbody>
|
1337
|
-
<tr>
|
1338
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1339
|
-
</tr>
|
1340
|
-
</tbody>
|
1341
|
-
</table>
|
1342
|
-
<h2 id='18'>18. delete-error - send delete error</h2>
|
1343
|
-
|
1344
|
-
<h3>Request: GET /application?client_id=68ce26f3dc5d4ef2ad48cd0d54e11855&version=3&source_name=SampleAdapter</h3>
|
1345
|
-
<table>
|
1346
|
-
<thead>
|
1347
|
-
<tr>
|
1348
|
-
<th>Header</th>
|
1349
|
-
<th>Value</th>
|
1350
|
-
</tr>
|
1351
|
-
</thead>
|
1352
|
-
<tbody>
|
1353
|
-
<tr>
|
1354
|
-
<td style='text-align: left;'>Content-Type</td>
|
1355
|
-
<td style='text-align: left;'> </td>
|
1356
|
-
</tr>
|
1357
|
-
<tr>
|
1358
|
-
<td style='text-align: left;'>Content-Length</td>
|
1359
|
-
<td style='text-align: left;'>0</td>
|
1360
|
-
</tr>
|
1361
|
-
<tr>
|
1362
|
-
<td style='text-align: left;'>Cookie</td>
|
1363
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFN2JiMmFkNDM4ODY5NWIwOTNjZTIzNGQ1MTAw%0AOTA0N2M4YjgwODhmMTlkMzdkMWUwNDg1YzFkY2ViY2VjZDk1MQ%3D%3D%0A--57ada6b31f2f3e1f0a429fd1f775ff37b9450043</td>
|
1364
|
-
</tr>
|
1365
|
-
</tbody>
|
1366
|
-
</table>
|
1367
|
-
<table>
|
1368
|
-
<thead>
|
1369
|
-
<tr>
|
1370
|
-
<th>Body</th>
|
1371
|
-
</tr>
|
1372
|
-
</thead>
|
1373
|
-
<tbody>
|
1374
|
-
<tr>
|
1375
|
-
<td></td>
|
1376
|
-
</tr>
|
1377
|
-
</tbody>
|
1378
|
-
</table>
|
1379
|
-
<h3>Response: 401</h3>
|
1380
|
-
<table>
|
1381
|
-
<thead>
|
1382
|
-
<tr>
|
1383
|
-
<th>Header</th>
|
1384
|
-
<th>Value</th>
|
1385
|
-
</tr>
|
1386
|
-
</thead>
|
1387
|
-
<tbody>
|
1388
|
-
<tr>
|
1389
|
-
<td style='text-align: left;'>Content-Type</td>
|
1390
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1391
|
-
</tr>
|
1392
|
-
<tr>
|
1393
|
-
<td style='text-align: left;'>Content-Length</td>
|
1394
|
-
<td style='text-align: left;'>17</td>
|
1395
|
-
</tr>
|
1396
|
-
<tr>
|
1397
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1398
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFN2JiMmFkNDM4ODY5NWIwOTNjZTIzNGQ1MTAw%0AOTA0N2M4YjgwODhmMTlkMzdkMWUwNDg1YzFkY2ViY2VjZDk1MQ%3D%3D%0A--57ada6b31f2f3e1f0a429fd1f775ff37b9450043; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
1399
|
-
</tr>
|
1400
|
-
</tbody>
|
1401
|
-
</table>
|
1402
|
-
<table>
|
1403
|
-
<thead>
|
1404
|
-
<tr>
|
1405
|
-
<th>Body</th>
|
1406
|
-
</tr>
|
1407
|
-
</thead>
|
1408
|
-
<tbody>
|
1409
|
-
<tr>
|
1410
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1411
|
-
</tr>
|
1412
|
-
</tbody>
|
1413
|
-
</table>
|
1414
|
-
<h2 id='19'>19. insert objects - send insert objects</h2>
|
1415
|
-
|
1416
|
-
<h3>Request: GET /application?client_id=5147d9036428480c991a5a35eb2e4c6a&version=3&source_name=SampleAdapter</h3>
|
1417
|
-
<table>
|
1418
|
-
<thead>
|
1419
|
-
<tr>
|
1420
|
-
<th>Header</th>
|
1421
|
-
<th>Value</th>
|
1422
|
-
</tr>
|
1423
|
-
</thead>
|
1424
|
-
<tbody>
|
1425
|
-
<tr>
|
1426
|
-
<td style='text-align: left;'>Content-Type</td>
|
1427
|
-
<td style='text-align: left;'> </td>
|
1428
|
-
</tr>
|
1429
|
-
<tr>
|
1430
|
-
<td style='text-align: left;'>Content-Length</td>
|
1431
|
-
<td style='text-align: left;'>0</td>
|
1432
|
-
</tr>
|
1433
|
-
<tr>
|
1434
|
-
<td style='text-align: left;'>Cookie</td>
|
1435
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZmNjMTQ2NmFmMTlhODkxNDFkYTliZDI3ZWUx%0ANDM5OGM4NDFkZTRlNTg2MTk1ZjJhN2M2NDIxZWVlOWJlNTkzYw%3D%3D%0A--e48a54ced901b3c96cb6488851dd7586fcf7240b</td>
|
1436
|
-
</tr>
|
1437
|
-
</tbody>
|
1438
|
-
</table>
|
1439
|
-
<table>
|
1440
|
-
<thead>
|
1441
|
-
<tr>
|
1442
|
-
<th>Body</th>
|
1443
|
-
</tr>
|
1444
|
-
</thead>
|
1445
|
-
<tbody>
|
1446
|
-
<tr>
|
1447
|
-
<td></td>
|
1448
|
-
</tr>
|
1449
|
-
</tbody>
|
1450
|
-
</table>
|
1451
|
-
<h3>Response: 401</h3>
|
1452
|
-
<table>
|
1453
|
-
<thead>
|
1454
|
-
<tr>
|
1455
|
-
<th>Header</th>
|
1456
|
-
<th>Value</th>
|
1457
|
-
</tr>
|
1458
|
-
</thead>
|
1459
|
-
<tbody>
|
1460
|
-
<tr>
|
1461
|
-
<td style='text-align: left;'>Content-Type</td>
|
1462
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1463
|
-
</tr>
|
1464
|
-
<tr>
|
1465
|
-
<td style='text-align: left;'>Content-Length</td>
|
1466
|
-
<td style='text-align: left;'>17</td>
|
1467
|
-
</tr>
|
1468
|
-
<tr>
|
1469
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1470
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZmNjMTQ2NmFmMTlhODkxNDFkYTliZDI3ZWUx%0ANDM5OGM4NDFkZTRlNTg2MTk1ZjJhN2M2NDIxZWVlOWJlNTkzYw%3D%3D%0A--e48a54ced901b3c96cb6488851dd7586fcf7240b; path=/; expires=Sat, 17-Dec-2011 16:27:19 GMT; HttpOnly</td>
|
1471
|
-
</tr>
|
1472
|
-
</tbody>
|
1473
|
-
</table>
|
1474
|
-
<table>
|
1475
|
-
<thead>
|
1476
|
-
<tr>
|
1477
|
-
<th>Body</th>
|
1478
|
-
</tr>
|
1479
|
-
</thead>
|
1480
|
-
<tbody>
|
1481
|
-
<tr>
|
1482
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1483
|
-
</tr>
|
1484
|
-
</tbody>
|
1485
|
-
</table>
|
1486
|
-
<h2 id='20'>20. metadata - send metadata</h2>
|
1487
|
-
|
1488
|
-
<h3>Request: GET /application?client_id=1e6ca56d8b6143d5958833675603375a&version=3&source_name=SampleAdapter</h3>
|
1489
|
-
<table>
|
1490
|
-
<thead>
|
1491
|
-
<tr>
|
1492
|
-
<th>Header</th>
|
1493
|
-
<th>Value</th>
|
1494
|
-
</tr>
|
1495
|
-
</thead>
|
1496
|
-
<tbody>
|
1497
|
-
<tr>
|
1498
|
-
<td style='text-align: left;'>Content-Type</td>
|
1499
|
-
<td style='text-align: left;'> </td>
|
1500
|
-
</tr>
|
1501
|
-
<tr>
|
1502
|
-
<td style='text-align: left;'>Content-Length</td>
|
1503
|
-
<td style='text-align: left;'>0</td>
|
1504
|
-
</tr>
|
1505
|
-
<tr>
|
1506
|
-
<td style='text-align: left;'>Cookie</td>
|
1507
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYTdhMjFmY2M5NjYyMTU1MjkwYTVkMDU5MWUw%0AM2I2NTBkNTU3MDU0OWFiMGQ5NzlkOGQzNzE4NzZmYjkzN2E0OA%3D%3D%0A--c2c517ff03492024f5b7a4aa9d92d0fd3f8d6f0f</td>
|
1508
|
-
</tr>
|
1509
|
-
</tbody>
|
1510
|
-
</table>
|
1511
|
-
<table>
|
1512
|
-
<thead>
|
1513
|
-
<tr>
|
1514
|
-
<th>Body</th>
|
1515
|
-
</tr>
|
1516
|
-
</thead>
|
1517
|
-
<tbody>
|
1518
|
-
<tr>
|
1519
|
-
<td></td>
|
1520
|
-
</tr>
|
1521
|
-
</tbody>
|
1522
|
-
</table>
|
1523
|
-
<h3>Response: 401</h3>
|
1524
|
-
<table>
|
1525
|
-
<thead>
|
1526
|
-
<tr>
|
1527
|
-
<th>Header</th>
|
1528
|
-
<th>Value</th>
|
1529
|
-
</tr>
|
1530
|
-
</thead>
|
1531
|
-
<tbody>
|
1532
|
-
<tr>
|
1533
|
-
<td style='text-align: left;'>Content-Type</td>
|
1534
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1535
|
-
</tr>
|
1536
|
-
<tr>
|
1537
|
-
<td style='text-align: left;'>Content-Length</td>
|
1538
|
-
<td style='text-align: left;'>17</td>
|
1539
|
-
</tr>
|
1540
|
-
<tr>
|
1541
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1542
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYTdhMjFmY2M5NjYyMTU1MjkwYTVkMDU5MWUw%0AM2I2NTBkNTU3MDU0OWFiMGQ5NzlkOGQzNzE4NzZmYjkzN2E0OA%3D%3D%0A--c2c517ff03492024f5b7a4aa9d92d0fd3f8d6f0f; path=/; expires=Sat, 17-Dec-2011 16:27:20 GMT; HttpOnly</td>
|
1543
|
-
</tr>
|
1544
|
-
</tbody>
|
1545
|
-
</table>
|
1546
|
-
<table>
|
1547
|
-
<thead>
|
1548
|
-
<tr>
|
1549
|
-
<th>Body</th>
|
1550
|
-
</tr>
|
1551
|
-
</thead>
|
1552
|
-
<tbody>
|
1553
|
-
<tr>
|
1554
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1555
|
-
</tr>
|
1556
|
-
</tbody>
|
1557
|
-
</table>
|
1558
|
-
<h2 id='21'>21. delete objects - send delete objects</h2>
|
1559
|
-
|
1560
|
-
<h3>Request: GET /application?token&client_id=5cf39e1f71174cc99531e3a41e656ca0&version=3&source_name=SampleAdapter</h3>
|
1561
|
-
<table>
|
1562
|
-
<thead>
|
1563
|
-
<tr>
|
1564
|
-
<th>Header</th>
|
1565
|
-
<th>Value</th>
|
1566
|
-
</tr>
|
1567
|
-
</thead>
|
1568
|
-
<tbody>
|
1569
|
-
<tr>
|
1570
|
-
<td style='text-align: left;'>Content-Type</td>
|
1571
|
-
<td style='text-align: left;'> </td>
|
1572
|
-
</tr>
|
1573
|
-
<tr>
|
1574
|
-
<td style='text-align: left;'>Content-Length</td>
|
1575
|
-
<td style='text-align: left;'>0</td>
|
1576
|
-
</tr>
|
1577
|
-
<tr>
|
1578
|
-
<td style='text-align: left;'>Cookie</td>
|
1579
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZjU5ZmZjYzVhZDA3ZTczMmQxNThkMTQ0NWIw%0AMDliMTA5NTY4ZDUzOWNmOTI2OGI1YjE0M2NlOWMyODQ4NDI3MA%3D%3D%0A--39cd00bbab95d6fec24f83877b1b72e98527ed96</td>
|
1580
|
-
</tr>
|
1581
|
-
</tbody>
|
1582
|
-
</table>
|
1583
|
-
<table>
|
1584
|
-
<thead>
|
1585
|
-
<tr>
|
1586
|
-
<th>Body</th>
|
1587
|
-
</tr>
|
1588
|
-
</thead>
|
1589
|
-
<tbody>
|
1590
|
-
<tr>
|
1591
|
-
<td></td>
|
1592
|
-
</tr>
|
1593
|
-
</tbody>
|
1594
|
-
</table>
|
1595
|
-
<h3>Response: 401</h3>
|
1596
|
-
<table>
|
1597
|
-
<thead>
|
1598
|
-
<tr>
|
1599
|
-
<th>Header</th>
|
1600
|
-
<th>Value</th>
|
1601
|
-
</tr>
|
1602
|
-
</thead>
|
1603
|
-
<tbody>
|
1604
|
-
<tr>
|
1605
|
-
<td style='text-align: left;'>Content-Type</td>
|
1606
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1607
|
-
</tr>
|
1608
|
-
<tr>
|
1609
|
-
<td style='text-align: left;'>Content-Length</td>
|
1610
|
-
<td style='text-align: left;'>17</td>
|
1611
|
-
</tr>
|
1612
|
-
<tr>
|
1613
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1614
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFZjU5ZmZjYzVhZDA3ZTczMmQxNThkMTQ0NWIw%0AMDliMTA5NTY4ZDUzOWNmOTI2OGI1YjE0M2NlOWMyODQ4NDI3MA%3D%3D%0A--39cd00bbab95d6fec24f83877b1b72e98527ed96; path=/; expires=Sat, 17-Dec-2011 16:27:20 GMT; HttpOnly</td>
|
1615
|
-
</tr>
|
1616
|
-
</tbody>
|
1617
|
-
</table>
|
1618
|
-
<table>
|
1619
|
-
<thead>
|
1620
|
-
<tr>
|
1621
|
-
<th>Body</th>
|
1622
|
-
</tr>
|
1623
|
-
</thead>
|
1624
|
-
<tbody>
|
1625
|
-
<tr>
|
1626
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1627
|
-
</tr>
|
1628
|
-
</tbody>
|
1629
|
-
</table>
|
1630
|
-
<h2 id='22'>22. insert-delete objects - send insert and delete objects</h2>
|
1631
|
-
|
1632
|
-
<h3>Request: GET /application?token&client_id=66ad19a9dc284ff589a9c2c96018008a&version=3&source_name=SampleAdapter</h3>
|
1633
|
-
<table>
|
1634
|
-
<thead>
|
1635
|
-
<tr>
|
1636
|
-
<th>Header</th>
|
1637
|
-
<th>Value</th>
|
1638
|
-
</tr>
|
1639
|
-
</thead>
|
1640
|
-
<tbody>
|
1641
|
-
<tr>
|
1642
|
-
<td style='text-align: left;'>Content-Type</td>
|
1643
|
-
<td style='text-align: left;'> </td>
|
1644
|
-
</tr>
|
1645
|
-
<tr>
|
1646
|
-
<td style='text-align: left;'>Content-Length</td>
|
1647
|
-
<td style='text-align: left;'>0</td>
|
1648
|
-
</tr>
|
1649
|
-
<tr>
|
1650
|
-
<td style='text-align: left;'>Cookie</td>
|
1651
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFNzFiZDI3NGIwMWFhMmQxNjEzNmMwZjcxODIz%0AMmIzYjI2NjZjNmI1MTQzMDU2YjRjODU0ZGIwYTI4MmNiODNkMg%3D%3D%0A--78205c6ed7ee8b02d8030438e0bd7488d789fafd</td>
|
1652
|
-
</tr>
|
1653
|
-
</tbody>
|
1654
|
-
</table>
|
1655
|
-
<table>
|
1656
|
-
<thead>
|
1657
|
-
<tr>
|
1658
|
-
<th>Body</th>
|
1659
|
-
</tr>
|
1660
|
-
</thead>
|
1661
|
-
<tbody>
|
1662
|
-
<tr>
|
1663
|
-
<td></td>
|
1664
|
-
</tr>
|
1665
|
-
</tbody>
|
1666
|
-
</table>
|
1667
|
-
<h3>Response: 401</h3>
|
1668
|
-
<table>
|
1669
|
-
<thead>
|
1670
|
-
<tr>
|
1671
|
-
<th>Header</th>
|
1672
|
-
<th>Value</th>
|
1673
|
-
</tr>
|
1674
|
-
</thead>
|
1675
|
-
<tbody>
|
1676
|
-
<tr>
|
1677
|
-
<td style='text-align: left;'>Content-Type</td>
|
1678
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1679
|
-
</tr>
|
1680
|
-
<tr>
|
1681
|
-
<td style='text-align: left;'>Content-Length</td>
|
1682
|
-
<td style='text-align: left;'>17</td>
|
1683
|
-
</tr>
|
1684
|
-
<tr>
|
1685
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1686
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFNzFiZDI3NGIwMWFhMmQxNjEzNmMwZjcxODIz%0AMmIzYjI2NjZjNmI1MTQzMDU2YjRjODU0ZGIwYTI4MmNiODNkMg%3D%3D%0A--78205c6ed7ee8b02d8030438e0bd7488d789fafd; path=/; expires=Sat, 17-Dec-2011 16:27:20 GMT; HttpOnly</td>
|
1687
|
-
</tr>
|
1688
|
-
</tbody>
|
1689
|
-
</table>
|
1690
|
-
<table>
|
1691
|
-
<thead>
|
1692
|
-
<tr>
|
1693
|
-
<th>Body</th>
|
1694
|
-
</tr>
|
1695
|
-
</thead>
|
1696
|
-
<tbody>
|
1697
|
-
<tr>
|
1698
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1699
|
-
</tr>
|
1700
|
-
</tbody>
|
1701
|
-
</table>
|
1702
|
-
<h2 id='23'>23. search result - send search results</h2>
|
1703
|
-
|
1704
|
-
<h3>Request: GET /application/search?sources[][name]=SampleAdapter&client_id=d23c46140ac54f5a9e71771f9d93b33e&version=3&search[name]=iPhone</h3>
|
1705
|
-
<table>
|
1706
|
-
<thead>
|
1707
|
-
<tr>
|
1708
|
-
<th>Header</th>
|
1709
|
-
<th>Value</th>
|
1710
|
-
</tr>
|
1711
|
-
</thead>
|
1712
|
-
<tbody>
|
1713
|
-
<tr>
|
1714
|
-
<td style='text-align: left;'>Content-Type</td>
|
1715
|
-
<td style='text-align: left;'> </td>
|
1716
|
-
</tr>
|
1717
|
-
<tr>
|
1718
|
-
<td style='text-align: left;'>Content-Length</td>
|
1719
|
-
<td style='text-align: left;'>0</td>
|
1720
|
-
</tr>
|
1721
|
-
<tr>
|
1722
|
-
<td style='text-align: left;'>Cookie</td>
|
1723
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYjZiOWNhYjc4ZDkwZGE4ZTA3MDllMzM1YTU3%0AMDQwNzNkN2QwZmRhYmY3MTIwYzA3ODM3MTNhYTI5YTQ4NzA3OQ%3D%3D%0A--b85dfa6d22d2784254f00307b4c78360f9d18bd9</td>
|
1724
|
-
</tr>
|
1725
|
-
</tbody>
|
1726
|
-
</table>
|
1727
|
-
<table>
|
1728
|
-
<thead>
|
1729
|
-
<tr>
|
1730
|
-
<th>Body</th>
|
1731
|
-
</tr>
|
1732
|
-
</thead>
|
1733
|
-
<tbody>
|
1734
|
-
<tr>
|
1735
|
-
<td></td>
|
1736
|
-
</tr>
|
1737
|
-
</tbody>
|
1738
|
-
</table>
|
1739
|
-
<h3>Response: 401</h3>
|
1740
|
-
<table>
|
1741
|
-
<thead>
|
1742
|
-
<tr>
|
1743
|
-
<th>Header</th>
|
1744
|
-
<th>Value</th>
|
1745
|
-
</tr>
|
1746
|
-
</thead>
|
1747
|
-
<tbody>
|
1748
|
-
<tr>
|
1749
|
-
<td style='text-align: left;'>Content-Type</td>
|
1750
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1751
|
-
</tr>
|
1752
|
-
<tr>
|
1753
|
-
<td style='text-align: left;'>Content-Length</td>
|
1754
|
-
<td style='text-align: left;'>17</td>
|
1755
|
-
</tr>
|
1756
|
-
<tr>
|
1757
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1758
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYjZiOWNhYjc4ZDkwZGE4ZTA3MDllMzM1YTU3%0AMDQwNzNkN2QwZmRhYmY3MTIwYzA3ODM3MTNhYTI5YTQ4NzA3OQ%3D%3D%0A--b85dfa6d22d2784254f00307b4c78360f9d18bd9; path=/; expires=Sat, 17-Dec-2011 16:27:20 GMT; HttpOnly</td>
|
1759
|
-
</tr>
|
1760
|
-
</tbody>
|
1761
|
-
</table>
|
1762
|
-
<table>
|
1763
|
-
<thead>
|
1764
|
-
<tr>
|
1765
|
-
<th>Body</th>
|
1766
|
-
</tr>
|
1767
|
-
</thead>
|
1768
|
-
<tbody>
|
1769
|
-
<tr>
|
1770
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1771
|
-
</tr>
|
1772
|
-
</tbody>
|
1773
|
-
</table>
|
1774
|
-
<h2 id='24'>24. search error - send search error</h2>
|
1775
|
-
|
1776
|
-
<h3>Request: GET /application/search?sources[][name]=SampleAdapter&client_id=25ca19fff81340b699c679ce335beb91&version=3&search[name]=iPhone</h3>
|
1777
|
-
<table>
|
1778
|
-
<thead>
|
1779
|
-
<tr>
|
1780
|
-
<th>Header</th>
|
1781
|
-
<th>Value</th>
|
1782
|
-
</tr>
|
1783
|
-
</thead>
|
1784
|
-
<tbody>
|
1785
|
-
<tr>
|
1786
|
-
<td style='text-align: left;'>Content-Type</td>
|
1787
|
-
<td style='text-align: left;'> </td>
|
1788
|
-
</tr>
|
1789
|
-
<tr>
|
1790
|
-
<td style='text-align: left;'>Content-Length</td>
|
1791
|
-
<td style='text-align: left;'>0</td>
|
1792
|
-
</tr>
|
1793
|
-
<tr>
|
1794
|
-
<td style='text-align: left;'>Cookie</td>
|
1795
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYTg0ZjNkMTA5YWYyNWRkZmZhODgwZWVhODRk%0AMWI0Yjk5N2E1NzFiZWE4MjAxZTYyYzk0MDhmZDMwNmM2Y2RkZg%3D%3D%0A--ba06ca9432d93eab25a940d32101a615afab508d</td>
|
1796
|
-
</tr>
|
1797
|
-
</tbody>
|
1798
|
-
</table>
|
1799
|
-
<table>
|
1800
|
-
<thead>
|
1801
|
-
<tr>
|
1802
|
-
<th>Body</th>
|
1803
|
-
</tr>
|
1804
|
-
</thead>
|
1805
|
-
<tbody>
|
1806
|
-
<tr>
|
1807
|
-
<td></td>
|
1808
|
-
</tr>
|
1809
|
-
</tbody>
|
1810
|
-
</table>
|
1811
|
-
<h3>Response: 401</h3>
|
1812
|
-
<table>
|
1813
|
-
<thead>
|
1814
|
-
<tr>
|
1815
|
-
<th>Header</th>
|
1816
|
-
<th>Value</th>
|
1817
|
-
</tr>
|
1818
|
-
</thead>
|
1819
|
-
<tbody>
|
1820
|
-
<tr>
|
1821
|
-
<td style='text-align: left;'>Content-Type</td>
|
1822
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1823
|
-
</tr>
|
1824
|
-
<tr>
|
1825
|
-
<td style='text-align: left;'>Content-Length</td>
|
1826
|
-
<td style='text-align: left;'>17</td>
|
1827
|
-
</tr>
|
1828
|
-
<tr>
|
1829
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1830
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYTg0ZjNkMTA5YWYyNWRkZmZhODgwZWVhODRk%0AMWI0Yjk5N2E1NzFiZWE4MjAxZTYyYzk0MDhmZDMwNmM2Y2RkZg%3D%3D%0A--ba06ca9432d93eab25a940d32101a615afab508d; path=/; expires=Sat, 17-Dec-2011 16:27:20 GMT; HttpOnly</td>
|
1831
|
-
</tr>
|
1832
|
-
</tbody>
|
1833
|
-
</table>
|
1834
|
-
<table>
|
1835
|
-
<thead>
|
1836
|
-
<tr>
|
1837
|
-
<th>Body</th>
|
1838
|
-
</tr>
|
1839
|
-
</thead>
|
1840
|
-
<tbody>
|
1841
|
-
<tr>
|
1842
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1843
|
-
</tr>
|
1844
|
-
</tbody>
|
1845
|
-
</table>
|
1846
|
-
<h2 id='25'>25. multi source search - send multiple sources in search results</h2>
|
1847
|
-
|
1848
|
-
<h3>Request: GET /application/search?sources[][name]=SimpleAdapter&sources[][name]=SampleAdapter&client_id=6195e7029aa1428da7ff397f68502db5&version=3&search[search]=bar</h3>
|
1849
|
-
<table>
|
1850
|
-
<thead>
|
1851
|
-
<tr>
|
1852
|
-
<th>Header</th>
|
1853
|
-
<th>Value</th>
|
1854
|
-
</tr>
|
1855
|
-
</thead>
|
1856
|
-
<tbody>
|
1857
|
-
<tr>
|
1858
|
-
<td style='text-align: left;'>Content-Type</td>
|
1859
|
-
<td style='text-align: left;'> </td>
|
1860
|
-
</tr>
|
1861
|
-
<tr>
|
1862
|
-
<td style='text-align: left;'>Content-Length</td>
|
1863
|
-
<td style='text-align: left;'>0</td>
|
1864
|
-
</tr>
|
1865
|
-
<tr>
|
1866
|
-
<td style='text-align: left;'>Cookie</td>
|
1867
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYjJkYTNlYjhjOTJiZDczNTY1M2IzY2I5MWM5%0AMDU4ZTc0YzdhOGNlOTY5ZDM0MWU2YmMxMDNiZGNjNGM5NDJkZQ%3D%3D%0A--2c068d33cd26bafe03ef827b2245249defe114ef</td>
|
1868
|
-
</tr>
|
1869
|
-
</tbody>
|
1870
|
-
</table>
|
1871
|
-
<table>
|
1872
|
-
<thead>
|
1873
|
-
<tr>
|
1874
|
-
<th>Body</th>
|
1875
|
-
</tr>
|
1876
|
-
</thead>
|
1877
|
-
<tbody>
|
1878
|
-
<tr>
|
1879
|
-
<td></td>
|
1880
|
-
</tr>
|
1881
|
-
</tbody>
|
1882
|
-
</table>
|
1883
|
-
<h3>Response: 401</h3>
|
1884
|
-
<table>
|
1885
|
-
<thead>
|
1886
|
-
<tr>
|
1887
|
-
<th>Header</th>
|
1888
|
-
<th>Value</th>
|
1889
|
-
</tr>
|
1890
|
-
</thead>
|
1891
|
-
<tbody>
|
1892
|
-
<tr>
|
1893
|
-
<td style='text-align: left;'>Content-Type</td>
|
1894
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1895
|
-
</tr>
|
1896
|
-
<tr>
|
1897
|
-
<td style='text-align: left;'>Content-Length</td>
|
1898
|
-
<td style='text-align: left;'>17</td>
|
1899
|
-
</tr>
|
1900
|
-
<tr>
|
1901
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1902
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFYjJkYTNlYjhjOTJiZDczNTY1M2IzY2I5MWM5%0AMDU4ZTc0YzdhOGNlOTY5ZDM0MWU2YmMxMDNiZGNjNGM5NDJkZQ%3D%3D%0A--2c068d33cd26bafe03ef827b2245249defe114ef; path=/; expires=Sat, 17-Dec-2011 16:27:20 GMT; HttpOnly</td>
|
1903
|
-
</tr>
|
1904
|
-
</tbody>
|
1905
|
-
</table>
|
1906
|
-
<table>
|
1907
|
-
<thead>
|
1908
|
-
<tr>
|
1909
|
-
<th>Body</th>
|
1910
|
-
</tr>
|
1911
|
-
</thead>
|
1912
|
-
<tbody>
|
1913
|
-
<tr>
|
1914
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1915
|
-
</tr>
|
1916
|
-
</tbody>
|
1917
|
-
</table>
|
1918
|
-
<h2 id='26'>26. multi source search ack - acknowledge search result on multiple sources</h2>
|
1919
|
-
|
1920
|
-
<h3>Request: GET /application/search?sources[][name]=SimpleAdapter&sources[][token]=83342441231056&sources[][name]=SampleAdapter&sources[][token]=83342441234576&client_id=3fc5b433faa44ee9bdc2602613539efd&version=3</h3>
|
1921
|
-
<table>
|
1922
|
-
<thead>
|
1923
|
-
<tr>
|
1924
|
-
<th>Header</th>
|
1925
|
-
<th>Value</th>
|
1926
|
-
</tr>
|
1927
|
-
</thead>
|
1928
|
-
<tbody>
|
1929
|
-
<tr>
|
1930
|
-
<td style='text-align: left;'>Content-Type</td>
|
1931
|
-
<td style='text-align: left;'> </td>
|
1932
|
-
</tr>
|
1933
|
-
<tr>
|
1934
|
-
<td style='text-align: left;'>Content-Length</td>
|
1935
|
-
<td style='text-align: left;'>0</td>
|
1936
|
-
</tr>
|
1937
|
-
<tr>
|
1938
|
-
<td style='text-align: left;'>Cookie</td>
|
1939
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFOWEwMjM2ZmQ0OTg2MGNkZTQ1MDE3MTA3Y2Nh%0AMDZhMDRkNTNkNjNkMWY2Nzc5MzQ1YmY3MDY4OGNiY2YwZDhjOA%3D%3D%0A--877774b99ca3ac16f454932c7f128f885a6b2654</td>
|
1940
|
-
</tr>
|
1941
|
-
</tbody>
|
1942
|
-
</table>
|
1943
|
-
<table>
|
1944
|
-
<thead>
|
1945
|
-
<tr>
|
1946
|
-
<th>Body</th>
|
1947
|
-
</tr>
|
1948
|
-
</thead>
|
1949
|
-
<tbody>
|
1950
|
-
<tr>
|
1951
|
-
<td></td>
|
1952
|
-
</tr>
|
1953
|
-
</tbody>
|
1954
|
-
</table>
|
1955
|
-
<h3>Response: 401</h3>
|
1956
|
-
<table>
|
1957
|
-
<thead>
|
1958
|
-
<tr>
|
1959
|
-
<th>Header</th>
|
1960
|
-
<th>Value</th>
|
1961
|
-
</tr>
|
1962
|
-
</thead>
|
1963
|
-
<tbody>
|
1964
|
-
<tr>
|
1965
|
-
<td style='text-align: left;'>Content-Type</td>
|
1966
|
-
<td style='text-align: left;'>text/html;charset=utf-8</td>
|
1967
|
-
</tr>
|
1968
|
-
<tr>
|
1969
|
-
<td style='text-align: left;'>Content-Length</td>
|
1970
|
-
<td style='text-align: left;'>17</td>
|
1971
|
-
</tr>
|
1972
|
-
<tr>
|
1973
|
-
<td style='text-align: left;'>Set-Cookie</td>
|
1974
|
-
<td style='text-align: left;'>rhoconnect_session=BAh7BiIPc2Vzc2lvbl9pZCJFOWEwMjM2ZmQ0OTg2MGNkZTQ1MDE3MTA3Y2Nh%0AMDZhMDRkNTNkNjNkMWY2Nzc5MzQ1YmY3MDY4OGNiY2YwZDhjOA%3D%3D%0A--877774b99ca3ac16f454932c7f128f885a6b2654; path=/; expires=Sat, 17-Dec-2011 16:27:20 GMT; HttpOnly</td>
|
1975
|
-
</tr>
|
1976
|
-
</tbody>
|
1977
|
-
</table>
|
1978
|
-
<table>
|
1979
|
-
<thead>
|
1980
|
-
<tr>
|
1981
|
-
<th>Body</th>
|
1982
|
-
</tr>
|
1983
|
-
</thead>
|
1984
|
-
<tbody>
|
1985
|
-
<tr>
|
1986
|
-
<td style='text-align: left;'>Not authenticated</td>
|
1987
|
-
</tr>
|
1988
|
-
</tbody>
|
1989
|
-
</table>
|
1990
|
-
</div>
|
1991
|
-
</div>
|
1992
|
-
</body>
|
1993
|
-
</html>
|