Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update OpenAPI Spec and Docs #101

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions website/docs/api/clone-dataset.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: clone-dataset
title: "Clone Dataset"
description: "Clone a dataset into a new dataset containing the latest file contents"
api: eJy9V0tz2zYQ/isYnGkr4yNvjpNM1UlTj+20B1uTWZErCTYIIMDSsqrhf+8sQEoUKT/SNr1oKO578e3yw1YSLIPMb+UHIAhIcpZJ69ADKWumpczlhbYGO2kmSwyFV47FnVCAKJNcKENWgDC43r0qrCFQRpmloBUKDYSBxEJpjCI0FGQmAxa1V7SR+e1Wvkfw6M9rWsn8dtbMMunxe42B3ttyI/OtbA35EZzTqojpTu4DJ7WVoVhhBfxEijQOirhKvmQmaeNYaOf3WPB/57l0UhjYti2Am7DtVAN5ZZajNrSeBVlRcCTZZNJAha9bful1ii1OxXQhjCXhvH1UJZaZWCutRR0wto91hF3E585ujsos70wKXXLsgxivpfBLXYE58QglzDWKnnAQ6PTO/NPserk5b7ndb2nrzQpFq86thbJMUXo9IyubJuFDeSwZyftzmzVNEgZnTUinevbuXTzcg0DXdVFgCItaix34ZfZvYZaivhVnfT/7cXvZVL2xidMPw6Pkkyg8AmF5TsecLKyvgGTO6eEJqSqCunblj5q8bQ4GIIxAWljfzzkTaiF43eCTChROfx7Qj0Wya4P+a0D/VuDue14H9GK9ssKuTRidgqmrK7sOPafKEC7Rt8ILq58RKqNIgVZ/RVheE1AdxrmNFD96b/1RvcLqujJ9H+A9bGQmFWEVxnPDdbZGwnkMaPgT0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WWe4SyHJZRup0zWGPLPTmSo9Q1pkiRbJvS3C4ETXliMro0rzyLcISLyAKPWUmQHKSsXW1ERGmwgWSgbVsDntgbUR674XjH0J3fYLZjR27GePIQLHruuPmw9tV96x6aqatI1NmRUosKAsxycAxDBFhihNvgV2IPNQMpX0dIU74rMVsd6H37udtFWY/0m8jmoFbaFxPc+1XuZzhskhbLBetyxYrnJ7AkslWydcKaxnumWYJxvo1szCSxnThXG7jVksy6zIhgYlzDsu9IN8ZzQM0SJBBzkifWfcRB4d2j+KWWi2xQ1wMQrLWV9lnHKFKtMVfozGd+ks0Kn/cVG36w6fEOwIXjvvdBtwN1bSxo+7QGSbuY2h9Pq4tYrURS+BsU1tFam8k7bse+eNyT+L+lZh0dJZrVS736PFw9fL8wmeqti5jfmQvjQ0fEo58Zqgt/P/eF4cyFthMWrlkQvnxCSGxKdH0QFkuaETxxc+IQtuerQyoGkd0gSiMH+hmM2UWRkZut3j8rQCDnzTGEV0yI3Dt8F80IroAxsF4GD7CGt8VLDsre7bvgVijmnvnNqo42mkKuTt5d1xLlLvbYYIQKz+hZJojj2ErGvm/McUakYfiF2/CGXYbNS+wOMU0yERAspd4buDXv6qaz9W6ZuFmE24k+hHUdkuj8ikO/6dbTO6/AAErWTI=
sidebar_class_name: "post api-method"
info_path: api/lastmile-ai-api-v-2
custom_edit_url: null
Expand Down Expand Up @@ -290,9 +290,9 @@ Clone a dataset into a new dataset containing the latest file contents
collapsible={false}
name={"initializationStatus"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
schemaName={"JobStatus (string)"}
qualifierMessage={"**Possible values:** [`JOB_STATUS_UNSPECIFIED`, `JOB_STATUS_QUEUED`, `JOB_STATUS_RUNNING`, `JOB_STATUS_COMPLETED`, `JOB_STATUS_CANCELLED`, `JOB_STATUS_FAILED`]"}
schema={{"type":"string","enum":["JOB_STATUS_UNSPECIFIED","JOB_STATUS_QUEUED","JOB_STATUS_RUNNING","JOB_STATUS_COMPLETED","JOB_STATUS_CANCELLED","JOB_STATUS_FAILED"],"title":"JobStatus"}}
>

</SchemaItem><SchemaItem
Expand Down Expand Up @@ -394,9 +394,9 @@ Clone a dataset into a new dataset containing the latest file contents
collapsible={false}
name={"dtype"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
schemaName={"DatasetColumnDType (string)"}
qualifierMessage={"**Possible values:** [`DATASET_COLUMN_D_TYPE_UNSPECIFIED`, `DATASET_COLUMN_D_TYPE_INT32`, `DATASET_COLUMN_D_TYPE_INT64`, `DATASET_COLUMN_D_TYPE_FLOAT32`, `DATASET_COLUMN_D_TYPE_FLOAT64`, `DATASET_COLUMN_D_TYPE_STRING`, `DATASET_COLUMN_D_TYPE_BYTES`, `DATASET_COLUMN_D_TYPE_ANY`]"}
schema={{"type":"string","enum":["DATASET_COLUMN_D_TYPE_UNSPECIFIED","DATASET_COLUMN_D_TYPE_INT32","DATASET_COLUMN_D_TYPE_INT64","DATASET_COLUMN_D_TYPE_FLOAT32","DATASET_COLUMN_D_TYPE_FLOAT64","DATASET_COLUMN_D_TYPE_STRING","DATASET_COLUMN_D_TYPE_BYTES","DATASET_COLUMN_D_TYPE_ANY"],"title":"DatasetColumnDType","description":"Datatypes for a column in a dataset file. We likely don't need everything\n here, but it's good to be explicit, for example to avoid unknowingly coercing\n int64 values into int32. Encoding for text is UTF_8 unless indicated\n otherwise."}}
>

</SchemaItem><li>
Expand Down Expand Up @@ -447,9 +447,9 @@ Clone a dataset into a new dataset containing the latest file contents
collapsible={false}
name={"labelingStatus"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"The status of the latest general pseudo-labeling job for the dataset"}}
schemaName={"JobStatus (string)"}
qualifierMessage={"**Possible values:** [`JOB_STATUS_UNSPECIFIED`, `JOB_STATUS_QUEUED`, `JOB_STATUS_RUNNING`, `JOB_STATUS_COMPLETED`, `JOB_STATUS_CANCELLED`, `JOB_STATUS_FAILED`]"}
schema={{"type":"string","enum":["JOB_STATUS_UNSPECIFIED","JOB_STATUS_QUEUED","JOB_STATUS_RUNNING","JOB_STATUS_COMPLETED","JOB_STATUS_CANCELLED","JOB_STATUS_FAILED"],"title":"JobStatus","description":"The status of the latest general pseudo-labeling job for the dataset"}}
>

</SchemaItem><SchemaItem
Expand Down Expand Up @@ -484,7 +484,7 @@ Clone a dataset into a new dataset containing the latest file contents
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"dataset\": {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerUserId\": \"string\",\n \"numRows\": 0,\n \"numCols\": 0,\n \"initializationStatus\": \"string\",\n \"initializationError\": \"string\",\n \"columns\": [\n {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"index\": 0,\n \"literalName\": \"string\",\n \"dtype\": \"string\"\n }\n ],\n \"labelState\": {\n \"labelingStatus\": \"string\",\n \"promptTemplate\": \"string\",\n \"error\": \"string\"\n }\n }\n}"}
responseExample={"{\n \"dataset\": {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerUserId\": \"string\",\n \"numRows\": 0,\n \"numCols\": 0,\n \"initializationStatus\": \"JOB_STATUS_UNSPECIFIED\",\n \"initializationError\": \"string\",\n \"columns\": [\n {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"index\": 0,\n \"literalName\": \"string\",\n \"dtype\": \"DATASET_COLUMN_D_TYPE_UNSPECIFIED\"\n }\n ],\n \"labelState\": {\n \"labelingStatus\": \"JOB_STATUS_UNSPECIFIED\",\n \"promptTemplate\": \"string\",\n \"error\": \"string\"\n }\n }\n}"}
language={"json"}
>

