filestack

package
v0.0.0-...-535192b Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2019 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 FilestackEvent

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

func (*FilestackEvent) Fields

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

func (*FilestackEvent) Tags

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

type FilestackWebhook

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

func (*FilestackWebhook) Register

func (fs *FilestackWebhook) Register(router *mux.Router, acc telegraf.Accumulator)

Jump to

Keyboard shortcuts

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