Confused by the documentation
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_spe... Not here: https://atlas.ripe.net/docs/apis/rest-api-reference/#measurements
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 <bortzmeyer@nic.fr> 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_spe...
Not here:
https://atlas.ripe.net/docs/apis/rest-api-reference/#measurements
-- ripe-atlas mailing list ripe-atlas@ripe.net https://lists.ripe.net/mailman/listinfo/ripe-atlas
On Fri, Apr 05, 2024 at 10:13:14AM +0200, Christopher Amin <camin@ripe.net> wrote a message of 44 lines which said:
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.
OK, I did not look at the right place. Speaking of these options, what are the possible paths for a HTTP requests at an anchor? I assume the only supported one is "/"?
Hi, You can find this in the documentation at: https://atlas.ripe.net/docs/howtos/anchors.html#http-s Cheers, Robert On Fri, Apr 5, 2024 at 4:33 PM Stephane Bortzmeyer <bortzmeyer@nic.fr> wrote:
On Fri, Apr 05, 2024 at 10:13:14AM +0200, Christopher Amin <camin@ripe.net> wrote a message of 44 lines which said:
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.
OK, I did not look at the right place. Speaking of these options, what are the possible paths for a HTTP requests at an anchor? I assume the only supported one is "/"?
-- ripe-atlas mailing list ripe-atlas@ripe.net https://lists.ripe.net/mailman/listinfo/ripe-atlas
participants (3)
-
Christopher Amin
-
Robert Kisteleki
-
Stephane Bortzmeyer