request

package
v0.0.0-...-5b64428 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ExtractContentType = "application/vnd.waives.resultformats.extractdata+json"
View Source
const RedactContentType = "application/vnd.waives.requestformats.redact+json"

Variables

This section is empty.

Functions

This section is empty.

Types

type RedactedPdfRequest

type RedactedPdfRequest struct {
	Marks      []RedactionMark     `json:"marks"`
	ApplyMarks bool                `json:"apply_marks"`
	Bookmarks  []RedactionBookmark `json:"bookmarks"`
}

type RedactionArea

type RedactionArea struct {
	Top        float32 `json:"top"`
	Left       float32 `json:"left"`
	Bottom     float32 `json:"bottom"`
	Right      float32 `json:"right"`
	PageNumber float32 `json:"page_number"`
}

type RedactionBookmark

type RedactionBookmark struct {
	Text       string `json:"text"`
	PageNumber int    `json:"page_number"`
}

type RedactionMark

type RedactionMark struct {
	Area RedactionArea `json:"area"`
}

Jump to

Keyboard shortcuts

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