/api/native-query-snippet

POST /api/native-query-snippet

Changed on

Create a new NativeQuerySnippet.

post/api/native-query-snippet

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

collection_idinteger nullable

value must be an integer greater than zero.

contentstring required
descriptionstring nullable
namestring required

snippet names cannot include '}' or start with spaces

Response

Successful response

Changes

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • breaking

      the request property type changed from no type to string

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • breaking

      api path removed without deprecation

    • info

      endpoint added