Skip to content
Snippets Groups Projects

Resolve "Documentation construction url serveur"

Merged Tifenn Guillas requested to merge 90-documentation-construction-url-serveur into develop
2 files
+ 37
13
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -119,25 +119,25 @@
<td>lk</td>
<td>like</td>
<td><code>c=id_attribute::lk::value</code></td>
<td><code>c=1::lk::ECL</code></td>
<td><code>c=1::lk::ping</code></td>
</tr>
<tr>
<td>nlk</td>
<td>not like</td>
<td><code>c=id_attribute::nlk::value</code></td>
<td><code>c=1::nlk::ECL</code></td>
<td><code>c=1::nlk::pong</code></td>
</tr>
<tr>
<td>in</td>
<td>in</td>
<td><code>c=id_attribute::in::value_x|value_y|value_z</code></td>
<td><code>c=1::in::TT_ECL|TT_GRM|TT_VT</code></td>
<td><code>c=1::in::ping|pong|paff</code></td>
</tr>
<tr>
<td>nin</td>
<td>not in</td>
<td><code>c=id_attribute::nin::value_x|value_y|value_z</code></td>
<td><code>c=1::nin::TT_ECL|TT_GRM|TT_VT</code></td>
<td><code>c=1::nin::ping|pong|paf</code></td>
</tr>
<tr>
<td>nl</td>
@@ -155,24 +155,48 @@
<td>js</td>
<td>json</td>
<td><code>c=id_attribute::js::extension,keyword|operator|value</code></td>
<td><code>c=1::js::PrimaryHDU,OBS_ID|eq|45</code></td>
<td><code>c=1::js::PrimaryHDU,ID|eq|45</code></td>
</tr>
</table>
<h4>Examples</h4>
<blockquote>{{ apiPath }}/search/l1?a=1;2;3&c=1::eq::1</blockquote>
<p>This will return the raw product with id equals to 1 and display its rawproduct_id, filename and level as
We supposed to have the dataset ping with following attributes:
<table id="table">
<tr>
<th>id</th>
<th>attribute</th>
</tr>
<tr>
<td>1</td>
<td>obs_id</td>
</tr>
<tr>
<td>2</td>
<td>ra</td>
</tr>
<tr>
<td>3</td>
<td>dec</td>
</tr>
<tr>
<td>4</td>
<td>instrument</td>
</tr>
</table>
<blockquote>{{ apiPath }}/search/ping?a=1;2;3&c=1::eq::1</blockquote>
<p>This will return the <code>obs_id</code> with its value equals to 1 and display <code>obs_id</code>, <code>RA</code> and <code>DEC</code> as
outputs.</p>
<blockquote>
{{ apiPath }}/search/products?a=1;2;3;4;5;6;7;8;9;10&c=3::in::TT_ECL|TT_GRM
{{ apiPath }}/search/ping?a=1;2;3;4&c=4::in::TEL_1|TEL_2
</blockquote>
<p>This will return a list of <code>TT_ECL</code> or <code>TT_GRM</code> products with all available
<p>This will return a list of <code>TEL_1</code> or <code>TEL_2</code> observations with all available
outputs.</p>
<blockquote>
{{ apiPath }}/search/products?a=1&c=3::eq::LAMTEST_DC1;5::js::PrimaryHDU,OBS_ID|nnl
{{ apiPath }}/search/ping?a=1&c=2::gt::1;3::gt::2
</blockquote>
<p>This will return a list of product id of <code>LAMTEST_DC1</code> scientific product where the searchable
keyword <code>OBS_ID</code> is not null.</p>
<p>This will return a list of <code>obs_id</code> where <code>RA</code> is greater than 1 and <code>DEC</code> is greater than 2</p>
</div>
</div>
</div>
Loading