stubs

Add a new stub to the store

Changed on

Creates a new stub or multiple stubs and adds them to the storage

post/stubs

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/stubs
  • Auth
    none required

Request body

Stub[] required(unresolved $ref)

A list of stubs.

OR
Stub required(unresolved $ref)

Response

Successful operation

ID[] required

A list of stub UUIDs.

Example response

[
  "51c50050-ec27-4dae-a583-a32ca71a1dd5"
]

Changes

    • breaking

      added subschema #1 subschema #2 to the ///// request property allOf list

    • breaking

      added subschema #1 subschema #2 to the //// request property allOf list

    • breaking

      the ////// request property type changed from array to no type

    • breaking

      the ///// request property type changed from array to no type

    • info

      added the new optional request property //////

    • info

      added the new optional request property /////

    • info

      added the non-success response with the status