Browse Source

Add new FileID for PUT upload endpoint

master
Wim Brand 3 years ago
parent
commit
9a700b4dc1
  1. 5
      pixelapi/file.go

5
pixelapi/file.go

@ -7,10 +7,13 @@ import (
)
// FileID is returned when a file has been sucessfully uploaded
type FileID struct {
type FileIDCompat struct {
Success bool `json:"success"`
ID string `json:"id"`
}
type FileID struct {
ID string `json:"id"`
}
// FileInfo is the public file information response
type FileInfo struct {

Loading…
Cancel
Save