-
Notifications
You must be signed in to change notification settings - Fork 2
Image API Docs
Daryl edited this page Nov 4, 2022
·
8 revisions
All important API calls that belong in /api/image
GET /api/image/id
{ "response": Array }
GET /api/image/info/:image_id
{ "response": {
"Config": {
"Hostname": String,
"User": String,
"Env": Array,
"Cmd": Array,
"Volumes": Mixed
"WorkingDir": String,
"Entrypoint": Array
},
"RootFS": { "Type": String, "Layers": Array },
"Metadata": { "LastTagTime": String },
"Id": String,
"RepoTags": Array,
"Created": String,
"Author": String,
"Architecture": String,
"Variant": String,
"Size": Number
} }
GET /api/image/info/:image_id/all
Downloadable json data
/api/image/dockerfile/:image_id
{ "response": String }
/api/image/layer/:image_id
{ "response": [layer_id]: {
"Add": Array,
"Edit": Array,
"Delete": Array,
}
...
} }
/api/image/fs/:image_id
Returns image_id.tag.gz as downloadable file
/api/image/fs/:image_id/:layer_id?file=<file_path>
Returns downloadable file