endpoints

Set or clear the OpenAPI spec URL used for contract testing

spec_url is a query parameter, not a request body. Send an empty value to clear it. The URL is fetched immediately and rejected if it resolves to a private or internal address.

patch/api/v1/endpoints/{endpoint_id}/openapi-spec

Request

  • Base URL: https://monit.rs
  • URL: https://monit.rs/api/v1/endpoints/{endpoint_id}/openapi-spec
  • Auth: HTTP bearer

Path parameters

endpoint_idstring uuid required

Query parameters

spec_urlstring required

URL of the OpenAPI spec; empty clears it.

Response

Spec URL updated.

Changes

No recorded changes to this operation across all 1 revision of this API.