title: What is the appropriate way to model API requests in Sequence Diagrams?
body: <p>I am about to create a few sequence diagrams to model the interactions in a web API.</p>
  
  <p>There is a repeating pattern of request/response calls that I am not sure how to model.</p>
  
  <p>Say, I have an API call to request attributes from an API endpoint. Would it be appropriate to use the standard reply pattern like this? Is it good style to assign use multiple return value variables (<code>encrypted_attributes, hashes</code>)?</p>
  
  <p><img src="https://i.stack.imgur.com/JxaHM.png" alt="Standard Reply Pattern"></p>
  
  <p>Or should custom requests/responses be created like this, reflecting that both <code>request_attributest</code> and <code>return_encrypted_attributes</code> are done by units independent from each other?</p>
  
  <p><img src="https://i.stack.imgur.com/QLK27.png" alt="Custom Request/Repsonse Pattern"></p>