Complete
Description
The /dataset-complete endpoint is designed to signal the end of the dataset insertion process. Once all batches have been inserted via the /dataset-fill endpoint, this method should be called to trigger the final dataset shape calculation and any other necessary post-processing steps.
complete_url = "https://app.graphite-note.com/api/dataset-complete"
Parameters
user-code (string): Unique code identifying the user.
dataset-code (string): A unique code for the dataset, if pre-defined.
Indicate end of dataset insertion
To populate a dataset, follow these steps:
Make a POST request to
/dataset-complete
with the required parameters in the request body.Include the
user-code
anddataset-code
to identify the dataset and the user making the request.
Example Usage
For example, making a POST with following header included into request with the provided JSON body would result in the response below:
Header
POST /dataset-complete
Authorization: Bearer YOUR-TENANT-TOKEN
Request
{
"user-code": "0f02b4d4f9ae",
"dataset-code": " a49932c0f135"
}
Response
{
"data": {
"status": "success",
"details": {
"dataset-code": "a49932c0f135",
"rows-count": 542289
}
}
}
Last updated
Was this helpful?