title: Using street view publish API to upload panoramas, connections doesn't seem to work
body: <p>We are using the Street View Publish API to upload panoramas on Street View and we have some issues with connections. After uploading all the images like mentioned in the documentation, we try to add the connections by doing a batch update.
  Here is the JSON of the batch Update that we are sending:</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;updatePhotoRequests&quot;: [
      {
        &quot;photo&quot;: {
          &quot;photoId&quot;: {
            &quot;id&quot;: &quot;CAoSLEFGMVFpcE1CSGtCNS1pbUJnQkNFTGt4eVVtZ0NFVUZaVklYTXIzeEhOREhp&quot;
          },
          &quot;connections&quot;: [
            {
              &quot;target&quot;: {
                &quot;id&quot;: &quot;CAoSLEFGMVFpcFAyel9jZnVldTFSdkFKZzVGWlJOUEdTdnVWaEFaM3ZaN2drbUZI&quot;
              }
            },
            {
              &quot;target&quot;: {
                &quot;id&quot;: &quot;CAoSLEFGMVFpcFBCdFZGenBDN21jNExsajV1SjE0UEhQa3lDeTM1MUdRdjJTQTND&quot;
              }
            }
          ]
        },
        &quot;updateMask&quot;: &quot;connections&quot;
      },
      {
        &quot;photo&quot;: {
          &quot;photoId&quot;: {
            &quot;id&quot;: &quot;CAoSLEFGMVFpcFBCdFZGenBDN21jNExsajV1SjE0UEhQa3lDeTM1MUdRdjJTQTND&quot;
          },
          &quot;connections&quot;: [
            {
              &quot;target&quot;: {
                &quot;id&quot;: &quot;CAoSLEFGMVFpcFAyel9jZnVldTFSdkFKZzVGWlJOUEdTdnVWaEFaM3ZaN2drbUZI&quot;
              }
            },
            {
              &quot;target&quot;: {
                &quot;id&quot;: &quot;CAoSLEFGMVFpcE1CSGtCNS1pbUJnQkNFTGt4eVVtZ0NFVUZaVklYTXIzeEhOREhp&quot;
              }
            }
          ]
        },
        &quot;updateMask&quot;: &quot;connections&quot;
      },
      {
        &quot;photo&quot;: {
          &quot;photoId&quot;: {
            &quot;id&quot;: &quot;CAoSLEFGMVFpcFAyel9jZnVldTFSdkFKZzVGWlJOUEdTdnVWaEFaM3ZaN2drbUZI&quot;
          },
          &quot;connections&quot;: [
            {
              &quot;target&quot;: {
                &quot;id&quot;: &quot;CAoSLEFGMVFpcFBCdFZGenBDN21jNExsajV1SjE0UEhQa3lDeTM1MUdRdjJTQTND&quot;
              }
            },
            {
              &quot;target&quot;: {
                &quot;id&quot;: &quot;CAoSLEFGMVFpcE1CSGtCNS1pbUJnQkNFTGt4eVVtZ0NFVUZaVklYTXIzeEhOREhp&quot;
              }
            }
          ]
        },
        &quot;updateMask&quot;: &quot;connections&quot;
      }
    ]
  }
  </code></pre>
  <p>When we go on the Mobile Street View app, we can observe that the panoramas have been uploaded but the connections between the panoramas are not present. We also noticed that the app proposes new connections and that we have to touch on the links to activate them
  <a href="https://i.stack.imgur.com/5Z2TB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5Z2TB.jpg" alt="enter image description here" /></a></p>
  <p>Question: How can we generate connections using the API ? Are we missing other parameters?</p>