Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/web-app-manifest/_shared/latest--web-manifest-share-target.json
Parent schema web-app-manifest
Type: object

Properties

share_target object

Describes how the application receives share data.

4 nested properties
action string required

The URL for the web share target.

params object required

Specifies what data gets shared in the request.

4 nested properties
title string

The name of the query parameter used for the title of the document being shared.

text string

The name of the query parameter used for the message body, made of arbitrary text.

url string

The name of the query parameter used for the URL string referring to a resource being shared.

Description of how the application receives files from share requests.

method string

The HTTP request method for the web share target.

Default: "GET"
Values: "GET" "POST" "get" "post"
enctype string

This member specifies the encoding in the share request.

Default: "application/x-www-form-urlencoded"
Values: "application/x-www-form-urlencoded" "multipart/form-data" "APPLICATION/X-WWW-FORM-URLENCODED" "MULTIPART/FORM-DATA"

Definitions

share_target object

Describes how the application receives share data.

action string required

The URL for the web share target.

params object required

Specifies what data gets shared in the request.

4 nested properties
title string

The name of the query parameter used for the title of the document being shared.

text string

The name of the query parameter used for the message body, made of arbitrary text.

url string

The name of the query parameter used for the URL string referring to a resource being shared.

Description of how the application receives files from share requests.

method string

The HTTP request method for the web share target.

Default: "GET"
Values: "GET" "POST" "get" "post"
enctype string

This member specifies the encoding in the share request.

Default: "application/x-www-form-urlencoded"
Values: "application/x-www-form-urlencoded" "multipart/form-data" "APPLICATION/X-WWW-FORM-URLENCODED" "MULTIPART/FORM-DATA"
share_target_params object

Specifies what data gets shared in the request.

title string

The name of the query parameter used for the title of the document being shared.

text string

The name of the query parameter used for the message body, made of arbitrary text.

url string

The name of the query parameter used for the URL string referring to a resource being shared.

Description of how the application receives files from share requests.

share_target_files object

Description of how the application receives files from share requests.

name string required

The name of the form field used to share the files.

accept string | string[] required

Sequence of accepted MIME types or file extensions can be shared to the application.