Commit App Files
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/apps/{name}/commits \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"message": "<string>",
"files": [
{
"path": "<string>",
"content": "<string>"
}
]
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/apps/{name}/commits"
payload = {
"message": "<string>",
"files": [
{
"path": "<string>",
"content": "<string>"
}
]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>', files: [{path: '<string>', content: '<string>'}]})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/apps/{name}/commits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Apps
Commit App Files
POST
/
api
/
v1
/
apps
/
{name}
/
commits
Commit App Files
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/apps/{name}/commits \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"message": "<string>",
"files": [
{
"path": "<string>",
"content": "<string>"
}
]
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/apps/{name}/commits"
payload = {
"message": "<string>",
"files": [
{
"path": "<string>",
"content": "<string>"
}
]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>', files: [{path: '<string>', content: '<string>'}]})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/apps/{name}/commits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));