Expand Down
22 changes: 11 additions & 11 deletions website/docs/api/create-dataset.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: create-dataset
title: "Create Dataset"
description: "Create a new Dataset. Use UploadDatasetFile to upload files to the dataset."
api: eJzdWEtv2zgQ/isD7iEJoNhFji56cNMUm27aBrWze4iNgJbGNluKVMlRHK+h/74YUrIVy2lS7OOwl8Qmh8OZj9+8vBEkF14MbsU7SdIjiWkibIFOkrLmMhMDce5QEjbbicjQp04VvL/dBQkGV1AL9eDGI9wU2sqsXnqvNAJZKMMizJVGz99piZDVp0QiPKalU7QWg9uNeIvSoRuWtBSD22k1TYTD7yV6emuztRhsRGoNoSH+KItCqzQY3f/q2bKN8OkSc8mfSJHGfVe+RGUiEbQueNfOvmLK3wvHCJBCz4eNzDEoiVKenDKLDg6/lrk0pw5lJmcagQ/B3Lq2gwmoOViDgA/Kk++Jak/JT97R2gQ7f+4m5d/jarS0dPEg80JH3+r7ZtZqlKZz4bXHMrNXcoYavtoZzBXqrFE3TEndY9g8pKsKODKizKLnXBsvEWpxpoXMsuAPk6r2CciKah+xHf3ebT03ipTUeg3SAOYFrcEvUWsoDSkNMnAPlK+piJmoKtbr0BfW+IjL2atX/O/xXaMyTdH7ealhGyEi+dssjNc+S8MahraiXUz++Kh64QNcvtvjUXjpNJibDemQkrl1uSQxYPPwlFSOfKQssp898j+JMrsy6G48upeSfod56dHBamnBrozvvIIp8y921Q40ZQgX6OrNc6uf2KwDQv0ZeDkiSaXv2tYRvHDOuoNyqdVlbto6pHNyLRKhCHPfDRz2sz4EhUOPhkCZ4KKWhJ6gXSXieyrfuM/0fkz486Dr0sztv0f9kCb+Q/4rk+HDgQfcN/aS5RpbI6iwUrSs8exYrxWhk/rTi8KLkagPPI6teFGMpaiiw4sqlmflMON2QmWiDV0bk8bZx8ZNWYPmasIUxcMs8rzVeF9zJ5xRZhEr1ONk0O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+kqOmTtskYCuuBb12XaMtYEvkMWrH0yfckHXezquiVHSlF6XGer+DooPf0Y4idMH1/NqqK93fDUPiYNHZS1VMezRfs8B9thilpszn3NbWj/lIlFNObDEvkxjLXxK+RnBnVfkslJuKhtttJXTvdiwoTHGhiO0op/wOddND4w==
sidebar_class_name: "post api-method"
info_path: api/lastmile-ai-api-v-2
custom_edit_url: null
Expand Down Expand Up @@ -299,9 +299,9 @@ Create a new Dataset. Use UploadDatasetFile to upload files to the dataset.
collapsible={false}
name={"initializationStatus"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
schemaName={"JobStatus (string)"}
qualifierMessage={"**Possible values:** [`JOB_STATUS_UNSPECIFIED`, `JOB_STATUS_QUEUED`, `JOB_STATUS_RUNNING`, `JOB_STATUS_COMPLETED`, `JOB_STATUS_CANCELLED`, `JOB_STATUS_FAILED`]"}
schema={{"type":"string","enum":["JOB_STATUS_UNSPECIFIED","JOB_STATUS_QUEUED","JOB_STATUS_RUNNING","JOB_STATUS_COMPLETED","JOB_STATUS_CANCELLED","JOB_STATUS_FAILED"],"title":"JobStatus"}}
>

</SchemaItem><SchemaItem
Expand Down Expand Up @@ -403,9 +403,9 @@ Create a new Dataset. Use UploadDatasetFile to upload files to the dataset.
collapsible={false}
name={"dtype"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
schemaName={"DatasetColumnDType (string)"}
qualifierMessage={"**Possible values:** [`DATASET_COLUMN_D_TYPE_UNSPECIFIED`, `DATASET_COLUMN_D_TYPE_INT32`, `DATASET_COLUMN_D_TYPE_INT64`, `DATASET_COLUMN_D_TYPE_FLOAT32`, `DATASET_COLUMN_D_TYPE_FLOAT64`, `DATASET_COLUMN_D_TYPE_STRING`, `DATASET_COLUMN_D_TYPE_BYTES`, `DATASET_COLUMN_D_TYPE_ANY`]"}
schema={{"type":"string","enum":["DATASET_COLUMN_D_TYPE_UNSPECIFIED","DATASET_COLUMN_D_TYPE_INT32","DATASET_COLUMN_D_TYPE_INT64","DATASET_COLUMN_D_TYPE_FLOAT32","DATASET_COLUMN_D_TYPE_FLOAT64","DATASET_COLUMN_D_TYPE_STRING","DATASET_COLUMN_D_TYPE_BYTES","DATASET_COLUMN_D_TYPE_ANY"],"title":"DatasetColumnDType","description":"Datatypes for a column in a dataset file. We likely don't need everything\n here, but it's good to be explicit, for example to avoid unknowingly coercing\n int64 values into int32. Encoding for text is UTF_8 unless indicated\n otherwise."}}
>

</SchemaItem><li>
Expand Down Expand Up @@ -456,9 +456,9 @@ Create a new Dataset. Use UploadDatasetFile to upload files to the dataset.
collapsible={false}
name={"labelingStatus"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"The status of the latest general pseudo-labeling job for the dataset"}}
schemaName={"JobStatus (string)"}
qualifierMessage={"**Possible values:** [`JOB_STATUS_UNSPECIFIED`, `JOB_STATUS_QUEUED`, `JOB_STATUS_RUNNING`, `JOB_STATUS_COMPLETED`, `JOB_STATUS_CANCELLED`, `JOB_STATUS_FAILED`]"}
schema={{"type":"string","enum":["JOB_STATUS_UNSPECIFIED","JOB_STATUS_QUEUED","JOB_STATUS_RUNNING","JOB_STATUS_COMPLETED","JOB_STATUS_CANCELLED","JOB_STATUS_FAILED"],"title":"JobStatus","description":"The status of the latest general pseudo-labeling job for the dataset"}}
>

</SchemaItem><SchemaItem
Expand Down Expand Up @@ -493,7 +493,7 @@ Create a new Dataset. Use UploadDatasetFile to upload files to the dataset.
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"dataset\": {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerUserId\": \"string\",\n \"numRows\": 0,\n \"numCols\": 0,\n \"initializationStatus\": \"string\",\n \"initializationError\": \"string\",\n \"columns\": [\n {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"index\": 0,\n \"literalName\": \"string\",\n \"dtype\": \"string\"\n }\n ],\n \"labelState\": {\n \"labelingStatus\": \"string\",\n \"promptTemplate\": \"string\",\n \"error\": \"string\"\n }\n }\n}"}
responseExample={"{\n \"dataset\": {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerUserId\": \"string\",\n \"numRows\": 0,\n \"numCols\": 0,\n \"initializationStatus\": \"JOB_STATUS_UNSPECIFIED\",\n \"initializationError\": \"string\",\n \"columns\": [\n {\n \"id\": \"string\",\n \"createdAt\": \"2024-07-29T15:51:28.071Z\",\n \"updatedAt\": \"2024-07-29T15:51:28.071Z\",\n \"index\": 0,\n \"literalName\": \"string\",\n \"dtype\": \"DATASET_COLUMN_D_TYPE_UNSPECIFIED\"\n }\n ],\n \"labelState\": {\n \"labelingStatus\": \"JOB_STATUS_UNSPECIFIED\",\n \"promptTemplate\": \"string\",\n \"error\": \"string\"\n }\n }\n}"}
language={"json"}
>

Expand Down
Loading
Loading