Code artifacts
Upload code artifact
POST
/
v1
/
code_artifacts
Upload code artifact
curl --request POST \
--url https://api.veri.studio/v1/code_artifacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data'import requests
url = "https://api.veri.studio/v1/code_artifacts"
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "multipart/form-data"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'multipart/form-data'}
};
fetch('https://api.veri.studio/v1/code_artifacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"id": "<string>",
"created_at": "<string>"
}Upload code artifact
curl --request POST \
--url https://api.veri.studio/v1/code_artifacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data'import requests
url = "https://api.veri.studio/v1/code_artifacts"
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "multipart/form-data"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'multipart/form-data'}
};
fetch('https://api.veri.studio/v1/code_artifacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"id": "<string>",
"created_at": "<string>"
}
