Commit Graph

19 Commits (main)

Author SHA1 Message Date
Astra 4e41e5f1a1 Update api/v1/types.go 2024-06-28 18:59:13 +02:00
Astra 8545e098c1 Code cleanup 2023-01-18 00:48:30 +00:00
astravexton 9304897b69 Add method to add label to photos 2021-05-06 19:11:52 +01:00
Kris Nóva 414bfb6aa1 Fixing found bug in UpdatePhoto UUID->photoUID
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-13 13:20:23 -08:00
Kris Nóva 94dde03103 Adding docs and ready for 1.0.0
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-11 18:04:53 -08:00
Kris Nóva c78e3d199e Working photo and album endpoints with super amazing unit and itnegrations tests - please run my fucking code i dare you
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-11 17:25:03 -08:00
Kris Nóva 194f0acb28 A lot of work with albums and photos, still working but want to save working tests/methods
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-11 17:16:37 -08:00
Kris Nóva 6436478402 Adding initial album feature work
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-11 15:32:03 -08:00
Kris Nóva 06fff46e43 Adding GetAlbums with AlbumOptions and default values, and unit tests
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-11 14:21:44 -08:00
Kris Nóva 6b742a1db4 Adding GetAlbum method and unite tests
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-11 13:46:28 -08:00
Kris Nóva 0476727633 Adding sample code for work
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-11 11:53:01 -08:00
Kris Nóva b7fd487a2e Working download photo method
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-09 18:25:46 -08:00
Kris Nóva c1a45bf8e3 Very nice looking tests!
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-09 16:00:02 -08:00
Kris Nóva 3b41c9dd5f More API refactoring and working on cleaning up
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-09 14:45:36 -08:00
Kris Nóva e4323b6047 Working auth and photo json endpoint
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-09 11:17:06 -08:00
ajayk b6a3c6fa03 fix path for photos api
➜  examples git:(photos-api-json) ✗ go run photo.go common.go2021-02-03T23:14:52-08:00 [✿]  Login Success!
http://localhost:8080/api/v1/photos/\[pqnzsew2k506y94u\]
{ID:0,DocumentID:pqnzsew2k506y94u,TakenAt:0001-01-01T00:00:00Z,TakenAtLocal:0001-01-01T00:00:00Z,TakenSrc:,UID:,Type:,TypeSrc:,Title:,TitleSrc:,Description:,DescriptionSrc:,Path:,Name:,OriginalName:,Stack:0,Favorite:false,Private:false,Scan:false,Panorama:false,TimeZone:,PlaceID:,PlaceSrc:,CellID:,CellAccuracy:0,Altitude:0,Lat:0,Lng:0,Country:,Year:0,Month:0,Day:0,Iso:0,Exposure:,FNumber:0,FocalLength:0,Quality:0,Resolution:0,Color:0,CameraID:0,CameraSerial:,CameraSrc:,LensID:0,CreatedAt:0001-01-01T00:00:00Z,UpdatedAt:0001-01-01T00:00:00Z,EditedAt:null,CheckedAt:null,DeletedAt:null}
2021-02-03 23:15:49 -08:00
Kris Nóva 8829212093 Adding persistent storage and working auth
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-03 21:01:21 -08:00
Kris Nóva 95794522e0 Adding sample auth code that will most likely change and api implementation
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-01-31 00:08:52 -08:00
Kris Nóva ef15a0ac15 Adding initial changes for the evening - we have compiling code and some light scaffolding with the client and internal libraries
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-01-30 23:59:44 -08:00