api: add request / response types and rename some fields

This commit is contained in:
Jimmy Zelinskie 2016-01-28 14:52:09 -05:00
parent 2f57f0d4b1
commit be9423b489

View File

@ -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
}