Skip to main content
GET
/
diamond
/
getMainFilesByStoneId
Get main files by stone ID
curl --request GET \
  --url https://api.diadna.cloud/diamond/getMainFilesByStoneId \
  --header 'secret-key: <api-key>'
{
  "Table": [
    {
      "is_active": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "name": "<string>",
      "base": "<string>",
      "scan": "<string>",
      "stage": "<string>",
      "points": "<string>",
      "companyId": "<string>",
      "created_by": "<string>",
      "updated_by": "<string>",
      "deleted_at": "2023-11-07T05:31:56Z",
      "deleted_by": "<string>",
      "part": "<string>"
    }
  ]
}

Authorizations

secret-key
string
header
required

Query Parameters

stoneId
string
required

The stone ID (e.g., 12659-229)

stage
enum<string>
required

Stage of the stone

Available options:
ROUGH,
POLISH,
AFTERSAWING

Response

200 - application/json

Main files fetched successfully

Table
object[]
required