filestack

package
v1.32.3 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 8 Imported by: 14

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

	auth.BasicAuth
	// contains filtered or unexported fields
}

func (*FilestackWebhook) Register

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

Jump to

Keyboard shortcuts

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