You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Create a new reference table. You can provide data in two ways: 1) Call POST api/v2/reference-tables/upload first to get an upload ID, then PUT chunks of CSV data to each provided URL, and finally call this POST endpoint with the upload_id in file_metadata, OR 2) Provide access_details in file_metadata pointing to a CSV file in cloud storage (Amazon S3, Azure Blob Storage, or GCP Cloud Storage).</p>
10724
+
<p>Creates a reference table. You can provide data in two ways:</p>
10725
+
<ol class="arabic simple">
10726
+
<li><p>Call POST /api/v2/reference-tables/upload to get an upload ID. Then, PUT the CSV data
10727
+
(not the file itself) in chunks to each URL in the request body. Finally, call this
10728
+
POST endpoint with <code class="docutils literal notranslate"><span class="pre">upload_id</span></code> in <code class="docutils literal notranslate"><span class="pre">file_metadata</span></code>.</p></li>
10729
+
<li><p>Provide <code class="docutils literal notranslate"><span class="pre">access_details</span></code> in <code class="docutils literal notranslate"><span class="pre">file_metadata</span></code> pointing to a CSV file in cloud storage.</p></li>
<li><p><strong>id</strong> (<em>str</em>) – The ID of the reference table</p></li>
10770
+
<li><p><strong>id</strong> (<em>str</em>) – Unique identifier of the reference table to get rows from</p></li>
10765
10771
<li><p><strong>row_id</strong> (<em>[</em><em>str</em><em>]</em>) – List of row IDs (primary key values) to retrieve from the reference table.</p></li>
<li><p><strong>page_limit</strong> (<em>int</em><em>, </em><em>optional</em>) – Number of tables to return.</p></li>
10796
10802
<li><p><strong>page_offset</strong> (<em>int</em><em>, </em><em>optional</em>) – Number of tables to skip for pagination.</p></li>
10797
-
<li><p><strong>sort</strong> (<a class="reference internal" href="datadog_api_client.v2.model.html#datadog_api_client.v2.model.reference_table_sort_type.ReferenceTableSortType" title="datadog_api_client.v2.model.reference_table_sort_type.ReferenceTableSortType"><em>ReferenceTableSortType</em></a><em>, </em><em>optional</em>) – Sort field and direction. Use field name for ascending, prefix with “-” for descending.</p></li>
10803
+
<li><p><strong>sort</strong> (<a class="reference internal" href="datadog_api_client.v2.model.html#datadog_api_client.v2.model.reference_table_sort_type.ReferenceTableSortType" title="datadog_api_client.v2.model.reference_table_sort_type.ReferenceTableSortType"><em>ReferenceTableSortType</em></a><em>, </em><em>optional</em>) – Sort field and direction for the list of reference tables. Use field name for ascending, prefix with “-” for descending.</p></li>
10798
10804
<li><p><strong>filter_status</strong> (<em>str</em><em>, </em><em>optional</em>) – Filter by table status.</p></li>
10799
10805
<li><p><strong>filter_table_name_exact</strong> (<em>str</em><em>, </em><em>optional</em>) – Filter by exact table name match.</p></li>
10800
10806
<li><p><strong>filter_table_name_contains</strong> (<em>str</em><em>, </em><em>optional</em>) – Filter by table name containing substring.</p></li>
<p>Update a reference table by ID. You can update the table’s data, description, and tags. Note: The source type cannot be changed after table creation. For data updates: For existing tables of type <cite>source:LOCAL_FILE</cite>, call POST api/v2/reference-tables/uploads first to get an upload ID, then PUT chunks of CSV data to each provided URL, and finally call this PATCH endpoint with the upload_id in file_metadata. For existing tables with <cite>source:</cite> types of <cite>S3 `</cite>,`` GCS <code class="docutils literal notranslate"><span class="pre">,</span> <span class="pre">or</span></code> AZURE`, provide updated access_details in file_metadata pointing to a CSV file in the same type of cloud storage.</p>
0 commit comments