api: add request / response types and rename some fields
This commit is contained in:
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…
Reference in New Issue
Block a user