api: add request / response types and rename some fields

pull/71/head
Jimmy Zelinskie 8 years ago
parent 2f57f0d4b1
commit be9423b489

@ -15,14 +15,23 @@
package v1
type ErrorResponse struct {
Error Error
}
type Error struct {
Error string
Type string
}
type LayerRequest struct {
Layer Layer
}
type Layer struct {
Name string
Path string
Parent string
ParentName string
Format string
IndexedByVersion int
Features []Feature
}

Loading…
Cancel
Save