Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support json + bytes type in multipart/form-data in RLC #2171

Closed
Tracked by #2178
MaryGao opened this issue Dec 20, 2023 · 1 comment
Closed
Tracked by #2178

Support json + bytes type in multipart/form-data in RLC #2171

MaryGao opened this issue Dec 20, 2023 · 1 comment
Assignees
Labels

Comments

@MaryGao
Copy link
Member

MaryGao commented Dec 20, 2023

In FaceAI we have bytes + json in form data, and we need to decide how to generate and support this in RLC.

https://github.com/Azure/azure-rest-api-specs-pr/pull/15710/files#diff-f87f0ee6317aecf95934a0e818d7f5fdc9dd5014fe9096e1403a5187d1581785R171

 @doc("Request of liveness with verify session creation.")
  model LivenessWithVerifySessionCreationContent {
      @doc("The content type for the operation. Always multipart/form-data for this operation.")
      @header("content-type")
      contentType: "multipart/form-data";
  
      @doc("The json for creating liveness session.")
      Parameters: LivenessSessionCreationContent;
  
      @doc("The image stream for verify.")
      VerifyImage: bytes;
  } 

  @sharedRoute
  @createsResource(LivenessWithVerifySession)
  createLivenessWithVerifySessionByFormData is Azure.Core.Foundations.ResourceCollectionOperation<
    LivenessWithVerifySession,
    LivenessWithVerifySessionCreationContent,
    LivenessSessionCreationResult,
    ServiceTraits>;
@qiaozha
Copy link
Member

qiaozha commented May 8, 2024

close it as supported.

@qiaozha qiaozha closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants