Hi Stéphane,

You're right, the REST API reference for "POST api/v2/measurements"
doesn't document the valid options that can be included when creating
a measurement. This is a regression that we will fix.

As a workaround, you can look at the response documentation for "GET
/api/v2/measurements" -- all of the type-specific fields that are
marked with .e.g [http] or [dns] are options which can be included
when creating the measurement. In your case, the relevant part is:

[http] method (string) [ "GET", "POST", "HEAD" ] http verb of the
measurement request

Regards,
Chris


On Thu, 4 Apr 2024 at 18:58, Stephane Bortzmeyer <[email protected]> wrote:
>
> I confess I have a lot of problems finding something in the
> documentation in its current state. For instance, I assume that HTTP
> requests can have a "method" parameter to switch from GET, HEAD, etc
> but where is it documented?
>
> Not here:
>
> https://atlas.ripe.net/docs/apis/rest-api-manual/measurements/types/type_specific_attributes.html
>
> Not here:
>
> https://atlas.ripe.net/docs/apis/rest-api-reference/#measurements
>
>
> --
> ripe-atlas mailing list
> [email protected]
> https://lists.ripe.net/mailman/listinfo/ripe-atlas

-- 
ripe-atlas mailing list
[email protected]
https://lists.ripe.net/mailman/listinfo/ripe-atlas

Reply via email to