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>
This commit is contained in:
parent
6436478402
commit
194f0acb28
79 changed files with 1028 additions and 23 deletions
13
api/v1/index.go
Normal file
13
api/v1/index.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package api
|
||||
|
||||
// POST /api/v1/index
|
||||
func (v1 *V1Client) Index() error {
|
||||
resp := v1.POST(nil, "/api/v1/index")
|
||||
return resp.Error
|
||||
}
|
||||
|
||||
// DELETE /api/v1/index
|
||||
func (v1 *V1Client) CancelIndex() error {
|
||||
resp := v1.DELETE(nil, "/api/v1/index")
|
||||
return resp.Error
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue