<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      There was a bug allowing to get non-public built-in results from
      non-public probes. Therefore probes must be added to the key you
      want to get access to. Now it is fixed and lead to adding probes
      to <span style="mso-fareast-language:EN-US" lang="EN-GB">'probes
        - Get non-public measurement results' API key.</span><br>
      <br>
      Sorry for the hassle.<br>
      <br>
      wbr<br>
      /vty<br>
      <br>
      On 3/8/18 6:40 PM, Ponikierski, Grzegorz wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:59486CA3-3C84-434C-8FF8-8B9D1149E4A8@akamai.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"lucida grande";
        panose-1:2 11 6 0 4 5 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">Glad to hear that :)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">It was strange to me because I already had
            'measurements - Get results from a non-public measurements'
            which worked fine. So now I have:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">'measurements - Get results from a non-public
            measurements'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">'probes - Get non-public measurement results'<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">It looks quite redundant for me but it works :)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">Regards,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB">Grzegorz<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <div style="border:none;border-top:solid #B5C4DF
          1.0pt;padding:3.0pt 0cm 0cm 0cm">
          <p class="MsoNormal"><b><span
                style="font-size:12.0pt;color:black">From: </span></b><span
              style="font-size:12.0pt;color:black">Daniel Ankers
              <a class="moz-txt-link-rfc2396E" href="mailto:md1clv@md1clv.com"><md1clv@md1clv.com></a><br>
              <b>Date: </b>Thursday 2018-03-08 at 18:36<br>
              <b>To: </b>"Ponikierski, Grzegorz"
              <a class="moz-txt-link-rfc2396E" href="mailto:gponikie@akamai.com"><gponikie@akamai.com></a><br>
              <b>Cc: </b><a class="moz-txt-link-rfc2396E" href="mailto:ripe-atlas@ripe.net">"ripe-atlas@ripe.net"</a>
              <a class="moz-txt-link-rfc2396E" href="mailto:ripe-atlas@ripe.net"><ripe-atlas@ripe.net></a><br>
              <b>Subject: </b>Re: [atlas] API Keys problem?<o:p></o:p></span></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><a name="_MailOriginalBody"
              moz-do-not-send="true">Hi Grzegorz, <o:p></o:p></a></p>
          <div>
            <p class="MsoNormal"><span
                style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
            <div>
              <p class="MsoNormal"><span
                  style="mso-bookmark:_MailOriginalBody">"</span><span
                  style="mso-bookmark:_MailOriginalBody"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black;background:white"
                    lang="EN-US">probes - Get non-public measurement
                    results" is exactly what was needed - thank you!</span></span><span
                  style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"><span
                  style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"><span
                  style="mso-bookmark:_MailOriginalBody"><span
                    style="color:black">Regards,</span></span><span
                  style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></p>
            </div>
            <div>
              <p class="MsoNormal"><span
                  style="mso-bookmark:_MailOriginalBody"><span
                    style="color:black">Dan</span></span><span
                  style="mso-bookmark:_MailOriginalBody"><o:p></o:p></span></p>
              <div>
                <p class="MsoNormal"><span
                    style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
                <div>
                  <p class="MsoNormal"><span
                      style="mso-bookmark:_MailOriginalBody">On 8 March
                      2018 at 17:30, Ponikierski, Grzegorz <</span><a
                      href="mailto:gponikie@akamai.com" target="_blank"
                      moz-do-not-send="true"><span
                        style="mso-bookmark:_MailOriginalBody">gponikie@akamai.com</span><span
                        style="mso-bookmark:_MailOriginalBody"></span></a><span
                      style="mso-bookmark:_MailOriginalBody">> wrote:<o:p></o:p></span></p>
                  <blockquote style="border:none;border-left:solid
                    #CCCCCC 1.0pt;padding:0cm 0cm 0cm
                    6.0pt;margin-left:4.8pt;margin-right:0cm">
                    <div>
                      <div>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                            style="mso-bookmark:_MailOriginalBody"><span
                              lang="EN-GB">Hi!</span><o:p></o:p></span></p>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                            style="mso-bookmark:_MailOriginalBody"><span
                              lang="EN-GB"> </span><o:p></o:p></span></p>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                            style="mso-bookmark:_MailOriginalBody"><span
                              lang="EN-GB">I had the same issue 28<sup>th</sup>
                              Feb. I had to add '</span></span><span
                            style="mso-bookmark:_MailOriginalBody"><span
                              style="color:black" lang="EN-US">probes -
                              Get non-public measurement results</span></span><span
                            style="mso-bookmark:_MailOriginalBody"><span
                              lang="EN-US">' to my API key to fix it.</span><o:p></o:p></span></p>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                            style="mso-bookmark:_MailOriginalBody"><span
                              lang="EN-US"> </span><o:p></o:p></span></p>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                            style="mso-bookmark:_MailOriginalBody">Regards,<o:p></o:p></span></p>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                            style="mso-bookmark:_MailOriginalBody">Grzegorz<o:p></o:p></span></p>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                            style="mso-bookmark:_MailOriginalBody"><span
                              lang="EN-GB"> </span><o:p></o:p></span></p>
                        <div style="border:none;border-top:solid #B5C4DF
                          1.0pt;padding:3.0pt 0cm 0cm 0cm">
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                              style="mso-bookmark:_MailOriginalBody"><b><span
                                  style="font-size:12.0pt;color:black">From:
                                </span></b></span><span
                              style="mso-bookmark:_MailOriginalBody"><span
                                style="font-size:12.0pt;color:black">Daniel
                                Ankers <</span></span><a
                              href="mailto:md1clv@md1clv.com"
                              target="_blank" moz-do-not-send="true"><span
                                style="mso-bookmark:_MailOriginalBody"><span
                                  style="font-size:12.0pt">md1clv@md1clv.com</span></span><span
                                style="mso-bookmark:_MailOriginalBody"></span></a><span
                              style="mso-bookmark:_MailOriginalBody"><span
                                style="font-size:12.0pt;color:black">><br>
                                <b>Date: </b>Thursday 2018-03-08 at
                                18:27<br>
                                <b>To: </b>"</span></span><a
                              href="mailto:ripe-atlas@ripe.net"
                              target="_blank" moz-do-not-send="true"><span
                                style="mso-bookmark:_MailOriginalBody"><span
                                  style="font-size:12.0pt">ripe-atlas@ripe.net</span></span><span
                                style="mso-bookmark:_MailOriginalBody"></span></a><span
                              style="mso-bookmark:_MailOriginalBody"><span
                                style="font-size:12.0pt;color:black">"
                                <</span></span><a
                              href="mailto:ripe-atlas@ripe.net"
                              target="_blank" moz-do-not-send="true"><span
                                style="mso-bookmark:_MailOriginalBody"><span
                                  style="font-size:12.0pt">ripe-atlas@ripe.net</span></span><span
                                style="mso-bookmark:_MailOriginalBody"></span></a><span
                              style="mso-bookmark:_MailOriginalBody"><span
                                style="font-size:12.0pt;color:black">><br>
                                <b>Subject: </b>[atlas] API Keys
                                problem?</span><o:p></o:p></span></p>
                        </div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                  style="mso-bookmark:_MailOriginalBody"> <o:p></o:p></span></p>
                            </div>
                            <div>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
                                  style="mso-bookmark:_MailOriginalBody"><a
name="m_-4618794652040896725__MailOriginalBody" moz-do-not-send="true">Hi,
                                  </a><o:p></o:p></span></p>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody">Has there been a change in the
                                    way that API keys work for the
                                    measurement results API?<o:p></o:p></span></p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody"> <o:p></o:p></span></p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody">I've got an API key which is
                                    granted permission to get results
                                    from a non-public measurement.  When
                                    I do:<o:p></o:p></span></p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody"> <o:p></o:p></span></p>
                              </div>
                              <div>
                                <div>
                                  <p class="MsoNormal"
                                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody">curl -H "Authorization: Key $KEY"
                                      "</span><a
href="https://urldefense.proofpoint.com/v2/url?u=https-3A__atlas.ripe.net_api_v2_measurements_-24MEASUREMENT_results_-3Fstart-3D&d=DwMFaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=XA7UqyUiWhQ8cJzGZlnLA89Ync-_75lLOvUCSOji-4w&m=iNz0AYGxeocaIuxLsWKwKh7K2h16JzQdTtmW8FDBRM8&s=03N6T0foyEskCISQ98sngVX9ouV1p9LqRtRch3UuQvM&e="
                                      target="_blank"
                                      moz-do-not-send="true"><span
                                        style="mso-bookmark:_MailOriginalBody">https://atlas.ripe.net/api/v2/measurements/$MEASUREMENT/results/?start=</span><span
style="mso-bookmark:_MailOriginalBody"></span></a><span
                                      style="mso-bookmark:_MailOriginalBody"><span
style="font-size:10.5pt;font-family:"lucida
                                        grande",sans-serif;color:black;background:white">1520510400</span>"<o:p></o:p></span></p>
                                </div>
                                <div>
                                  <p class="MsoNormal"
                                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody"> <o:p></o:p></span></p>
                                </div>
                                <div>
                                  <p class="MsoNormal"
                                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody">(Replacing $KEY with the key and
                                      $MEASUREMENT with the measurement
                                      ID) I get:<o:p></o:p></span></p>
                                </div>
                                <div>
                                  <p class="MsoNormal"
                                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody"> <o:p></o:p></span></p>
                                </div>
                                <div>
                                  <p class="MsoNormal"
                                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody">{"error":{"status":400,"errors":[{"source":{"pointer":""},"detail":"Your
                                      keys has no
                                      grants"}],"code":102,"detail":"There
                                      was a problem with your
                                      request","title":"Bad Request"}}<o:p></o:p></span></p>
                                </div>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody"> <o:p></o:p></span></p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody"> <o:p></o:p></span></p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody">This was previously working, but
                                    I'm not sure exactly when it
                                    stopped.  I've checked that getting
                                    the data through my browser works
                                    while I'm logged into the site, and
                                    that if I request </span><a
href="https://urldefense.proofpoint.com/v2/url?u=https-3A__atlas.ripe.net_api_v2_measurements_-24MEASUREMENT_latest&d=DwMFaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=XA7UqyUiWhQ8cJzGZlnLA89Ync-_75lLOvUCSOji-4w&m=iNz0AYGxeocaIuxLsWKwKh7K2h16JzQdTtmW8FDBRM8&s=_Dap2R7tBQ2vl_PClpD1bzGT6Hu_4P0mfvEqEyKxvPs&e="
                                    target="_blank"
                                    moz-do-not-send="true"><span
                                      style="mso-bookmark:_MailOriginalBody"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;background:white">https://atlas.ripe.net/api/v2/measurements/$MEASUREMENT/latest</span></span><span
style="mso-bookmark:_MailOriginalBody"></span></a><span
                                    style="mso-bookmark:_MailOriginalBody"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;background:white">
                                      using the API key I get data
                                      returned.</span><o:p></o:p></span></p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span
style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;background:white">Regards,</span><o:p></o:p></span></p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="mso-bookmark:_MailOriginalBody"><span
style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;background:white">Dan</span><o:p></o:p></span></p>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </div>
                <p class="MsoNormal"><span
                    style="mso-bookmark:_MailOriginalBody"><o:p> </o:p></span></p>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>