Skip to main content

LookupSignatureFromDataRequest message

sasha.partnerapi.v1.LookupSignatureFromDataRequest · sasha/partner-api/v1/partner_api.proto:507

No description in the schema.

  • media_data_chunkbytesrequired= 1
    The media file to lookup the SASHA Signature from.
  • media_mime_typestringrequired= 2
    The MIME type of the media data.
  • guidance_contextsasha.common.public.GuidanceContextoptional= 3
    The context in which the media was found, used to evaluate the found signature's Record into distribution guidance on the completed job.

Field notes​

media_data_chunk

Required. The media file to lookup the SASHA Signature from.

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 currently supported mime types are image/jpeg, image/png, and image/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.

guidance_context

Optional. The context in which the media was found, used to evaluate the found signature's Record into distribution guidance on the completed job.

The value from the first message that supplies one is used.

Strongly recommended: without URL context, restricted media yields an inconclusive verdict.

Referenced by​

  • PartnerAPI — request of LookupSignatureFromData