List an app's versions
const url = 'http://localhost:11044/api/v1/artifacts/app/example/history';const options = {method: 'GET', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:11044/api/v1/artifacts/app/example/history \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'The commits in the world’s git repository that changed one of the workspace app’s files, newest first. Every save, copy, chat build, write, delete and restore of an app is committed there.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The app’s file name in the workspace, e.g. dashboard.html
Responses
Section titled “Responses”The app’s versions
An app’s versions, newest first
object
The app’s name
True when the app on disk differs from its newest version — edited by hand, or written before history began. The next write keeps it first
Newest first, at most fifty. Empty for an app never written since history began
One earlier version of an app: a commit in the world’s git repository that changed its files
object
When the commit was made, ISO-8601
The commit’s full id, which a restore names
The commit’s message: what wrote the app — a save, a copy, a chat build, a restore
False where this commit deleted the app; such a version cannot be restored
Not an app name
A refusal carrying only its reason
object
Why the request was refused, written to be shown
This world keeps no history: it is not a git repository, or git could not read it
A refusal carrying only its reason
object
Why the request was refused, written to be shown

