upsertMakeMethodVersion
WRITEUpsert make method version.
POST /api/v1/items/upsertMakeMethodVersion
curl -X POST '<your-host>/api/v1/items/upsertMakeMethodVersion' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"copyFromId": "string",
"version": 0
}'Response
{
"id": "string",
"itemId": "string",
"type": "Part"
}Parameters
ParameterType
min length 1
min 0
Input schema
schema
{
"type": "object",
"properties": {
"copyFromId": {
"type": "string",
"minLength": 1
},
"activeVersionId": {
"type": "string"
},
"version": {
"type": "number",
"minimum": 0
}
},
"required": [
"copyFromId",
"version"
]
}