EmbedSignatureFromDataRequest message
sasha.partnerapi.v1.EmbedSignatureFromDataRequest · sasha/partner-api/v1/partner_api.proto:422
No description in the schema.
- media_
data_ chunkbytesrequired= 1 The media file to protect by embedding the SASHA Signature into. - media_
mime_ typestringrequired= 2 The MIME type of the media data. - A Record to attach to the resulting signature. Validated at submit; an invalid Record fails the request with
INVALID_ARGUMENTand creates no job. Every rejected field is named in the error details of that status (see "Validation failures" on the service).
Field notes
media_data_chunk
Required. The media file to protect by embedding the SASHA Signature into.
The content may be streamed in chunks and the server will merge them into a single image.
See also media_mime_type field.
media_mime_type
Required. The MIME type of the media data.
See also media_data_chunk field.
The value from the first message that supplies one is used. Later messages
must either omit it or repeat the same value; a mismatch fails the request
with INVALID_ARGUMENT.
The following MIME types are currently supported:
image/jpegimage/pngimage/webp
For the most up-to-date list of supported formats and other media constraints, see the Supported Formats reference: https://developer.sasha.eu/partner-api/api-reference/supported-formats
Video is not accepted inline; submit it by URL.
record
Optional. A Record to attach to the resulting signature. Validated at
submit; an invalid Record fails the request with INVALID_ARGUMENT and
creates no job. Every rejected field is named in the error details of that
status (see "Validation failures" on the service).
The value from the first message that supplies one is used.
Referenced by
PartnerAPI— request ofEmbedSignatureFromData