filestack

package
v0.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2021 License: MIT Imports: 8 Imported by: 0

README

Filestack webhook

You should configure your Filestack's Webhooks to point at the webhooks service. To do this go to filestack.com, select your app and click Credentials > Webhooks. In the resulting page, set the URL to http://<my_ip>:1619/filestack, and click on Add.

Events

See the webhook doc.

Limitations: It stores all events except video conversions events.

All events for logs the original timestamp, the action and the id.

Tags:

  • 'action' = event.action string

Fields:

  • 'id' = event.id string

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event added in v0.0.12

type Event struct {
	Action    string `json:"action"`
	TimeStamp int64  `json:"timestamp"`
	ID        int    `json:"id"`
}

func (*Event) Fields added in v0.0.12

func (fe *Event) Fields() map[string]interface{}

func (*Event) Tags added in v0.0.12

func (fe *Event) Tags() map[string]string

type Webhook added in v0.0.12

type Webhook struct {
	Path string
	// contains filtered or unexported fields
}

func (*Webhook) Register added in v0.0.12

func (fs *Webhook) Register(router *mux.Router, acc cua.Accumulator)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL