Skip to content

needAuth/Part


Create Part

POST
/part/create

This route is used to create a part

Authorizations

bearer
Type
HTTP (bearer)

Request Body

application/json
JSON
{
"productRef": "string",
"reference": "string",
"stageList": "string"
}

Responses

application/json
JSON
{
}

Playground

Server
Authorization
Body

Samples


Get part by reference

GET
/part/{id}

The route is used to get a part data

Authorizations

bearer
Type
HTTP (bearer)

Parameters

Path Parameters

id*
Type
string
Required

Responses

application/json
JSON
{
"part": "string",
"stageGraph": [
]
}

Playground

Server
Authorization
Variables
Key
Value

Samples


Get list of parts

GET
/part/list

This endpoint is used to get a list of reference of parts, paginated.

Authorizations

bearer
Type
HTTP (bearer)

Parameters

Header Parameters

Authorization
Type
string
Example""

Query Parameters

limit
Type
number
Default
25
refQuery
Type
string
page
Type
number
Default
1

Responses

application/json
JSON
{
}

Playground

Server
Authorization
Headers
Variables
Key
Value

Samples


Get all part waiting for scan

GET
/part/waiting-scan

This endpoint is used to get all the parts that are waiting for a scan, with their files url.

Authorizations

bearer
Type
HTTP (bearer)

Responses

application/json
JSON
[
{
"id": "string",
"reference": "string",
"product": {
"id": "string",
"reference": "string",
"name": "string"
}
}
]

Playground

Server
Authorization

Samples


Powered by VitePress OpenAPI