Request
Body Params application/json
{
"env": "string",
"name": "string",
"content": {
"meta": {
"project_file": "Project.toml",
"entrance_file": "main.jl",
"entrance_func": "model",
"manifest": "Manifest.toml"
},
"tree": [
{
"name": "string",
"type": "file",
"content": "",
"children": []
}
]
}
}
Request samples
curl --location --request POST 'https://dev.coinfer.ai/turing/object' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"env": "string",
"name": "string",
"content": {
"meta": {
"project_file": "Project.toml",
"entrance_file": "main.jl",
"entrance_func": "model",
"manifest": "Manifest.toml"
},
"tree": [
{
"name": "string",
"type": "file",
"content": "",
"children": []
}
]
}
}'
Responses
{
"status": "ok",
"data": {
"id": 0,
"short_id": "string",
"name": "string",
"env": "string",
"share_info": [
{
"id": "string",
"password": "string",
"user_id": "string",
"to_user_id": "string"
}
],
"content": null
}
}
Modified at 2025-02-14 07:00:18